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 #142

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

Storybook 8 compatibility #142

joevaugh4n opened this issue Feb 21, 2024 · 5 comments

Comments

@joevaugh4n
Copy link

Hey @hipstersmoothie! Just reaching out here too re. Storybook 8 compatibility. If you could please let us know that this addon is compatible with SB8, we’d hugely appreciate it. Thank you!

Storybook 8 migration guide

@hipstersmoothie
Copy link
Owner

I think it should work

@joevaugh4n
Copy link
Author

thank you!

@sbeben
Copy link

sbeben commented Jun 5, 2024

sorry, but it does not

@Avto9711
Copy link

Avto9711 commented Jul 9, 2024

Hey. it doesn't work at all. it's relying on @storybook/addons

X [ERROR] Could not resolve "@storybook/addons"
    node_modules/storybook-addon-react-docgen/dist/register.js:10:45:
      10 │ var _addons = _interopRequireDefault(require("@storybook/addons"));
      

and that is deperecated. It should use @storybook/manager-api or @storyboook/preview-api

@sbeben
Copy link

sbeben commented Jul 10, 2024

Hey. it doesn't work at all. it's relying on @storybook/addons

X [ERROR] Could not resolve "@storybook/addons"
    node_modules/storybook-addon-react-docgen/dist/register.js:10:45:
      10 │ var _addons = _interopRequireDefault(require("@storybook/addons"));
      

and that is deperecated. It should use @storybook/manager-api or @storyboook/preview-api

after some dancing i was able to achieve correct build behaviour, by adding this to storybook config (i am using react):
typescript: { check: false, skipCompiler: true, reactDocgen: 'react-docgen-typescript', },

may be that would help somehow...

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

4 participants