Is there a config to create separate PR per package? #24071
-
How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us what version of Renovate you run.36.57 If you're self-hosting Renovate, select which platform you are using.gitlab.com Was this something which used to work for you, and then stopped?I never saw this working Wanted end result.Is there any config settings that can tell renovate-bot to generate separate PRs per package? For example, if i have a "dependencies": {
"axios": "^0.26.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.1.2"
}, Is there a way to configure renovate to automatically generate a PR for EACH package upgrade? something like:
I know I can use What you tried so far.I tried to Google for this topic but there's no useful results, neither does this discussion forum And as mentioned above, I did use "packageRules": [
{
"matchPackageNames": ["react"],
"rangeStrategy": "bump"
},
{
"matchPackageNames": ["axios"],
"rangeStrategy": "bump"
},
...
], but this is somehow quite buggy & doesn't work all the time, more over, it's not dynamic & not scalable Relevant debug logsLogs
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
This one worked for my go major deps. Pay attention to the groupName attribute.
|
Beta Was this translation helpful? Give feedback.
-
Renovate's default behavior is to have one PR per package. If you're seeing different, it's probably because of the If you have one PR per package then you're likely to find a lot of broken PRs though as many packages need to be updated at the same time as their siblings |
Beta Was this translation helpful? Give feedback.
config:base
is the old name forconfig:recommended
.You can try adding
"ignorePresets": ["group:monorepos", "group:recommended"]
to your config to disable all grouping as a result ofconfig:recommended
.