fix(renovate): add npm to enabledManagers#71
Conversation
The repo has an npm frontend (frontend/package.json, frontend/package-lock.json) that the effective enabledManagers (pep621, github-actions) did not cover, leaving npm dependency vulnerabilities unmanaged by Renovate. The npm manager matches package.json at any depth, so enabling it covers the frontend without a per-directory override. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 42 minutes and 11 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ 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. Comment |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s Renovate configuration to ensure the JavaScript frontend dependencies are included in Renovate’s update and vulnerability remediation workflow.
Changes:
- Added the
npmmanager toenabledManagersinrenovate.json(retainingpep621andgithub-actions).
PR ReviewThe one-line change is correct and safe: Review status: Copilot reviewed (0 findings). CodeRabbit's check is green but no review actually ran (rate/credit limit). SonarCloud analysis still in progress at review time. Important
Suggested
Informational
🤖 Generated with Claude Code |
Builds on enabling the npm manager: without these rules, frontend npm
updates fall through to default handling while Python and Actions get
prioritized, labeled, and grouped treatment.
- add the npm datasource to both security packageRules ("high priority"
and "critical immediate" prPriority:10) so frontend CVEs are raised
with the same priority and labels as Python
- add a "npm dependencies" grouping rule so frontend updates batch into
one PR instead of one PR per package (respects prConcurrentLimit)
- document the npm-coverage change under CHANGELOG [Unreleased]
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
PR Fix SummaryApplied 3 findings from the review in Config (
Docs (
Remaining (no code change, by design)
Verification: 🤖 Generated with Claude Code |
|
✅ Action performedReview finished.
|
|



Summary
Adds
npmto Renovate'senabledManagersso the npm frontend is covered.The effective
enabledManagerswas["pep621", "github-actions"], which excluded the npm frontend atfrontend/package.json+frontend/package-lock.json. As a result Renovate ignored the frontend entirely, leaving its open npm vulnerabilities unmanaged (GitHub reports 16 Dependabot alerts on the default branch: 2 critical, 9 high, 4 moderate, 1 low).The npm manager matches
package.jsonat any depth, so enabling it covers the frontend without a per-directory override.Changes
renovate.json: addnpmtoenabledManagers(pep621 and github-actions retained).Validation
pre-commit run --files renovate.jsonpasses, includingrenovate-config-validator.Generated with Claude Code