Skip to content

Commit

Permalink
chore(repo): update dependency husky to v9 (#487)
Browse files Browse the repository at this point in the history
* chore(repo): update dependency husky to v9

* test

* test2

* testjs

* refactor: v9 husky implementation

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Moon <moonmeister@users.noreply.github.com>
  • Loading branch information
renovate[bot] and moonmeister authored Oct 11, 2024
1 parent 3a7940b commit 63cf8bb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
7 changes: 2 additions & 5 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 lint-staged
npx run-if-changed
yarn lint-staged
yarn run-if-changed
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"integration-tests/*"
],
"scripts": {
"prepare": "husky",
"ac": "yarn all-contributors",
"build": "yarn workspaces foreach -Avpi --no-private run build",
"cs": "yarn changeset",
Expand Down Expand Up @@ -38,7 +39,7 @@
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-unicorn": "^56.0.0",
"fs-extra": "^11.2.0",
"husky": "^8.0.3",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"renovate": "^38.116.0",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15373,12 +15373,12 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^8.0.3":
version: 8.0.3
resolution: "husky@npm:8.0.3"
"husky@npm:^9.1.6":
version: 9.1.6
resolution: "husky@npm:9.1.6"
bin:
husky: lib/bin.js
checksum: 10/b754cf70fdc97c3b60fec5b80056b9c11436464953b1691bf2b5dcf0081fb6685d2c5f47abb8b2b1c49f504aabea5321fdd6496f8b755d9f6e7525a493406abb
husky: bin.js
checksum: 10/421ccd8850378231aaefd70dbe9e4f1549b84ffe3a6897f93a202242bbc04e48bd498169aef43849411105d9fcf7c192b757d42661e28d06b934a609a4eb8771
languageName: node
linkType: hard

Expand Down Expand Up @@ -20026,7 +20026,7 @@ __metadata:
eslint-plugin-react: "npm:^7.37.1"
eslint-plugin-unicorn: "npm:^56.0.0"
fs-extra: "npm:^11.2.0"
husky: "npm:^8.0.3"
husky: "npm:^9.1.6"
lint-staged: "npm:^15.2.10"
prettier: "npm:^3.3.3"
renovate: "npm:^38.116.0"
Expand Down

0 comments on commit 63cf8bb

Please sign in to comment.