Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Renovate updates #1606

Merged
merged 4 commits into from
May 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 22 additions & 19 deletions renovate.json5 → .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"extends": ["apollo-open-source", "github>Turbo87/renovate-config//rust/updateToolchain"],
"enabledManagers": ["npm", "cargo"],
"extends": [
"github>apollographql/renovate-config-apollo-open-source:default.json5",
"github>Turbo87/renovate-config//rust/updateToolchain"
],
"packageRules": [
// Bunch up all non-major npm 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 @@ -35,28 +37,29 @@
"groupName": "all non-major packages >= 1.0",
"groupSlug": "all-non-major-gte-1.0"
},
// The current Apollo Gatsby theme does not support a version of Gatsby
// that supports React 17.
{
"matchPaths": [
"docs/package.json"
"matchPackageNames": ["apollographql/federation-rs"],
"extractVersion": "^supergraph@(?<version>v\\d+\\.\\d+\\.\\d+)$",
}
],
"regexManagers": [
{
"fileMatch": [
"^latest_plugin_versions\\.json$"
],
"matchPackageNames": ["react", "react-dom"],
"allowedVersions": "16.x",
"matchStrings": [
"\"router\"(.|\\s)*?\"latest-1\": \"(?<currentValue>v\\d+\\.\\d+\\.\\d+)\""
],
"depNameTemplate": "apollographql/router",
"datasourceTemplate": "github-releases"
},
// The current Apollo Gatsby version is pinned to v3
{
"matchPaths": [
"docs/package.json"
"fileMatch": ["^latest_plugin_versions\\.json$"],
"matchStrings": [
"\"supergraph\"(.|\\s)*?\"latest-2\": \"(?<currentValue>v\\d+\\.\\d+\\.\\d+)\""
],
"matchPackageNames": ["gatsby"],
"allowedVersions": "3.x",
}
],
"pathRules": [
{
"paths": ["docs/package.json"],
"extends": ["apollo-docs"],
"depNameTemplate": "apollographql/federation-rs",
"datasourceTemplate": "github-releases"
}
]
}