no-sdk-and-tools: also exclude npm devDependencies

This commit is contained in:
Demo committed 2026-10-11 22:27:57 +02:00
1 parent 7937640825
commit 3c8be77b50
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ Only versions that were published at least 7 days ago are used:
| `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.max-version.json` | like per-ecosystem, but `express` stays on 4.x and the .NET SDK on 8.x (`allowedVersions`) |
| `renovate.no-sdk-and-tools.json` | like per-ecosystem, without the .NET SDK (`global.json`) and the dotnet tools (`dotnet-tools.json`) | | `renovate.no-sdk-and-tools.json` | like per-ecosystem, without the .NET SDK (`global.json`), the dotnet tools (`dotnet-tools.json`) and the npm `devDependencies` |
| `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
@@ -1,6 +1,6 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Like per-ecosystem, but without updates for the .NET SDK (global.json) and the dotnet tools (dotnet-tools.json).", "description": "Like per-ecosystem, but without updates for the .NET SDK (global.json), the dotnet tools (dotnet-tools.json) and the npm devDependencies.",
"minimumReleaseAge": "7 days", "minimumReleaseAge": "7 days",
"extends": ["config:recommended"], "extends": ["config:recommended"],
"separateMajorMinor": false, "separateMajorMinor": false,
@@ -8,6 +8,7 @@
{ "matchManagers": ["npm"], "groupName": "npm" }, { "matchManagers": ["npm"], "groupName": "npm" },
{ "matchManagers": ["nuget"], "groupName": "nuget" }, { "matchManagers": ["nuget"], "groupName": "nuget" },
{ "matchManagers": ["nuget"], "matchDepTypes": ["dotnet-sdk"], "enabled": false }, { "matchManagers": ["nuget"], "matchDepTypes": ["dotnet-sdk"], "enabled": false },
{ "matchManagers": ["nuget"], "matchFileNames": ["dotnet/.config/dotnet-tools.json"], "enabled": false } { "matchManagers": ["nuget"], "matchFileNames": ["dotnet/.config/dotnet-tools.json"], "enabled": false },
{ "matchManagers": ["npm"], "matchDepTypes": ["devDependencies"], "enabled": false }
] ]
} }