diff --git a/README.md b/README.md index ec29768..890454e 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,9 @@ Requirements: PowerShell, Node.js >= 24.11 (e.g. `volta install node@24`), Git, | `renovate.all-in-one.json` | one PR with all updates | | `renovate.per-ecosystem.json` | one PR for npm, one for NuGet (same as the current `renovate.json`) | | `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.security-only.json` | only security fixes (one PR per vulnerable package, via the OSV database) | ## Check only diff --git a/example-configurations/renovate.exclude-api.json b/example-configurations/renovate.exclude-api.json new file mode 100644 index 0000000..dde2e0f --- /dev/null +++ b/example-configurations/renovate.exclude-api.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": "Like per-ecosystem, but without updates for the Api project. Its versions live in Directory.Packages.props, so the packages only Api uses are disabled instead of the project file.", + "extends": ["config:recommended"], + "separateMajorMinor": false, + "packageRules": [ + { "matchManagers": ["npm"], "groupName": "npm" }, + { "matchManagers": ["nuget"], "groupName": "nuget" }, + { "matchPackageNames": ["Serilog.AspNetCore", "Swashbuckle.AspNetCore"], "enabled": false } + ] +} diff --git a/example-configurations/renovate.exclude-package.json b/example-configurations/renovate.exclude-package.json new file mode 100644 index 0000000..ec0840a --- /dev/null +++ b/example-configurations/renovate.exclude-package.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": "Like per-ecosystem, but Newtonsoft.Json is never updated.", + "extends": ["config:recommended"], + "separateMajorMinor": false, + "ignoreDeps": ["Newtonsoft.Json"], + "packageRules": [ + { "matchManagers": ["npm"], "groupName": "npm" }, + { "matchManagers": ["nuget"], "groupName": "nuget" } + ] +} diff --git a/example-configurations/renovate.security-only.json b/example-configurations/renovate.security-only.json new file mode 100644 index 0000000..b400eb6 --- /dev/null +++ b/example-configurations/renovate.security-only.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": "Only security updates: all regular updates are disabled, vulnerabilities are looked up in the OSV database (osv.dev).", + "extends": ["config:recommended"], + "osvVulnerabilityAlerts": true, + "vulnerabilityAlerts": { "enabled": true }, + "packageRules": [ + { "matchPackageNames": ["*"], "enabled": false } + ] +}