Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.65 KB

storybook-migration-summary.md

File metadata and controls

48 lines (31 loc) · 1.65 KB

Storybook 8 Migration Summary

Upgrade Storybook packages

The following command was ran to upgrade the Storybook packages:

npx storybook@latest upgrade

The Storybook automigration scripts were ran

The following commands ran successfully and your Storybook configuration was successfully migrated to the latest version 7:

  • pnpm dlx storybook@latest automigrate --config-dir .storybook

Please make sure to check the results yourself and make sure that everything is working as expected.

Some migrations failed

The following commands failed and your Storybook configuration for these projects was not migrated to the latest version 7:

  • pnpm dlx storybook@latest automigrate --config-dir libs/shared/ui/.storybook

You can run these commands again, manually, and follow the instructions in the output of these commands to migrate your Storybook configuration to the latest version 8.

Also, we may have missed something. Please make sure to check the logs of the Storybook CLI commands that were run, and look for the ❌ Failed trying to evaluate message or ❌ The migration failed to update message. This will indicate if a command was unsuccessful, and will help you run the migration again, manually.

Next steps

You can make sure everything is working as expected by trying to build or serve your Storybook as you normally would.

npx nx build-storybook project-name
npx nx storybook project-name

Please read the Storybook 8.0.0 release article and the official Storybook 8.0.0 migration guide for more information.