Skip to content

Commit

Permalink
try out gatsbyjs#23411
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh authored Apr 23, 2020
1 parent da2bcc2 commit 6de82b7
Showing 1 changed file with 24 additions and 49 deletions.
73 changes: 24 additions & 49 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@

{
extends: [
// START subset of config:base
":separateMajorReleases",
// We have explicit separate rules for minor and patches - this setting seemed to cause problems
// ":combinePatchMinorReleases",
":ignoreUnstable",
":prImmediately",
":semanticPrefixFixDepsChoreOthers",
":updateNotScheduled",
":automergeDisabled",
":ignoreModulesAndTests",
":maintainLockFilesDisabled",
// this was setting rangeStrategy
//":autodetectPinVersions",
// this was not doing anything as we have different override for prHourlyLimit
// ":prHourlyLimit2",
":prConcurrentLimit10",
// We have our own groups - this might mess with this config?
// "group:monorepos",
// "group:recommended",
"helpers:disableTypesNodeMajor",
// END subset of config:base
":disablePeerDependencies"
extends: ["config:base", ":disablePeerDependencies"],
includePaths: [
"package.json",
"packages/**",
"www/package.json",
"starters/**",
"examples/**",
],
major: {
masterIssueApproval: true,
Expand All @@ -35,15 +19,22 @@
semanticCommitScope: null,
prHourlyLimit: 0,
packageRules: [
// these rules define group names
{
groupName: "packages",
paths: ["package.json", "packages/**"],
},
{
groupName: "www",
paths: ["www/package.json"],
},
{
groupName: "starters and examples",
paths: ["starters/**", "examples/**"],
},
// these rules define dependencies that we have special handling for
{
groupName: "minor updates in packages",
updateTypes: ["minor"],
paths: [
"package.json",
"packages/**",
"www/package.json",
],
excludePackagePatterns: ["^@types"],
excludePackageNames: [
// below is list of packages that use 0.X version range, any minor bump there can contain breaking changes, so we just ignore minor bumps for those packages and will need to bump them manually
"@reach/skip-nav",
Expand Down Expand Up @@ -75,11 +66,6 @@
// not grouped
masterIssueApproval: true,
updateTypes: ["minor"],
paths: [
"package.json",
"packages/**",
"www/package.json",
],
packageNames: [
// below is list of packages that use 0.X version range, any minor bump there can contain breaking changes, so we just ignore minor bumps for those packages and will need to bump them manually
"@reach/skip-nav",
Expand All @@ -106,26 +92,15 @@
"react-docgen",
],
},
{
groupName: "patch updates in packages",
updateTypes: ["patch"],
paths: [
"package.json",
"packages/**",
"www/package.json",
],
},
{
depTypeList: ["engines"],
enabled: false,
},
{
groupName: "type updates",
groupName: "types",
packagePatterns: ["^@types"],
},
{
groupName: "updates in starters",
paths: ["starters/**"],
// only upgrade types with approval as they can break transitives
masterIssueApproval: true,
},
],
timezone: "GMT",
Expand Down

0 comments on commit 6de82b7

Please sign in to comment.