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

Add missing peer dependencies #16551

Merged
merged 2 commits into from Nov 24, 2021
Merged

Add missing peer dependencies #16551

merged 2 commits into from Nov 24, 2021

Conversation

Methuselah96
Copy link
Contributor

Issue: related to #14838

What I did

Fixed these implicit transitive peer dependency warnings:

➤ YN0002: │ @storybook/store@npm:6.4.0-beta.23 doesn't provide react (p19f07), requested by @storybook/addons
➤ YN0002: │ @storybook/store@npm:6.4.0-beta.23 doesn't provide react-dom (p54b7a), requested by @storybook/addons

How to test

  • Is this testable with Jest or Chromatic screenshots?
  • Does this need a new example in the kitchen sink apps?
  • Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

@nx-cloud
Copy link

nx-cloud bot commented Nov 1, 2021

Nx Cloud Report

CI ran the following commands for commit 75569d3. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch

Status Command
#000000 nx run-many --target=prepare --all --parallel --max-parallel=15

Sent with 💌 from NxCloud.

Comment on lines +59 to +62
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In principle this is fine, I fear it might introduce global React types for Vue projects.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no should be fine, we have these in other packages that are not react-specific already.

Comment on lines +59 to +62
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no should be fine, we have these in other packages that are not react-specific already.

@ndelangen
Copy link
Member

@shilman LGTM, should i be concerned about these tests?

@shilman
Copy link
Member

shilman commented Nov 22, 2021

@ndelangen no, i'm mostly worried about the examples not building

@Methuselah96
Copy link
Contributor Author

@ndelangen @shilman I did a rebase and it looks like the examples are building now.

@shilman shilman merged commit c67c22a into storybookjs:next Nov 24, 2021
@shilman
Copy link
Member

shilman commented Nov 24, 2021

Thanks @Methuselah96 !!! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants