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-08-03 02:45:59 +03:00
|
|
|
"github>ecraig12345/renovate-config"
|
|
|
|
// // Basic recommended config + generate change files
|
|
|
|
// "github>ecraig12345/renovate-config:beachballLibraryRecommended",
|
|
|
|
// // Auto-merge PRs only affecting @types devDependencies
|
|
|
|
// "github>ecraig12345/renovate-config:autoUpdateTypes",
|
|
|
|
// // 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
|
|
|
],
|
|
|
|
|
2022-08-03 03:17:33 +03:00
|
|
|
// Don't ignore fixtures so that "vulnerability" fixes will also be made there
|
|
|
|
// (Renovate will still ignore node_modules by default)
|
2022-08-03 02:32:48 +03:00
|
|
|
"ignorePresets": [":ignoreModulesAndTests"],
|
|
|
|
|
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)
|
2022-08-03 02:04:32 +03:00
|
|
|
"prHourlyLimit": 5,
|
|
|
|
|
|
|
|
"packageRules": [
|
|
|
|
{
|
|
|
|
// Group all updates of fixture dependencies and automerge them if the build passes
|
|
|
|
"groupName": "fixture dependencies",
|
2022-08-03 02:32:48 +03:00
|
|
|
// "schedule": ["before 5am"],
|
2022-08-03 02:04:32 +03:00
|
|
|
"matchPaths": ["src/__fixtures__/*/package.json"],
|
2022-08-03 03:17:33 +03:00
|
|
|
"matchPackagePatterns": ["*"],
|
2022-08-03 03:46:17 +03:00
|
|
|
"matchDepTypes": ["dependencies", "devDependencies", "peerDependencies"],
|
|
|
|
"matchUpdateTypes": ["major", "minor", "patch", "pin", "pinDigest", "digest", "rollback", "bump"],
|
2022-08-03 02:19:40 +03:00
|
|
|
"commitMessagePrefix": "[fixtures]",
|
2022-08-03 02:04:32 +03:00
|
|
|
"commitMessageExtra": ""
|
|
|
|
// "automerge": true,
|
|
|
|
// "platformAutomerge": true
|
|
|
|
}
|
|
|
|
]
|
2022-07-22 00:57:58 +03:00
|
|
|
}
|