From 45d68cc05f18d70d014fd10afca28c276feafee1 Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Mon, 10 Jul 2023 09:27:44 -0400 Subject: [PATCH] Group npm dependencies with their associated types Change-type: patch Signed-off-by: Kyle Harding --- default.json | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/default.json b/default.json index 65e19a1b..3947ca4a 100644 --- a/default.json +++ b/default.json @@ -102,9 +102,16 @@ "commitBody": "Update {{depName}} from {{{replace 'v' '' currentVersion}}} to {{{replace 'v' '' newVersion}}}\n\nChange-type: patch" }, { - "groupName": "ssh2: @types grouping with sibling package(s)", - "matchPackagePatterns": ["^(@types/)?ssh2$"], - "separateMajorMinor": false + "groupName": "{{{replace '^@types/' '' depName}}} with types", + "matchPackagePrefixes": ["@types/"], + "matchDepTypes": ["dependencies", "devDependencies"], + "matchDatasources": ["npm"] + }, + { + "groupName": "{{depName}} with types", + "excludePackagePrefixes": ["@types/"], + "matchDepTypes": ["dependencies", "devDependencies"], + "matchDatasources": ["npm"] }, { "matchUpdateTypes": ["minor", "patch"],