Skip to content

chore(deps): migrate husky from v8 to v9#2054

Merged
just-jeb merged 2 commits intomasterfrom
chore/husky-v9-migration
Feb 23, 2026
Merged

chore(deps): migrate husky from v8 to v9#2054
just-jeb merged 2 commits intomasterfrom
chore/husky-v9-migration

Conversation

@just-jeb
Copy link
Copy Markdown
Owner

PR Checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

[x] Build related changes

What is the current behavior?

Husky v8 is used with prepare: "husky install" and hook files that source .husky/_/husky.sh. Renovate PR #1639 only bumps the dependency to v9 but does not update the prepare script or migrate the hooks, which would break yarn install and trigger deprecation warnings.

What is the new behavior?

  • package.json: husky bumped to ^9.0.0 and prepare script changed from husky install to husky.
  • .husky/pre-commit and .husky/commit-msg: Removed v8 shebang and shim sourcing; hooks are now plain scripts as required by husky v9.
  • .husky/.gitignore and .husky/_/ (v8 runtime): Removed; no longer used in v9.

This PR supersedes #1639. That PR can be closed once this is merged.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Migration follows the official husky v8 → v9 guide (prepare script, hook format, removal of v8 artifacts).

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@just-jeb just-jeb enabled auto-merge (squash) February 22, 2026 18:25
Co-authored-by: Cursor <cursoragent@cursor.com>
@just-jeb just-jeb merged commit 1db9ce9 into master Feb 23, 2026
45 checks passed
@just-jeb just-jeb deleted the chore/husky-v9-migration branch February 23, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant