GeezerVison is showing github.com — Fix #20991 - use name from app.json if available by mike-marcacci · Pull Request #20992 · react/react-native
Conversation
Fix #20991 - use name from app.json if available, instead of using package.json.
Test Plan:
I haven't tested my plan 😬but didn't want to file a trivial, low-priority issue here without a PR, since those just take up space!
Release Notes:
[CLI] [ENHANCEMENT] [react-native-git-upgrade] - Use name from app.json if available
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
mikemorris reacted with thumbs up emoji
|
Looks fine. I'd still like to see a test plan, to make sure this has at least been tested and verified before merging.
This only touches the upgrade CLI, which is not used at Facebook, so any of our contributors should feel free to land this if they approve of the PR.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
OK, FWIW I used this change when upgrading @boltline/boltline-native. Upgrading ran into another unrelated issue but the name was no longer a problem. Let me know if anyone has a programatic test strategy you'd like implemented here.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This looks like a good fix to me, only caution is that IIRC iOS preserves AppName app names throughout, while Android downcases to appname when creating directory paths, would want to double-check that behavior stays consistent.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Merged
This PR has been merged.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|