typicode / husky

Git hooks made easy 🐶 woof!
https://typicode.github.io/husky
MIT License
31.69k stars 996 forks source link

Yarn 3 and Husky 9 not compatible #1429

Closed ramses512 closed 3 weeks ago

ramses512 commented 3 weeks ago

Troubleshoot

If you're migrating from husky 4, see: https://typicode.github.io/husky/migrate-from-v4.html

Context Hi, I've been researching and it seems there's a conflict with Husky v9 and Yarn v3. Husky recommends using 'prepare' instead of 'postinstall' in the scripts, but Yarn v3 doesn't have 'prepare' in its lifecycle. What could be done?

Thank you!

ramses512 commented 3 weeks ago

Duplicated https://github.com/typicode/husky/pull/1371