DEV Community

loading...

Discussion on: Why I Use Yarn, Not npm

Collapse
savagepixie profile image
SavagePixie

Maybe you'd like to try pnpm, then. It's big advantage is that it only ever keeps one copy of each package in your computer. So if you're using dependencies that you already use in other projects, you don't need to download them again.

Collapse
shelob9 profile image
Josh Pollock Author

Good point. Worth trying.

I used verdaccio for awhile. It proxies npm registry with a cache.. I was able to run npx create-react-app without an internet connection. I never figured out how to avoid writing localhost urls in my lockfile though.

Thread Thread
x1k profile image
Asaju Enitan

maybe it could be in the docs?