Migrate the Storybook 9 addons list

Proprietary

In .storybook/main.*, replaces @storybook/addon-essentials with @storybook/addon-docs (the other essentials moved into storybook), removes the addons that Storybook 9 consolidated into core (interactions, controls, actions, viewport, backgrounds, measure, outline, toolbars, highlight) and renames @storybook/experimental-addon-test to @storybook/addon-vitest. An entry written as {name, options} gets the same treatment, with the options of the features that moved into core dropped, and is removed when addon-essentials is configured with docs: false.

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

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