Don't force MDX1 on init

This commit is contained in:
Michael Shilman 2022-10-19 14:31:40 +08:00
parent d239cb2ed3
commit 6a54f5aac5

View File

@ -152,8 +152,7 @@ export async function baseGenerator(
addonPackages.push('@storybook/addon-interactions', '@storybook/testing-library');
}
const yarn2ExtraPackages =
packageManager.type === 'yarn2' ? ['@storybook/addon-docs', '@mdx-js/react@1.x.x'] : [];
const yarn2ExtraPackages = packageManager.type === 'yarn2' ? ['@storybook/addon-docs'] : [];
const files = await fse.readdir(process.cwd());