Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"eslint-plugin-prettier": "5.5.4",
"eslint-plugin-react": "7.37.5",
"find-up": "7.0.0",
"husky": "4.3.8",
"husky": "9.1.7",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 package-lock.json still pins husky at 4.3.8 (root entry and node_modules/husky), while this line now declares 9.1.7. npm ci fails with "package.json and package-lock.json ... are not in sync", breaking CI. Run npm install --save-dev husky@9.1.7 (or npm install) and commit the regenerated lockfile.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 This is a breaking major (v4 → v9) config migration. The repo still uses .huskyrc.json (hooks.pre-commitlint-staged, hooks.pre-pushnpm run validate), but husky v5+ ignores .huskyrc/.huskyrc.json, and there is no .husky/ directory or prepare script. After this bump the pre-commit (Prettier/ESLint/react-compiler-tracker) and pre-push (npm run validate) hooks silently stop running. Migrate to v9: create executable .husky/pre-commit and .husky/pre-push scripts, add "prepare": "husky" to scripts, and delete .huskyrc.json.

"jest": "28.1.3",
"jest-axe": "5.0.1",
"jest-environment-jsdom": "28.1.3",
Expand Down
Loading