Skip to content

Commit

Permalink
chore: husky 9 upgrade (#2187)
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier authored Nov 11, 2024
1 parent bdd1511 commit 26af530
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install pretty-quick --staged
npm run eslint:ci --quiet
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"sideEffects": false,
"scripts": {
"build": "rimraf dist && yarn typegen && rollup -c && yarn copy",
"prepare": "yarn build && husky install",
"prepare": "yarn build && husky",
"eslint": "eslint --fix .",
"eslint:ci": "eslint .",
"prettier": "prettier --check .",
Expand Down Expand Up @@ -113,7 +113,7 @@
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-storybook": "^0.10.2",
"husky": "^6.0.0",
"husky": "^9.1.6",
"json": "^11.0.0",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2831,7 +2831,7 @@ __metadata:
eslint-plugin-storybook: "npm:^0.10.2"
glsl-noise: "npm:^0.0.0"
hls.js: "npm:^1.5.17"
husky: "npm:^6.0.0"
husky: "npm:^9.1.6"
json: "npm:^11.0.0"
maath: "npm:^0.10.8"
meshline: "npm:^3.3.1"
Expand Down Expand Up @@ -7651,12 +7651,12 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^6.0.0":
version: 6.0.0
resolution: "husky@npm:6.0.0"
"husky@npm:^9.1.6":
version: 9.1.6
resolution: "husky@npm:9.1.6"
bin:
husky: lib/bin.js
checksum: 10c0/00dca95e24f6174f150ba1ee746948a89a3ff20b460ecad7bc2e4c2a76fe5b78bef1400c84bc2bade6588392c37baf57c173f49dc123fdbc7c7a71e4d412fb67
husky: bin.js
checksum: 10c0/705673db4a247c1febd9c5df5f6a3519106cf0335845027bb50a15fba9b1f542cb2610932ede96fd08008f6d9f49db0f15560509861808b0031cdc0e7c798bac
languageName: node
linkType: hard

Expand Down

0 comments on commit 26af530

Please sign in to comment.