feat(renovate): distinguish library and app npm dependency strategies#16
feat(renovate): distinguish library and app npm dependency strategies#16
Conversation
Replace the single `bump` range strategy for npm production dependencies with two explicit rules using matchJsonata: - Libraries (publishConfig present): use `replace` to preserve semver ranges, avoiding forced exact versions for downstream consumers. - Applications (private: true): use `pin` for reproducible builds. Also skip digest pinning for openmfp/gha and openmfp/.github actions, since we trust our own shared workflow repos. Aligns with the platform-mesh shared Renovate configuration. Signed-off-by: Bastian Echterhölter <bastian.echterhoelter@sap.com> On-behalf-of: @SAP <bastian.echterhoelter@sap.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated Renovate configuration to apply different dependency version strategies based on project type: Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Summary
bumprange strategy for npm production dependencies with two explicit rules usingmatchJsonata:publishConfigpresent):replacestrategy — preserves semver ranges (^/~), preventing forced exact versions for downstream consumersprivate: true):pinstrategy — exact versions for reproducible production buildsopenmfp/ghaandopenmfp/.githubGitHub Actions, since we trust our own shared workflow reposAligns with the platform-mesh shared Renovate configuration.
Summary by CodeRabbit