forked from apollographql/federation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json5
45 lines (45 loc) · 1.86 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
{
"extends": [
"apollo-open-source"
],
"dependencyDashboard": true,
// The "circleci" manager is intentionally disabled right now (e.g., not
// included in this list). While we do benefit from its updating of "Orb"
// versions, the CircleCI manager also attempts to update Docker images using
// its "Docker" datasource. This is really handy, in theory, but we have
// intentionally varying major Node.js docker image identifiers in our
// CircleCI configuration to test on each major Node.js platform. Enabling
// the "circleci" manager would cause all of these to update to the latest
// version (e.g., 16) when we want them to be intentionally different!
// I'm going to try to craft an fix for this, but I might do it upstream
// on Renovate itself using its Regex manager. It's also worth noting that
// there is other configuration that could be used to _only_ renovate "orbs"
// on this file, but I'm taking the short-cut route and not juggling with
// that right now. I can test the repository locally with my own copy of
// Renovate and come up with another solution given some free time. -Jesse
"enabledManagers": ["npm", "cargo"],
"packageRules": [
// We set this to the lowest supported Node.js version to ensure we don't
// use newer Node.js APIs unknowingly during development which are going to
// fail in CI anyway when they're run against the full range of Node.js
// versions we support.
{
"matchPackageNames": ["@types/node"],
"allowedVersions": "12.x"
},
{
"matchPaths": [
"docs/package.json"
],
"extends": [
"apollo-docs"
],
// "Past" major version branches, preserved as
// "version-[0-9]" branches, should be added here!
// See Apollo Server or Apollo Client repos for examples.
"baseBranches": [
"main"
]
}
]
}