Skip to content

Commit c626fe1

Browse files
authored
chore: update husky from v7 to v9 (#4682)
* chore: update husky from v7 to v9 * chore: fix package.json
1 parent 29e4973 commit c626fe1

File tree

4 files changed

+15
-19
lines changed

4 files changed

+15
-19
lines changed

.husky/pre-commit

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
pnpm semver-check
5-
npx lint-staged --verbose
6-
7-
2+
lint-staged --verbose

.husky/pre-push

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
pnpm test
5-
62
pnpm semver-check

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"console-table-printer": "^2.12.1",
2828
"execa": "^9.5.2",
2929
"globby": "^14.1.0",
30-
"husky": "^7.0.4",
30+
"husky": "^9.1.7",
3131
"jsr": "^0.12.4",
3232
"lint-staged": "^12.5.0",
3333
"mitata": "^0.1.14",
@@ -72,7 +72,7 @@
7272
"dev:play": "pnpm dev play.ts",
7373
"bench": "tsx --conditions @zod/source packages/bench/index.ts",
7474
"moltar": "pnpm bench object-moltar",
75-
"prepare": "husky install",
75+
"prepare": "husky",
7676
"postbuild": "biome format --write .",
7777
"publish:jsr": "jsr publish --dry-run",
7878
"bundle:rollup": "rollup -c",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)