-
Notifications
You must be signed in to change notification settings - Fork 87
/
renovate.json5
75 lines (66 loc) · 2.36 KB
/
renovate.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Available options:
// https://docs.renovatebot.com/configuration-options/
// M365 presets:
// https://github.com/microsoft/m365-renovate-config
// 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": [
"github>microsoft/m365-renovate-config",
"github>microsoft/m365-renovate-config:disableEsmVersions",
"github>microsoft/m365-renovate-config:groupMore",
"github>microsoft/m365-renovate-config:groupTypes",
"github>microsoft/m365-renovate-config:keepFresh",
"github>microsoft/m365-renovate-config:restrictNode(14)"
],
"gitAuthor": "Renovate Bot <[email protected]>",
"labels": ["renovate"],
"reviewers": ["ecraig12345", "kenotron"],
"reviewersSampleSize": 1,
// For some reason Renovate is detecting that the repo uses semantic commits
"semanticCommits": "disabled",
// The post-upgrade tasks must be repeated since in this repo we need to use beachball@latest
// to ensure it's pulled from the registry rather than trying to use the local version,
// which isn't built yet in the context of running Renovate.
"postUpgradeTasks": {
"commands": [
"git add --all",
"npx beachball@latest change --no-fetch --no-commit --type patch --message '{{{commitMessage}}}'",
"git reset"
],
"fileFilters": ["**/*"],
"executionMode": "branch"
},
"lockFileMaintenance": {
"postUpgradeTasks": {
"commands": [
"git add --all",
"npx beachball@latest change --no-fetch --no-commit --type none --message '{{{commitMessage}}}'",
"git reset"
],
"fileFilters": ["**/*"],
"executionMode": "branch"
}
},
"packageRules": [
{
"matchPackageNames": ["workspace-tools"],
"matchUpdateTypes": ["major", "minor"],
"dependencyDashboardApproval": false
},
{
"matchDepTypes": ["devDependencies"],
"postUpgradeTasks": {
"commands": [
"git add --all",
"npx beachball@latest change --no-fetch --no-commit --type none --message '{{{commitMessage}}}'",
"git reset"
],
"fileFilters": ["**/*"],
"executionMode": "branch"
}
}
]
}