-
Notifications
You must be signed in to change notification settings - Fork 0
build(deps-dev): bump husky from 8.0.3 to 9.1.7 #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -37,8 +37,8 @@ | |||||
| "@vitest/coverage-v8": "^1.0.0", | ||||||
| "eslint": "^8.54.0", | ||||||
| "eslint-config-prettier": "^9.0.0", | ||||||
| "husky": "^8.0.3", | ||||||
| "lint-staged": "^16.4.0", | ||||||
| "husky": "^9.1.7", | ||||||
| "lint-staged": "^15.1.0", | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 lint-staged unintentionally downgraded from v16 to v15 This PR reverts lint-staged from
Suggested change
Was this helpful? React with 👍 or 👎 to provide feedback. Debug |
||||||
| "prettier": "^3.1.0", | ||||||
| "typescript": "^5.3.2", | ||||||
| "vitest": "^1.0.0" | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Husky v9 upgrade without updating
preparescript and hook formatHusky is upgraded from v8 to v9 (a major version bump), but the
preparescript atpackage.json:28still uses"prepare": "husky install", which is the v8 API. In husky v9, the initialization command changed to justhusky(i.e.,"prepare": "husky"). Additionally, the existing.husky/pre-commithook sources. "$(dirname "$0")/_/husky.sh", which is the v8 hook format that is no longer used in v9. Both of these will causenpm installand git hooks to malfunction after this upgrade.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.
Debug
Playground