From da547d447025036c932386da26b94053a452e1d3 Mon Sep 17 00:00:00 2001 From: Jeppe Reinhold Date: Thu, 13 Oct 2022 21:11:36 +0200 Subject: [PATCH] ensure no unused --- code/lib/cli/src/repro-templates.ts | 49 +++++++++++++++-------------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/code/lib/cli/src/repro-templates.ts b/code/lib/cli/src/repro-templates.ts index 84c98cb5de6..610985dc3e0 100644 --- a/code/lib/cli/src/repro-templates.ts +++ b/code/lib/cli/src/repro-templates.ts @@ -175,31 +175,32 @@ const angularCliTemplates = { }, }; +// TODO: enable this when repo has been upgraded to node@16 // SvelteKit only supports Node.js >16.x, so before generating these repros you need to switch to that version -const svelteKitTemplates = { - 'svelte-kit/skeleton-js': { - name: 'Svelte Kit (JS)', - script: - 'yarn create svelte-with-args --name=svelte-kit/skeleton-js --directory=. --template=skeleton --types=null --no-prettier --no-eslint --no-playwright', - cadence: ['ci', 'daily', 'weekly'], - expected: { - framework: '@storybook/svelte-vite', - renderer: '@storybook/svelte', - builder: '@storybook/builder-vite', - }, - }, - 'svelte-kit/skeleton-ts': { - name: 'Svelte Kit (TS)', - script: - 'yarn create svelte-with-args --name=svelte-kit/skeleton-ts --directory=. --template=skeleton --types=typescript --no-prettier --no-eslint --no-playwright', - cadence: ['ci', 'daily', 'weekly'], - expected: { - framework: '@storybook/svelte-vite', - renderer: '@storybook/svelte', - builder: '@storybook/builder-vite', - }, - }, -}; +// const svelteKitTemplates = { +// 'svelte-kit/skeleton-js': { +// name: 'Svelte Kit (JS)', +// script: +// 'yarn create svelte-with-args --name=svelte-kit/skeleton-js --directory=. --template=skeleton --types=null --no-prettier --no-eslint --no-playwright', +// cadence: ['ci', 'daily', 'weekly'], +// expected: { +// framework: '@storybook/svelte-vite', +// renderer: '@storybook/svelte', +// builder: '@storybook/builder-vite', +// }, +// }, +// 'svelte-kit/skeleton-ts': { +// name: 'Svelte Kit (TS)', +// script: +// 'yarn create svelte-with-args --name=svelte-kit/skeleton-ts --directory=. --template=skeleton --types=typescript --no-prettier --no-eslint --no-playwright', +// cadence: ['ci', 'daily', 'weekly'], +// expected: { +// framework: '@storybook/svelte-vite', +// renderer: '@storybook/svelte', +// builder: '@storybook/builder-vite', +// }, +// }, +// }; const litViteTemplates = { 'lit-vite/default-js': {