Migrate Storybook 8 packages to Storybook 9

Proprietary

The package-level changes of Storybook 9, without upgrading versions: moves imports of the packages folded into storybook to their storybook/... paths, updates the addons list of .storybook/main, replaces @storybook/addon-essentials with @storybook/addon-docs and removes the packages Storybook 9 no longer publishes. Used by UpgradeToStorybook9 and UpgradeToStorybook10.

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

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