Skip to content

Commit 1c8eb10

Browse files
authored
chore: update metro and merge deps (#124)
### Summary We have a security alert around `merge` so I bumped that, also upgraded to latest metro preset version (it's still Node 8 compatible), updated RN to 0.58.6 Removed the version check for Flow as we always use local version anyway. ### Test plan Check build directory
1 parent b512329 commit 1c8eb10

File tree

3 files changed

+78
-479
lines changed

3 files changed

+78
-479
lines changed

.flowconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,3 @@ include_warnings=true
7575
.*/Libraries/StyleSheet/StyleSheetValidation.js
7676
.*/Libraries/Text/TextAncestor.js
7777
.*/Libraries/YellowBox/UI/YellowBoxList.js
78-
79-
[version]
80-
^0.93.0

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"flow-bin": "^0.94.0",
2424
"flow-copy-source": "^2.0.2",
2525
"jest": "^24.1.0",
26-
"metro-react-native-babel-preset": "^0.49.1",
26+
"metro-react-native-babel-preset": "^0.52.0",
2727
"react": "^16.8.3",
28-
"react-native": "^0.58.3",
28+
"react-native": "^0.58.6",
2929
"react-test-renderer": "^16.8.3",
3030
"release-it": "^10.0.0",
3131
"strip-ansi": "^5.0.0",
@@ -40,13 +40,13 @@
4040
},
4141
"scripts": {
4242
"test": "jest",
43-
"flow-check": "flow check --ignore-version",
43+
"flow-check": "flow check",
4444
"typescript-check": "tsc --noEmit --skipLibCheck --jsx react ./typings/__tests__/*",
4545
"lint": "eslint src --cache",
4646
"release": "release-it",
4747
"prepublish": "yarn build && yarn copy-flowtypes",
4848
"copy-flowtypes": "flow-copy-source --ignore __tests__/*.js src build",
49-
"build": "rm -rf build; babel src --out-dir build --presets=module:metro-react-native-babel-preset --ignore 'src/__tests__/*'"
49+
"build": "rm -rf build; babel src --out-dir build --ignore 'src/__tests__/*'"
5050
},
5151
"jest": {
5252
"preset": "react-native",

0 commit comments

Comments
 (0)