Skip to content

Commit

Permalink
Add version-3 branch for renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer committed May 21, 2022
1 parent 25be52e commit 3d897c7
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
// 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
Expand Down Expand Up @@ -51,11 +56,18 @@
},
{
"matchPackageNames": ["graphql"],
"matchBaseBranches": ["master"],
"allowedVersions": "~14.2.1"
},
{
"matchPackageNames": ["@types/node"],
"matchBaseBranches": ["master"],
"allowedVersions": "8.x"
},
{
"matchPackageNames": ["@types/node"],
"matchBaseBranches": ["version-3"],
"allowedVersions": "14.x"
},
{
"matchPackageNames": ["vscode-uri"],
Expand All @@ -78,21 +90,8 @@
},
{
"matchPackageNames": ["@apollo/federation"],
"matchBaseBranches": ["master"],
"allowedVersions": "0.27.0"
},
{
"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"
]
},
],
}

0 comments on commit 3d897c7

Please sign in to comment.