DEV Community

Discussion on: A Few Things I Do Every Time I Start A New Gatsby Site

Collapse
 
wezpyke profile image
Wez Pyke •

Is there any reason why you prefer Yarn over NPM?

Collapse
 
southpaw profile image
Alex Gabites •

Yarn is also more reliable on managing and upgrading dependencies and it respects the lock file correctly 👍

Collapse
 
shelob9 profile image
Josh Pollock •

This is a great question, I wrote a post beacuse my answer was going long. tl;dr - yarn test is less keys to press than npm run test also monorepos and npm inc. worries me.

dev.to/shelob9/why-i-use-yarn-not-...

Collapse
 
wezpyke profile image
Wez Pyke •

Thanks for taking the time to write that, very insightful.

Thread Thread
 
shelob9 profile image
Josh Pollock •

NP. Thanks for the excellent suggestion for a topic.