mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
Add autoblock
This commit is contained in:
parent
1779122181
commit
fd728f9ee2
@ -11,6 +11,7 @@ const minimalVersionsMap = {
|
|||||||
'@storybook/preset-preact-webpack': '9.0.0',
|
'@storybook/preset-preact-webpack': '9.0.0',
|
||||||
'@storybook/vue3-webpack5': '9.0.0',
|
'@storybook/vue3-webpack5': '9.0.0',
|
||||||
'@storybook/preset-vue3-webpack': '9.0.0',
|
'@storybook/preset-vue3-webpack': '9.0.0',
|
||||||
|
'@storybook/web-components-webpack5': '9.0.0',
|
||||||
next: '14.1.0',
|
next: '14.1.0',
|
||||||
preact: '10.0.0',
|
preact: '10.0.0',
|
||||||
svelte: '4.0.0',
|
svelte: '4.0.0',
|
||||||
@ -67,14 +68,20 @@ export const blocker = createBlocker({
|
|||||||
return dedent`
|
return dedent`
|
||||||
Support for Preact Webpack5 has been removed.
|
Support for Preact Webpack5 has been removed.
|
||||||
Please see the migration guide for more information:
|
Please see the migration guide for more information:
|
||||||
${picocolors.yellow('https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#preact--dropped-webpack5-builder-support')}
|
${picocolors.yellow('https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#dropped-webpack5-builder-support-in-favor-of-vite')}
|
||||||
`;
|
`;
|
||||||
case '@storybook/vue3-webpack5':
|
case '@storybook/vue3-webpack5':
|
||||||
case '@storybook/preset-vue3-webpack':
|
case '@storybook/preset-vue3-webpack':
|
||||||
return dedent`
|
return dedent`
|
||||||
Support for Vue3 Webpack5 has been removed.
|
Support for Vue3 Webpack5 has been removed.
|
||||||
Please see the migration guide for more information:
|
Please see the migration guide for more information:
|
||||||
${picocolors.yellow('https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#vue3--dropped-webpack5-builder-support')}
|
${picocolors.yellow('https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#dropped-webpack5-builder-support-in-favor-of-vite')}
|
||||||
|
`;
|
||||||
|
case '@storybook/web-components-webpack5':
|
||||||
|
return dedent`
|
||||||
|
Support for Web Components Webpack5 has been removed.
|
||||||
|
Please see the migration guide for more information:
|
||||||
|
${picocolors.yellow('https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#dropped-webpack5-builder-support-in-favor-of-vite')}
|
||||||
`;
|
`;
|
||||||
case 'vue':
|
case 'vue':
|
||||||
return dedent`
|
return dedent`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user