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

Fix peer dependencies for npm8/pnpm/yarn pnp - retry #20110

Merged
merged 6 commits into from
Dec 6, 2022

Conversation

ndelangen
Copy link
Member

@ndelangen ndelangen commented Dec 6, 2022

Issue: #17448

Replaced: #20017

What I did

Added react and @mdx-js/react shims to addon-docs as partial solution to npm8/pnpm peer dependency issues.

Currently this is failing due to React version mismatches between @storybook/addon-docs and @storybook/blocks which uses the user's React version as a peer dependency.

Cc @ndelangen @IanVS @tmeasday

How to test

CI should pass, but honestly that's not enough in this case.

We need to release this in a alpha, and test it using

  • pnpm
  • npm8
  • yarn with pnp mode enabled.

@ndelangen ndelangen self-assigned this Dec 6, 2022
@ndelangen ndelangen added maintenance User-facing maintenance tasks ci:merged Run the CI jobs that normally run when merged. labels Dec 6, 2022
@ndelangen
Copy link
Member Author

@shilman self merging!!!

@IanVS
Copy link
Member

IanVS commented Dec 7, 2022

I think this closes #19821, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:merged Run the CI jobs that normally run when merged. maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants