Skip to content

Commit

Permalink
Merge pull request #17395 from storybookjs/fix/mdxv2
Browse files Browse the repository at this point in the history
CLI: Pin version of `@mdx-js/react` to 1.x.x until we are compatible
  • Loading branch information
shilman committed Feb 2, 2022
1 parent 5287528 commit ea5d26a
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 ea5d26a

Please sign in to comment.