Skip to content

Renovate suddenly updates npm and node to pinned versions for engines #28478

Closed Answered by sceee
sceee asked this question in Request Help
Discussion options

You must be logged in to vote

If anyone else faces this:
This #13521 (reply in thread) helped me resolve it.
It seems somehow in my renovate config I created some group that caused the rangeStrategy to change for the engines updates.
Adding something like this (as mentioned in the above comment) resolves it.

{
      "description": "Don't bump engines field in package.json",
      "matchPackageNames": ["node"],
      "matchManagers": ["npm"],
      "matchDepTypes": ["engines"],
      "rangeStrategy": "auto"
    }

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sceee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:reproduction A minimal reproduction is necessary to proceed auto:logs Issue or Discussion is needs logs/more logs
1 participant