Add example configuration with maximum versions (allowedVersions)
This commit is contained in:
1 parent
b5eafd27b4
commit
4f38f9f949
2 files changed
+14
No files matched your search
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"description": "Like per-ecosystem, but express stays on 4.x and the .NET SDK stays on 8.x (LTS).",
|
||||
"minimumReleaseAge": "7 days",
|
||||
"extends": ["config:recommended"],
|
||||
"separateMajorMinor": false,
|
||||
"packageRules": [
|
||||
{ "matchManagers": ["npm"], "groupName": "npm" },
|
||||
{ "matchManagers": ["nuget"], "groupName": "nuget" },
|
||||
{ "matchManagers": ["npm"], "matchPackageNames": ["express"], "allowedVersions": "<5.0.0" },
|
||||
{ "matchManagers": ["nuget"], "matchPackageNames": ["dotnet-sdk"], "allowedVersions": "<9.0.0" }
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user