Closed lordfpx closed 3 months ago
@pocka Yes I know and that's the problem. Looking at the code diff, the React dependency version doesn't seem to be needed and it breaks the addon on projects with older versions.
I think you're right @lordfpx, I can't remember why I narrowed the React peer dependency from 16+17+18 to require 18.2. But looking at the block's usage of React I don't see why that would be necessary.
Feel free to open a PR to widen the range again.
Fixed in v8.0.1 (#237)
Thanks a lot!
Affected design types
Describe the bug
On a React project having for peer dependency React >=16.8.0 and Storybook 8.0.5, I've got the following error when running
npm i
:How to reproduce the bug?
npm i
Expected behaviour
All other Storybook addons are working fine except
addon-design
, the addon should work on every project.Environment
Affected versions
8.0.0
Storybook versions
8.0.5