Skip to content

Extend shared Renovate preset - #134

Merged
spaceninja merged 1 commit into
mainfrom
renovate-shared-preset
Aug 27, 2026
Merged

Extend shared Renovate preset#134
spaceninja merged 1 commit into
mainfrom
renovate-shared-preset

Conversation

@spaceninja

Copy link
Copy Markdown
Member

Overview

This repo's .renovaterc.json was 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-config is now the shared preset source, and this replaces the local config with a one-line extends.

This repo extends the library preset rather than the default because it publishes to npm. library is the default preset plus one rule that keeps peerDependencies and engines as 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 an engines entry 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

  • Open .renovaterc.json on this branch — it should contain only a $schema line and a single extends entry pointing at local>cloudfour/renovate-config:library
  • After merging, open the Dependency Dashboard issue in this repo and wait for Renovate to run (or tick the checkbox at the bottom of the dashboard to request an immediate run)
  • The dashboard should render its usual list of pending updates with no error banner at the top. A red "Config Validation" or "Preset Not Found" warning would mean the preset failed to resolve
  • Confirm behavior is unchanged: new patch and minor update PRs should still be set to auto-merge, and updates shouldn't appear until three days after the release

Part of cloudfour/renovate-config#1

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.
@netlify

netlify Bot commented Aug 27, 2026

Copy link
Copy Markdown

Deploy Preview for image-compare-component ready!

Name Link
🔨 Latest commit 670ee00
🔍 Latest deploy log https://app.netlify.com/projects/image-compare-component/deploys/6a90a1a0038a660008356cdf
😎 Deploy Preview https://deploy-preview-134--image-compare-component.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@spaceninja
spaceninja merged commit 7bf3962 into main Aug 27, 2026
6 checks passed
@spaceninja
spaceninja deleted the renovate-shared-preset branch August 27, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant