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
@@ -45,6 +45,7 @@ Only versions that were published at least 7 days ago are used:
|
|||||||
| `renovate.per-project.json` | one PR each for `npm/web`, `npm/utils` and `dotnet` (the .NET projects share `Directory.Packages.props`) |
|
| `renovate.per-project.json` | one PR each for `npm/web`, `npm/utils` and `dotnet` (the .NET projects share `Directory.Packages.props`) |
|
||||||
| `renovate.exclude-api.json` | like per-ecosystem, without the packages only the Api project uses |
|
| `renovate.exclude-api.json` | like per-ecosystem, without the packages only the Api project uses |
|
||||||
| `renovate.exclude-package.json` | like per-ecosystem, without `Newtonsoft.Json` |
|
| `renovate.exclude-package.json` | like per-ecosystem, without `Newtonsoft.Json` |
|
||||||
|
| `renovate.max-version.json` | like per-ecosystem, but `express` stays on 4.x and the .NET SDK on 8.x (`allowedVersions`) |
|
||||||
| `renovate.security-only.json` | only security fixes (one PR per vulnerable package, via the OSV database) |
|
| `renovate.security-only.json` | only security fixes (one PR per vulnerable package, via the OSV database) |
|
||||||
|
|
||||||
## Check only
|
## Check only
|
||||||
|
|||||||
@@ -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