forked from apollographql/apollo-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
76 lines (74 loc) · 1.91 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
{
"extends": [
"apollo-open-source"
],
"automerge": false,
"packageRules": [
{
"packageNames": ["@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`.
*/
{
"packageNames": ["fastify"],
"allowedVersions": "<2"
},
{
"packageNames": ["fastify-cors"],
"allowedVersions": "<1"
},
{
"packageNames": ["koa-bodyparser"],
"allowedVersions": "<4"
},
{
"packageNames": ["@koa/cors"],
"allowedVersions": "<3"
},
{
"packageNames": ["log4js"],
"allowedVersions": "<5"
},
{
"packageNames": ["hapi", "@types/hapi"],
"allowedVersions": "<18"
},
{
"packageNames": ["ws"],
"allowedVersions": "<7"
},
// Remove when we're no longer supporting Node.js v6
{
"packageNames": ["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).
*/
{
"paths": [
"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"
]
}
]
}