From 10ab439edb8f485d050cc92429ce0b82a48e6f75 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 12 Dec 2024 22:24:42 +0800 Subject: [PATCH] Test Addon: Add Web Components support --- code/addons/test/src/postinstall.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/code/addons/test/src/postinstall.ts b/code/addons/test/src/postinstall.ts index bb22c7517127..ec1424dd62ef 100644 --- a/code/addons/test/src/postinstall.ts +++ b/code/addons/test/src/postinstall.ts @@ -115,9 +115,12 @@ export default async function postInstall(options: PostinstallOptions) { ? '@storybook/experimental-nextjs-vite' : info.frameworkPackageName : info.rendererPackageName && - ['@storybook/react', '@storybook/svelte', '@storybook/vue3'].includes( - info.rendererPackageName - ) + [ + '@storybook/react', + '@storybook/svelte', + '@storybook/vue3', + '@storybook/web-components', + ].includes(info.rendererPackageName) ? info.rendererPackageName : null;