frontsideair / yarnhook

Run `yarn install`, `npm install` or `pnpm install` on git hooks automatically
MIT License
217 stars 17 forks source link

Consider using `preferred-pm` #55

Open frontsideair opened 3 years ago

frontsideair commented 3 years ago

https://github.com/zkochan/packages/tree/master/preferred-pm

frontsideair commented 11 months ago

Or we could read packageManager field from project root package.json, and fallback to preferred-pm if it doesn't exist. In a future version we may completely switch over to corepack detection.

Consult to corepack to see how they find out project defined package manager.