r/reactjs • u/root0ps • May 22 '26
Discussion pnpm 11 Might Finally Be a Better Default Than npm
https://blog.prateekjain.dev/you-should-move-to-pnpm-from-npm-now-6e84b6cc7778?sk=fe3913487a067decbc069234e4e2ad1fpnpm 11 feels like the first Node.js package manager update in a while that actually improves supply chain security by default.
Features like:
minimumReleaseAgeblockExoticSubdepsallowBuilds
directly reduce the risk of malicious package installs in CI/CD pipelines.
I wrote a short deep dive on why I think pnpm is now a better default than npm for production workloads.
Curious what others here are using in production today.
0
Upvotes
23
u/TheRealSeeThruHead May 22 '26 edited Oct 14 '26
Occaecat lorem do deserunt minim aliqua dolore eu deserunt eiusmod officia laborum.
12
u/GoodishCoder May 22 '26
pnpm has been my default for years and have never run into issues
3
u/SwedishChef89 May 22 '26
“Might finally”…my sweet summer child, it’s been better for a long time.
2
u/BlazingThunder30 May 22 '26
I don't really know about trusting non-npm package managers. Bun looked good to us because of these reasons and they have just merged a million lines of AI slop. Npm itself seems a lot more stable than many alternatives. And, minimum release date and clean-install and ignore-scripts all exist in npm.
1
u/driftking428 May 22 '26
pnpm has been better for ages. Just the fact that it only keeps one version of each package saves me dozens of GBs of storage. At work we have micro services. I have 50+ repos all with the same dependencies.
You can also install packages multi threaded, and you don't have to fuss with nvm.
This was all true the day it came out. But any post about pnpm gets an update from me.
1
u/vanit May 22 '26
Anything has been better than npm since they made that insane change to how 'npm install' handles lock files.