Extend shared Renovate preset - #134
Merged
Merged
Conversation
Replace the hand-maintained config with the shared preset from cloudfour/renovate-config. The previous config was byte-identical to eleven other repos, so any change we wanted everywhere meant editing a dozen files by hand. Uses the library preset rather than the default because this repo publishes to npm. It has no peerDependencies or engines today, so the preset's range rule is currently a no-op - but without it, adding an engines field later would silently pin it and break installs for consumers.
✅ Deploy Preview for image-compare-component ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Closed
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This repo's
.renovaterc.jsonwas byte-identical to eleven other Cloud Four repos, which meant every Renovate config change we wanted everywhere had to be hand-applied across a dozen-plus files — something that's happened three or four times now.cloudfour/renovate-configis now the shared preset source, and this replaces the local config with a one-lineextends.This repo extends the
librarypreset rather than the default because it publishes to npm.libraryis the default preset plus one rule that keepspeerDependenciesandenginesas ranges instead of pinning them. That rule is a no-op here today, since this package declares neither field — but the shared config pins exact versions globally, so the day someone adds anenginesentry it would be silently pinned, forcing every downstream consumer onto that one exact version.Otherwise behavior is unchanged: the same auto-merge and three-day cooldown rules still apply.
Screenshots
Testing
.renovaterc.jsonon this branch — it should contain only a$schemaline and a singleextendsentry pointing atlocal>cloudfour/renovate-config:libraryPart of cloudfour/renovate-config#1