forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
195 lines (195 loc) · 5.99 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
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
189
190
191
192
193
194
195
{
extends: [
":separateMajorReleases",
":combinePatchMinorReleases",
":ignoreUnstable",
":prImmediately",
":semanticPrefixFixDepsChoreOthers",
":updateNotScheduled",
":automergeDisabled",
":disablePeerDependencies",
":maintainLockFilesDisabled",
":disableRateLimiting",
],
includePaths: [
"package.json",
"packages/**",
"www/package.json",
"starters/**",
"examples/**",
],
ignorePaths: [
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**",
"**/__tests__/**",
"**/test/**",
"**/tests/**",
"**/__fixtures__/**",
],
major: {
masterIssueApproval: true,
},
masterIssue: true,
ignoreDeps: ["react", "react-dom"],
rangeStrategy: "bump",
bumpVersion: null,
semanticCommitScope: null,
prHourlyLimit: 0,
packageRules: [
// these rules define group names
{
groupName: "packages",
paths: ["package.json", "packages/**"],
},
{
groupName: "www",
paths: ["www/package.json"],
},
{
groupName: "starters and examples",
paths: ["starters/**", "examples/**"],
},
// these rules define dependencies that we have special handling for
{
updateTypes: ["minor"],
excludePackageNames: [
// below is list of packages that use 0.X version range, any minor bump there can contain breaking changes, so we just ignore minor bumps for those packages and will need to bump them manually
"@reach/skip-nav",
"@theme-ui/prism",
"@theme-ui/typography",
"axios",
"babel-preset-gatsby",
"sharp",
"gatsby-plugin-theme-ui",
"graphiql-explorer",
"guess-webpack",
"jest-silent-reporter",
"js-combinatorics",
"jscodeshift",
"mini-css-extract-plugin",
"react-refresh",
"scroll-behavior",
"theme-ui",
"webpack-stats-plugin",
"xlsx",
"zipkin",
"zipkin-transport-http",
// below is list of packages that we use alpha/beta/next/canary, where it's not really safe to bump automatically and need extra caution
"react-docgen",
],
},
// we need to replicate this so that it goes to a separate group
{
// minor updates in packages <1.0.0 - need master issue approval
// not grouped
groupName: "packages (<1.0.0 minor)",
paths: ["package.json", "packages/**"],
masterIssueApproval: true,
updateTypes: ["minor"],
packageNames: [
// below is list of packages that use 0.X version range, any minor bump there can contain breaking changes, so we just ignore minor bumps for those packages and will need to bump them manually
"@reach/skip-nav",
"@theme-ui/prism",
"@theme-ui/typography",
"axios",
"babel-preset-gatsby",
"sharp",
"gatsby-plugin-theme-ui",
"graphiql-explorer",
"guess-webpack",
"jest-silent-reporter",
"js-combinatorics",
"jscodeshift",
"mini-css-extract-plugin",
"react-refresh",
"scroll-behavior",
"theme-ui",
"webpack-stats-plugin",
"xlsx",
"zipkin",
"zipkin-transport-http",
// below is list of packages that we use alpha/beta/next/canary, where it's not really safe to bump automatically and need extra caution
"react-docgen",
],
},
{
// minor updates in packages <1.0.0 - need master issue approval
// not grouped
groupName: "www (<1.0.0 minor)",
paths: ["www/package.json"],
masterIssueApproval: true,
updateTypes: ["minor"],
packageNames: [
// below is list of packages that use 0.X version range, any minor bump there can contain breaking changes, so we just ignore minor bumps for those packages and will need to bump them manually
"@reach/skip-nav",
"@theme-ui/prism",
"@theme-ui/typography",
"axios",
"babel-preset-gatsby",
"sharp",
"gatsby-plugin-theme-ui",
"graphiql-explorer",
"guess-webpack",
"jest-silent-reporter",
"js-combinatorics",
"jscodeshift",
"mini-css-extract-plugin",
"react-refresh",
"scroll-behavior",
"theme-ui",
"webpack-stats-plugin",
"xlsx",
"zipkin",
"zipkin-transport-http",
// below is list of packages that we use alpha/beta/next/canary, where it's not really safe to bump automatically and need extra caution
"react-docgen",
],
},
{
// minor updates in packages <1.0.0 - need master issue approval
// not grouped
groupName: "starters and examples (<1.0.0 minor)",
paths: ["starters/**", "examples/**"],
masterIssueApproval: true,
updateTypes: ["minor"],
packageNames: [
// below is list of packages that use 0.X version range, any minor bump there can contain breaking changes, so we just ignore minor bumps for those packages and will need to bump them manually
"@reach/skip-nav",
"@theme-ui/prism",
"@theme-ui/typography",
"axios",
"babel-preset-gatsby",
"sharp",
"gatsby-plugin-theme-ui",
"graphiql-explorer",
"guess-webpack",
"jest-silent-reporter",
"js-combinatorics",
"jscodeshift",
"mini-css-extract-plugin",
"react-refresh",
"scroll-behavior",
"theme-ui",
"webpack-stats-plugin",
"xlsx",
"zipkin",
"zipkin-transport-http",
// below is list of packages that we use alpha/beta/next/canary, where it's not really safe to bump automatically and need extra caution
"react-docgen",
],
},
{
depTypeList: ["engines"],
enabled: false,
},
{
groupName: "types",
packagePatterns: ["^@types"],
// only upgrade types with approval as they can break transitives
masterIssueApproval: true,
},
],
timezone: "GMT",
schedule: "after 10am on Monday",
}