Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Commit

Permalink
chore: upgrade to latest react-native-tab-view
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Aug 18, 2019
1 parent 60efcb9 commit d03afc2
Show file tree
Hide file tree
Showing 9 changed files with 1,835 additions and 927 deletions.
54 changes: 29 additions & 25 deletions packages/bottom-tabs/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
; Ignore templates for 'react-native init'
.*/local-cli/templates/.*

; Ignore the website subdir
<PROJECT_ROOT>/website/.*
; Ignore the Dangerfile
<PROJECT_ROOT>/bots/dangerfile.js

; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/
Expand All @@ -18,41 +18,48 @@
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js
.*/Libraries/react-native/ReactNative.js

; Ignore polyfills
.*/Libraries/polyfills/.*

; Ignore metro
.*/node_modules/metro/.*

; Ignore duplicate modules under example/
.*/example/node_modules/fbjs
.*/example/node_modules/fbemitter
.*/example/node_modules/react
.*/example/node_modules/react-native
.*/example/node_modules/expo
.*/example/node_modules/xdl
.*/example/node_modules/reqwest
.*/example/node_modules/fbjs/.*
.*/example/node_modules/fbemitter/.*
.*/example/node_modules/react/.*
.*/example/node_modules/react-native/.*
.*/example/\.buckd/

.*/node_modules/react-native-gesture-handler
.*/node_modules/react-native-safe-area-view
; Ignore duplicate modules under docs/
.*/docs/node_modules/fbjs/.*
.*/docs/node_modules/react/.*

; Ignore some modules we don't need to parse
.*/node_modules/prettier/.*
.*/node_modules/eslint.*
.*/node_modules/reqwest/tests/fixtures/.*

[untyped]
.*/node_modules/expo/.*
.*/node_modules/xdl/.*
.*/node_modules/react-native-gesture-handler/.*

[include]

[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow-github
node_modules/react-native/flow

[options]
emoji=true

module.system=haste

experimental.strict_type_args=true

munge_underscores=true

module.file_ext=.js
module.file_ext=.native.js
module.file_ext=.android.js
module.file_ext=.ios.js

module.name_mapper='^expo$' -> 'emptyObject'
module.name_mapper='^react-native-gesture-handler$' -> 'emptyObject'

Expand All @@ -62,14 +69,11 @@ suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
suppress_type=$FixMe

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*[react_native_oss|react_native_fb][a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*[react_native_oss|react_native_fb][a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*[react_native_oss|react_native_fb][a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*[react_native_oss|react_native_fb][a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

unsafe.enable_getters_and_setters=true

[version]
^0.56.0
^0.67.1
2 changes: 1 addition & 1 deletion packages/bottom-tabs/example/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "React Navigation Tabs Example",
"description": "Demonstrates the various capabilities of react-navigation-tabs: https://github.com/react-navigation/react-navigation-tabs",
"slug": "react-navigation-tabs-demos",
"sdkVersion": "23.0.0",
"sdkVersion": "27.0.0",
"version": "1.0.0",
"primaryColor": "#2196f3",
"icon": "assets/icon.png",
Expand Down
15 changes: 8 additions & 7 deletions packages/bottom-tabs/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
},
"dependencies": {
"@expo/vector-icons": "^6.2.0",
"expo": "~23.0.4",
"expo": "^27.0.2",
"hoist-non-react-statics": "^2.5.0",
"prop-types": "^15.6.0",
"react": "16.0.0",
"react-native": "0.50.4",
"prop-types": "^15.6.1",
"react": "16.3.1",
"react-lifecycles-compat": "^3.0.4",
"react-native": "~0.55.4",
"react-native-safe-area-view": "^0.7.0",
"react-native-tab-view": "^0.0.78",
"react-native-tab-view": "^1.0.0",
"react-navigation": "^2.0.0-rc.8"
},
"devDependencies": {
Expand All @@ -27,8 +27,9 @@
},
"main": "App.js",
"resolutions": {
"**/react-lifecycles-compat": "3.0.4",
"**/hoist-non-react-statics": "2.5.0",
"**/react-native-tab-view": "0.0.78"
"**/prop-types": "15.6.1",
"**/react-lifecycles-compat": "3.0.4",
"**/react-native-tab-view": "1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/bottom-tabs/example/rn-cli.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const path = require('path');
const glob = require('glob-to-regexp');
const blacklist = require('metro-bundler/src/blacklist');
const blacklist = require('metro/src/blacklist');
const pak = require('../package.json');

const dependencies = Object.keys(pak.dependencies);
Expand Down
Loading

0 comments on commit d03afc2

Please sign in to comment.