From 219cc1408223e8854c8318aa0408d0ad7a4cdef4 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Thu, 12 Mar 2020 16:59:00 +0100 Subject: [PATCH 1/4] adjust config --- renovate.json | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/renovate.json b/renovate.json index 0a746c9093daf..48108204e1ba8 100644 --- a/renovate.json +++ b/renovate.json @@ -11,7 +11,7 @@ }, "masterIssue": true, "rebaseStalePrs": false, - "excludePackageNames": ["react", "react-dom"], + "ignoreDeps": ["react", "react-dom"], "rangeStrategy": "bump", "bumpVersion": null, "semanticCommitScope": null, @@ -19,7 +19,25 @@ "packageRules": [ { "groupName": "minor updates in packages", - "updateTypes": ["minor"] + "updateTypes": ["minor"], + "excludePackageNames": [ + "@theme-ui/prism", + "@theme-ui/typography", + "sharp", + "gatsby-plugin-theme-ui", + "graphiql-explorer", + "guess-webpack", + "jest-silent-reporter", + "js-combinatorics", + "jscodeshift", + "mini-css-extract-plugin", + "scroll-behavior", + "theme-ui", + "webpack-stats-plugin", + "xlsx", + "zipkin", + "zipkin-transport-http" + ] }, { "groupName": "patch updates in packages", From 1f14edbaa9fe939c39955c1e4184d0a232cae3fa Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Thu, 12 Mar 2020 17:27:08 +0100 Subject: [PATCH 2/4] add more --- renovate.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/renovate.json b/renovate.json index 48108204e1ba8..6f07dac771758 100644 --- a/renovate.json +++ b/renovate.json @@ -21,8 +21,12 @@ "groupName": "minor updates in packages", "updateTypes": ["minor"], "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", "@theme-ui/prism", "@theme-ui/typography", + "axios", + "babel-preset-gatsby", "sharp", "gatsby-plugin-theme-ui", "graphiql-explorer", @@ -31,6 +35,7 @@ "js-combinatorics", "jscodeshift", "mini-css-extract-plugin", + "react-refresh", "scroll-behavior", "theme-ui", "webpack-stats-plugin", From c3008e436c9f8407766fcab7b17a391ef8fa25c8 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Thu, 12 Mar 2020 18:15:17 +0100 Subject: [PATCH 3/4] moar --- renovate.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 6f07dac771758..002d434d71fe3 100644 --- a/renovate.json +++ b/renovate.json @@ -41,7 +41,9 @@ "webpack-stats-plugin", "xlsx", "zipkin", - "zipkin-transport-http" + "zipkin-transport-http", + "// below is list of packages that we use alpha/beta/next/canary, where it's not really safe to bump automatically and need extra caution", + "react-docgen" ] }, { From 3fda4a96d64281017ce9cd4ae1c60fa478f72419 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Fri, 13 Mar 2020 10:37:16 +0100 Subject: [PATCH 4/4] switch to json5 --- renovate.json | 60 -------------------------------------------------- renovate.json5 | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 60 deletions(-) delete mode 100644 renovate.json create mode 100644 renovate.json5 diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 002d434d71fe3..0000000000000 --- a/renovate.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "extends": ["config:base", ":disablePeerDependencies"], - "includePaths": [ - "package.json", - "starters/**", - "packages/**", - "www/package.json" - ], - "major": { - "masterIssueApproval": true - }, - "masterIssue": true, - "rebaseStalePrs": false, - "ignoreDeps": ["react", "react-dom"], - "rangeStrategy": "bump", - "bumpVersion": null, - "semanticCommitScope": null, - "prHourlyLimit": 0, - "packageRules": [ - { - "groupName": "minor updates in packages", - "updateTypes": ["minor"], - "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", - "@theme-ui/prism", - "@theme-ui/typography", - "axios", - "babel-preset-gatsby", - "sharp", - "gatsby-plugin-theme-ui", - "graphiql-explorer", - "guess-webpack", - "jest-silent-reporter", - "js-combinatorics", - "jscodeshift", - "mini-css-extract-plugin", - "react-refresh", - "scroll-behavior", - "theme-ui", - "webpack-stats-plugin", - "xlsx", - "zipkin", - "zipkin-transport-http", - "// below is list of packages that we use alpha/beta/next/canary, where it's not really safe to bump automatically and need extra caution", - "react-docgen" - ] - }, - { - "groupName": "patch updates in packages", - "updateTypes": ["patch"] - }, - { - "depTypeList": ["engines"], - "enabled": false - } - ], - "timezone": "GMT", - "schedule": "after 10am on Monday" -} diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 0000000000000..fed10b3c9da11 --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,60 @@ +{ + extends: ["config:base", ":disablePeerDependencies"], + includePaths: [ + "package.json", + "starters/**", + "packages/**", + "www/package.json", + ], + major: { + masterIssueApproval: true, + }, + masterIssue: true, + rebaseStalePrs: false, + ignoreDeps: ["react", "react-dom"], + rangeStrategy: "bump", + bumpVersion: null, + semanticCommitScope: null, + prHourlyLimit: 0, + packageRules: [ + { + groupName: "minor updates in packages", + updateTypes: ["minor"], + 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", + "@theme-ui/prism", + "@theme-ui/typography", + "axios", + "babel-preset-gatsby", + "sharp", + "gatsby-plugin-theme-ui", + "graphiql-explorer", + "guess-webpack", + "jest-silent-reporter", + "js-combinatorics", + "jscodeshift", + "mini-css-extract-plugin", + "react-refresh", + "scroll-behavior", + "theme-ui", + "webpack-stats-plugin", + "xlsx", + "zipkin", + "zipkin-transport-http", + // below is list of packages that we use alpha/beta/next/canary, where it's not really safe to bump automatically and need extra caution + "react-docgen", + ], + }, + { + groupName: "patch updates in packages", + updateTypes: ["patch"], + }, + { + depTypeList: ["engines"], + enabled: false, + }, + ], + timezone: "GMT", + schedule: "after 10am on Monday", +}