Skip to content

Commit 8696a00

Browse files
author
Corentin Mors
committed
Update husky to v9
1 parent 67387c9 commit 8696a00

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

.husky/pre-commit

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

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"pkg:win": "pkg . -t node18-win-x64 -o bundle/dcli-win.exe -C GZip --public --public-packages tslib,thirty-two --no-bytecode",
2929
"pkg": "yarn run build && yarn run pkg:linux && yarn run pkg:macos && yarn run pkg:win",
3030
"version:bump": "ts-node src/bumpVersion.ts",
31-
"prepare": "husky install",
31+
"prepare": "husky",
3232
"test": "mocha"
3333
},
3434
"author": {
@@ -52,7 +52,7 @@
5252
"eslint": "^8.57.0",
5353
"eslint-config-prettier": "^9.1.0",
5454
"eslint-plugin-import": "^2.29.1",
55-
"husky": "^8.0.3",
55+
"husky": "^9.0.11",
5656
"mocha": "^10.3.0",
5757
"prettier": "^3.2.5",
5858
"ts-node": "^10.9.2",

yarn.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ __metadata:
153153
eslint-config-prettier: "npm:^9.1.0"
154154
eslint-plugin-import: "npm:^2.29.1"
155155
got: "npm:^11.8.6"
156-
husky: "npm:^8.0.3"
156+
husky: "npm:^9.0.11"
157157
inquirer: "npm:^8.2.6"
158158
inquirer-search-list: "npm:^1.2.6"
159159
jsonpath-plus: "npm:^8.1.0"
@@ -3052,12 +3052,12 @@ __metadata:
30523052
languageName: node
30533053
linkType: hard
30543054

3055-
"husky@npm:^8.0.3":
3056-
version: 8.0.3
3057-
resolution: "husky@npm:8.0.3"
3055+
"husky@npm:^9.0.11":
3056+
version: 9.0.11
3057+
resolution: "husky@npm:9.0.11"
30583058
bin:
3059-
husky: lib/bin.js
3060-
checksum: b754cf70fdc97c3b60fec5b80056b9c11436464953b1691bf2b5dcf0081fb6685d2c5f47abb8b2b1c49f504aabea5321fdd6496f8b755d9f6e7525a493406abb
3059+
husky: bin.mjs
3060+
checksum: 8a9b7cb9dc8494b470b3b47b386e65d579608c6206da80d3cc8b71d10e37947264af3dfe00092368dad9673b51d2a5ee87afb4b2291e77ba9e7ec1ac36e56cd1
30613061
languageName: node
30623062
linkType: hard
30633063

0 commit comments

Comments
 (0)