Skip to content

Commit 22cbc30

Browse files
authoredMay 6, 2021
chore: update renovatebot config to support more packages (#31289)
1 parent 111647e commit 22cbc30

File tree

1 file changed

+162
-14
lines changed

1 file changed

+162
-14
lines changed
 

‎renovate.json5

+162-14
Original file line numberDiff line numberDiff line change
@@ -55,46 +55,47 @@
5555
{
5656
groupName: "remark docs linting",
5757
updateTypes: ["major", "minor", "patch", "pin"],
58-
paths: ["package.json"],
58+
paths: ["./package.json"],
5959
packageNames: ["remark", "retext"],
6060
packagePatterns: ["^remark-", "^retext-"],
6161
dependencyDashboardApproval: false,
62+
excludePackageNames: ["remark-mdx", "remark-mdxjs"],
6263
},
6364
{
6465
groupName: "eslint",
6566
updateTypes: ["major", "minor", "patch", "pin"],
66-
paths: ["package.json"],
67+
paths: ["./package.json"],
6768
packageNames: ["eslint"],
6869
packagePatterns: ["^eslint-"],
6970
dependencyDashboardApproval: false,
7071
},
7172
{
7273
groupName: "cross-env",
73-
paths: ["package.json", "packages/**"],
74+
paths: ["./package.json", "packages/**"],
7475
packageNames: ["cross-env"],
7576
dependencyDashboardApproval: false,
7677
},
7778
{
7879
groupName: "mini-css-extract-plugin",
79-
paths: ["package.json", "packages/**"],
80+
paths: ["./package.json", "packages/**"],
8081
packageNames: ["mini-css-extract-plugin"],
8182
dependencyDashboardApproval: false,
8283
},
8384
{
8485
groupName: "typescript",
85-
paths: ["package.json", "packages/**"],
86+
paths: ["./package.json", "packages/**"],
8687
packageNames: ["typescript"],
8788
dependencyDashboardApproval: false,
8889
},
8990
{
9091
groupName: "babel monorepo",
91-
paths: ["package.json", "packages/**"],
92+
paths: ["./package.json", "packages/**"],
9293
sourceUrlPrefixes: ["https://github.com/babel/babel"],
9394
dependencyDashboardApproval: false,
9495
},
9596
{
9697
groupName: "lodash monorepo",
97-
paths: ["package.json", "packages/**"],
98+
paths: ["./package.json", "packages/**"],
9899
sourceUrlPrefixes: ["https://github.com/lodash"],
99100
dependencyDashboardApproval: false,
100101
},
@@ -118,6 +119,26 @@
118119
commitMessageSuffix: "for babel-preset-gatsby-package",
119120
excludePackageNames: ["cross-env"],
120121
},
122+
{
123+
groupName: "minor and patch for create-gatsby",
124+
paths: ["packages/create-gatsby/"],
125+
groupSlug: "create-gatsby",
126+
updateTypes: ["minor", "patch"],
127+
// force pr title to be the plugin name
128+
commitMessageTopic: "minor and patch for create-gatsby",
129+
commitMessageExtra: "",
130+
excludePackageNames: ["cross-env", "lodash", "lodash-es", "typescript"],
131+
excludePackagePatterns: ["^lodash/", "^@babel/"],
132+
},
133+
{
134+
groupName: "major for create-gatsby",
135+
paths: ["packages/create-gatsby/"],
136+
groupSlug: "create-gatsby-major",
137+
updateTypes: ["major"],
138+
// force pr title to be the plugin name
139+
commitMessageSuffix: "for create-gatsby",
140+
excludePackageNames: ["cross-env"],
141+
},
121142
{
122143
groupName: "minor and patch for gatsby-design-tokens",
123144
paths: ["packages/gatsby-design-tokens/"],
@@ -698,6 +719,26 @@
698719
commitMessageSuffix: "for gatsby-plugin-guess-js",
699720
excludePackageNames: ["cross-env"],
700721
},
722+
{
723+
groupName: "minor and patch for gatsby-plugin-image",
724+
paths: ["packages/gatsby-plugin-image/"],
725+
groupSlug: "gatsby-plugin-image",
726+
updateTypes: ["minor", "patch"],
727+
// force pr title to be the plugin name
728+
commitMessageTopic: "minor and patch for gatsby-plugin-image",
729+
commitMessageExtra: "",
730+
excludePackageNames: ["cross-env", "lodash", "lodash-es", "typescript"],
731+
excludePackagePatterns: ["^lodash/", "^@babel/"],
732+
},
733+
{
734+
groupName: "major for gatsby-plugin-image",
735+
paths: ["packages/gatsby-plugin-image/"],
736+
groupSlug: "gatsby-plugin-image-major",
737+
updateTypes: ["major"],
738+
// force pr title to be the plugin name
739+
commitMessageSuffix: "for gatsby-plugin-image",
740+
excludePackageNames: ["cross-env"],
741+
},
701742
{
702743
groupName: "minor and patch for gatsby-plugin-jss",
703744
paths: ["packages/gatsby-plugin-jss/"],
@@ -786,7 +827,13 @@
786827
// force pr title to be the plugin name
787828
commitMessageTopic: "minor and patch for gatsby-plugin-netlify-cms",
788829
commitMessageExtra: "",
789-
excludePackageNames: ["cross-env", "lodash", "lodash-es", "typescript", "mini-css-extract-plugin"],
830+
excludePackageNames: [
831+
"cross-env",
832+
"lodash",
833+
"lodash-es",
834+
"typescript",
835+
"mini-css-extract-plugin",
836+
],
790837
excludePackagePatterns: ["^lodash/", "^@babel/"],
791838
},
792839
{
@@ -2006,7 +2053,13 @@
20062053
// force pr title to be the plugin name
20072054
commitMessageTopic: "minor and patch for gatsby-source-filesystem",
20082055
commitMessageExtra: "",
2009-
excludePackageNames: ["cross-env", "lodash", "lodash-es", "msw", "typescript"],
2056+
excludePackageNames: [
2057+
"cross-env",
2058+
"lodash",
2059+
"lodash-es",
2060+
"msw",
2061+
"typescript",
2062+
],
20102063
excludePackagePatterns: ["^lodash/", "^@babel/"],
20112064
},
20122065
{
@@ -2087,7 +2140,19 @@
20872140
// force pr title to be the plugin name
20882141
commitMessageTopic: "minor and patch for gatsby-recipes",
20892142
commitMessageExtra: "",
2090-
excludePackageNames: ["@mdx-js/mdx", "@mdx-js/react", "@mdx-js/runtime", "cross-env", "express-graphql", "lodash", "lodash-es", "react-reconciler", "remark-mdx", "remark-mdxjs", "typescript"],
2143+
excludePackageNames: [
2144+
"@mdx-js/mdx",
2145+
"@mdx-js/react",
2146+
"@mdx-js/runtime",
2147+
"cross-env",
2148+
"express-graphql",
2149+
"lodash",
2150+
"lodash-es",
2151+
"react-reconciler",
2152+
"remark-mdx",
2153+
"remark-mdxjs",
2154+
"typescript",
2155+
],
20912156
excludePackagePatterns: ["^lodash/", "^@babel/"],
20922157
},
20932158
{
@@ -2098,7 +2163,15 @@
20982163
// force pr title to be the plugin name
20992164
commitMessageSuffix: "for gatsby-recipes",
21002165
excludePackageNames: ["cross-env"],
2101-
packageNames: ["@mdx-js/mdx", "@mdx-js/react", "@mdx-js/runtime", "express-graphql", "react-reconciler", "remark-mdx", "remark-mdxjs"],
2166+
packageNames: [
2167+
"@mdx-js/mdx",
2168+
"@mdx-js/react",
2169+
"@mdx-js/runtime",
2170+
"express-graphql",
2171+
"react-reconciler",
2172+
"remark-mdx",
2173+
"remark-mdxjs",
2174+
],
21022175
},
21032176
{
21042177
groupName: "minor and patch for gatsby-source-contentful",
@@ -2228,7 +2301,21 @@
22282301
// force pr title to be the plugin name
22292302
commitMessageTopic: "minor and patch for gatsby",
22302303
commitMessageExtra: "",
2231-
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"],
2304+
matchDepTypes: ["peerDependencies", "dependencies"],
2305+
excludePackageNames: [
2306+
"@mdx-js/mdx",
2307+
"@mdx-js/react",
2308+
"@mdx-js/runtime",
2309+
"cross-env",
2310+
"express-graphql",
2311+
"lodash",
2312+
"lodash-es",
2313+
"remark-mdx",
2314+
"remark-mdxjs",
2315+
"typescript",
2316+
"webpack-virtual-modules",
2317+
"mini-css-extract-plugin",
2318+
],
22322319
excludePackagePatterns: ["^lodash/", "^@babel/"],
22332320
},
22342321
{
@@ -2239,7 +2326,62 @@
22392326
// force pr title to be the plugin name
22402327
commitMessageSuffix: "for gatsby",
22412328
excludePackageNames: ["cross-env"],
2242-
packageNames: ["@mdx-js/mdx", "@mdx-js/react", "@mdx-js/runtime", "express-graphql", "remark-mdx", "remark-mdxjs", "typescript", "webpack-virtual-modules"],
2329+
matchDepTypes: ["peerDependencies", "dependencies"],
2330+
packageNames: [
2331+
"@mdx-js/mdx",
2332+
"@mdx-js/react",
2333+
"@mdx-js/runtime",
2334+
"express-graphql",
2335+
"remark-mdx",
2336+
"remark-mdxjs",
2337+
"typescript",
2338+
"webpack-virtual-modules",
2339+
],
2340+
},
2341+
{
2342+
groupName: "minor and patch for gatsby dev dependencies",
2343+
paths: ["packages/gatsby/"],
2344+
groupSlug: "gatsby",
2345+
updateTypes: ["minor", "patch"],
2346+
// force pr title to be the plugin name
2347+
commitMessageTopic: "minor and patch for gatsby",
2348+
commitMessageExtra: "",
2349+
excludePackageNames: [
2350+
"@mdx-js/mdx",
2351+
"@mdx-js/react",
2352+
"@mdx-js/runtime",
2353+
"cross-env",
2354+
"express-graphql",
2355+
"lodash",
2356+
"lodash-es",
2357+
"remark-mdx",
2358+
"remark-mdxjs",
2359+
"typescript",
2360+
"webpack-virtual-modules",
2361+
"mini-css-extract-plugin",
2362+
],
2363+
matchDepTypes: ["devDependencies"],
2364+
excludePackagePatterns: ["^lodash/", "^@babel/"],
2365+
},
2366+
{
2367+
groupName: "major for gatsby dev dependencies",
2368+
paths: ["packages/gatsby/"],
2369+
groupSlug: "gatsby-major",
2370+
updateTypes: ["major"],
2371+
// force pr title to be the plugin name
2372+
commitMessageSuffix: "for gatsby",
2373+
excludePackageNames: ["cross-env"],
2374+
matchDepTypes: ["devDependencies"],
2375+
packageNames: [
2376+
"@mdx-js/mdx",
2377+
"@mdx-js/react",
2378+
"@mdx-js/runtime",
2379+
"express-graphql",
2380+
"remark-mdx",
2381+
"remark-mdxjs",
2382+
"typescript",
2383+
"webpack-virtual-modules",
2384+
],
22432385
},
22442386
{
22452387
groupName: "minor and patch for gatsby-admin",
@@ -2249,7 +2391,13 @@
22492391
// force pr title to be the plugin name
22502392
commitMessageTopic: "minor and patch for gatsby-admin",
22512393
commitMessageExtra: "",
2252-
excludePackageNames: ["cross-env", "lodash", "lodash-es", "theme-ui", "typescript"],
2394+
excludePackageNames: [
2395+
"cross-env",
2396+
"lodash",
2397+
"lodash-es",
2398+
"theme-ui",
2399+
"typescript",
2400+
],
22532401
excludePackagePatterns: ["^lodash/", "^@babel/"],
22542402
},
22552403
{

0 commit comments

Comments
 (0)
Please sign in to comment.