Repository navigation
docs: package map is written only under nodeExperimentalPackageMap - #925
Conversation
pnpm/pnpm#14511 gates `node_modules/.package-map.json` on the setting in both stacks: nothing reads the file without it, and building it costs every install a pass over the lockfile. The settings pages said the opposite - that the map is always generated and the setting only decides whether scripts receive it. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_015YZGn6jMwYeMveHf8RHKfU
|
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (2)
🔇 Additional comments (1)
📝 WalkthroughWalkthroughThe documentation now describes package map creation, Node.js injection, and removal for enabled and disabled ChangesPackage map documentation
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The settings pages now describe package-map creation, injection, and removal consistently. This documentation-only change introduces no current-head production risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit reads the setting bright Comment |
PR Summary by QodoDocument conditional package-map generation
AI Description
High-Level Assessment
Files changed (2)
|
|
node_modules/.package-map.jsonis currently described as always generated, withnodeExperimentalPackageMapdeciding only whether scripts receive it:pnpm/pnpm#14511 makes generation conditional on the setting in both stacks — nothing reads the file without it, and building it costs every install a pass over the lockfile — and makes an install that stops writing the map remove the one a previous install left. This updates the current and the
version-11.xsettings pages to match.Merge this with the release that carries pnpm/pnpm#14511, not before: until then the published docs are correct as they stand.
🤖 Generated with Claude Code
https://claude.ai/code/session_015YZGn6jMwYeMveHf8RHKfU
Summary by CodeRabbit
nodeExperimentalPackageMapcreates.package-map.jsonduring isolated and hoisted installs.