Is it possible to extend included presets? #8407
-
I am wondering if it is possible to extend included presets. For example, there is included {
"packageRules": [
{
"groupName": "spring core",
"packagePatterns": [
"^org.springframework:"
]
}
]
} I would like to add more rules to this preset. For example, I want to restrict Spring Framework updates to patch versions only: {
"packageRules": [
{
"extends": ["group:springCore"],
"updateTypes": ["patch"]
}
]
} Is extending included presets supported? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
This comment has been hidden.
This comment has been hidden.
-
You can extend presets, but the example you gave will not work. If you want patch-only in the example you gave, it needs to look like this:
i.e. match the spring core mono repo, match update types minor and major, and then disable them. |
Beta Was this translation helpful? Give feedback.
You can extend presets, but the example you gave will not work. If you want patch-only in the example you gave, it needs to look like this:
i.e. match the spring core mono repo, match update types minor and major, and then disable them.
updateTypes
is a matching clause, not an instruction clause.