close
The Wayback Machine - https://web.archive.org/web/20201125022632/https://github.com/facebook/react-native/pull/23052
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

Update references to the CLI #23052

Closed
wants to merge 7 commits into from
Closed

Update references to the CLI #23052

wants to merge 7 commits into from

Conversation

@grabbou
Copy link
Collaborator

@grabbou grabbou commented Jan 17, 2019

This updates React Native to use latest CLI. We also create Metro configuration, because CLI looks for React Native in "node_modules" by default. Since we are running React Native from source, it will fail to find required files.

To avoid hacky logic to detect if we are running from source backed into the CLI, I decided to leverage the Metro configuration instead.

Copy link

@facebook-github-bot facebook-github-bot left a comment

@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@grabbou
Copy link
Collaborator Author

@grabbou grabbou commented Jan 17, 2019

@hramos - heads up, I need to fix remaining test failures before this ships. I will let you know when it's ready.

@facebook-github-bot
Copy link

@facebook-github-bot facebook-github-bot commented Jan 18, 2019

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.

grabbou added 3 commits Jan 21, 2019
@grabbou
Copy link
Collaborator Author

@grabbou grabbou commented Jan 21, 2019

@facebook-github-bot
Copy link

@facebook-github-bot facebook-github-bot commented Jan 21, 2019

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 :)

@grabbou
Copy link
Collaborator Author

@grabbou grabbou commented Jan 21, 2019

@hramos I am triggering the import again - the issues seem to be fixed and failures are similar to what we have on master. Hopefully it works for you locally.

Copy link

@facebook-github-bot facebook-github-bot left a comment

@cpojer has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@cpojer cpojer self-requested a review Jan 21, 2019
@react-native-bot
Copy link
Collaborator

@react-native-bot react-native-bot commented Jan 21, 2019

@grabbou merged commit 1af390b into facebook:master.

@facebook facebook locked as resolved and limited conversation to collaborators Jan 21, 2019
@zpao zpao deleted the feat/bump-cli branch Jan 31, 2019
matt-oakes pushed a commit to matt-oakes/react-native that referenced this pull request Feb 7, 2019
Summary:
This updates React Native to use latest CLI. We also create Metro configuration, because CLI looks for React Native in "node_modules" by default. Since we are running React Native from source, it will fail to find required files.

To avoid hacky logic to detect if we are running from source backed into the CLI, I decided to leverage the Metro configuration instead.
Pull Request resolved: facebook#23052

Reviewed By: rickhanlonii

Differential Revision: D13719938

Pulled By: cpojer

fbshipit-source-id: 1f40a40b3cdbb07ccd42daf75feb457556d3e40f
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.