Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Fix mdx-to-csf codemod blocks imports #21332

Closed
shilman opened this issue Mar 1, 2023 · 1 comment · Fixed by #21448
Closed

[Bug]: Fix mdx-to-csf codemod blocks imports #21332

shilman opened this issue Mar 1, 2023 · 1 comment · Fixed by #21448
Assignees

Comments

@shilman
Copy link
Member

shilman commented Mar 1, 2023

Describe the bug

mdx-to-csf codemod transformed

import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs/blocks’

to

import { Meta, Story, Canvas, ArgsTable } from '@storybook/blocks/blocks’

Should be

import { Meta, Story, Canvas, ArgsTable } from '@storybook/blocks’

To Reproduce

https://github.com/RocketCommunicationsInc/astro

System

No response

Additional context

No response

@shilman
Copy link
Member Author

shilman commented Mar 8, 2023

Gadzooks!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-beta.63 containing PR #21448 that references this issue. Upgrade today to the @next NPM tag to try it out!

npx sb@next upgrade --prerelease

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants