forked from apollographql/rover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
62 lines (62 loc) · 1.87 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
{
"extends": ["apollo-open-source", "github>Turbo87/renovate-config//rust/updateToolchain"],
"enabledManagers": ["npm", "cargo"],
"packageRules": [
// Bunch up all non-major npm 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.
//
// Since too much in the Rust ecosystem is pre-1.0, we make an exception here.
{
"matchPackageNames": ["harmonizer"],
"matchManagers": ["cargo"],
"groupName": "harmonizer",
"groupSlug": "harmonizer"
},
{
"matchCurrentVersion": "< 1.0.0",
"separateMinorPatch": true,
"matchManagers": ["cargo"],
"minor": {
"groupName": "cargo pre-1.0 packages",
"groupSlug": "cargo-all-pre-1.0"
},
"patch": {
"groupName": "cargo pre-1.0 packages",
"groupSlug": "cargo-all-pre-1.0",
"automerge": false
}
},
{
"matchCurrentVersion": ">= 1.0.0",
"matchManagers": ["cargo", "npm"],
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"groupName": "all non-major packages >= 1.0",
"groupSlug": "all-non-major-gte-1.0"
},
// The current Apollo Gatsby theme does not support a version of Gatsby
// that supports React 17.
{
"matchPaths": [
"docs/package.json"
],
"matchPackageNames": ["react", "react-dom"],
"allowedVersions": "16.x",
},
// The current Apollo Gatsby version is pinned to v3
{
"matchPaths": [
"docs/package.json"
],
"matchPackageNames": ["gatsby"],
"allowedVersions": "3.x",
}
],
"pathRules": [
{
"paths": ["docs/package.json"],
"extends": ["apollo-docs"],
}
]
}