From 23af650435d8e2e4a0530486648352b0dce83adc Mon Sep 17 00:00:00 2001 From: sealday Date: Wed, 29 May 2024 10:52:12 +0800 Subject: [PATCH] fix: entry (#1058) Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachybase/pulls/1058 --- docker/tachybase/docker-entrypoint.sh | 1 + .../core/client/src/schema-component/antd/form-v2/utils.tsx | 4 +++- packages/core/components/tsconfig.json | 6 ------ packages/core/resourcer/tsconfig.json | 6 ------ packages/core/schema/src/index.ts | 6 +++--- packages/core/schema/tsconfig.json | 6 ------ packages/core/sdk/tsconfig.json | 6 ------ 7 files changed, 7 insertions(+), 28 deletions(-) delete mode 100644 packages/core/components/tsconfig.json delete mode 100644 packages/core/resourcer/tsconfig.json delete mode 100644 packages/core/schema/tsconfig.json delete mode 100644 packages/core/sdk/tsconfig.json diff --git a/docker/tachybase/docker-entrypoint.sh b/docker/tachybase/docker-entrypoint.sh index 5cfe6ff9c..1f91d7912 100755 --- a/docker/tachybase/docker-entrypoint.sh +++ b/docker/tachybase/docker-entrypoint.sh @@ -2,4 +2,5 @@ set -e cp -r /app/packages/core/app/dist/client/* /app/public/ +pnpm tachybase upgrade -S pnpm start --quickstart diff --git a/packages/core/client/src/schema-component/antd/form-v2/utils.tsx b/packages/core/client/src/schema-component/antd/form-v2/utils.tsx index 3943f7bb9..7f8227d48 100644 --- a/packages/core/client/src/schema-component/antd/form-v2/utils.tsx +++ b/packages/core/client/src/schema-component/antd/form-v2/utils.tsx @@ -1,7 +1,9 @@ -import { Field } from '@tachybase/schema'; import { evaluators } from '@tachybase/evaluators/client'; +import { Field } from '@tachybase/schema'; import { uid } from '@tachybase/utils/client'; + import _ from 'lodash'; + import { ActionType } from '../../../schema-settings/LinkageRules/type'; import { VariableOption, VariablesContextType } from '../../../variables/types'; import { REGEX_OF_VARIABLE } from '../../../variables/utils/isVariable'; diff --git a/packages/core/components/tsconfig.json b/packages/core/components/tsconfig.json deleted file mode 100644 index aba87ced0..000000000 --- a/packages/core/components/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "compilerOptions": { - "types": [] - } -} diff --git a/packages/core/resourcer/tsconfig.json b/packages/core/resourcer/tsconfig.json deleted file mode 100644 index f81087962..000000000 --- a/packages/core/resourcer/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "compilerOptions": { - "typeRoots": ["./node_modules/@types"] - } -} diff --git a/packages/core/schema/src/index.ts b/packages/core/schema/src/index.ts index e14cb0e25..96941e3f2 100644 --- a/packages/core/schema/src/index.ts +++ b/packages/core/schema/src/index.ts @@ -4,15 +4,15 @@ import { GeneralField, IExchangeArrayStateProps, INodePatch, - ISpliceArrayStateProps, - LifeCycleTypes, isArrayField, isDataField, + ISpliceArrayStateProps, isVoidField, + LifeCycleTypes, } from '@formily/core'; import { batch } from '@formily/reactive'; import { unstable_useCompatEffect } from '@formily/reactive-react'; -import { FormPath, each, isNumberLike } from '@formily/shared'; +import { each, FormPath, isNumberLike } from '@formily/shared'; export * from '@formily/core'; export type { ArrayField, Field, FormPathPattern, GeneralField, ObjectField } from '@formily/core'; diff --git a/packages/core/schema/tsconfig.json b/packages/core/schema/tsconfig.json deleted file mode 100644 index aba87ced0..000000000 --- a/packages/core/schema/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "compilerOptions": { - "types": [] - } -} diff --git a/packages/core/sdk/tsconfig.json b/packages/core/sdk/tsconfig.json deleted file mode 100644 index f81087962..000000000 --- a/packages/core/sdk/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "compilerOptions": { - "typeRoots": ["./node_modules/@types"] - } -}