Skip to content

Commit 34fc98c

Browse files
committed
Upgrade to husky v9
1 parent afdf7e7 commit 34fc98c

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
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 lint:staged

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"mocks:fyllut:no-cli": "cd mocks && yarn mocks:fyllut:no-cli",
4343
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.mjs",
4444
"lint:staged": "lint-staged",
45-
"prepare": "husky install",
45+
"prepare": "husky",
4646
"prettier": "prettier --write ."
4747
},
4848
"devDependencies": {
@@ -69,7 +69,7 @@
6969
"eslint-plugin-testing-library": "^6.2.0",
7070
"eslint-plugin-vitest": "^0.3.22",
7171
"eslint-plugin-vitest-globals": "^1.4.0",
72-
"husky": "^8.0.3",
72+
"husky": "^9.0.11",
7373
"jsdom": "^22.1.0",
7474
"lint-staged": "^15.2.2",
7575
"prettier": "^3.2.5",

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -4635,10 +4635,10 @@ human-signals@^5.0.0:
46354635
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28"
46364636
integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==
46374637

4638-
husky@^8.0.3:
4639-
version "8.0.3"
4640-
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
4641-
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==
4638+
husky@^9.0.11:
4639+
version "9.0.11"
4640+
resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.11.tgz#fc91df4c756050de41b3e478b2158b87c1e79af9"
4641+
integrity sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==
46424642

46434643
hyphenate-style-name@^1.0.3:
46444644
version "1.0.4"

0 commit comments

Comments
 (0)