Skip to content

Commit 3f6561c

Browse files
chore(deps): update dependency husky to v9 (#541)
1 parent 898fd89 commit 3f6561c

File tree

5 files changed

+15
-19
lines changed

5 files changed

+15
-19
lines changed

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/commit-msg

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
4-
npx --no-install commitlint --edit $1
1+
commitlint --edit "$1"

.husky/pre-commit

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
4-
npx --no-install pretty-quick --staged
1+
pretty-quick --staged
2+
git update-index --again

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@wdio/local-runner": "^8.0.0",
3939
"@wdio/mocha-framework": "^8.0.0",
4040
"html-validate": "^8.0.0",
41-
"husky": "^8.0.0",
41+
"husky": "^9.0.0",
4242
"microbundle": "^0.15.0",
4343
"np": "^9.0.0",
4444
"npm-run-all": "^4.1.5",
@@ -54,6 +54,6 @@
5454
"build": "microbundle",
5555
"dev": "microbundle watch",
5656
"release": "np",
57-
"prepare": "husky install"
57+
"prepare": "husky"
5858
}
5959
}

0 commit comments

Comments
 (0)