Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make renovate only update semver compatible versions #1885

Merged
merged 4 commits into from
Mar 4, 2024

Conversation

rajsite
Copy link
Member

@rajsite rajsite commented Mar 1, 2024

Pull Request

🤨 Rationale

NPM

Switching the renovate behavior to just use semver compatible ranges for npm (in-range-only) and target all npm managed packages while doing so.

Benefits:

  • All deps get managed instead of a select subset
  • Single PR (for dev and devDeps) modifying the lockfile at a time
  • Can likely be merged without any changes
  • Future potential changes
    • We can potentially increase the rate for the PRs if they behave well

Cons:

  • Not getting semver incompatible updates (i.e. updates to the package.json that require a beachball change)

Future potential changes:

  • Add back a select list of packages we are interested in getting latest changes beyond semver ranges
  • Run it less often, once a cycle or monthly
  • Make a manual task to manually go through and bump outdated semver ranges being careful to track typescript versions, etc., once a cycle?

Nuget

  • Think I followed the pattern npm was doing to disable generally and make a group for the nuget packages to reduce the number of separate PRs.

👩‍💻 Implementation

See above

🧪 Testing

Can try it out for a while

✅ Checklist

  • I have updated the project documentation to reflect my changes or determined no changes are needed.

@rajsite rajsite marked this pull request as ready for review March 1, 2024 03:49
@rajsite rajsite requested a review from jattasNI as a code owner March 1, 2024 03:49
@rajsite rajsite changed the title Make rennovate only update semver compatible versions Make renovate only update semver compatible versions Mar 1, 2024
.github/renovate.json Show resolved Hide resolved
.github/renovate.json Show resolved Hide resolved
@rajsite rajsite enabled auto-merge (squash) March 4, 2024 15:41
@rajsite rajsite merged commit 69edd30 into main Mar 4, 2024
10 checks passed
@rajsite rajsite deleted the rajsite-rennovate-in-range-only branch March 4, 2024 16:30
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.

2 participants