hipstersmoothie / storybook-addon-react-docgen

A storybook addon to display react docgen info.
MIT License
87 stars 14 forks source link

Storybook 8 compatibility #142

Open joevaugh4n opened 8 months ago

joevaugh4n commented 8 months ago

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 commented 8 months ago

I think it should work

joevaugh4n commented 8 months ago

thank you!

sbeben commented 5 months ago

sorry, but it does not

Avto9711 commented 4 months ago

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 commented 4 months ago

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...