pnpm: actualize husky setup

This commit is contained in:
Vladimir Reznichenko 2024-09-19 12:19:19 +02:00
parent d94b95af1f
commit 4d214d219d
1 changed files with 1 additions and 2 deletions

View File

@ -26,8 +26,7 @@
"clean": "rimraf -g '**/node_modules' '**/.wireit' && pnpm store prune",
"buildclean": "git clean --force -d -X ./packages ./plugins ./tools",
"preinstall": "npx only-allow pnpm",
"postinstall": "pnpm git:update-hooks",
"git:update-hooks": "if test -d .git; then rm -rf .git/hooks && mkdir -p .git/hooks && husky install; else husky install; fi",
"postinstall": "husky",
"sync-dependencies": "pnpm exec syncpack -- fix-mismatches",
"utils": "./tools/monorepo-utils/bin/run"
},