Skip to content

Commit b33dabe

Browse files
committed
Fix: restore original 'prepare' script that was overwritten by husky init
- Restore 'prepare': 'npm run build' for proper package installation - Husky pre-commit hooks remain functional via existing .husky directory
1 parent 610cbdd commit b33dabe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"prettier-fix": "prettier --write .",
4242
"prettier-check": "prettier --check .",
4343
"lint": "prettier --check . && cd client && npm run lint",
44-
"prepare": "husky",
44+
"prepare": "npm run build",
4545
"publish-all": "npm publish --workspaces --access public && npm publish --access public",
4646
"update-version": "node scripts/update-version.js",
4747
"check-version": "node scripts/check-version-consistency.js"

0 commit comments

Comments
 (0)