forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json5
169 lines (169 loc) · 5.37 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
{
extends: [
":separateMajorReleases",
":combinePatchMinorReleases",
":ignoreUnstable",
":prImmediately",
":semanticPrefixFixDepsChoreOthers",
":updateNotScheduled",
":automergeDisabled",
":disablePeerDependencies",
":maintainLockFilesDisabled",
":disableRateLimiting",
],
includePaths: ["package.json", "packages/**", "starters/**", "examples/**"],
ignorePaths: [
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**",
"**/__tests__/**",
"**/test/**",
"**/tests/**",
"**/__fixtures__/**",
],
major: {
dependencyDashboardApproval: true,
},
dependencyDashboard: true,
ignoreDeps: ["react", "react-dom"],
rangeStrategy: "bump",
bumpVersion: null,
semanticCommitScope: null,
prHourlyLimit: 0,
// Wait for 3 days to update a package so we can check if it's stable
stabilityDays: 3,
packageRules: [
// these rules define group names
{
groupName: "packages",
paths: ["package.json", "packages/**"],
},
{
groupName: "starters and examples",
paths: ["starters/**", "examples/**"],
},
{
groupName: "babel monorepo",
sourceUrlPrefixes: "https://github.com/babel/babel",
},
{
groupName: "dev dependencies",
depTypeList: ["devDependencies"],
},
// 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",
"express-graphql",
"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",
// prettier updates can break CI per discussion in https://github.com/gatsbyjs/gatsby/pull/26686
"prettier",
],
},
// 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/**"],
dependencyDashboardApproval: 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",
"express-graphql",
"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",
// prettier updates can break CI per discussion in https://github.com/gatsbyjs/gatsby/pull/26686
"prettier",
],
},
{
// minor updates in packages <1.0.0 - need master issue approval
// not grouped
groupName: "starters and examples (<1.0.0 minor)",
paths: ["starters/**", "examples/**"],
dependencyDashboardApproval: 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",
"express-graphql",
"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
dependencyDashboardApproval: true,
},
],
timezone: "GMT",
schedule: "after 10am on Monday",
}