Skip to content

[Storybook 9] Addon compatibility - Update needed #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
valentinpalkovic opened this issue Apr 3, 2025 · 0 comments
Open

[Storybook 9] Addon compatibility - Update needed #34

valentinpalkovic opened this issue Apr 3, 2025 · 0 comments

Comments

@valentinpalkovic
Copy link

valentinpalkovic commented Apr 3, 2025

Hi there! 👋

Storybook 9 is coming soon with significant changes to the package structure that will affect most addons. The main change is the consolidation of Storybook packages into a single storybook package, which will simplify addon development and maintenance.

What's changing?

The key changes that affect addon authors are:

  1. All core Storybook APIs are now available through the main storybook package
  2. Import paths have been updated (e.g., storybook/manager-api instead of @storybook/manager-api)
  3. TypeScript 4.9+ is now required

What do you need to do?

  1. Review the community addon outreach document
  2. Update your addon's dependencies:
{
  "peerDependencies": {
    "storybook": "^9.0.0"
  },
  "devDependencies": {
    "storybook": "^9.0.0"
  }
}
  1. Test your addon with the prerelease version:
npm install --save-dev storybook@next

Need help?

Please let us know if you plan to support Storybook 9 or if you need any assistance with the migration. Your addon is an important part of the Storybook ecosystem! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant