mirror of
https://github.com/LukeHagar/sveltesociety.dev.git
synced 2025-12-09 04:21:44 +00:00
fix: Require tags field to be present (#539)
This commit is contained in:
@@ -30,7 +30,7 @@ export const packagesSchema = z.array(
|
|||||||
'Testing',
|
'Testing',
|
||||||
'User Interaction'
|
'User Interaction'
|
||||||
]),
|
]),
|
||||||
tags: z.array(z.string()).max(5).optional()
|
tags: z.array(z.string()).max(5)
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -41,6 +41,6 @@ export const templatesSchema = z.array(
|
|||||||
repository: z.string().url(),
|
repository: z.string().url(),
|
||||||
description: z.string().max(250),
|
description: z.string().max(250),
|
||||||
category: z.enum(['Svelte Add', 'SvelteKit', 'Svelte']),
|
category: z.enum(['Svelte Add', 'SvelteKit', 'Svelte']),
|
||||||
tags: z.array(z.string()).max(5).optional()
|
tags: z.array(z.string()).max(5)
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -164,7 +164,8 @@
|
|||||||
"repository": "https://gitlab.com/davidhund/svelte-carbonbadge",
|
"repository": "https://gitlab.com/davidhund/svelte-carbonbadge",
|
||||||
"description": "Svelte badge component for https://www.websitecarbon.com/",
|
"description": "Svelte badge component for https://www.websitecarbon.com/",
|
||||||
"npm": "svelte-carbonbadge",
|
"npm": "svelte-carbonbadge",
|
||||||
"category": "Testing"
|
"category": "Testing",
|
||||||
|
"tags": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "svelte-form-validation",
|
"title": "svelte-form-validation",
|
||||||
@@ -2397,7 +2398,8 @@
|
|||||||
"description": "Add a blog (or changelog) to any SvelteKit site.",
|
"description": "Add a blog (or changelog) to any SvelteKit site.",
|
||||||
"npm": "leblog",
|
"npm": "leblog",
|
||||||
"category": "Integration",
|
"category": "Integration",
|
||||||
"repository": "https://github.com/nbgoodall/leblog"
|
"repository": "https://github.com/nbgoodall/leblog",
|
||||||
|
"tags": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "html-svelte-parser",
|
"title": "html-svelte-parser",
|
||||||
@@ -2602,7 +2604,8 @@
|
|||||||
"repository": "https://github.com/hedgehog125/SvelteKit-Adapter-Versioned-Worker",
|
"repository": "https://github.com/hedgehog125/SvelteKit-Adapter-Versioned-Worker",
|
||||||
"description": "A SvelteKit adapter for generating service workers to make PWAs work offline",
|
"description": "A SvelteKit adapter for generating service workers to make PWAs work offline",
|
||||||
"npm": "sveltekit-adapter-versioned-worker",
|
"npm": "sveltekit-adapter-versioned-worker",
|
||||||
"category": "SvelteKit Adapters"
|
"category": "SvelteKit Adapters",
|
||||||
|
"tags": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "LayerChart",
|
"title": "LayerChart",
|
||||||
@@ -2998,14 +3001,16 @@
|
|||||||
"description": "Write Svelte components in markdown syntax",
|
"description": "Write Svelte components in markdown syntax",
|
||||||
"npm": "svelte-preprocess-markdown",
|
"npm": "svelte-preprocess-markdown",
|
||||||
"title": "svelte-preprocess-markdown",
|
"title": "svelte-preprocess-markdown",
|
||||||
"repository": "https://github.com/AlexxNB/svelte-preprocess-markdown"
|
"repository": "https://github.com/AlexxNB/svelte-preprocess-markdown",
|
||||||
|
"tags": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "Preprocessors",
|
"category": "Preprocessors",
|
||||||
"description": "A markdown preprocessor for Svelte",
|
"description": "A markdown preprocessor for Svelte",
|
||||||
"npm": "mdsvex",
|
"npm": "mdsvex",
|
||||||
"title": "mdsvex",
|
"title": "mdsvex",
|
||||||
"repository": "https://github.com/pngwn/MDsveX"
|
"repository": "https://github.com/pngwn/MDsveX",
|
||||||
|
"tags": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "svelte-preprocess-less",
|
"title": "svelte-preprocess-less",
|
||||||
@@ -3020,7 +3025,8 @@
|
|||||||
"repository": "https://github.com/l-portet/svelte-switch-case",
|
"repository": "https://github.com/l-portet/svelte-switch-case",
|
||||||
"description": "Switch case syntax for Svelte",
|
"description": "Switch case syntax for Svelte",
|
||||||
"npm": "svelte-switch-case",
|
"npm": "svelte-switch-case",
|
||||||
"category": "Preprocessors"
|
"category": "Preprocessors",
|
||||||
|
"tags": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "modular-css",
|
"title": "modular-css",
|
||||||
@@ -3091,7 +3097,8 @@
|
|||||||
"repository": "https://github.com/srmullen/svelte-subcomponent-preprocessor",
|
"repository": "https://github.com/srmullen/svelte-subcomponent-preprocessor",
|
||||||
"description": "Write more than one component per svelte file",
|
"description": "Write more than one component per svelte file",
|
||||||
"npm": "svelte-subcomponent-preprocessor",
|
"npm": "svelte-subcomponent-preprocessor",
|
||||||
"category": "Preprocessors"
|
"category": "Preprocessors",
|
||||||
|
"tags": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "eslint-plugin-svelte",
|
"title": "eslint-plugin-svelte",
|
||||||
@@ -3106,21 +3113,24 @@
|
|||||||
"repository": "https://github.com/SBHattarj/full-client-server-sveltekit",
|
"repository": "https://github.com/SBHattarj/full-client-server-sveltekit",
|
||||||
"description": "A plugin allowing usage of server directly on browser using web socket",
|
"description": "A plugin allowing usage of server directly on browser using web socket",
|
||||||
"npm": "full-client-server-sveltekit",
|
"npm": "full-client-server-sveltekit",
|
||||||
"category": "Bundler Plugins"
|
"category": "Bundler Plugins",
|
||||||
|
"tags": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "svelte-preprocess-delegate-events",
|
"title": "svelte-preprocess-delegate-events",
|
||||||
"repository": "https://github.com/baseballyama/svelte-preprocess-delegate-events",
|
"repository": "https://github.com/baseballyama/svelte-preprocess-delegate-events",
|
||||||
"description": "Delegate events with on:* 🎉",
|
"description": "Delegate events with on:* 🎉",
|
||||||
"npm": "svelte-preprocess-delegate-events",
|
"npm": "svelte-preprocess-delegate-events",
|
||||||
"category": "Preprocessors"
|
"category": "Preprocessors",
|
||||||
|
"tags": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "Dark Runes",
|
"title": "Dark Runes",
|
||||||
"repository": "https://github.com/flakolefluk/dark-runes",
|
"repository": "https://github.com/flakolefluk/dark-runes",
|
||||||
"description": "Svelte Custom Runes. Dark Runes will be retired when equivalent features are incorporated into the core Svelte framework.",
|
"description": "Svelte Custom Runes. Dark Runes will be retired when equivalent features are incorporated into the core Svelte framework.",
|
||||||
"npm": "dark-runes",
|
"npm": "dark-runes",
|
||||||
"category": "Preprocessors"
|
"category": "Preprocessors",
|
||||||
|
"tags": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "Clerk SvelteKit",
|
"title": "Clerk SvelteKit",
|
||||||
|
|||||||
Reference in New Issue
Block a user