Skip to content

Commit 9f8d7fe

Browse files
vinayakkulkarnialmeidxkodiakhq[bot]
authored
build: Update husky to v9 (#10102)
* refactor(dev-deps): migrate to husky v9 Signed-off-by: Vinayak Kulkarni <[email protected]> * revert: only core committers in package.json * chore: remove hashbang 🎉 * chore: remove install from prepare script ✨ * chore: upgrade to latest minor --------- Signed-off-by: Vinayak Kulkarni <[email protected]> Co-authored-by: almeidx <[email protected]> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 42bc5d2 commit 9f8d7fe

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

.husky/commit-msg

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
pnpm exec commitlint --edit $1

.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
pnpm run build:affected && pnpm exec lint-staged

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"fmt:affected": "turbo run format --filter='...[origin/main]' --concurrency=4",
2020
"docs": "turbo run docs --concurrency=4",
2121
"docs:affected": "turbo run docs --filter='...[origin/main]' --concurrency=4",
22-
"prepare": "is-ci || husky install",
22+
"prepare": "is-ci || husky",
2323
"update": "pnpm --recursive update --interactive",
2424
"update:latest": "pnpm --recursive update --interactive --latest",
2525
"create-package": "turbo gen create-package --args"
@@ -59,7 +59,7 @@
5959
"conventional-changelog-cli": "^4.1.0",
6060
"eslint": "^8.56.0",
6161
"eslint-config-neon": "^0.1.57",
62-
"husky": "^8.0.3",
62+
"husky": "^9.0.10",
6363
"is-ci": "^3.0.1",
6464
"lint-staged": "^15.2.0",
6565
"lodash.merge": "^4.6.2",

pnpm-lock.yaml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)