-
Notifications
You must be signed in to change notification settings - Fork 4.6k
React Native: remove duplicate metro packages #47377
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
Conversation
|
Size Change: 0 B Total Size: 1.33 MB ℹ️ View Unchanged
|
|
Flaky tests detected in cb22977. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3994081296
|
tyxla
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice find 👍 Changes make sense to me.
I'd suggest verifying with @geriux that there isn't an intentional rationale for this.
geriux
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
While debugging Babel transpilation for React Native, I noticed that we install multiple copies of
metro-react-native-babel-presetand othermetro-*packages. There's not only one copy in the rootnode_modules, but multiple ones in subdirectories likenode_modules/react-native/node_modules. As they all have the same version, they can be deduplicated. In this PR I'm updating the lockfile to remove them.How to test: Mobile CI checks (app builds, unit and e2e tests) should pass. If some package was installed incorrectly, the checks would fail.