Migrate Storybook 9 package imports in MDX files

Proprietary

MDX docs import Meta, Canvas and the other blocks from @storybook/blocks, which Storybook 9 moved to @storybook/addon-docs/blocks. Applies the module moves of MigrateStorybook9Imports to the import ... from '@storybook/...' lines of .mdx files.

org.openrewrite.nodejs.migrate.storybook.MigrateStorybook9MdxImports
mod run . --recipe=org.openrewrite.nodejs.migrate.storybook.MigrateStorybook9MdxImports

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.