Skip to content

Commit 9ea2216

Browse files
chore(deps): update dependency husky to v9 (#844)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: intcreator <[email protected]>
1 parent ad613cb commit 9ea2216

File tree

5 files changed

+10
-15
lines changed

5 files changed

+10
-15
lines changed

.github/workflows/lint_pr_title.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
id: lint_pr_title
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
HUSKY: 0
2728

2829
- uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2
2930
# When the previous steps fails, the workflow would stop. By adding this

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ jobs:
4747
env:
4848
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
4949
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
50+
HUSKY: 0

.husky/commit-msg

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
#!/usr/bin/env sh
2-
3-
# https://typicode.github.io/husky/guide.html#disable-husky-in-ci-docker-prod
4-
[ -n "$CI" ] && exit 0
5-
61
# only run commitlint on main (for admins pushing directly to branch)
72
[ "$(git rev-parse --abbrev-ref HEAD)" != "main" ] && exit 0
83

9-
. "$(dirname -- "$0")/_/husky.sh"
10-
114
npx --no -- commitlint --edit ${1}

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"test": "jest --coverage",
2222
"test:watch": "jest --watch --coverage",
2323
"test:fuzz": "jest --testMatch='**/*.fuzz.ts' --coverage=false --testTimeout=120000",
24-
"prepare": "husky install"
24+
"prepare": "husky"
2525
},
2626
"dependencies": {
2727
"@types/luxon": "~3.4.0",
@@ -47,7 +47,7 @@
4747
"eslint-config-prettier": "9.1.0",
4848
"eslint-plugin-jest": "27.9.0",
4949
"eslint-plugin-prettier": "5.2.1",
50-
"husky": "8.0.3",
50+
"husky": "9.1.6",
5151
"jest": "29.7.0",
5252
"prettier": "3.3.3",
5353
"semantic-release": "24.2.0",

0 commit comments

Comments
 (0)