diff --git a/.changeset/heavy-boxes-fly.md b/.changeset/heavy-boxes-fly.md new file mode 100644 index 000000000000..3487be337c58 --- /dev/null +++ b/.changeset/heavy-boxes-fly.md @@ -0,0 +1,5 @@ +--- +"wrangler": patch +--- + +refactor: move `@cloudflare/workers-shared` as dev dependency diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index be4244987a53..057abe2e4f9a 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -70,7 +70,6 @@ }, "dependencies": { "@cloudflare/kv-asset-handler": "workspace:*", - "@cloudflare/workers-shared": "workspace:*", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "blake3-wasm": "^2.1.5", @@ -94,6 +93,7 @@ "@cloudflare/eslint-config-worker": "workspace:*", "@cloudflare/pages-shared": "workspace:^", "@cloudflare/types": "6.18.4", + "@cloudflare/workers-shared": "workspace:*", "@cloudflare/workers-tsconfig": "workspace:*", "@cloudflare/workers-types": "^4.20241022.0", "@cspotcode/source-map-support": "0.8.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8f8c0148d878..58e87f68b69d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1684,9 +1684,6 @@ importers: '@cloudflare/kv-asset-handler': specifier: workspace:* version: link:../kv-asset-handler - '@cloudflare/workers-shared': - specifier: workspace:* - version: link:../workers-shared '@esbuild-plugins/node-globals-polyfill': specifier: ^0.2.3 version: 0.2.3(esbuild@0.17.19) @@ -1755,6 +1752,9 @@ importers: '@cloudflare/types': specifier: 6.18.4 version: 6.18.4(react@18.3.1) + '@cloudflare/workers-shared': + specifier: workspace:* + version: link:../workers-shared '@cloudflare/workers-tsconfig': specifier: workspace:* version: link:../workers-tsconfig