Skip to content

Commit 44feaa8

Browse files
chore(deps): update dependency husky to v9 (#481)
* chore(deps): update dependency husky to v9 * chore: migrate husky setup --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Erik Slovak <erik.slovak@technologystudio.sk>
1 parent 9701fd5 commit 44feaa8

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.husky/pre-commit

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
yarn commitlint --edit || exec < /dev/tty && yarn txo-cz --hook > /dev/null 2>&1 || true
32

4-
yarn git-hook

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"fixcode": "eslint . --fix",
2020
"git-hook": "yarn -s lint",
2121
"compile": "tsc",
22-
"prepare": "husky install && yarn compile",
22+
"prepare": "husky && yarn compile",
2323
"sanity": "yarn lint && yarn test --coverage && tsc --noEmit && yarn outdated && echo 'success'",
2424
"semantic-release": "semantic-release",
2525
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
@@ -40,7 +40,7 @@
4040
"@types/eslint": "^8.56.9",
4141
"@types/jest": "^29.5.12",
4242
"@types/react": "^18.2.79",
43-
"husky": "^8.0.3",
43+
"husky": "^9.0.11",
4444
"jest": "^29.7.0",
4545
"lint-staged": "^15.2.2",
4646
"react": "^18.2.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4079,10 +4079,10 @@ humanize-ms@^1.2.1:
40794079
dependencies:
40804080
ms "^2.0.0"
40814081

4082-
husky@^8.0.3:
4083-
version "8.0.3"
4084-
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
4085-
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==
4082+
husky@^9.0.11:
4083+
version "9.0.11"
4084+
resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.11.tgz#fc91df4c756050de41b3e478b2158b87c1e79af9"
4085+
integrity sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==
40864086

40874087
iconv-lite@^0.4.24:
40884088
version "0.4.24"

0 commit comments

Comments
 (0)