forked from apollographql/docs-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
46 lines (46 loc) · 1.29 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
{
extends: [
"config:base"
],
rangeStrategy: "bump",
dependencyDashboard: true,
packageRules: [
// Keep Apollo Server examples on the right major version.
{
matchPaths: ["apollo-server/v2/**"],
matchPackagePrefixes: ["apollo-server"],
allowedVersions: "2.x",
},
{
matchPaths: ["apollo-server/v3/**"],
matchPackagePrefixes: ["apollo-server"],
allowedVersions: "3.x",
},
{
matchPaths: ["apollo-server/v3/**"],
matchPackagePrefixes: ["@graphql-tools"],
allowedVersions: "7.x",
},
// Bunch up all non-major dependencies into a single PR. In the common case
// where the upgrades apply cleanly, this causes less noise and is resolved
// faster than starting a bunch of upgrades in parallel for what may turn
// out to be a suite of related packages all released at once.
{
"groupName": "all non-major dependencies",
"matchUpdateTypes": ["patch", "minor"],
"groupSlug": "all-minor-patch",
},
{
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
],
// Once we think these Renovate settings are working,
// we can change this to true in order to get non-major
// bumps to auto-merge.
"automerge": false,
},
]
}