-
Notifications
You must be signed in to change notification settings - Fork 469
/
renovate.json5
101 lines (101 loc) · 2.72 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
{
"extends": [
"apollo-open-source",
// Bundle together Jest/TS-Jest updates (even major ones).
"group:jestMonorepo",
"group:jestPlusTSJest"
],
"schedule": null,
// Override this value set in apollo-open-source back to the default.
// It's nice to be able to see PRs for everything in the Dependency Dashboard.
prCreation: "immediate",
// Disable circleci manager; see apollographql/federation's renovate file for details.
"enabledManagers": ["npm"],
"dependencyDashboard": true,
"baseBranches": [
"master",
"version-3",
],
"postUpdateOptions": ["npmDedupe"],
"packageRules": [
// 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",
},
{
"groupName": "oclif",
"matchPackagePrefixes": [
"@oclif/"
]
},
{
"groupName": "cosmiconfig",
"matchPackagePatterns": [
"cosmiconfig"
]
},
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
},
{
"matchPaths": ["packages/apollo/package.json"],
"extends": [":pinAllExceptPeerDependencies"],
"packageRules": [
{
"matchPackageNames": ["graphql"],
"depTypeList": ["dependencies"],
"rangeStrategy": "replace"
}
]
},
{
"matchPackageNames": ["graphql"],
"matchBaseBranches": ["master"],
"allowedVersions": "~14.2.1"
},
{
"matchPackageNames": ["graphql"],
"matchBaseBranches": ["version-3"],
"allowedVersions": "15.2.0"
},
{
"matchPackageNames": ["@types/node"],
"matchBaseBranches": ["master"],
"allowedVersions": "8.x"
},
{
"matchPackageNames": ["@types/node"],
"matchBaseBranches": ["version-3"],
"allowedVersions": "14.x"
},
{
"matchPackageNames": ["vscode-uri"],
"allowedVersions": "=1.0.6"
},
{
// v3 is ESM only
"matchPackageNames": ["node-fetch"],
"allowedVersions": "^2.0.0"
},
{
// v5 is importing node:tty which is breaking though I'm not sure why
"matchPackageNames": ["chalk"],
"allowedVersions": "^4.0.0"
},
{
// v7 is ESM only
"matchPackageNames": ["strip-ansi"],
"allowedVersions": "^6.0.0"
},
{
"matchPackageNames": ["@apollo/federation"],
"allowedVersions": "0.27.0"
},
],
}