Back to Daily Feed 
pnpm 12 Alpha 17: Enhanced CLI, New Settings, and Force Install
Worth Reading
Originally published on pnpm Releases
View Original Article
Share this article:
Summary & Key Takeaways
pnpm listandpnpm whyare now feature-complete with many new options like--only-projects,--json, and search by version range.- New settings include
cleanupUnusedCatalogsfor managing workspace entries andenableModulesDir: falseto preventnode_modulescreation. - Command shims now set
NODE_PATHconsistently with isolatednodeLinkerand hoist patterns. - A new
extendNodePath: falsesetting allows disabling thisNODE_PATHbehavior. - The
--forceflag forpnpm installandpnpm addnow installs optional dependencies regardless of host compatibility and relinks packages. sharedWorkspaceLockfile: falseis now supported by the install family of commands.
Our Commentary
This is a chunky alpha release. I'm always impressed by the sheer volume of features pnpm packs into its updates. The --force flag for optional dependencies is a nice touch, and the list/why command parity is a huge win for consistency. It feels like they're really refining the developer experience.
View Original Article
Share this article: