Skip to content

Remove peer dependency on React #289

@joaopedrodcf

Description

@joaopedrodcf

Affected design types

  • figma
  • figspec
  • link
  • image
  • iframe

Describe the bug

There was an issue: #246 where react as a peer dependency was flag and it was closed because was merged #253 but there was an issue and that PR was reverted, can this be taken a look again ? Example I use vue only in my project and react is being marked as a peer dependency

➤ ➤ YN0002: │ XXX doesn't provide react (pbb70fc), requested by @storybook/addon-designs and other dependencies.

How to reproduce the bug?

  1. Use yarn 4.13.0 and install storybook 10 with @storybook/addon-designs
  2. Yarn will report that you are missing a peer dependency on react

Expected behaviour

React is not necessary to use this plugin

Environment

  • Chrome / Chromium / Chromium based browsers
  • Firefox
  • macOS Safari
  • iOS Safari
  • Samsung Internet
  • Other

Affected versions

11.1.2

Storybook versions

10.1.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions