From 403669a80b6e7e3400436283a39d6401c02293a9 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Wed, 13 Dec 2023 15:31:34 +0100 Subject: [PATCH] Build: Remove preact-webpack5 sandboxes --- .circleci/config.yml | 20 ++++++++++---------- code/lib/cli/src/sandbox-templates.ts | 24 ------------------------ 2 files changed, 10 insertions(+), 34 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d6ef4a750913..b2338349a82e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -652,19 +652,19 @@ workflows: requires: - unit-tests - create-sandboxes: - parallelism: 20 + parallelism: 19 requires: - build - build-sandboxes: - parallelism: 20 + parallelism: 19 requires: - create-sandboxes - chromatic-sandboxes: - parallelism: 17 + parallelism: 16 requires: - build-sandboxes - e2e-production: - parallelism: 15 + parallelism: 14 requires: - build-sandboxes - e2e-dev: @@ -672,7 +672,7 @@ workflows: requires: - create-sandboxes - test-runner-production: - parallelism: 15 + parallelism: 14 requires: - build-sandboxes - bench: @@ -706,22 +706,22 @@ workflows: requires: - build - create-sandboxes: - parallelism: 33 + parallelism: 32 requires: - build # - smoke-test-sandboxes: # disabled for now # requires: # - create-sandboxes - build-sandboxes: - parallelism: 33 + parallelism: 32 requires: - create-sandboxes - chromatic-sandboxes: - parallelism: 30 + parallelism: 29 requires: - build-sandboxes - e2e-production: - parallelism: 28 + parallelism: 27 requires: - build-sandboxes - e2e-dev: @@ -729,7 +729,7 @@ workflows: requires: - create-sandboxes - test-runner-production: - parallelism: 28 + parallelism: 27 requires: - build-sandboxes diff --git a/code/lib/cli/src/sandbox-templates.ts b/code/lib/cli/src/sandbox-templates.ts index f2d4950bf2d1..491c26ace8cc 100644 --- a/code/lib/cli/src/sandbox-templates.ts +++ b/code/lib/cli/src/sandbox-templates.ts @@ -416,28 +416,6 @@ const baseTemplates = { // Remove smoke-test from the list once https://github.com/storybookjs/storybook/issues/19351 is fixed. skipTasks: ['smoke-test', 'e2e-tests-dev', 'bench'], }, - 'preact-webpack5/default-js': { - name: 'Preact CLI Latest (Webpack | JavaScript)', - script: - 'npx preact-cli create default {{beforeDir}} --name preact-app --yarn --no-install && cd {{beforeDir}} && echo "module.exports = {}" > webpack.config.js', - expected: { - framework: '@storybook/preact-webpack5', - renderer: '@storybook/preact', - builder: '@storybook/builder-webpack5', - }, - skipTasks: ['e2e-tests-dev', 'bench'], - }, - 'preact-webpack5/default-ts': { - name: 'Preact CLI Latest (Webpack | TypeScript)', - script: - 'npx preact-cli create typescript {{beforeDir}} --name preact-app --yarn --no-install && cd {{beforeDir}} && echo "module.exports = {}" > webpack.config.js', - expected: { - framework: '@storybook/preact-webpack5', - renderer: '@storybook/preact', - builder: '@storybook/builder-webpack5', - }, - skipTasks: ['e2e-tests-dev', 'bench'], - }, 'preact-vite/default-js': { name: 'Preact Latest (Vite | JavaScript)', script: 'npm create vite --yes {{beforeDir}} -- --template preact', @@ -618,7 +596,6 @@ export const merged: TemplateKey[] = [ 'react-webpack/18-ts', 'react-webpack/17-ts', 'angular-cli/15-ts', - 'preact-webpack5/default-ts', 'preact-vite/default-ts', 'html-webpack/default', 'html-vite/default-ts', @@ -638,7 +615,6 @@ export const daily: TemplateKey[] = [ 'nextjs/default-js', 'nextjs/prerelease', 'qwik-vite/default-ts', - 'preact-webpack5/default-js', 'preact-vite/default-js', 'html-vite/default-js', ];