force.constraints will override any constraints detected by package managers #8527
-
What Renovate type, platform and version are you using? Describe the bug Have you created a minimal reproduction repository? Please read the minimal reproductions documentation to learn how to make a good minimal reproduction repository.
Additional context My renovate.json contains the following: "force": {
"constraints": {
"node": "< 15.0.0"
}
}, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Please add npm constraint too, as v7 is now tagged as latest. We already fixed the lockfile version detection in renovate, but it's probably not yet published to the hosted app. |
Beta Was this translation helpful? Give feedback.
-
Your If you remove it, it works as expected: https://github.com/renovate-tests/webpack-playground/pull/1/files |
Beta Was this translation helpful? Give feedback.
Your
force
config is overriding theconstraints
which are detected in thepackage.json
. In other words, it's your config making it not work.If you remove it, it works as expected: https://github.com/renovate-tests/webpack-playground/pull/1/files