diff --git a/README.md b/README.md index 96117d9..7e22205 100644 --- a/README.md +++ b/README.md @@ -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.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.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) | ## Check only diff --git a/renovate/example-configurations/renovate.max-version.json b/renovate/example-configurations/renovate.max-version.json new file mode 100644 index 0000000..0df42a5 --- /dev/null +++ b/renovate/example-configurations/renovate.max-version.json @@ -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" } + ] +}