-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Use latest React Native CLI #24517
Use latest React Native CLI #24517
Conversation
I feel like `commands` at the beginning just reads nicer.
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.
This is so much better!
Let's merge it so it unblocks #24506 |
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 work!
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.
@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Thanks @cpojer!
We will need to update the CLI dependency one more time, but RNTester works
w/o issues on master now, so that's good!
…On Tue, 23 Apr 2019 at 11:15, Facebook Community Bot < ***@***.***> wrote:
***@***.**** approved this pull request.
@cpojer <https://github.com/cpojer> is landing this pull request. If you
are a Facebook employee, you can view this diff on Phabricator
<https://phabricator.internmc.facebook.com/D15044762>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24517 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASZZRSRS3FSNMDRUHD7YM3PR3HS3ANCNFSM4HHAOMUA>
.
|
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.
@cpojer has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This pull request was successfully merged by @grabbou in 706f67a. When will my fix make it into a release? | Upcoming Releases |
Summary: Replaces #24099 (original PR became detached for some reason) Implements the template changes required to enable native modules auto-linking for both Android & iOS. Requires the following to be merged first and an updated CLI to be published: - [x] react-native-community/cli#254 - [x] react-native-community/cli#256 - [x] react-native-community/cli#258 cc grabbou thymikee orta for review - [ ] #24517 update CLI version) [TEMPLATE] [FEATURE] - Enable auto-initialization/linking of react native modules for new projects Pull Request resolved: #24506 Differential Revision: D15062701 Pulled By: cpojer fbshipit-source-id: 65296cbec2925405fe8033de71910325e0c719bc
Summary: Replaces #24099 (original PR became detached for some reason) Implements the template changes required to enable native modules auto-linking for both Android & iOS. Requires the following to be merged first and an updated CLI to be published: - [x] react-native-community/cli#254 - [x] react-native-community/cli#256 - [x] react-native-community/cli#258 cc grabbou thymikee orta for review - [ ] #24517 update CLI version) [TEMPLATE] [FEATURE] - Enable auto-initialization/linking of react native modules for new projects Pull Request resolved: #24506 Differential Revision: D15062701 Pulled By: cpojer fbshipit-source-id: 65296cbec2925405fe8033de71910325e0c719bc # Conflicts: # template/ios/Podfile
We are maintaining react-native project within android (the classical way) and we were soo much dependent on --reactNativePath for our build process. Now after migrating from 0.59 -> 0.61.5 we are not finding a way to provide --reactNativePath. Thank you :) |
Summary
Updates React Native to use latest CLI.
Changes:
--reactNativePath
, define it once in the configuration file. This reverts the previous PR that added this flagplatforms
andcommands
- React Native now defines platform like any other package. There's no longer concept of "out-of-tree" platform. All are treated equally. If React Native works, any other platform will work too.jest/hasteImpl.js
to use public CLI interface (loadConfig
) instead offindPlugins
and removes a weird conditional that checks for CI presence.Changelog
[INTERNAL] - Update React Native CLI
Test Plan
Run RNTester and it works