Skip to content
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

(fix): update scripts & docs for Husky v9 #446

Closed
wants to merge 2 commits into from

Conversation

goosewobbler
Copy link
Member

@goosewobbler goosewobbler commented Mar 1, 2024

Husky was updated but husky install was deprecated, this PR fixes the scripts to run Husky on prepare and updates the docs accordingly.

https://github.com/typicode/husky/releases/tag/v9.0.1

@goosewobbler goosewobbler changed the title fix: update scripts & docs for Husky v9 (fix): update scripts & docs for Husky v9 Mar 1, 2024
@seanpoulter
Copy link
Contributor

Interesting. I'll make a note to check if we've missed this elsewhere in the orgs.

The How to Migrate section of the docs you linked also says we can drop these lines from the hooks too:

- #!/usr/bin/env sh
- . "$(dirname -- "$0")/_/husky.sh"
npm test 

@seanpoulter seanpoulter requested review from seanpoulter and removed request for seanpoulter March 1, 2024 13:22
@goosewobbler
Copy link
Member Author

@seanpoulter Good catch - I'm sure I updated this code already but obviously it never got committed. Maybe stashed on a branch somewhere.

@goosewobbler
Copy link
Member Author

closing in favour of #447

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.

2 participants