-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Fix all build/test issues on master for android, detox & objc CI stages + update to Babel 7 #20854
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
Closed
Closed
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
d6a4838
[android] update Promise interface & to allow a userInfo WritableMap …
Salakar 346b733
[android] update Promise implementation to allow a userInfo WritableM…
Salakar 41e34bf
[android] remove inconsistent promise.reject with null arg - unnecess…
Salakar 6d0aa8e
[android] fix failing unit tests build - missing buck dependency
Salakar 9045294
[android] fix failing unit tests build - missing buck dependency
Salakar 3919d36
[bundler] fix bundle failing to compile - babel7 changes + missing ro…
Salakar a993a77
[build] update to babel7 rc3 & exclude jest from babelrc
Salakar c9b2d2e
[build] update `react-native-xcode` script to start Node from the $RE…
Salakar 3af30df
[build] Babel 7 - needs to be 7.0.0-beta.56 to match `metro`'s versio…
Salakar 5a440ca
Switch to `metro-react-native-babel-preset` and remove now redundant …
Salakar 5607bc7
Merge branch 'master' into cherry-pick
Salakar 6a4c119
[flow] remove metro ignore from config - local-cli makes use of these…
Salakar 5142188
Merge branch 'master' into cherry-pick
Salakar e7fcab3
update to latest metro (^0.45.0) and change to Babel 7 release version
Salakar 422eb3a
Merge branch 'master' into cherry-pick
Salakar f4b8581
Merge branch 'master' of https://github.com/facebook/react-native int…
Salakar c2439e4
[buck] remove unused react_native_dep
Salakar 39d054d
[buck][tests] remove duplicate react_native_dep (jsr-305:jsr-305) and…
Salakar fe5f3b4
[flow][android] remove metro ignore from config - local-cli makes use…
Salakar 6ad1be5
Add comment indicating the `babel.config.js` files purpose
Salakar 488e233
Merge pull request #1 from invertase/master
Salakar 305bd44
Revert "-"
Salakar b47f7a5
Merge pull request #2 from invertase/revert-1-master
Salakar 42b55b0
Merge branch 'master' of https://github.com/facebook/react-native int…
Salakar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* This file is for `local-cli` usage whilst testing locally and in CI and is | ||
* ignored by the Jest preprocessor in `jest/preprocessor.js`. | ||
* | ||
* Without this config file Metro will bundle React Native JS bundles for the | ||
* test apps without the `metro-react-native-babel-preset` preset. | ||
*/ | ||
module.exports = { | ||
presets: ['module:metro-react-native-babel-preset'], | ||
plugins: [ | ||
[ | ||
require('@babel/plugin-transform-runtime'), | ||
{ | ||
helpers: true, | ||
regenerator: true, | ||
}, | ||
], | ||
], | ||
}; |
This file contains hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.