diff --git a/packages/plugins/@tachybase/plugin-data-source-external/README.md b/packages/plugins/@tachybase/plugin-data-source-external/README.md index 488f8e9b1..89370f428 100644 --- a/packages/plugins/@tachybase/plugin-data-source-external/README.md +++ b/packages/plugins/@tachybase/plugin-data-source-external/README.md @@ -1 +1 @@ -# @hera/plugin-external-data-source +# @hera/plugin-data-source-external diff --git a/packages/plugins/@tachybase/plugin-data-source-external/src/client/locale.ts b/packages/plugins/@tachybase/plugin-data-source-external/src/client/locale.ts index 4e2e8e6b0..a50b64e73 100644 --- a/packages/plugins/@tachybase/plugin-data-source-external/src/client/locale.ts +++ b/packages/plugins/@tachybase/plugin-data-source-external/src/client/locale.ts @@ -1,6 +1,6 @@ import { i18n, tval as nTval, useApp } from '@tachybase/client'; -export const NAMESPACE = '@hera/plugin-external-data-source'; +export const NAMESPACE = '@hera/plugin-data-source-external'; // NOTE: 保持翻译统一经由这里处理, 所有本插件内的翻译方法从这里统一导出 export const tval = (key: string, useCore = false) => nTval(key, { ns: useCore ? undefined : NAMESPACE }); diff --git a/packages/presets/rental/src/server/index.ts b/packages/presets/rental/src/server/index.ts index 834d66f37..85c6138aa 100644 --- a/packages/presets/rental/src/server/index.ts +++ b/packages/presets/rental/src/server/index.ts @@ -9,13 +9,7 @@ export class PluginRental extends PresetTachyBase { return super.builtInPlugins.concat(this.#builtInPlugins); } - #localPlugins = [ - 'rental>=0.21.0', - 'field-markdown-vditor>=0.21.31', - 'comments>=0.21.31', - 'approval-mobile>=0.21.43', - 'external-data-source>=0.21.43', - ]; + #localPlugins = ['rental>=0.21.0', 'field-markdown-vditor>=0.21.31', 'comments>=0.21.31', 'approval-mobile>=0.21.43']; get localPlugins() { return super.localPlugins.concat(this.#localPlugins); diff --git a/tsconfig.json b/tsconfig.json index 64d21ae9a..a51ef29f9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,4 @@ { - "extends": "./tsconfig.paths.json", "compilerOptions": { "lib": ["esnext", "DOM.Iterable", "DOM"], "esModuleInterop": true, @@ -21,12 +20,6 @@ "downlevelIteration": true, "baseUrl": "." }, - "ts-node": { - "compilerOptions": { - "module": "commonjs" - } - }, - "include": ["packages/**/*", "playwright.config.ts", "vitest.config.mts", "packages/plugins/@tachybase/plugin-external-data-source/src/client/features/rest-api/kit.tsx"], "exclude": [ "packages/**/node_modules", "packages/**/dist", @@ -35,5 +28,12 @@ "packages/core/cli/**/*", "packages/**/lib", "packages/**/es" - ] + ], + "extends": "./tsconfig.paths.json", + "include": ["packages/**/*", "playwright.config.ts", "vitest.config.mts"], + "ts-node": { + "compilerOptions": { + "module": "commonjs" + } + } }