diff --git a/.changeset/silly-socks-report.md b/.changeset/silly-socks-report.md new file mode 100644 index 000000000000..a9e0512c51ac --- /dev/null +++ b/.changeset/silly-socks-report.md @@ -0,0 +1,6 @@ +--- +'@modern-js/plugin-testing': patch +--- + +fix: bff-core should be a dependency of testing plugin +fix: bff-core 应该是 testing 插件的直接依赖 diff --git a/packages/runtime/plugin-testing/package.json b/packages/runtime/plugin-testing/package.json index 843c98c2aa71..c94a4bd8b314 100644 --- a/packages/runtime/plugin-testing/package.json +++ b/packages/runtime/plugin-testing/package.json @@ -142,7 +142,8 @@ "@jest/types": "^29.5.0", "ts-jest": "^29.1.0", "yargs": "^17.0.1", - "@swc/helpers": "0.5.3" + "@swc/helpers": "0.5.3", + "@modern-js/bff-core": "workspace:*" }, "peerDependencies": { "react": ">=17", @@ -159,7 +160,6 @@ "react-dom": "^18", "@modern-js/core": "workspace:*", "@modern-js/runtime": "workspace:*", - "@modern-js/bff-core": "workspace:*", "@scripts/build": "workspace:*", "@scripts/jest-config": "workspace:*", "@types/jest": "^29", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5bd84ee4477b..95c8390fba44 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3606,6 +3606,9 @@ importers: '@modern-js/babel-compiler': specifier: workspace:* version: link:../../toolkit/compiler/babel + '@modern-js/bff-core': + specifier: workspace:* + version: link:../../server/bff-core '@modern-js/plugin': specifier: workspace:* version: link:../../toolkit/plugin @@ -3661,9 +3664,6 @@ importers: specifier: ^17.0.1 version: 17.7.1 devDependencies: - '@modern-js/bff-core': - specifier: workspace:* - version: link:../../server/bff-core '@modern-js/core': specifier: workspace:* version: link:../../cli/core @@ -27711,7 +27711,7 @@ packages: dependencies: lilconfig: 2.1.0 postcss: 8.4.21 - ts-node: 10.9.1(@types/node@16.11.68)(typescript@5.0.4) + ts-node: 10.9.1(@types/node@18.11.17)(typescript@5.2.2) yaml: 1.10.2 dev: true