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
  • Loading branch information
ndelangen committed Feb 1, 2022
1 parent 930eb3a commit 6c24eba
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 6c24eba

Please sign in to comment.