Skip to content

Commit

Permalink
chore: update renovatebot config to support more packages (#31289)
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed May 6, 2021
1 parent 111647e commit 22cbc30
Showing 1 changed file with 162 additions and 14 deletions.
176 changes: 162 additions & 14 deletions renovate.json5
Expand Up @@ -55,46 +55,47 @@
{
groupName: "remark docs linting",
updateTypes: ["major", "minor", "patch", "pin"],
paths: ["package.json"],
paths: ["./package.json"],
packageNames: ["remark", "retext"],
packagePatterns: ["^remark-", "^retext-"],
dependencyDashboardApproval: false,
excludePackageNames: ["remark-mdx", "remark-mdxjs"],
},
{
groupName: "eslint",
updateTypes: ["major", "minor", "patch", "pin"],
paths: ["package.json"],
paths: ["./package.json"],
packageNames: ["eslint"],
packagePatterns: ["^eslint-"],
dependencyDashboardApproval: false,
},
{
groupName: "cross-env",
paths: ["package.json", "packages/**"],
paths: ["./package.json", "packages/**"],
packageNames: ["cross-env"],
dependencyDashboardApproval: false,
},
{
groupName: "mini-css-extract-plugin",
paths: ["package.json", "packages/**"],
paths: ["./package.json", "packages/**"],
packageNames: ["mini-css-extract-plugin"],
dependencyDashboardApproval: false,
},
{
groupName: "typescript",
paths: ["package.json", "packages/**"],
paths: ["./package.json", "packages/**"],
packageNames: ["typescript"],
dependencyDashboardApproval: false,
},
{
groupName: "babel monorepo",
paths: ["package.json", "packages/**"],
paths: ["./package.json", "packages/**"],
sourceUrlPrefixes: ["https://github.com/babel/babel"],
dependencyDashboardApproval: false,
},
{
groupName: "lodash monorepo",
paths: ["package.json", "packages/**"],
paths: ["./package.json", "packages/**"],
sourceUrlPrefixes: ["https://github.com/lodash"],
dependencyDashboardApproval: false,
},
Expand All @@ -118,6 +119,26 @@
commitMessageSuffix: "for babel-preset-gatsby-package",
excludePackageNames: ["cross-env"],
},
{
groupName: "minor and patch for create-gatsby",
paths: ["packages/create-gatsby/"],
groupSlug: "create-gatsby",
updateTypes: ["minor", "patch"],
// force pr title to be the plugin name
commitMessageTopic: "minor and patch for create-gatsby",
commitMessageExtra: "",
excludePackageNames: ["cross-env", "lodash", "lodash-es", "typescript"],
excludePackagePatterns: ["^lodash/", "^@babel/"],
},
{
groupName: "major for create-gatsby",
paths: ["packages/create-gatsby/"],
groupSlug: "create-gatsby-major",
updateTypes: ["major"],
// force pr title to be the plugin name
commitMessageSuffix: "for create-gatsby",
excludePackageNames: ["cross-env"],
},
{
groupName: "minor and patch for gatsby-design-tokens",
paths: ["packages/gatsby-design-tokens/"],
Expand Down Expand Up @@ -698,6 +719,26 @@
commitMessageSuffix: "for gatsby-plugin-guess-js",
excludePackageNames: ["cross-env"],
},
{
groupName: "minor and patch for gatsby-plugin-image",
paths: ["packages/gatsby-plugin-image/"],
groupSlug: "gatsby-plugin-image",
updateTypes: ["minor", "patch"],
// force pr title to be the plugin name
commitMessageTopic: "minor and patch for gatsby-plugin-image",
commitMessageExtra: "",
excludePackageNames: ["cross-env", "lodash", "lodash-es", "typescript"],
excludePackagePatterns: ["^lodash/", "^@babel/"],
},
{
groupName: "major for gatsby-plugin-image",
paths: ["packages/gatsby-plugin-image/"],
groupSlug: "gatsby-plugin-image-major",
updateTypes: ["major"],
// force pr title to be the plugin name
commitMessageSuffix: "for gatsby-plugin-image",
excludePackageNames: ["cross-env"],
},
{
groupName: "minor and patch for gatsby-plugin-jss",
paths: ["packages/gatsby-plugin-jss/"],
Expand Down Expand Up @@ -786,7 +827,13 @@
// force pr title to be the plugin name
commitMessageTopic: "minor and patch for gatsby-plugin-netlify-cms",
commitMessageExtra: "",
excludePackageNames: ["cross-env", "lodash", "lodash-es", "typescript", "mini-css-extract-plugin"],
excludePackageNames: [
"cross-env",
"lodash",
"lodash-es",
"typescript",
"mini-css-extract-plugin",
],
excludePackagePatterns: ["^lodash/", "^@babel/"],
},
{
Expand Down Expand Up @@ -2006,7 +2053,13 @@
// force pr title to be the plugin name
commitMessageTopic: "minor and patch for gatsby-source-filesystem",
commitMessageExtra: "",
excludePackageNames: ["cross-env", "lodash", "lodash-es", "msw", "typescript"],
excludePackageNames: [
"cross-env",
"lodash",
"lodash-es",
"msw",
"typescript",
],
excludePackagePatterns: ["^lodash/", "^@babel/"],
},
{
Expand Down Expand Up @@ -2087,7 +2140,19 @@
// force pr title to be the plugin name
commitMessageTopic: "minor and patch for gatsby-recipes",
commitMessageExtra: "",
excludePackageNames: ["@mdx-js/mdx", "@mdx-js/react", "@mdx-js/runtime", "cross-env", "express-graphql", "lodash", "lodash-es", "react-reconciler", "remark-mdx", "remark-mdxjs", "typescript"],
excludePackageNames: [
"@mdx-js/mdx",
"@mdx-js/react",
"@mdx-js/runtime",
"cross-env",
"express-graphql",
"lodash",
"lodash-es",
"react-reconciler",
"remark-mdx",
"remark-mdxjs",
"typescript",
],
excludePackagePatterns: ["^lodash/", "^@babel/"],
},
{
Expand All @@ -2098,7 +2163,15 @@
// force pr title to be the plugin name
commitMessageSuffix: "for gatsby-recipes",
excludePackageNames: ["cross-env"],
packageNames: ["@mdx-js/mdx", "@mdx-js/react", "@mdx-js/runtime", "express-graphql", "react-reconciler", "remark-mdx", "remark-mdxjs"],
packageNames: [
"@mdx-js/mdx",
"@mdx-js/react",
"@mdx-js/runtime",
"express-graphql",
"react-reconciler",
"remark-mdx",
"remark-mdxjs",
],
},
{
groupName: "minor and patch for gatsby-source-contentful",
Expand Down Expand Up @@ -2228,7 +2301,21 @@
// force pr title to be the plugin name
commitMessageTopic: "minor and patch for gatsby",
commitMessageExtra: "",
excludePackageNames: ["@mdx-js/mdx", "@mdx-js/react", "@mdx-js/runtime", "cross-env", "express-graphql", "lodash", "lodash-es", "remark-mdx", "remark-mdxjs", "typescript", "webpack-virtual-modules", "mini-css-extract-plugin"],
matchDepTypes: ["peerDependencies", "dependencies"],
excludePackageNames: [
"@mdx-js/mdx",
"@mdx-js/react",
"@mdx-js/runtime",
"cross-env",
"express-graphql",
"lodash",
"lodash-es",
"remark-mdx",
"remark-mdxjs",
"typescript",
"webpack-virtual-modules",
"mini-css-extract-plugin",
],
excludePackagePatterns: ["^lodash/", "^@babel/"],
},
{
Expand All @@ -2239,7 +2326,62 @@
// force pr title to be the plugin name
commitMessageSuffix: "for gatsby",
excludePackageNames: ["cross-env"],
packageNames: ["@mdx-js/mdx", "@mdx-js/react", "@mdx-js/runtime", "express-graphql", "remark-mdx", "remark-mdxjs", "typescript", "webpack-virtual-modules"],
matchDepTypes: ["peerDependencies", "dependencies"],
packageNames: [
"@mdx-js/mdx",
"@mdx-js/react",
"@mdx-js/runtime",
"express-graphql",
"remark-mdx",
"remark-mdxjs",
"typescript",
"webpack-virtual-modules",
],
},
{
groupName: "minor and patch for gatsby dev dependencies",
paths: ["packages/gatsby/"],
groupSlug: "gatsby",
updateTypes: ["minor", "patch"],
// force pr title to be the plugin name
commitMessageTopic: "minor and patch for gatsby",
commitMessageExtra: "",
excludePackageNames: [
"@mdx-js/mdx",
"@mdx-js/react",
"@mdx-js/runtime",
"cross-env",
"express-graphql",
"lodash",
"lodash-es",
"remark-mdx",
"remark-mdxjs",
"typescript",
"webpack-virtual-modules",
"mini-css-extract-plugin",
],
matchDepTypes: ["devDependencies"],
excludePackagePatterns: ["^lodash/", "^@babel/"],
},
{
groupName: "major for gatsby dev dependencies",
paths: ["packages/gatsby/"],
groupSlug: "gatsby-major",
updateTypes: ["major"],
// force pr title to be the plugin name
commitMessageSuffix: "for gatsby",
excludePackageNames: ["cross-env"],
matchDepTypes: ["devDependencies"],
packageNames: [
"@mdx-js/mdx",
"@mdx-js/react",
"@mdx-js/runtime",
"express-graphql",
"remark-mdx",
"remark-mdxjs",
"typescript",
"webpack-virtual-modules",
],
},
{
groupName: "minor and patch for gatsby-admin",
Expand All @@ -2249,7 +2391,13 @@
// force pr title to be the plugin name
commitMessageTopic: "minor and patch for gatsby-admin",
commitMessageExtra: "",
excludePackageNames: ["cross-env", "lodash", "lodash-es", "theme-ui", "typescript"],
excludePackageNames: [
"cross-env",
"lodash",
"lodash-es",
"theme-ui",
"typescript",
],
excludePackagePatterns: ["^lodash/", "^@babel/"],
},
{
Expand Down

0 comments on commit 22cbc30

Please sign in to comment.