Migrate Storybook 6 builder packages to the Storybook 7 frameworks
ProprietaryStorybook 7 replaces a renderer plus @storybook/builder-webpack5 or @storybook/builder-vite with one framework package. Renames the builder dependency to @storybook/<renderer>-webpack5 or @storybook/<renderer>-vite when the renderer (react, vue3, html, web-components, preact, svelte) is declared and its framework is not, and removes @storybook/manager-webpack5, @storybook/manager-webpack4 and @storybook/builder-webpack4, which no longer exist. The renamed dependency gets the version 7.x, which the dependency upgrade then moves on to the target major.
org. openrewrite. nodejs. migrate. storybook. MigrateStorybook7Packagesmod run . --recipe= org. openrewrite. nodejs. migrate. storybook. MigrateStorybook7PackagesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.