diff --git a/renovate.json5 b/renovate.json5 index 9ef76251627cc..0d9c501c4b491 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -10,17 +10,11 @@ ":disablePeerDependencies", ":maintainLockFilesDisabled", ":disableRateLimiting", + ":label(maintenance)", + ":ignoreModulesAndTests", + "schedule:weekdays", ], includePaths: ["package.json", "packages/**", "starters/**", "examples/**"], - ignorePaths: [ - "**/node_modules/**", - "**/bower_components/**", - "**/vendor/**", - "**/__tests__/**", - "**/test/**", - "**/tests/**", - "**/__fixtures__/**", - ], major: { dependencyDashboardApproval: true, }, @@ -32,19 +26,24 @@ prHourlyLimit: 0, // Wait for 3 days to update a package so we can check if it's stable stabilityDays: 3, + postUpdateOptions: ["yarnDedupeHighest"], packageRules: [ - // these rules define group names - { - groupName: "packages", - paths: ["package.json", "packages/**"], - }, { groupName: "starters and examples", paths: ["starters/**", "examples/**"], + schedule: "before 3am on Monday", + }, + { + groupName: "starters and examples - Gatsby", + extends: ["starters and examples"], + packagePatterns: ["^gatsby-", "gatsby"], + schedule: "at any time", + automerge: true, + stabilityDays: 0, }, { groupName: "babel monorepo", - sourceUrlPrefixes: "https://github.com/babel/babel", + sourceUrlPrefixes: ["https://github.com/babel/babel"], }, { groupName: "dev dependencies", @@ -171,5 +170,4 @@ }, ], timezone: "GMT", - schedule: "after 10am on Monday", }