Skip to content

Commit 27b239a

Browse files
committed
chore: upgrade husky
1 parent 2ec83b0 commit 27b239a

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

.husky/commit-msg

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npm run commit-msg

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npm run pre-commit

package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"prebuild": "rimraf dist",
3535
"commit-msg": "commitlint -e",
3636
"pre-commit": "npm run lint:staged & npm run test:unit",
37-
"prepare": "husky install"
37+
"prepare": "husky"
3838
},
3939
"repository": {
4040
"type": "git",
@@ -125,7 +125,7 @@
125125
"eslint-plugin-import": "^2.29.1",
126126
"eslint-plugin-prettier": "^5.1.3",
127127
"eslint-plugin-typescript-sort-keys": "^3.1.0",
128-
"husky": "^8.0.3",
128+
"husky": "^9.0.6",
129129
"jest": "^29.7.0",
130130
"jest-fetch-mock": "^3.0.3",
131131
"jest-junit": "^16.0.0",

0 commit comments

Comments
 (0)