Skip to content

Commit f933e65

Browse files
committed
migrate husky from v8 to v9
1 parent 15416de commit f933e65

File tree

4 files changed

+2
-15
lines changed

4 files changed

+2
-15
lines changed

.husky/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/common.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

.husky/pre-commit

100755100644
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
. "$(dirname "$0")/common.sh"
4-
5-
npx lint-staged
1+
lint-staged

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"lerna:modify-package": "lerna exec -- node ../../scripts/modify-pkgjson.mjs",
4141
"bootstrap": "lerna run --scope @umbraco-ui/uui-css clean && lerna run --scope @umbraco-ui/uui-css build && node ./scripts/generate-ts-config.js",
4242
"check-updates": "npx ncu && npx lerna exec --no-bail -- npx ncu",
43-
"prepare": "husky install",
43+
"prepare": "husky",
4444
"new-package": "plop && npm i",
4545
"pack-all": "npm run build:prod && node ./scripts/pack-packages.js",
4646
"pack-all-no-build": "node ./scripts/pack-packages.js",

0 commit comments

Comments
 (0)