-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Unusable with husky v9
When using husky 9, the command fails with husky install is deprecated
and husky add is deprecated
:
~/temp_repositories/deletemerepo on main ?1 ........................................................................................................................................ took 9s at 20:15:40
> npm install husky jira-prepare-commit-msg --save-dev && npx husky install
added 27 packages, and audited 28 packages in 1s
4 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
install command is deprecated
~/temp_repositories/deletemerepo on main ?3 ................................................................................................................................................ at 20:16:08
> npx husky add .husky/prepare-commit-msg 'npx jira-prepare-commit-msg $1'
add command is deprecated
Workaround
Use husky v8 instead for now until husky 9 support is added
npm install husky@8.0.3 jira-prepare-commit-msg --save-dev && npx husky install
firatcetiner, leshek-pawlak and JeffreyVanelderenACA
Metadata
Metadata
Assignees
Labels
No labels