Storybook 8 dropped the peer dependency on React, this package should do the same
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (p63559), requested by @storybook/addon-designs and other dependencies.
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react-dom (p3e1e2), requested by @storybook/addon-designs and other dependencies.
How to reproduce the bug?
Start a project using Yarn 4 and install Storybook + Storybook Designs Addon and you will see a warning about missing peer dependencies, even though react has not needed to be installed since Storybook 8.
Expected behaviour
This package should not mark React as a peer dependency.
Affected design types
Describe the bug
Storybook 8 dropped the peer dependency on React, this package should do the same
How to reproduce the bug?
Start a project using Yarn 4 and install Storybook + Storybook Designs Addon and you will see a warning about missing peer dependencies, even though
react
has not needed to be installed since Storybook 8.Expected behaviour
This package should not mark React as a peer dependency.
Environment
Affected versions
8.0.3
Storybook versions
8.2.9