Skip to content

Commit 88a39c7

Browse files
fix: s/prepublish/prepublishOnly (#469)
Apparently prepublish does _not_ run on publish, and we should use prepublishOnly. This is documented, so fooey on me for assuming something does what it says 😡
1 parent a08ed34 commit 88a39c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wrangler/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"check:type": "tsc",
105105
"bundle": "node -r esbuild-register scripts/bundle.ts",
106106
"build": "npm run clean && npm run bundle",
107-
"prepublish": "npm run build",
107+
"prepublishOnly": "npm run build",
108108
"start": "npm run bundle && NODE_OPTIONS=--enable-source-maps ./bin/wrangler.js",
109109
"test": "jest --silent=false --verbose=true",
110110
"test-watch": "npm run test -- --runInBand --testTimeout=50000 --watch"

0 commit comments

Comments
 (0)