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 @emotion/react dep to block-editor #52475

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

anomiex
Copy link
Contributor

@anomiex anomiex commented Jul 10, 2023

What?

Add a missing dependency on @emotion/react from block-editor.

Why?

PR #51545 added a dependency on @emotion/styled, which resulted in a transitive peer dependency on @emotion/react. We should satisfy that dependency ourself, just as we do in the components package.

How?

Add the missing dep.

Testing Instructions

Fixes #52474. See reproduction steps there.

PR WordPress#51545 added a dependency on `@emotion/styled`, which resulted in a
transitive peer dependency on `@emotion/react`. We should satisfy that
dependency ourself, just as we do in the components package.
@anomiex anomiex requested a review from ellatrix as a code owner July 10, 2023 15:20
Copy link
Contributor

@scruffian scruffian left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for fixing.

@Mamaduka Mamaduka merged commit 8ef7925 into WordPress:trunk Jul 11, 2023
@github-actions github-actions bot added this to the Gutenberg 16.3 milestone Jul 11, 2023
@mburridge mburridge added [Type] Code Quality Issues or PRs that relate to code quality [Package] Block editor /packages/block-editor labels Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Block editor /packages/block-editor [Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unexpected missing peer dependency in @wordpress/block-editor 12.5.0
4 participants