Skip to content

Commit b6aabed

Browse files
committed
fix: set prepublish script
1 parent 1ce0319 commit b6aabed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"demo": "node --watch-path=packages/ packages/demo/src/index.ts",
5757
"dev": "turbo watch tsc",
5858
"prepare": "husky",
59+
"prepublishOnly": "yarn tsc",
5960
"prepack": "find packages/* -maxdepth 1 -type f -name 'README*' -exec sed -i '' -e 's/utm_source=github/utm_source=npmjs/g' {} + && find packages/* -maxdepth 1 -type f -name package.json -exec sh -c 'jq \".devDependencies |= with_entries(select(.value != \\\"workspace:*\\\"))\" \"$1\" > \"$1.tmp\" && mv \"$1.tmp\" \"$1\"' _ {} \\;",
6061
"postpack": "git restore packages/*/package.json packages/*/README.md",
6162
"setup": "setup-packages && oxfmt . --no-error-on-unmatched-pattern",

0 commit comments

Comments
 (0)