From b7186ee9ebffcd1e76afccc5652fb9d7f76077de Mon Sep 17 00:00:00 2001 From: Dirk de Visser Date: Fri, 18 Aug 2023 16:35:18 +0200 Subject: [PATCH] chore(dependabot): group all dependency updates --- .github/dependabot.yml | 25 ++++++++++++------------- scripts/changelog.js | 7 +++++-- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3643f4c575..ee2dee3dc4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,19 +8,18 @@ updates: open-pull-requests-limit: 10 versioning-strategy: increase groups: - aws-sdk: - patterns: - - "@aws-sdk/*" - babel: - patterns: - - "@babel/*" - typescript-eslint: - patterns: - - "@typescript-eslint/*" - typescript-types: - patterns: - - "@types/node" - - "@types/react" + development: + dependency-type: "development" + production-compat: + dependency-type: "production" + update-types: + - "minor" + - "patch" + production-breaking: + dependency-type: "production" + update-types: + - "major" + - package-ecosystem: github-actions directory: "/" schedule: diff --git a/scripts/changelog.js b/scripts/changelog.js index 85b9aa0a8c..46c9080f92 100644 --- a/scripts/changelog.js +++ b/scripts/changelog.js @@ -34,11 +34,14 @@ async function main(logger) { !it.title.includes("build(deps-dev)") && !it.title.includes("@types/node") && !it.title.includes("typescript-types group") && - !it.title.includes("sync generated doc files") + !it.title.includes("sync generated doc files") && + !it.title.includes("development group") ); }); - const splitCommits = splitGroupedDependencyBumps(relevantCommits); + const splitCommits = splitGroupedDependencyBumps(relevantCommits).filter( + (it) => !it.title.includes("@types/"), + ); const commits = combineCommits(splitCommits); decorateCommits(commits);