Skip to content

Commit

Permalink
set version of @mdx-js/react to 1.x.x
Browse files Browse the repository at this point in the history
(cherry picked from commit 6c24eba)
  • Loading branch information
ndelangen committed Feb 2, 2022
1 parent 6e74df5 commit dd51226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/src/generators/baseGenerator.ts
Expand Up @@ -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(
Expand Down

0 comments on commit dd51226

Please sign in to comment.