Skip to content

Commit d3930a6

Browse files
author
Matthieu Napoli
committed
Upgrade to React Native 0.57
1 parent ce6ccd8 commit d3930a6

File tree

5 files changed

+1251
-1367
lines changed

5 files changed

+1251
-1367
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": ["react-native"]
2+
"presets": ["module:metro-react-native-babel-preset"]
33
}

android/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ def enableSeparateBuildPerCPUArchitecture = false
9494
def enableProguardInReleaseBuilds = false
9595

9696
android {
97-
compileSdkVersion 23
98-
buildToolsVersion "23.0.1"
97+
compileSdkVersion 26
98+
buildToolsVersion "26.0.1"
9999

100100
defaultConfig {
101101
applicationId "com.boilerplate"
@@ -138,7 +138,7 @@ android {
138138

139139
dependencies {
140140
compile fileTree(dir: "libs", include: ["*.jar"])
141-
compile "com.android.support:appcompat-v7:23.0.1"
141+
compile "com.android.support:appcompat-v7:26.0.1"
142142
compile "com.facebook.react:react-native:+" // From node_modules
143143
}
144144

android/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ allprojects {
1616
repositories {
1717
mavenLocal()
1818
jcenter()
19+
maven {
20+
url 'https://maven.google.com'
21+
}
1922
maven {
2023
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
2124
url "$rootDir/../node_modules/react-native/android"

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"apisauce": "^0.15.2",
1616
"immutable": "^3.8.2",
1717
"prop-types": "^15.6.1",
18-
"react": "16.3.1",
19-
"react-native": "0.55.4",
18+
"react": "16.5.0",
19+
"react-native": "0.57.1",
2020
"react-navigation": "^2.12.1",
2121
"react-redux": "^5.0.7",
2222
"redux": "^3.7.2",
@@ -26,8 +26,9 @@
2626
"reduxsauce": "^0.7.0"
2727
},
2828
"devDependencies": {
29+
"babel-core": "7.0.0-bridge.0",
2930
"babel-jest": "23.2.0",
30-
"babel-preset-react-native": "4.0.0",
31+
"metro-react-native-babel-preset": "^0.45.0",
3132
"eslint": "^4.19.1",
3233
"eslint-config-prettier": "^2.9.0",
3334
"eslint-config-standard": "^11.0.0",

0 commit comments

Comments
 (0)