mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
set version of @mdx-js/react to 1.x.x
(cherry picked from commit 6c24ebab35b8c56c542ce821d9de859451dbcc72)
This commit is contained in:
parent
6e74df55d3
commit
dd51226ce7
@ -87,7 +87,7 @@ export async function baseGenerator(
|
||||
const addonPackages = [...addons, '@storybook/addon-actions'];
|
||||
|
||||
const yarn2Dependencies =
|
||||
packageManager.type === 'yarn2' ? ['@storybook/addon-docs', '@mdx-js/react'] : [];
|
||||
packageManager.type === 'yarn2' ? ['@storybook/addon-docs', '@mdx-js/react@1.x.x'] : [];
|
||||
|
||||
const files = await fse.readdir(process.cwd());
|
||||
const isNewFolder = !files.some(
|
||||
|
Loading…
x
Reference in New Issue
Block a user