-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.json
188 lines (187 loc) · 5.4 KB
/
base.json
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":autodetectPinVersions",
":automergePatch",
":label(renovate)",
":prConcurrentLimitNone",
":prHourlyLimitNone",
":prImmediately",
":rebaseStalePrs",
":separatePatchReleases",
":timezone(Australia/Melbourne)",
"helpers:disableTypesNodeMajor",
"helpers:pinGitHubActionDigests",
"npm:unpublishSafe",
":semanticCommits",
":updateNotScheduled",
"preview:dockerCompose",
"preview:dockerVersions",
"workarounds:typesNodeVersioning",
":disablePeerDependencies",
"schedule:automergeDaily"
],
"baseBranches": ["master"],
"rebaseWhen": "conflicted",
"labels": ["dependencies"],
"rangeStrategy": "bump",
"postUpdateOptions": ["npmDedupe", "pnpmDedupe", "yarnDedupeFewer"],
"transitiveRemediation": true,
"separateMajorMinor": true,
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
"vulnerabilityAlerts": {
"commitMessagePrefix": "chore(renovate): Security update",
"labels": ["security"]
},
"automergeStrategy": "merge-commit",
"ignorePaths": ["**/node_modules/**"],
"packageRules": [
{
"description": "Group major updates together",
"matchPackagePatterns": ["*"],
"matchUpdateTypes": ["major"],
"reviewersFromCodeOwners": true,
"addLabels": ["major", "version-update"],
"commitMessagePrefix": "fix(renovate):",
"groupName": "major"
},
{
"description": "Group minor updates together",
"matchPackagePatterns": ["*"],
"matchUpdateTypes": ["minor"],
"addLabels": ["minor"],
"commitMessagePrefix": "fix(renovate):",
"groupName": "minor"
},
{
"description": "Group patch updates together and automerge if tests pass",
"matchPackagePatterns": ["*"],
"matchUpdateTypes": ["patch"],
"addLabels": ["patch"],
"commitMessagePrefix": "fix(renovate):",
"groupName": "patch",
"automerge": true
},
{
"description": "Group pin updates together and automerge if tests pass",
"matchPackagePatterns": ["*"],
"matchUpdateTypes": ["pin", "digest"],
"addLabels": ["pin"],
"commitMessagePrefix": "fix(renovate): pin",
"groupName": "pin",
"automerge": true
},
{
"description": "Automerge any updates to types",
"matchManagers": ["npm"],
"matchUpdateTypes": ["minor"],
"addLabels": ["minor"],
"matchPackagePatterns": ["^@types/"],
"groupName": "minor-types",
"commitMessagePrefix": "fix(renovate): @types",
"automerge": true
},
{
"description": "Automerge any updates to linting or prettier",
"matchDepTypes": ["devDependencies"],
"matchPackagePatterns": ["lint", "prettier"],
"automerge": true
},
{
"matchManagers": ["dockerfile"],
"matchPackagePatterns": ["alpine"],
"separateMinorPatch": true
},
{
"matchManagers": ["dockerfile"],
"matchPackagePatterns": ["alpine"],
"matchUpdateTypes": ["patch"],
"automerge": true
},
{
"description": "Automerge Github Actions updates",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"matchManagers": "github-actions",
"separateMultipleMajor": true,
"groupName": "github-actions"
},
{
"matchDepNames": ["node"],
"matchPackagePatterns": ["/node$"],
"matchUpdateTypes": ["major"],
"addLabels": ["major"],
"groupName": "node major"
},
{
"matchDepNames": ["pnpm"],
"matchPackagePatterns": ["/pnpm$"],
"matchUpdateTypes": ["major"],
"addLabels": ["major"],
"groupName": "pnpm major"
},
{
"matchDepNames": ["npm"],
"matchPackagePatterns": ["/npm$"],
"matchUpdateTypes": ["major"],
"addLabels": ["major"],
"groupName": "npm major"
},
{
"matchDepNames": ["typescript"],
"matchPackagePatterns": ["^typescript$"],
"matchUpdateTypes": ["major"],
"groupName": "Typescript major"
},
{
"description": "Do not update postgres major versions",
"matchPackagePatterns": ["postgres"],
"matchUpdateTypes": ["major"],
"addLabels": ["postgres"],
"matchManagers": ["docker-compose", "dockerfile"],
"enabled": false
},
{
"description": "Do not update eslint major versions. v9 is breaking change",
"matchPackagePatterns": ["^eslint$"],
"matchUpdateTypes": ["major"],
"addLabels": ["eslint"],
"enabled": false
},
{
"description": "Vitest does not follow semver, minor changes are breaking changes",
"matchDepNames": ["vitest"],
"matchPackagePatterns": ["^vitest$"],
"matchUpdateTypes": ["minor", "major"],
"addLabels": ["vitest"],
"groupName": "vitest"
},
{
"description": "Do not update mongo",
"matchPackagePatterns": ["^mongo$"],
"addLabels": ["mongo"],
"enabled": false
},
{
"description": "Do not update react major if it is 16",
"matchPackagePatterns": [
"^react$",
"^react-dom$",
"^@types/react$",
"^@types/react-dom$"
],
"matchCurrentVersion": "^16.0.0",
"allowedVersions": "^16.0.0"
}
],
"platform": "github",
"onboarding": false,
"requireConfig": "ignored"
}