Skip to content

Commit

Permalink
⬆️ upgrade husky to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
jxn-30 committed Jan 25, 2024
1 parent 382c280 commit 5396264
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn="$(find ./.yarn/releases/ -name 'yarn-*.cjs')"
echo "$yarn"
"$yarn" pre-commit
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"eslint:fix": "./build/build.sh --eslint",
"check-tsc": "./build/build.sh --tsc",
"pre-commit": "./build/build.sh --pre-commit",
"prepare": "husky install",
"postinstall": "husky install"
"prepare": "husky",
"postinstall": "husky"
},
"dependencies": {
"@fortawesome/fontawesome-free": "6.5.1",
Expand Down Expand Up @@ -83,7 +83,7 @@
"eslint-plugin-unicorn": "50.0.1",
"eslint-plugin-vue": "9.20.1",
"html-loader": "5.0.0",
"husky": "8.0.3",
"husky": "9.0.2",
"js-yaml": "4.1.0",
"moment-timezone": "0.5.44",
"prettier": "3.2.4",
Expand Down
2 changes: 1 addition & 1 deletion src/generated/libraries.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
},
"husky": {
"url": "https://typicode.github.io/husky",
"version": "8.0.3"
"version": "9.0.2"
},
"js-yaml": {
"version": "4.1.0"
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6060,12 +6060,12 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:8.0.3":
version: 8.0.3
resolution: "husky@npm:8.0.3"
"husky@npm:9.0.2":
version: 9.0.2
resolution: "husky@npm:9.0.2"
bin:
husky: lib/bin.js
checksum: 6722591771c657b91a1abb082e07f6547eca79144d678e586828ae806499d90dce2a6aee08b66183fd8b085f19d20e0990a2ad396961746b4c8bd5bdb619d668
husky: bin.js
checksum: daaffd96aeda3a6a08c86238e8bf157a2e356a5821a1feb29328645a6881ab7e051cf6fe730a90ed25ceaaafbce97bdf1fbd9b316244ce2a0d6ae79b3b061fa0
languageName: node
linkType: hard

Expand Down Expand Up @@ -7004,7 +7004,7 @@ __metadata:
highcharts: "npm:11.3.0"
highcharts-vue: "npm:1.4.3"
html-loader: "npm:5.0.0"
husky: "npm:8.0.3"
husky: "npm:9.0.2"
js-yaml: "npm:4.1.0"
leaflet.heat: "npm:0.2.0"
localforage: "npm:1.10.0"
Expand Down

0 comments on commit 5396264

Please sign in to comment.