npm @storybook/cli 7.0.0-rc.0

latest releases: 8.4.3, 8.5.0-alpha.4, 0.0.0-pr-29520-sha-627893bc...
20 months ago

Storybook 7.0 is in RC!! 🎉🎉🎉

Upgrade today: Migration guide

Existing projects

If you're already using Storybook, upgrade using this command:

npx storybook@next upgrade --prerelease

That will perform the following actions:

  1. Upgrade your project to the latest prerelease version of Storybook
  2. Suggest auto-migrations related to that upgrade
  3. One of those auto-migrations will install and configure this framework

New projects

To bootstrap a new Storybook project with 7.0, run: npx storybook@next init


Hundreds of improvements and fixes, including:

Track the release in the Github: Storybook 7.0 burndown 🛠

Bug Fixes

  • CLI: Upgrade non-core storybook packages better #21508
  • Svelte: Pass all arguments to configure through to fix StoryStoreV6 #21491
  • Core: Fix project root detection in yarn PnP without git #21461
  • Telemetry: Replace isomorphic-unfetch with node-fetch #21497
  • Core: Fix builders/renderer PnP support #21486
  • CLI: Require main.js without cache in automigrations #21498

Maintenance

  • CLI: Filter out internal static dir logging #21137
  • Docs: Error if you try to index an MDX file in ssv6 #21495

Build

  • Build: add slash to fix windows test #21518

Don't miss a new cli release

NewReleases is sending notifications on new releases.