Skip to content

Commit 5251052

Browse files
chore: do not build the world when publishing Wrangler and C3 (#7928)
1 parent cf4f47a commit 5251052

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/create-cloudflare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"dev:codemod": "node -r esbuild-register scripts/codemodDev.ts",
3232
"check:lint": "eslint . --max-warnings=0",
3333
"check:type": "tsc",
34-
"prepublishOnly": "pnpm -w run build",
34+
"prepublishOnly": "pnpm exec turbo build -F create-cloudflare",
3535
"test:e2e": "vitest run --config ./vitest-e2e.config.mts",
3636
"test:e2e:npm": "pnpm run build && cross-env TEST_PM=npm vitest run --config ./vitest-e2e.config.mts",
3737
"test:e2e:pnpm": "pnpm run build && cross-env TEST_PM=pnpm vitest run --config ./vitest-e2e.config.mts",

packages/wrangler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"dev": "pnpm run clean && concurrently -c black,blue --kill-others-on-fail false \"pnpm run bundle --watch\" \"pnpm run check:type --watch --preserveWatchOutput\"",
6060
"emit-types": "tsc -p tsconfig.emit.json && node -r esbuild-register scripts/emit-types.ts",
6161
"generate-json-schema": "pnpm exec ts-json-schema-generator --no-type-check --path src/config/config.ts --type RawConfig --out config-schema.json",
62-
"prepublishOnly": "SOURCEMAPS=false pnpm run -w build",
62+
"prepublishOnly": "SOURCEMAPS=false pnpm exec turbo build -F wrangler",
6363
"start": "pnpm run bundle && cross-env NODE_OPTIONS=--enable-source-maps ./bin/wrangler.js",
6464
"test": "dotenv -- pnpm run assert-git-version && dotenv -- vitest",
6565
"test:ci": "pnpm run test run",

0 commit comments

Comments
 (0)