Upgrade lockfile format, stub npm min version#6824
Conversation
WalkthroughDocumentation file DEVELOPING.md receives formatting improvements including additional blank lines and inline comments around existing command blocks. A node version note is added to npm install instructions. No logic or functional content changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (20)📓 Common learnings📚 Learning: 2025-12-25T23:55:31.361ZApplied to files:
📚 Learning: 2025-12-06T03:36:59.377ZApplied to files:
📚 Learning: 2025-12-16T08:12:13.355ZApplied to files:
📚 Learning: 2025-12-06T03:36:59.377ZApplied to files:
📚 Learning: 2025-11-23T13:30:10.395ZApplied to files:
📚 Learning: 2025-12-14T13:58:58.361ZApplied to files:
📚 Learning: 2025-12-08T08:23:26.261ZApplied to files:
📚 Learning: 2025-11-25T01:22:59.729ZApplied to files:
📚 Learning: 2025-11-25T01:22:59.729ZApplied to files:
📚 Learning: 2025-11-19T14:08:01.728ZApplied to files:
📚 Learning: 2025-11-25T01:22:59.729ZApplied to files:
📚 Learning: 2025-11-25T01:23:14.977ZApplied to files:
📚 Learning: 2025-11-25T01:23:08.250ZApplied to files:
📚 Learning: 2025-11-25T01:22:59.729ZApplied to files:
📚 Learning: 2025-11-25T01:22:59.729ZApplied to files:
📚 Learning: 2025-11-25T01:22:59.729ZApplied to files:
📚 Learning: 2025-11-25T01:22:59.729ZApplied to files:
📚 Learning: 2025-11-25T01:23:08.250ZApplied to files:
📚 Learning: 2025-11-25T01:23:08.250ZApplied to files:
🪛 markdownlint-cli2 (0.18.1)DEVELOPING.md49-49: Dollar signs used before commands without showing output (MD014, commands-show-output) 🔇 Additional comments (2)
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. Comment |
f32417f to
d05157a
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (1)
package.json
|
totally missed the .nvmrc file! I'll transform this PR pointing from DEVELOPING.md that the node dev version can be found in the .nvmrc file, thanks! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6824 +/- ##
=======================================
Coverage 93.56% 93.56%
=======================================
Files 523 523
Lines 46462 46462
Branches 5055 5055
=======================================
Hits 43472 43472
Misses 2983 2983
Partials 7 7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ckifer
left a comment
There was a problem hiding this comment.
Technically we should be able to run nvm use and it will use the version in the nvmrc file
Following best practice demonstrated in Recharts PR #6824: - Add engines.node >= 20 to document minimum Node version - Add engines.npm >= 10 to prevent lockfile churn This ensures contributors use consistent npm versions, avoiding unnecessary diffs from lockfile format mismatches (v2 vs v3). See: recharts/recharts#6824
Description
When a developer tries to contribute with a different npm version the generated lockfile differs, this PR aims to improve the package.json engines setting, adding a minimum npm version.
Related Issue
#6822
Motivation and Context
Avoid extra diff in new PRs just because a new contributor has different npm version installed in their machine
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.