forked from apollographql/apollo-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
82 lines (80 loc) · 2.06 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
{
"extends": [
"apollo-open-source"
],
"force": {
"constraints": {
"node": "< 15.0.0"
}
},
"dependencyDashboard": true,
"automerge": false,
"packageRules": [
{
"matchPackageNames": ["@types/node"],
"allowedVersions": "8.x"
},
/*
Avoid major version bumps to server frameworks (those used by the
various Apollo Server integrations (e.g. Fastify, Express, Koa, etc.),
which must be reserved for a major version bump to Apollo Server itself.
For more thoughts here, see my comment on the commits that introduced
these threshholds via `git blame`.
*/
{
"matchPackageNames": ["fastify"],
"allowedVersions": "<2"
},
{
"matchPackageNames": ["fastify-cors"],
"allowedVersions": "<1"
},
{
"matchPackageNames": ["koa-bodyparser"],
"allowedVersions": "<4"
},
{
"matchPackageNames": ["@koa/cors"],
"allowedVersions": "<3"
},
{
"matchPackageNames": ["log4js"],
"allowedVersions": "<5"
},
{
"matchPackageNames": ["hapi", "@types/hapi"],
"allowedVersions": "<18"
},
{
"matchPackageNames": ["ws"],
"allowedVersions": "<7"
},
// Remove when we're no longer supporting Node.js v6
{
"matchPackageNames": ["nock"],
"allowedVersions": "<11"
},
/*
Docs-related Renovate rules
These ensure that the `docs/` folder, which is its own application with
its own dependencies which lives inside this repository, plays by its
own Renovate rules. Those rules are defined within the external (npm)
package called `renovate-config-apolllo-docs` (defined here only by
the `apollo-docs` suffix).
*/
{
"matchPaths": [
"docs/package.json"
],
"extends": [
"apollo-docs"
],
// We need to tell Renovate to check the branches for each major version
// of Apollo Server. "Past" major versions should be added here!
"baseBranches": [
"main",
"version-2"
]
}
]
}