-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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 Metro preset version #21034
Fix Metro preset version #21034
Conversation
This PR has been already merged to |
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.
@facebook-github-bot shipit |
I will not rubber stamp and land your change for you @grabbou! I can import it for you and you can get your change reviewed by someone though :) |
Unrelated: not sure why tests are breaking, but... this change is not covered on the CI anyway. |
@grabbou the failure, for Android at least is being tracked here: #20994 - unrelated as you say :)
|
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.
hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: This pull request removes the hard-coded version of the `metro-react-native-babel-preset` as defined in the `init` command. That way, the version always matches React Native version specified in its `package.json`, making it match Metro version. Differential Revision: D9759540 Pulled By: hramos fbshipit-source-id: 90835442e2db1900851cbfb8c3c625229184d851
I tried to merge this pull request into the Facebook internal repo but some checks failed. To unblock yourself please check the following: Does this pull request pass all open source tests on GitHub? If not please fix those. Does the code still apply cleanly on top of GitHub master? If not can please rebase. In all other cases this means some internal test failed, for example a part of a fb app won't work with this pull request. I've added the Import Failed label to this pull request so it is easy for someone at fb to find the pull request and check what failed. If you don't see anyone comment in a few days feel free to comment mentioning one of the core contributors to the project so they get a notification. |
I don't know why this wasn't auto-closed by the bot, but it looks like this PR was imported successfully. It landed as 5d55f03. |
This pull request removes the hard-coded version of the
metro-react-native-babel-preset
as defined in theinit
command. That way, the version always matches React Native version specified in itspackage.json
, making it match Metro version.CC: @kelset