Add example Renovate configurations
This commit is contained in:
1 parent
2669ffc269
commit
5304345a8e
4 files changed
+36
No files matched your search
@@ -12,6 +12,16 @@ renovate.json Renovate configuration: one PR for npm and one for NuGet (includi
|
|||||||
|
|
||||||
Requirements: PowerShell, Node.js >= 24.11 (e.g. `volta install node@24`), Git, Podman.
|
Requirements: PowerShell, Node.js >= 24.11 (e.g. `volta install node@24`), Git, Podman.
|
||||||
|
|
||||||
|
## Example configurations
|
||||||
|
|
||||||
|
`example-configurations/` contains alternative `renovate.json` files (copy one over `renovate.json` to use it):
|
||||||
|
|
||||||
|
| File | PRs |
|
||||||
|
|---|---|
|
||||||
|
| `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`) |
|
||||||
|
|
||||||
## Check only
|
## Check only
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"description": "All updates (including major) in a single PR",
|
||||||
|
"extends": ["config:recommended", "group:all"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"description": "One PR for npm and one for NuGet (including major updates)",
|
||||||
|
"extends": ["config:recommended"],
|
||||||
|
"separateMajorMinor": false,
|
||||||
|
"packageRules": [
|
||||||
|
{ "matchManagers": ["npm"], "groupName": "npm" },
|
||||||
|
{ "matchManagers": ["nuget"], "groupName": "nuget" }
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"description": "One PR per project (including major updates). The .NET projects share Directory.Packages.props, so dotnet/ is one unit.",
|
||||||
|
"extends": ["config:recommended"],
|
||||||
|
"separateMajorMinor": false,
|
||||||
|
"packageRules": [
|
||||||
|
{ "matchFileNames": ["npm/web/**"], "groupName": "npm-web" },
|
||||||
|
{ "matchFileNames": ["npm/utils/**"], "groupName": "npm-utils" },
|
||||||
|
{ "matchFileNames": ["dotnet/**"], "groupName": "dotnet" }
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in new issue
Block a user