typicode / husky

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

husky and monorepo #1510

Open Byron2016 opened 2 months ago

Byron2016 commented 2 months ago

Troubleshoot

Context

Maybe this could be a miss understandig of how husky works and wrong expectation about it, I suposed that with a monorepo, husky is going to ejecute scripts from each workspace in concordance with the changes that occurs in that workspace.

. # Package.json with husky ├── .git/ ├── apps/ ├──┼── a/ # Package.json with husky └──┴── b/ # Package.json with husky

Minimal reproduction code

Thank you!