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 04:01:20 +03:00
|
|
|
// Basic recommended config + generate change files
|
2022-08-19 00:21:08 +03:00
|
|
|
"github>microsoft/m365-renovate-config:beachballLibraryRecommended",
|
2022-08-03 04:01:20 +03:00
|
|
|
// Auto-merge PRs only affecting @types devDependencies
|
2022-09-10 06:57:10 +03:00
|
|
|
"github>microsoft/m365-renovate-config:automergeTypes",
|
2022-09-10 06:55:49 +03:00
|
|
|
// Disable updating to package versions that are converted to ESM
|
|
|
|
"github>microsoft/m365-renovate-config:disableEsmVersions",
|
2022-08-03 04:01:20 +03:00
|
|
|
// Dedupe after updates, and periodically re-create the entire lock file so all deps are updated to latest
|
2022-08-19 00:21:08 +03:00
|
|
|
"github>microsoft/m365-renovate-config:keepFresh",
|
2022-09-10 06:55:49 +03:00
|
|
|
// Group various related updates
|
|
|
|
"github>microsoft/m365-renovate-config:groupMore",
|
|
|
|
// Group @types updates
|
|
|
|
"github>microsoft/m365-renovate-config:groupTypes",
|
|
|
|
// Don't update beyond Node 14
|
|
|
|
"github>microsoft/m365-renovate-config:restrictNode(14)"
|
2022-07-22 00:57:58 +03:00
|
|
|
],
|
|
|
|
|
2022-08-04 23:19:56 +03:00
|
|
|
"ignorePaths": [
|
|
|
|
"**/node_modules/**",
|
|
|
|
// This lock file is generated by npm 6 (renovate always uses 8) and has no deps
|
|
|
|
"**/__fixtures__/monorepo-npm-unsupported/**"
|
|
|
|
],
|
|
|
|
|
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,
|
|
|
|
|
2022-08-08 23:56:09 +03:00
|
|
|
"reviewers": ["ecraig12345", "kenotron"],
|
2022-09-10 06:55:49 +03:00
|
|
|
"reviewersSampleSize": 1
|
2022-07-22 00:57:58 +03:00
|
|
|
}
|