From 6d7cc2af2268eba1dff3dbd18057e2294889c9c4 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Thu, 17 Sep 2026 18:30:39 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=88=A0=E9=99=A4=20legacy-client?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages-user/entry-client/package.json | 1 - packages-user/entry-client/src/create.ts | 2 -- packages-user/entry-data/src/mota.ts | 2 -- pnpm-lock.yaml | 3 --- 4 files changed, 8 deletions(-) diff --git a/packages-user/entry-client/package.json b/packages-user/entry-client/package.json index 8fb77ab..05fd509 100644 --- a/packages-user/entry-client/package.json +++ b/packages-user/entry-client/package.json @@ -8,7 +8,6 @@ "@motajs/render-vue": "workspace:*", "@motajs/system": "workspace:*", "@motajs/legacy-common": "workspace:*", - "@motajs/legacy-client": "workspace:*", "@motajs/legacy-ui": "workspace:*", "@motajs/legacy-system": "workspace:*", "@user/client-base": "workspace:*", diff --git a/packages-user/entry-client/src/create.ts b/packages-user/entry-client/src/create.ts index 0b72d24..10f9219 100644 --- a/packages-user/entry-client/src/create.ts +++ b/packages-user/entry-client/src/create.ts @@ -1,7 +1,6 @@ import { Mota } from '@user/entry-data'; import * as Client from '@motajs/client'; import * as ClientBase from '@motajs/client-base'; -import * as LegacyClient from '@motajs/legacy-client'; import * as LegacySystem from '@motajs/legacy-system'; import * as LegacyUI from '@motajs/legacy-ui'; import * as Render from '@motajs/render'; @@ -19,7 +18,6 @@ export function create() { Mota.register('@motajs/client', Client); Mota.register('@motajs/client-base', ClientBase); - Mota.register('@motajs/legacy-client', LegacyClient); Mota.register('@motajs/legacy-system', LegacySystem); Mota.register('@motajs/legacy-ui', LegacyUI); Mota.register('@motajs/render', Render); diff --git a/packages-user/entry-data/src/mota.ts b/packages-user/entry-data/src/mota.ts index bd9e16e..44bcd30 100644 --- a/packages-user/entry-data/src/mota.ts +++ b/packages-user/entry-data/src/mota.ts @@ -1,7 +1,6 @@ import type * as Client from '@motajs/client'; import type * as ClientBase from '@motajs/client-base'; import type * as Common from '@motajs/common'; -import type * as LegacyClient from '@motajs/legacy-client'; import type * as LegacyCommon from '@motajs/legacy-common'; import type * as LegacySystem from '@motajs/legacy-system'; import type * as LegacyUI from '@motajs/legacy-ui'; @@ -23,7 +22,6 @@ interface ModuleInterface { '@motajs/client': typeof Client; '@motajs/client-base': typeof ClientBase; '@motajs/common': typeof Common; - '@motajs/legacy-client': typeof LegacyClient; '@motajs/legacy-common': typeof LegacyCommon; '@motajs/legacy-system': typeof LegacySystem; '@motajs/legacy-ui': typeof LegacyUI; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 14d6676..d6cadee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -345,9 +345,6 @@ importers: '@motajs/common': specifier: workspace:* version: link:../../packages/common - '@motajs/legacy-client': - specifier: workspace:* - version: link:../../packages/legacy-client '@motajs/legacy-common': specifier: workspace:* version: link:../../packages/legacy-common