302378139e
Ports repo-agnostic options from gitea/gitea's `renovate.json5`: - `default.json`: `minimumReleaseAge: "5 days"`, `configMigration: true` - `go-deps.json`: `gomodUpdateImportPaths` postUpdateOption + immediate Go toolchain bumps (opt-in preset, no-op without `go.mod`) - `npm-deps.json`: `pnpmDedupe` postUpdateOption (no-op for non-pnpm repos) Reviewed-on: https://gitea.com/gitea/renovate-config/pulls/545 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: silverwind <me@silverwind.io> Co-committed-by: silverwind <me@silverwind.io>
22 lines
431 B
JSON
22 lines
431 B
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"npm": {
|
|
"enabled": true
|
|
},
|
|
"postUpdateOptions": [
|
|
"pnpmDedupe"
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"groupName": "npm dependencies",
|
|
"matchManagers": ["npm"],
|
|
"matchDepTypes": ["dependencies"]
|
|
},
|
|
{
|
|
"groupName": "npm dev-dependencies",
|
|
"matchManagers": ["npm"],
|
|
"matchDepTypes": ["devDependencies"]
|
|
}
|
|
]
|
|
}
|