-
-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Holding back from v0.57.2 because of issues there. Skipping v0.56 because `jest` fails with a Babel config issue (with or without the Babel config change in this commit), and at this point v0.56 is old enough it's not worth trying to sort that out. Both upgrade tools (react-native-git-upgrade and `react-native upgrade`) failed to run, so instead this was a manual but thorough old-school upgrade. Not a problem, since we did that already for all but the last upgrade. Most of the changes required for the upgrade have been merged in a variety of commits over the past few weeks; see #2789. This commit * upgrades `react-native` and closely related dependencies; * updates the Flow config file to match RN upstream's template; and * adjusts the Babel config to work now that most things use Babel 7: move the preset back to our specific babelrc, and re-enable babelrcs. Fixes #2788.
- Loading branch information
1 parent
cc64ebe
commit 5295073
Showing
5 changed files
with
446 additions
and
422 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
{ | ||
"presets": [ | ||
"react-native" | ||
], | ||
"env": { | ||
"production": { | ||
"plugins": ["transform-remove-console"] | ||
} | ||
} | ||
"presets": [ | ||
"module:metro-react-native-babel-preset" | ||
] | ||
} |
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
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
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
Oops, something went wrong.