Skip to content

Commit 874de7e

Browse files
authored
Upgrade Expo Demo SDK (#2306)
* Upgrade Expo Demo SDK * Bump unicorn-demo-app version * Upgrade to Expo SDK 46
1 parent 9ff8df4 commit 874de7e

File tree

4 files changed

+25
-22
lines changed

4 files changed

+25
-22
lines changed

demo/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unicorn-demo-app",
3-
"version": "1.1.14",
3+
"version": "1.1.16",
44
"main": "src/index.js",
55
"author": "Ethan Sharabi <[email protected]>",
66
"license": "MIT",
@@ -20,8 +20,8 @@
2020
"shell-utils": "^1.0.10"
2121
},
2222
"peerDependencies": {
23-
"react": "^16.0.0",
24-
"react-native": "^0.51.0",
23+
"react": "^18.0.0",
24+
"react-native": "^0.69.1",
2525
"react-native-ui-lib": "*",
2626
"semver": "^5.5.0"
2727
}

expoDemo/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'react-native-gesture-handler';
12
import React from 'react';
23
import {AppRegistry} from 'react-native';
34
import {map} from 'lodash';

expoDemo/babel.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
module.exports = function(api) {
1+
module.exports = function (api) {
22
api.cache(true);
33
return {
44
presets: ['babel-preset-expo'],
5+
plugins: ['react-native-reanimated/plugin']
56
};
67
};

expoDemo/package.json

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,30 @@
88
"eject": "expo eject"
99
},
1010
"dependencies": {
11-
"@react-navigation/native": "^6.0.4",
12-
"@react-navigation/stack": "^6.0.9",
13-
"expo": "~42.0.1",
14-
"expo-status-bar": "~1.0.4",
11+
"@react-native/normalize-color": "^2.0.0",
12+
"@react-navigation/native": "^6.0.13",
13+
"@react-navigation/stack": "^6.0.13",
14+
"expo": "^46.0.0",
15+
"expo-status-bar": "~1.4.0",
1516
"fuzzysearch": "^1.0.3",
1617
"lodash": "^4.17.21",
17-
"react": "16.13.1",
18-
"react-dom": "16.13.1",
19-
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
20-
"react-native-gesture-handler": "~1.10.2",
21-
"react-native-reanimated": "~2.2.0",
22-
"react-native-safe-area-context": "3.2.0",
23-
"react-native-screens": "~3.4.0",
24-
"react-native-svg": "12.1.1",
18+
"react": "18.0.0",
19+
"react-dom": "18.0.0",
20+
"react-native": "0.69.6",
21+
"react-native-gesture-handler": "~2.5.0",
22+
"react-native-reanimated": "~2.9.1",
23+
"react-native-safe-area-context": "4.3.1",
24+
"react-native-screens": "~3.15.0",
25+
"react-native-svg": "12.3.0",
2526
"react-native-ui-lib": "snapshot",
26-
"react-native-web": "~0.13.12",
27+
"react-native-web": "~0.18.7",
2728
"unicorn-demo-app": "snapshot"
28-
},
29+
},
2930
"devDependencies": {
30-
"@babel/core": "^7.9.0",
31-
"@types/react": "~16.9.35",
32-
"@types/react-native": "~0.63.2",
33-
"typescript": "~4.0.0"
31+
"@babel/core": "^7.18.6",
32+
"@types/react": "~18.0.0",
33+
"@types/react-native": "~0.69.1",
34+
"typescript": "^4.6.3"
3435
},
3536
"private": true
3637
}

0 commit comments

Comments
 (0)