Skip to content

Commit

Permalink
migrate husky from v8 to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
iOvergaard committed Jul 24, 2024
1 parent db0bb25 commit c6d3b02
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

8 changes: 0 additions & 8 deletions .husky/common.sh

This file was deleted.

6 changes: 1 addition & 5 deletions .husky/pre-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

npx lint-staged
lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"lerna:modify-package": "lerna exec -- node ../../scripts/modify-pkgjson.mjs",
"bootstrap": "lerna run --scope @umbraco-ui/uui-css clean && lerna run --scope @umbraco-ui/uui-css build && node ./scripts/generate-ts-config.js",
"check-updates": "npx ncu && npx lerna exec --no-bail -- npx ncu",
"prepare": "husky install",
"prepare": "husky",
"new-package": "plop && npm i",
"pack-all": "npm run build:prod && node ./scripts/pack-packages.js",
"pack-all-no-build": "node ./scripts/pack-packages.js",
Expand Down

0 comments on commit c6d3b02

Please sign in to comment.