Skip to content
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

Storybook 8 compatibility #75

Open
joevaugh4n opened this issue Feb 21, 2024 · 6 comments
Open

Storybook 8 compatibility #75

joevaugh4n opened this issue Feb 21, 2024 · 6 comments

Comments

@joevaugh4n
Copy link

Hey @bhishp! I’m reaching out from the core SB team :)

Storybook 8 (our next major release) is coming soon, and it introduces some breaking changes that your addon might need to account for.

We’ve listed all the key changes in a new Storybook 8 migration guide, and we’d encourage you to check it out and see if your addon is impacted.

We also have an addons channel in our Discord community, which we’d like to use to better communicate with addon authors in the future. If you’re not part of the server, consider joining here and message me (@joevaugh4n) so that I can give you the addon creator role! If you’re already in the server, please just ping me and I’ll respond to you there.

Thanks for being a part of our addon community!

Joe

@gentslava
Copy link

Please make the correction according to the documentation
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#no-more-default-export-from-storybookaddons

At the moment I am getting an error when assembling the Storybook

✘ [ERROR] Could not resolve "@storybook/addons"

node_modules/@bbbtech/storybook-formik/dist/esm/index.js:14:47:
  14 │ import { makeDecorator, useArgs, addons } from '@storybook/addons';
     ╵                                                ~~~~~~~~~~~~~~~~~~~

You can mark the path "@storybook/addons" as external to exclude it from the bundle, which will
remove this error.

@rhys-saunders
Copy link

I'm also having issues upgrading to Storybook 8 due to this

@aestradaes
Copy link

Is there any ETA on this? Would love for it to work with StoryBook 8!

@redarccoder
Copy link

Same issue here, the plugin installs but I don't get any data on it.

@bhishp
Copy link
Collaborator

bhishp commented Aug 22, 2024

There is a PR here opened by @gentslava but when I was testing pre-merge I didn't see the plugin working as expected - #76 (comment). Happy to get something merged if we can update the PR or confirm its working as expected

@Crownpack07
Copy link
Contributor

I have made a PR for this as well #77, please take a look at it and let me know if there are any concerns

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

7 participants