-
Notifications
You must be signed in to change notification settings - Fork 267
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
Local React Native Cli support #1093
Merged
RedMickey
merged 56 commits into
microsoft:master
from
RedMickey:local-react-native-cli
Oct 25, 2019
Merged
Local React Native Cli support #1093
RedMickey
merged 56 commits into
microsoft:master
from
RedMickey:local-react-native-cli
Oct 25, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SounD120
suggested changes
Sep 3, 2019
SounD120
suggested changes
Oct 2, 2019
SounD120
reviewed
Oct 18, 2019
SounD120
reviewed
Oct 18, 2019
SounD120
reviewed
Oct 21, 2019
SounD120
reviewed
Oct 21, 2019
SounD120
reviewed
Oct 21, 2019
SounD120
reviewed
Oct 21, 2019
Co-Authored-By: Yuri Skorokhodov <[email protected]>
SounD120
reviewed
Oct 22, 2019
SounD120
approved these changes
Oct 22, 2019
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.
Looks good.
Got some small questions in my review.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added React Native local CLI support for the extension.
Changed function of getting React Native version.
Added unit tests for a new getting React Native version function.
Added a new error
ReactNativePackageIsNotInstalled
with code606
. This error will be thrown if there isn'treact-native
package in project's node modules.Resolves #1101
The following table represents telemetry events changes:
getReactNativeVersion
tolaunch
sequence.This step and other steps in
launch
sequence can contain an error number606
:getReactNativeVersion
step doesn't exist.The rest of the steps don't contain error number
606
field.606
:- commandPalette.runAndroidSimulator
- commandPalette.runAndroidDevice
- commandPalette.startPackager
- commandPalette.restartPackager
- commandPalette.runIosDevice
- commandPalette.runIosSimulator
- commandPalette.runExponent
- RNCommand
- commandPalette.publishToExpHost
For examplecommandPalette.startPackager
event could be as following:606
field.