Switch to published huly.core

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-10-07 13:43:14 +07:00
parent 2339162de8
commit 768a36d29c
17 changed files with 1342 additions and 708 deletions
-1
View File
@@ -1 +0,0 @@
@hcengineering:registry=https://npm.pkg.github.com/
+1 -2
View File
@@ -30,6 +30,5 @@ registry=https://registry.npmjs.org/
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
# Change this to "true" if your registry requires authentication for read-only operations:
@hcengineering:registry=https://npm.pkg.github.com
always-auth=false
+10 -2
View File
@@ -30,7 +30,7 @@
},
"ignoreMissingScript": true,
"allowWarningsOnSuccess": false
},
}
],
"commands": [
{
@@ -85,6 +85,14 @@
"ignoreMissingScript": true,
"safeForSimultaneousRushProcesses": true,
"disableBuildCache": true
},
{
"commandKind": "global",
"name": "bump-changes",
"summary": "Bump changes from tag",
"description": "Bump changes from previous tag",
"safeForSimultaneousRushProcesses": true,
"shellCommand": "./common/scripts/node_modules/.bin/bump-changes-from-tag"
}
],
@@ -105,7 +113,7 @@
"longName": "--clean",
"description": "Enable Heft clean building option",
"associatedCommands": ["build"]
},
}
// {
// /**
// * (Required) Determines the type of custom parameter.
+1257 -641
View File
File diff suppressed because it is too large Load Diff
+12
View File
@@ -0,0 +1,12 @@
{
"name": "@hcengineering/scripts",
"version": "0.7.1",
"scripts": {
"format": "echo \"No format specified\""
},
"devDependencies": {
"esbuild": "^0.24.2",
"@hcengineering/platform-rig": "^0.7.9"
},
"private": true
}
+7 -7
View File
@@ -20,7 +20,7 @@
"clean": "rm -rf lib && rm -rf types rm -rf node_modules"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.6.0",
"@hcengineering/platform-rig": "^0.7.9",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"esbuild": "^0.25.9",
@@ -35,18 +35,18 @@
"typescript": "^5.8.3"
},
"dependencies": {
"@hcengineering/communication-types": "^0.1.0",
"@hcengineering/communication-sdk-types": "^0.1.0",
"@hcengineering/communication-query": "^0.1.0",
"@hcengineering/hulylake-client": "^0.6.0",
"@hcengineering/communication-types": "workspace:^0.1.0",
"@hcengineering/communication-sdk-types": "workspace:^0.1.0",
"@hcengineering/communication-query": "workspace:^0.1.0",
"@hcengineering/hulylake-client": "^0.7.1",
"fast-equals": "^5.2.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hcengineering/communication.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"publishConfig": {
"access": "public"
},
"exports": {
".": {
+6 -6
View File
@@ -20,7 +20,7 @@
"clean": "rm -rf lib && rm -rf types rm -rf node_modules"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.6.0",
"@hcengineering/platform-rig": "^0.7.9",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"esbuild": "^0.25.9",
@@ -36,9 +36,9 @@
"@types/uuid": "^8.3.1"
},
"dependencies": {
"@hcengineering/communication-types": "^0.1.0",
"@hcengineering/communication-sdk-types": "^0.1.0",
"@hcengineering/communication-shared": "^0.1.0",
"@hcengineering/communication-types": "workspace:^0.1.0",
"@hcengineering/communication-sdk-types": "workspace:^0.1.0",
"@hcengineering/communication-shared": "workspace:^0.1.0",
"postgres": "^3.4.7",
"uuid": "^8.3.2"
},
@@ -46,8 +46,8 @@
"type": "git",
"url": "git+https://github.com/hcengineering/communication.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"publishConfig": {
"access": "public"
},
"exports": {
".": {
+6 -6
View File
@@ -20,7 +20,7 @@
"clean": "rm -rf lib && rm -rf types rm -rf node_modules"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.6.0",
"@hcengineering/platform-rig": "^0.7.9",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"esbuild": "^0.25.9",
@@ -36,10 +36,10 @@
"@types/uuid": "^8.3.1"
},
"dependencies": {
"@hcengineering/communication-sdk-types": "^0.1.0",
"@hcengineering/communication-shared": "^0.1.0",
"@hcengineering/communication-types": "^0.1.0",
"@hcengineering/hulylake-client": "^0.6.0",
"@hcengineering/communication-sdk-types": "workspace:^0.1.0",
"@hcengineering/communication-shared": "workspace:^0.1.0",
"@hcengineering/communication-types": "workspace:^0.1.0",
"@hcengineering/hulylake-client": "^0.7.1",
"fast-equals": "^5.2.2",
"uuid": "^8.3.2"
},
@@ -48,7 +48,7 @@
"url": "git+https://github.com/hcengineering/communication.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"access": "public"
},
"exports": {
".": {
+6 -6
View File
@@ -20,7 +20,7 @@
"clean": "rm -rf lib && rm -rf types rm -rf node_modules"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.6.0",
"@hcengineering/platform-rig": "^0.7.9",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"esbuild": "^0.25.9",
@@ -36,10 +36,10 @@
"@types/snappyjs": "^0.7.1"
},
"dependencies": {
"@hcengineering/communication-types": "^0.1.0",
"@hcengineering/communication-sdk-types": "^0.1.0",
"@hcengineering/communication-shared": "^0.1.0",
"@hcengineering/core": "^0.6.32",
"@hcengineering/communication-types": "workspace:^0.1.0",
"@hcengineering/communication-sdk-types": "workspace:^0.1.0",
"@hcengineering/communication-shared": "workspace:^0.1.0",
"@hcengineering/core": "^0.7.1",
"snappyjs": "^0.7.0"
},
"repository": {
@@ -47,7 +47,7 @@
"url": "git+https://github.com/hcengineering/communication.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"access": "public"
},
"exports": {
".": {
+4 -4
View File
@@ -20,7 +20,7 @@
"clean": "rm -rf lib && rm -rf types rm -rf node_modules"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.6.0",
"@hcengineering/platform-rig": "^0.7.9",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"esbuild": "^0.25.9",
@@ -35,15 +35,15 @@
"typescript": "^5.8.3"
},
"dependencies": {
"@hcengineering/core": "^0.6.32",
"@hcengineering/communication-types": "^0.1.0"
"@hcengineering/core": "^0.7.1",
"@hcengineering/communication-types": "workspace:^0.1.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hcengineering/communication.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"access": "public"
},
"exports": {
".": {
+12 -12
View File
@@ -20,7 +20,7 @@
"clean": "rm -rf lib && rm -rf types rm -rf node_modules"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.6.0",
"@hcengineering/platform-rig": "^0.7.9",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"esbuild": "^0.25.9",
@@ -36,16 +36,16 @@
"typescript": "^5.8.3"
},
"dependencies": {
"@hcengineering/account-client": "^0.6.0",
"@hcengineering/communication-cockroach": "^0.1.0",
"@hcengineering/communication-sdk-types": "^0.1.0",
"@hcengineering/communication-shared": "^0.1.0",
"@hcengineering/communication-types": "^0.1.0",
"@hcengineering/core": "^0.6.32",
"@hcengineering/server-token": "^0.6.11",
"@hcengineering/text-core": "^0.6.0",
"@hcengineering/text-markdown": "^0.6.0",
"@hcengineering/hulylake-client": "^0.6.0",
"@hcengineering/account-client": "^0.7.1",
"@hcengineering/communication-cockroach": "workspace:^0.1.0",
"@hcengineering/communication-sdk-types": "workspace:^0.1.0",
"@hcengineering/communication-shared": "workspace:^0.1.0",
"@hcengineering/communication-types": "workspace:^0.1.0",
"@hcengineering/core": "^0.7.1",
"@hcengineering/server-token": "^0.7.1",
"@hcengineering/text-core": "^0.7.1",
"@hcengineering/text-markdown": "^0.7.1",
"@hcengineering/hulylake-client": "^0.7.1",
"franc-min": "^6.2.0",
"uuid": "^8.3.2",
"zod": "^3.22.4"
@@ -55,7 +55,7 @@
"url": "git+https://github.com/hcengineering/communication.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"access": "public"
},
"exports": {
".": {
+1 -1
View File
@@ -19,7 +19,7 @@ import { TriggerCtx } from '../types'
export async function getNameBySocialID (ctx: TriggerCtx, id: SocialID): Promise<string> {
const account = (await ctx.client.findPersonUuid(ctx, id, true)) as AccountUuid | undefined
return account != null ? (await ctx.client.db.getNameByAccount(account)) ?? 'System' : 'System'
return account != null ? ((await ctx.client.db.getNameByAccount(account)) ?? 'System') : 'System'
}
export async function getAddCollaboratorsMessageContent (
+5 -5
View File
@@ -20,7 +20,7 @@
"clean": "rm -rf lib && rm -rf types rm -rf node_modules"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.6.0",
"@hcengineering/platform-rig": "^0.7.9",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"esbuild": "^0.25.9",
@@ -35,16 +35,16 @@
"typescript": "^5.8.3"
},
"dependencies": {
"@hcengineering/communication-types": "^0.1.0",
"@hcengineering/communication-sdk-types": "^0.1.0",
"@hcengineering/hulylake-client": "^0.6.0"
"@hcengineering/communication-types": "workspace:^0.1.0",
"@hcengineering/communication-sdk-types": "workspace:^0.1.0",
"@hcengineering/hulylake-client": "^0.7.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hcengineering/communication.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"access": "public"
},
"exports": {
".": {
+3 -5
View File
@@ -20,7 +20,7 @@
"clean": "rm -rf lib && rm -rf types rm -rf node_modules"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.6.0",
"@hcengineering/platform-rig": "^0.7.9",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"esbuild": "^0.25.9",
@@ -35,16 +35,14 @@
"typescript": "^5.8.3"
},
"dependencies": {
"@hcengineering/core": "^0.6.32",
"@hcengineering/process": "^0.6.0",
"@hcengineering/card": "^0.6.0"
"@hcengineering/core": "^0.7.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hcengineering/communication.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"access": "public"
},
"exports": {
".": {
+2 -3
View File
@@ -14,13 +14,12 @@
//
import type { Ref, Blob, AccountUuid, WorkspaceUuid, PersonId, BlobMetadata, PersonUuid } from '@hcengineering/core'
import type { Card, MasterTag } from '@hcengineering/card'
export type { AccountUuid, PersonUuid, WorkspaceUuid, BlobMetadata }
export type BlobID = Ref<Blob>
export type CardID = Ref<Card>
export type CardType = Ref<MasterTag>
export type CardID = Ref<any>
export type CardType = Ref<any>
export type SocialID = PersonId
export type Markdown = string
+5 -7
View File
@@ -14,8 +14,6 @@
//
import type { Attribute, BlobMetadata, Class, Mixin, Ref } from '@hcengineering/core'
import type { Card, Tag } from '@hcengineering/card'
import type { Process, State } from '@hcengineering/process'
import type { AccountUuid, BlobID, CardID, CardType, ID, Markdown, SocialID, PersonUuid } from './core'
@@ -86,14 +84,14 @@ export enum ActivityUpdateType {
export interface ActivityProcess {
type: ActivityUpdateType.Process
process: Ref<Process>
process: Ref<any>
action: 'started' | 'complete' | 'transition'
transitionTo?: Ref<State>
transitionTo?: Ref<any>
}
export interface ActivityTagUpdate {
type: ActivityUpdateType.Tag
tag: Ref<Tag>
tag: Ref<any>
action: 'add' | 'remove'
}
@@ -113,8 +111,8 @@ type AttributeValue = string | number | null
export interface ActivityAttributeUpdate {
type: ActivityUpdateType.Attribute
attrKey: string
attrClass: Ref<Class<Attribute<Card>>>
mixin?: Ref<Mixin<Card>>
attrClass: Ref<Class<Attribute<any>>>
mixin?: Ref<Mixin<any>>
set?: AttributeValue | AttributeValue[]
added?: AttributeValue[]
removed?: AttributeValue[]
+5
View File
@@ -24,6 +24,11 @@
},
"variants": [],
"projects": [
{
"packageName": "@hcengineering/scripts",
"projectFolder": "common/scripts",
"shouldPublish": false
},
{
"packageName": "@hcengineering/communication-types",
"projectFolder": "packages/types",