8000 chore: move `mdsvex` to a different category (#521) · svelte-add/svelte-add@5e0eb2d · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

Commit 5e0eb2d

Browse files
chore: move mdsvex to a different category (#521)
* chore: move `mdsvex` to a different category * Update packages/config/adders/official.ts Co-authored-by: CokaKoala <31664583+AdrianGonz97@users.noreply.github.com> * rename category * make id shorter --------- Co-authored-by: CokaKoala <31664583+AdrianGonz97@users.noreply.github.com>
1 parent b39ad17 commit 5e0eb2d

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

.changeset/seven-roses-impress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@svelte-add/config': patch
3+
---
4+
5+
chore: move `mdsvex` to a different category

packages/config/adders/official.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ export const adderCategories: AdderCategories = {
55
testing: ['vitest', 'playwright'],
66
css: ['tailwindcss', 'bulma', 'bootstrap'],
77
db: ['drizzle'],
8-
markdown: ['mdsvex'],
9-
tools: ['storybook', 'routify'],
8+
additional: ['storybook', 'mdsvex', 'routify'],
109
};
1110

1211
export const adderIds = Object.values(adderCategories).flatMap((x) => x);

packages/config/categories.ts

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export type CategoryInfo = {
44
description: string;
55
};
66

7-
export type CategoryKeys = 'codeQuality' | 'css' | 'db' | 'markdown' | 'tools' | 'testing';
7+
export type CategoryKeys = 'codeQuality' | 'css' | 'db' | 'testing' | 'additional';
88
export type CategoryDetails = Record<CategoryKeys, CategoryInfo>;
99

1010
export type AdderCategories = Record<CategoryKeys, string[]>;
@@ -25,19 +25,14 @@ export const categories: CategoryDetails = {
2525
name: 'CSS',
2626
description: 'Can be used to style your components',
2727
},
28-
tools: {
29-
id: 'tools',
30-
name: 'Tools',
31-
description: 'Different tools',
28+
additional: {
29+
id: 'additional',
30+
name: 'Additional functionality',
31+
description: '',
3232
},
3333
db: {
3434
id: 'db',
3535
name: 'Database',
3636
description: '',
3737
},
38-
markdown: {
39-
id: 'markdown',
40-
name: 'Markdown',
41-
description: '',
42-
},
4338
};

0 commit comments

Comments
 (0)
0