From 353c0885e53157fe90feb1bbe770685da2f31e99 Mon Sep 17 00:00:00 2001 From: liruifengv Date: Mon, 6 Jul 2026 15:09:27 +0800 Subject: [PATCH] chore: remove unused kimi-migration-legacy package (#1415) This package only ever contained a package.json with no sources, dependencies, or scripts, and nothing in the repo imports it (the CLI uses @moonshot-ai/migration-legacy instead). Remove the directory and drop its entries from flake.nix and the changeset config, then refresh the lockfile. --- .changeset/README.md | 1 - .changeset/config.json | 3 +- flake.nix | 2 - packages/kimi-migration-legacy/package.json | 5 -- pnpm-lock.yaml | 79 ++++++++++++++++++++- 5 files changed, 77 insertions(+), 13 deletions(-) delete mode 100644 packages/kimi-migration-legacy/package.json diff --git a/.changeset/README.md b/.changeset/README.md index dd568888b..42457c132 100644 --- a/.changeset/README.md +++ b/.changeset/README.md @@ -29,7 +29,6 @@ All other workspace packages are private internal packages, are not published to - `@moonshot-ai/vis` - `@moonshot-ai/vis-server` - `@moonshot-ai/vis-web` -- `kimi-migration-legacy` Version impact from internal dependencies must be judged manually. The published artifacts for CLI and SDK bundle internal workspace packages into the artifact itself; runtime `dependencies` of published packages must not include any `@moonshot-ai/*` internal workspace packages. diff --git a/.changeset/config.json b/.changeset/config.json index c430a5cee..c02d8523d 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -10,8 +10,7 @@ "@moonshot-ai/server-e2e", "@moonshot-ai/vis", "@moonshot-ai/vis-server", - "@moonshot-ai/vis-web", - "kimi-migration-legacy" + "@moonshot-ai/vis-web" ], "snapshot": { "useCalculatedVersion": true, diff --git a/flake.nix b/flake.nix index b8d781535..a672a7b16 100644 --- a/flake.nix +++ b/flake.nix @@ -67,7 +67,6 @@ ./packages/server ./packages/server-e2e ./packages/kaos - ./packages/kimi-migration-legacy ./packages/kosong ./packages/migration-legacy ./packages/node-sdk @@ -104,7 +103,6 @@ "@moonshot-ai/vis-server" "@moonshot-ai/vis-web" "kimi-code-docs" - "kimi-migration-legacy" ]; in { diff --git a/packages/kimi-migration-legacy/package.json b/packages/kimi-migration-legacy/package.json deleted file mode 100644 index 2395acb6d..000000000 --- a/packages/kimi-migration-legacy/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "kimi-migration-legacy", - "version": "0.0.0", - "private": true -} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0377edc7d..c7f4098e7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,7 +59,7 @@ importers: version: 2.13.1 tsdown: specifier: 0.22.0 - version: 0.22.0(@arethetypeswrong/core@0.18.2)(publint@0.3.18)(tsx@4.21.0)(typescript@6.0.2)(unrun@0.2.34(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0))(vue-tsc@3.2.9(typescript@6.0.2)) + version: 0.22.0(@arethetypeswrong/core@0.18.2)(publint@0.3.18)(tsx@4.21.0)(typescript@6.0.2)(unrun@0.2.34)(vue-tsc@3.2.9(typescript@6.0.2)) tsx: specifier: ^4.21.0 version: 4.21.0 @@ -489,8 +489,6 @@ importers: specifier: ^1.15.5 version: 1.15.5 - packages/kimi-migration-legacy: {} - packages/kosong: dependencies: '@anthropic-ai/sdk': @@ -8946,6 +8944,11 @@ snapshots: '@mozilla/readability@0.6.0': {} + '@napi-rs/wasm-runtime@1.1.4': + dependencies: + '@tybys/wasm-util': 0.10.1 + optional: true + '@napi-rs/wasm-runtime@1.1.4(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)': dependencies: '@emnapi/core': 1.10.0 @@ -9206,6 +9209,14 @@ snapshots: '@rolldown/binding-openharmony-arm64@1.0.1': optional: true + '@rolldown/binding-wasm32-wasi@1.0.0-rc.12': + dependencies: + '@napi-rs/wasm-runtime': 1.1.4 + transitivePeerDependencies: + - '@emnapi/core' + - '@emnapi/runtime' + optional: true + '@rolldown/binding-wasm32-wasi@1.0.0-rc.12(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)': dependencies: '@napi-rs/wasm-runtime': 1.1.4(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0) @@ -13684,6 +13695,31 @@ snapshots: transitivePeerDependencies: - oxc-resolver + rolldown@1.0.0-rc.12: + dependencies: + '@oxc-project/types': 0.122.0 + '@rolldown/pluginutils': 1.0.0-rc.12 + optionalDependencies: + '@rolldown/binding-android-arm64': 1.0.0-rc.12 + '@rolldown/binding-darwin-arm64': 1.0.0-rc.12 + '@rolldown/binding-darwin-x64': 1.0.0-rc.12 + '@rolldown/binding-freebsd-x64': 1.0.0-rc.12 + '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-rc.12 + '@rolldown/binding-linux-arm64-gnu': 1.0.0-rc.12 + '@rolldown/binding-linux-arm64-musl': 1.0.0-rc.12 + '@rolldown/binding-linux-ppc64-gnu': 1.0.0-rc.12 + '@rolldown/binding-linux-s390x-gnu': 1.0.0-rc.12 + '@rolldown/binding-linux-x64-gnu': 1.0.0-rc.12 + '@rolldown/binding-linux-x64-musl': 1.0.0-rc.12 + '@rolldown/binding-openharmony-arm64': 1.0.0-rc.12 + '@rolldown/binding-wasm32-wasi': 1.0.0-rc.12 + '@rolldown/binding-win32-arm64-msvc': 1.0.0-rc.12 + '@rolldown/binding-win32-x64-msvc': 1.0.0-rc.12 + transitivePeerDependencies: + - '@emnapi/core' + - '@emnapi/runtime' + optional: true + rolldown@1.0.0-rc.12(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0): dependencies: '@oxc-project/types': 0.122.0 @@ -14435,6 +14471,35 @@ snapshots: - oxc-resolver - vue-tsc + tsdown@0.22.0(@arethetypeswrong/core@0.18.2)(publint@0.3.18)(tsx@4.21.0)(typescript@6.0.2)(unrun@0.2.34)(vue-tsc@3.2.9(typescript@6.0.2)): + dependencies: + ansis: 4.2.0 + cac: 7.0.0 + defu: 6.1.7 + empathic: 2.0.0 + hookable: 6.1.1 + import-without-cache: 0.4.0 + obug: 2.1.1 + picomatch: 4.0.4 + rolldown: 1.0.1 + rolldown-plugin-dts: 0.25.1(rolldown@1.0.1)(typescript@6.0.2)(vue-tsc@3.2.9(typescript@6.0.2)) + semver: 7.7.4 + tinyexec: 1.1.2 + tinyglobby: 0.2.16 + tree-kill: 1.2.2 + unconfig-core: 7.5.0 + optionalDependencies: + '@arethetypeswrong/core': 0.18.2 + publint: 0.3.18 + tsx: 4.21.0 + typescript: 6.0.2 + unrun: 0.2.34 + transitivePeerDependencies: + - '@ts-macro/tsc' + - '@typescript/native-preview' + - oxc-resolver + - vue-tsc + tslib@2.8.1: {} tsx@4.21.0: @@ -14579,6 +14644,14 @@ snapshots: unpipe@1.0.0: {} + unrun@0.2.34: + dependencies: + rolldown: 1.0.0-rc.12 + transitivePeerDependencies: + - '@emnapi/core' + - '@emnapi/runtime' + optional: true + unrun@0.2.34(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0): dependencies: rolldown: 1.0.0-rc.12(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)