forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
197 lines (183 loc) · 4.6 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
196
197
{
extends: [
'config:base'
],
includePaths: [
'package.json',
'x-pack/package.json',
'x-pack/plugins/*/package.json',
'packages/*/package.json',
'test/plugin_functional/plugins/*/package.json',
'test/interpreter_functional/plugins/*/package.json',
],
/**
* Only submit PRs to these branches, we will manually backport PRs for now
*/
baseBranches: ['master'],
/**
* Labels added to PRs opened by renovate
*/
labels: [
'release_note:skip',
'renovate',
'v8.0.0',
'v7.3.0'
],
major: {
labels: [
'release_note:skip',
'renovate',
'v8.0.0',
'v7.3.0',
'renovate:major',
]
},
/**
* Enable creation of a "Master Issue" within the repository. This
* Master Issue is akin to a mini dashboard and contains a list of all
* PRs pending, open, closed (unmerged) or in error.
*/
masterIssue: true,
/**
* Whether updates should require manual approval from within the
* Master Issue before creation.
*
* We can turn this off once we've gotten through the backlog of
* outdated packages.
*/
masterIssueApproval: true,
/**
* Policy for how to modify/update existing ranges
* pin = convert ranges to exact versions, e.g. ^1.0.0 -> 1.1.0
*/
rangeStrategy: 'replace',
npm: {
/**
* This deletes and re-creates the lock file, which we will only want
* to turn on once we've updated all our deps
*/
lockFileMaintenance: { enabled: false },
/**
* Define groups of packages that should be updated/configured together
*/
packageRules: [
{
packagePatterns: ['\\beslint\\b'],
groupName: 'eslint related packages',
groupSlug: 'eslint',
},
{
packagePatterns: ['\\bbabel\\b'],
packageNames: ['core-js'],
groupName: 'babel related packages',
groupSlug: 'babel',
},
{
packagePatterns: ['\\bjest\\b'],
groupName: 'jest related packages',
groupSlug: 'jest',
},
{
packagePatterns: ['\\bmocha\\b'],
groupName: 'mocha related packages',
groupSlug: 'mocha',
},
{
packagePatterns: ['\\bkarma\\b'],
groupName: 'karma related packages',
groupSlug: 'karma',
},
{
packagePatterns: ['\\bgulp\\b'],
groupName: 'gulp related packages',
groupSlug: 'gulp',
},
{
packagePatterns: ['\\bgrunt\\b'],
groupName: 'grunt related packages',
groupSlug: 'grunt',
},
{
packagePatterns: ['\\bangular\\b'],
groupName: 'angular related packages',
groupSlug: 'angular',
recreateClosed: false,
},
{
packagePatterns: ['\\bd3\\b'],
groupName: 'd3 related packages',
groupSlug: 'd3',
},
{
packagePatterns: ['\\breact\\b', '\\bredux\\b', '\\benzyme\\b'],
packageNames: [
'ngreact',
'recompose',
'prop-types',
'typescript-fsa-reducers',
'reselect'
],
groupName: 'react related packages',
groupSlug: 'react',
},
{
packagePatterns: ['\\bgraphql\\b'],
groupName: 'graphql related packages',
groupSlug: 'graphql',
},
{
packagePatterns: ['\\bwebpack\\b', '\\bloader\\b'],
packageNames: ['mini-css-extract-plugin', 'chokidar'],
groupName: 'webpack related packages',
groupSlug: 'webpack',
},
{
packageNames: ['vscode-jsonrpc', 'vscode-languageserver', 'vscode-languageserver-types'],
groupName: 'language server related packages',
groupSlug: 'language server',
},
{
packageNames: [
'hapi',
'@types/hapi',
'joi',
'@types/joi',
'boom',
'@types/boom',
'hoek',
'@types/hoek',
'h2o2',
'@elastic/good',
'good-squeeze',
'inert'
],
packagePatterns: ['\\bhapi\\b'],
groupName: 'hapi related packages',
groupSlug: 'hapi',
},
// internal/local packages
{
packagePatterns: ['^@kbn/.*'],
enabled: false,
}
],
},
/**
* Limit the number of active PRs renovate will allow
*/
prConcurrentLimit: 6,
/**
* Disable vulnerability alert handling, we handle that separately
*/
vulnerabilityAlerts: {
enabled: false
},
/**
* Disable automatic rebase on each change to base branch
*/
rebaseStalePrs: false,
/**
* Disable semantic commit formating
*/
semanticCommits: false,
}