Back to Daily Feed 
pnpm 12 RC 7: Enhancements to Dependency Resolution and Virtual Store
Worth Reading
Originally published on pnpm Releases
View Original Article
Share this article:
Summary & Key Takeaways
node_modules/.modules.yamlno longer records old registry information.pnpm listandpnpm whynow use configured registries.enableGlobalVirtualStorenow correctly setsNODE_PATHandNODE_OPTIONSfor spawned processes.- Phantom dependencies resolve correctly under the global virtual store for CommonJS and ESM.
- Registries can declare
supportsTimeFieldfor more efficient time-based resolution.
Our Commentary
RC 7, huh? It's good to see the continued refinement of pnpm. The NODE_PATH and NODE_OPTIONS changes for the global virtual store are a big deal for consistency, especially with ESM. I'm always a little nervous about how many subtle ways package managers can break things, so these kinds of fixes are crucial. The registry supportsTimeField is a nice optimization for those using time-based resolution.
View Original Article
Share this article: