workspace-tools/renovate.json5

42 строки
1.6 KiB
Plaintext

// 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": [
// Basic recommended config + generate change files
"github>microsoft/m365-renovate-config:beachballLibraryRecommended",
// Auto-merge PRs only affecting @types devDependencies
"github>microsoft/m365-renovate-config:automergeTypes",
// Disable updating to package versions that are converted to ESM
"github>microsoft/m365-renovate-config:disableEsmVersions",
// Dedupe after updates, and periodically re-create the entire lock file so all deps are updated to latest
"github>microsoft/m365-renovate-config:keepFresh",
// 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)"
],
"ignorePaths": [
"**/node_modules/**",
// This lock file is generated by npm 6 (renovate always uses 8) and has no deps
"**/__fixtures__/monorepo-npm-unsupported/**"
],
// Use this label on all PRs
"labels": ["renovate"],
// Limit 5 PRs per hour (could be changed later based on preference)
"prHourlyLimit": 5,
"reviewers": ["ecraig12345", "kenotron"],
"reviewersSampleSize": 1
}