From 3bf07ccc709c217f014927c38502521de47d5a31 Mon Sep 17 00:00:00 2001 From: Justin ! Date: Mon, 12 Dec 2022 12:17:22 -0500 Subject: [PATCH 1/4] feat(presets): group @vaadin/ packages together. --- lib/config/presets/internal/group.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/config/presets/internal/group.ts b/lib/config/presets/internal/group.ts index 6cba5a2e767f45..6ec8b2dffbbd11 100644 --- a/lib/config/presets/internal/group.ts +++ b/lib/config/presets/internal/group.ts @@ -698,6 +698,15 @@ const staticGroups = { }, ], }, + vaadinJavascript: { + description: 'Group all `@vaadin` packages together.', + packageRules: [ + { + groupName: 'Vaadin javascript packages', + matchPackagePrefixes: ['@vaadin/'], + }, + ], + }, }; const config: any = { ...staticGroups }; From f175bd88d6c9cda296cb8c575305fa92e7cb60a7 Mon Sep 17 00:00:00 2001 From: Justin ! Date: Mon, 12 Dec 2022 18:08:48 -0500 Subject: [PATCH 2/4] Use `matchSourceUrls` instead of `matchPackagePrefixes`. --- lib/config/presets/internal/group.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config/presets/internal/group.ts b/lib/config/presets/internal/group.ts index 6ec8b2dffbbd11..6b9f42ba2eaadc 100644 --- a/lib/config/presets/internal/group.ts +++ b/lib/config/presets/internal/group.ts @@ -703,7 +703,7 @@ const staticGroups = { packageRules: [ { groupName: 'Vaadin javascript packages', - matchPackagePrefixes: ['@vaadin/'], + matchSourceUrls: ['https://github.com/vaadin/web-components'], }, ], }, From 2f0f461d9237fc97b7d2018b15b5d06d728333b6 Mon Sep 17 00:00:00 2001 From: Justin ! Date: Mon, 12 Dec 2022 18:11:21 -0500 Subject: [PATCH 3/4] Update the group name to better match what it groups --- lib/config/presets/internal/group.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/config/presets/internal/group.ts b/lib/config/presets/internal/group.ts index 6b9f42ba2eaadc..14090d7019d1ba 100644 --- a/lib/config/presets/internal/group.ts +++ b/lib/config/presets/internal/group.ts @@ -698,11 +698,11 @@ const staticGroups = { }, ], }, - vaadinJavascript: { - description: 'Group all `@vaadin` packages together.', + vaadinWebComponents: { + description: 'Group all Vaadin Web components together.', packageRules: [ { - groupName: 'Vaadin javascript packages', + groupName: 'Vaadin Web components', matchSourceUrls: ['https://github.com/vaadin/web-components'], }, ], From 03075c20d2e4a03568f09f58216aa82a86f81871 Mon Sep 17 00:00:00 2001 From: Justin ! Date: Tue, 13 Dec 2022 09:15:21 -0500 Subject: [PATCH 4/4] Move group from `group.ts` to `monorepo.ts` --- lib/config/presets/internal/group.ts | 9 --------- lib/config/presets/internal/monorepo.ts | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/config/presets/internal/group.ts b/lib/config/presets/internal/group.ts index 14090d7019d1ba..6cba5a2e767f45 100644 --- a/lib/config/presets/internal/group.ts +++ b/lib/config/presets/internal/group.ts @@ -698,15 +698,6 @@ const staticGroups = { }, ], }, - vaadinWebComponents: { - description: 'Group all Vaadin Web components together.', - packageRules: [ - { - groupName: 'Vaadin Web components', - matchSourceUrls: ['https://github.com/vaadin/web-components'], - }, - ], - }, }; const config: any = { ...staticGroups }; diff --git a/lib/config/presets/internal/monorepo.ts b/lib/config/presets/internal/monorepo.ts index 426c11b3fa7363..020acf79103c8a 100644 --- a/lib/config/presets/internal/monorepo.ts +++ b/lib/config/presets/internal/monorepo.ts @@ -227,6 +227,7 @@ const repoGroups = { 'typescript-eslint': 'https://github.com/typescript-eslint/typescript-eslint', 'typography-js': 'https://github.com/KyleAMathews/typography.js', uppy: 'https://github.com/transloadit/uppy', + vaadinWebComponents: 'https://github.com/vaadin/web-components', vitest: 'https://github.com/vitest-dev/vitest', vstest: 'https://github.com/microsoft/vstest', vue: ['https://github.com/vuejs/vue', 'https://github.com/vuejs/core'],