Skip to content
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

Upgrade to React Native 0.56 & 0.57 #2789

Merged
merged 7 commits into from
Nov 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .babelrc
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"
]
}
5 changes: 4 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ sketchy-null
[options]
emoji=true

esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable

# The main warning is "Unused suppression comment".
# Temporarily disabled to facilitate RN version upgrade.
#include_warnings=true
Expand Down Expand Up @@ -96,4 +99,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[version]
^0.67.0
^0.78.0
6 changes: 0 additions & 6 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
// https://babeljs.io/docs/en/config-files

module.exports = {
// Ignore the .babelrc; ours is incompatible for now with Babel 7,
// because the old `react-native` preset is.
babelrc: false,

presets: ['module:metro-react-native-babel-preset'],

env: {
production: {
plugins: ['transform-remove-console'],
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/@babel/core_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 8b238a670ee4eee01f93f49ff0b64d8b
// flow-typed version: <<STUB>>/@babel/core_v^7.1.2/flow_v0.67.0
// flow-typed signature: 437bd829336b4ebb9e979f517332f772
// flow-typed version: <<STUB>>/@babel/core_v^7.1.2/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/@expo/react-native-action-sheet_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 5a043fe7488c7f8394ba8f93dcce3ef3
// flow-typed version: <<STUB>>/@expo/react-native-action-sheet_v^1.1.0/flow_v0.67.0
// flow-typed signature: 3fd521ce52df0abdfc91c367d9cceedd
// flow-typed version: <<STUB>>/@expo/react-native-action-sheet_v^1.1.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/@remobile/react-native-toast_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 28d97691964914568bdf9208cd22ecdc
// flow-typed version: <<STUB>>/@remobile/react-native-toast_v^1.0.7/flow_v0.67.0
// flow-typed signature: eaf887ef17716a16e27b3e59c76c89d1
// flow-typed version: <<STUB>>/@remobile/react-native-toast_v^1.0.7/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-core_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 9f307725d254fc3553aacb8058164f5c
// flow-typed version: <<STUB>>/babel-core_v^6.26.3/flow_v0.67.0
// flow-typed signature: 171802109a56e496150976c29efb5cdf
// flow-typed version: <<STUB>>/babel-core_v^6.26.3/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-eslint_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 5b819be5c41a4b8c1c403ebe64a6b020
// flow-typed version: <<STUB>>/babel-eslint_v^8.2.3/flow_v0.67.0
// flow-typed signature: 8dbf23332e5d1f51375de56b28f2fe45
// flow-typed version: <<STUB>>/babel-eslint_v^8.2.3/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
32 changes: 0 additions & 32 deletions flow-typed/npm/babel-jest_vx.x.x.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 6def95892e49e53e385a6868ac5c6392
// flow-typed version: <<STUB>>/babel-plugin-transform-remove-console_v^6.9.4/flow_v0.67.0
// flow-typed signature: 9258d4a9336e672ea97eaf79a28ea631
// flow-typed version: <<STUB>>/babel-plugin-transform-remove-console_v^6.9.4/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-react-native_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 2fbe7fe6edb945aab1744866fa3338c9
// flow-typed version: <<STUB>>/babel-preset-react-native_v^4.0.0/flow_v0.67.0
// flow-typed signature: c7df5cb75e691e68baf5263728a79cb8
// flow-typed version: <<STUB>>/babel-preset-react-native_v^4.0.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/blueimp-md5_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 1415685420039458b9e6bb74afa07096
// flow-typed version: <<STUB>>/blueimp-md5_v^2.10.0/flow_v0.67.0
// flow-typed signature: f4cc5afd18a3bf7fbfb75da96a03ee2e
// flow-typed version: <<STUB>>/blueimp-md5_v^2.10.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/color_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 3f56d89b176feffef6c726389789e62d
// flow-typed version: <<STUB>>/color_v^3.0.0/flow_v0.67.0
// flow-typed signature: 45010ed94208362d843382a18560ea37
// flow-typed version: <<STUB>>/color_v^3.0.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/coveralls_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 9c0affa3309af7c94854476698310799
// flow-typed version: <<STUB>>/coveralls_v^3.0.1/flow_v0.67.0
// flow-typed signature: b2b09ac3ece7ecde14abb867db97a310
// flow-typed version: <<STUB>>/coveralls_v^3.0.1/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-config-airbnb-base_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: d7b1b6114e81d290d2baeffdd6ae8f8c
// flow-typed version: <<STUB>>/eslint-config-airbnb-base_v^12.1.0/flow_v0.67.0
// flow-typed signature: 034e3a18d4e6470318a8b94deb52d538
// flow-typed version: <<STUB>>/eslint-config-airbnb-base_v^12.1.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-config-airbnb_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 69a315741fd698a3ec65b053a237b820
// flow-typed version: <<STUB>>/eslint-config-airbnb_v^16.1.0/flow_v0.67.0
// flow-typed signature: ba9ad57a889330c4f0e4641f31ec96e9
// flow-typed version: <<STUB>>/eslint-config-airbnb_v^16.1.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-config-prettier_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 5e93002b3f463fc4227d3d84d1f1ecbb
// flow-typed version: <<STUB>>/eslint-config-prettier_v^2.9.0/flow_v0.67.0
// flow-typed signature: d4157ef5676df2c11b8d872fde5ff826
// flow-typed version: <<STUB>>/eslint-config-prettier_v^2.9.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: a31aa8645d2614e894814e896d9c27ae
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.46.3/flow_v0.67.0
// flow-typed signature: 453e2b1c4820023c05abe2a77b436e29
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.46.3/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-import_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: c1ae3503b80c839179738c4ed87085e5
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.12.0/flow_v0.67.0
// flow-typed signature: b310dde44bf15d021bc0d6dc6a218db4
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.12.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-jest_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: fc29a629058a513422a883c664b8e87b
// flow-typed version: <<STUB>>/eslint-plugin-jest_v^21.15.1/flow_v0.67.0
// flow-typed signature: 815d271fb67f54e9ab43989916001d03
// flow-typed version: <<STUB>>/eslint-plugin-jest_v^21.15.1/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 4559c08dd75a4708e3da57485048d800
// flow-typed version: <<STUB>>/eslint-plugin-jsx-a11y_v^6.0.3/flow_v0.67.0
// flow-typed signature: 5cd1c995f6a5e7cad5d2237ad7a65ef9
// flow-typed version: <<STUB>>/eslint-plugin-jsx-a11y_v^6.0.3/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-prettier_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 812ae756912a1b778614637ac518a2ea
// flow-typed version: <<STUB>>/eslint-plugin-prettier_v^2.6.0/flow_v0.67.0
// flow-typed signature: a193e95bf6e025a5faf62a4e9d026a17
// flow-typed version: <<STUB>>/eslint-plugin-prettier_v^2.6.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-react-native_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 82ebfbd7f5ee0319e23bd1896f2292b4
// flow-typed version: <<STUB>>/eslint-plugin-react-native_v^3.2.1/flow_v0.67.0
// flow-typed signature: 9beec99c6ed3b15aa1affdde1ac8df07
// flow-typed version: <<STUB>>/eslint-plugin-react-native_v^3.2.1/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-react_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 6ddff740914d16c7a3d9a4db38ffcb68
// flow-typed version: <<STUB>>/eslint-plugin-react_v^7.8.2/flow_v0.67.0
// flow-typed signature: 0913703eebc6fd71ded190dd4a9ec14a
// flow-typed version: <<STUB>>/eslint-plugin-react_v^7.8.2/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-spellcheck_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 19afa7d0215868467817028233c5c767
// flow-typed version: <<STUB>>/eslint-plugin-spellcheck_v0.0.6/flow_v0.67.0
// flow-typed signature: cfc6b95201e882d05d16c8b189f01c23
// flow-typed version: <<STUB>>/eslint-plugin-spellcheck_v0.0.6/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 9c2591f24534b8f6447d45a93f2933db
// flow-typed version: <<STUB>>/eslint_v^4.19.1/flow_v0.67.0
// flow-typed signature: 25333c726e6785defd739d9db1213134
// flow-typed version: <<STUB>>/eslint_v^4.19.1/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/flow-coverage-report_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 608139689b85870b5f55c5a81b44715e
// flow-typed version: <<STUB>>/flow-coverage-report_v^0.6.0/flow_v0.67.0
// flow-typed signature: 3469a49804ce4ca6b83299a7d96118b3
// flow-typed version: <<STUB>>/flow-coverage-report_v^0.6.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/flow-typed_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 00956f688571e5ff2eb4f4e0c59e5246
// flow-typed version: <<STUB>>/flow-typed_v^2.4.0/flow_v0.67.0
// flow-typed signature: cec872d491c113f8b74bda42d5428f88
// flow-typed version: <<STUB>>/flow-typed_v^2.4.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/jest-cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: e82cd402a1bb7ce8ede4aa330b4ebe7d
// flow-typed version: <<STUB>>/jest-cli_v^22.4.4/flow_v0.67.0
// flow-typed signature: 79baf5abcbb86a189d78b95e4aecc37b
// flow-typed version: <<STUB>>/jest-cli_v^22.4.4/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
32 changes: 0 additions & 32 deletions flow-typed/npm/jest-react-native_vx.x.x.js

This file was deleted.

4 changes: 2 additions & 2 deletions flow-typed/npm/lodash.escape_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: c83628737351ff464fc4ea705c3afc2a
// flow-typed version: <<STUB>>/lodash.escape_v^4.0.1/flow_v0.67.0
// flow-typed signature: 09b063b7f9f08b8e9022453db373cb6d
// flow-typed version: <<STUB>>/lodash.escape_v^4.0.1/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/lodash.isequal_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 4f9ca375e77786570688436aef0d6ec4
// flow-typed version: <<STUB>>/lodash.isequal_v^4.4.0/flow_v0.67.0
// flow-typed signature: 8dfdc2e43f3a419a6601ac1f6d47c018
// flow-typed version: <<STUB>>/lodash.isequal_v^4.4.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/lodash.omit_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 9bec785ece5a94ed3bf687bd01ea608d
// flow-typed version: <<STUB>>/lodash.omit_v^4.5.0/flow_v0.67.0
// flow-typed signature: b6a7cfb31d7a27cdd8f172b7ee5070f4
// flow-typed version: <<STUB>>/lodash.omit_v^4.5.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/lodash.throttle_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: d4307c99f98093b3719922dbcc57f94b
// flow-typed version: <<STUB>>/lodash.throttle_v^4.1.1/flow_v0.67.0
// flow-typed signature: b5f0e54fbd0578d993a6997c1be935b8
// flow-typed version: <<STUB>>/lodash.throttle_v^4.1.1/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/lodash.unescape_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 90886f4f24a461af604388c2bc3c45b1
// flow-typed version: <<STUB>>/lodash.unescape_v^4.0.1/flow_v0.67.0
// flow-typed signature: dc689c89987de6dd56fd5c50ea88901f
// flow-typed version: <<STUB>>/lodash.unescape_v^4.0.1/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/lodash.union_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: c231207a41c571ad115b78f973d31b28
// flow-typed version: <<STUB>>/lodash.union_v^4.6.0/flow_v0.67.0
// flow-typed signature: cc77fb2ff74d12e0bdab9a72cf8e1579
// flow-typed version: <<STUB>>/lodash.union_v^4.6.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/lodash.uniqby_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 0cb0715780e31e77d95b9741158acafb
// flow-typed version: <<STUB>>/lodash.uniqby_v^4.4.0/flow_v0.67.0
// flow-typed signature: f0a597a892ff64aae95d027190946f2f
// flow-typed version: <<STUB>>/lodash.uniqby_v^4.4.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/prettier-eslint-cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 7936f256f7ab2f7d6ea2fd81e352497a
// flow-typed version: <<STUB>>/prettier-eslint-cli_v^4.7.1/flow_v0.67.0
// flow-typed signature: d6a85c3ac1eb6f261161aabd1b5890c4
// flow-typed version: <<STUB>>/prettier-eslint-cli_v^4.7.1/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/prettier-eslint_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 48b258fab84a1c48afe211d8f9f6b7bc
// flow-typed version: <<STUB>>/prettier-eslint_v^8.8.1/flow_v0.67.0
// flow-typed signature: 0228de1b766c9cc54f53d7ae7ee98fc1
// flow-typed version: <<STUB>>/prettier-eslint_v^8.8.1/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/react-native-cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: bf430514a47a0be5f2290936e00c63e5
// flow-typed version: <<STUB>>/react-native-cli_v^2.0.1/flow_v0.67.0
// flow-typed signature: 26a008f47cc8aadd35a09c51ad687ebe
// flow-typed version: <<STUB>>/react-native-cli_v^2.0.1/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/react-native-notifications_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 01a9d5ee990e9b22a6e8a316d97f9dae
// flow-typed version: <<STUB>>/react-native-notifications_v^1.2.0/flow_v0.67.0
// flow-typed signature: 086e03baede59bb43adf7ccc62806822
// flow-typed version: <<STUB>>/react-native-notifications_v^1.2.0/flow_v0.78.0

/**
* This is an autogenerated libdef stub for:
Expand Down
Loading