From f386f7e2fb76f21f19ea70dd636fa75b8c46d669 Mon Sep 17 00:00:00 2001
From: Adam Setch <adam.setch@outlook.com>
Date: Wed, 9 Oct 2024 15:27:07 -0400
Subject: [PATCH] feat: add atlaskit package preset and group (#31872)

Signed-off-by: Adam Setch <adam.setch@outlook.com>
---
 lib/config/presets/internal/group.ts    | 9 +++++++++
 lib/config/presets/internal/packages.ts | 4 ++++
 2 files changed, 13 insertions(+)

diff --git a/lib/config/presets/internal/group.ts b/lib/config/presets/internal/group.ts
index d171a8a801..e3db5f98e7 100644
--- a/lib/config/presets/internal/group.ts
+++ b/lib/config/presets/internal/group.ts
@@ -54,6 +54,15 @@ const staticGroups = {
       },
     ],
   },
+  atlaskit: {
+    description: 'Group all Atlassian `@atlaskit` packages together.',
+    packageRules: [
+      {
+        extends: ['packages:atlaskit'],
+        groupName: 'Atlassian Atlaskit packages',
+      },
+    ],
+  },
   codemirror: {
     description: 'Group CodeMirror packages together.',
     packageRules: [
diff --git a/lib/config/presets/internal/packages.ts b/lib/config/presets/internal/packages.ts
index 2cf62a5ced..461f48302b 100644
--- a/lib/config/presets/internal/packages.ts
+++ b/lib/config/presets/internal/packages.ts
@@ -16,6 +16,10 @@ export const presets: Record<string, Preset> = {
     description: 'All packages published by Apollo GraphQL.',
     matchSourceUrls: ['https://github.com/apollographql/**'],
   },
+  atlaskit: {
+    description: 'All @atlaskit packages published by Atlassian.',
+    matchPackageNames: ['@atlaskit/**'],
+  },
   emberTemplateLint: {
     description: 'All ember-template-lint packages.',
     matchPackageNames: ['ember-template-lint**'],
-- 
GitLab