2022-07-22 00:57:58 +03:00
|
|
|
// Available options:
|
|
|
|
// https://docs.renovatebot.com/configuration-options/
|
|
|
|
|
|
|
|
// NOTE: Renovate only allows comments in .json5 files, but this isn't well-supported by
|
|
|
|
// Prettier + VS Code. Workaround is to configure tools to treat the file as JSONC
|
|
|
|
// (in .prettierrc and .vscode/settings.json).
|
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
|
|
|
|
|
|
"extends": [
|
2022-07-26 13:25:24 +03:00
|
|
|
// Basic recommended config + generate change files
|
|
|
|
"github>ecraig12345/renovate-config:beachballLibraryRecommended",
|
|
|
|
// Dedupe after updates, and periodically re-create the entire lock file so all deps are updated to latest
|
|
|
|
"github>ecraig12345/renovate-config:keepFresh"
|
2022-07-22 00:57:58 +03:00
|
|
|
],
|
|
|
|
|
|
|
|
// Use this label on all PRs
|
|
|
|
"labels": ["renovate"],
|
|
|
|
|
|
|
|
// Limit 5 PRs per hour (could be changed later based on preference)
|
|
|
|
"prHourlyLimit": 5,
|
|
|
|
|
2022-07-26 04:09:07 +03:00
|
|
|
// https://docs.renovatebot.com/configuration-options/#packagerules
|
2022-07-22 00:57:58 +03:00
|
|
|
"packageRules": [
|
2022-07-26 04:38:53 +03:00
|
|
|
// Auto-merge PRs only affecting @types devDependencies
|
|
|
|
{
|
|
|
|
"matchPackagePrefixes": ["@types/"],
|
|
|
|
"matchDepTypes": ["devDependencies"],
|
|
|
|
"matchUpdateTypes": ["minor", "patch"],
|
2022-07-26 05:18:14 +03:00
|
|
|
"automerge": true,
|
|
|
|
// use github's native automerge functionality
|
|
|
|
"platformAutomerge": true
|
2022-07-22 00:57:58 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|