Skip to content

Commit d7d2b36

Browse files
committed
Update example to Expo 45
1 parent 9957cf5 commit d7d2b36

File tree

8 files changed

+3337
-3661
lines changed

8 files changed

+3337
-3661
lines changed

example/.eslintrc.js

-14
This file was deleted.

example/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules/
22
.expo/
3+
dist/
34
npm-debug.*
45
*.jks
56
*.p8

example/.npmrc

-1
This file was deleted.

example/.prettierrc.js

-6
This file was deleted.

example/app.json

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"version": "1.0.0",
66
"orientation": "portrait",
77
"icon": "./assets/icon.png",
8+
"userInterfaceStyle": "light",
89
"splash": {
910
"image": "./assets/splash.png",
1011
"resizeMode": "contain",

example/assets/splash.png

-1.11 KB
Loading

example/package.json

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"name": "style-queries-example",
3+
"version": "1.0.0",
24
"main": "node_modules/expo/AppEntry.js",
35
"scripts": {
46
"start": "expo start",
@@ -8,19 +10,16 @@
810
"eject": "expo eject"
911
},
1012
"dependencies": {
11-
"expo": "~42.0.1",
12-
"expo-status-bar": "~1.0.4",
13-
"react": "16.13.1",
14-
"react-dom": "16.13.1",
15-
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
13+
"expo": "~45.0.0",
14+
"expo-status-bar": "~1.3.0",
15+
"react": "17.0.2",
16+
"react-dom": "17.0.2",
17+
"react-native": "0.68.2",
1618
"react-native-style-queries": "^0.1.0",
17-
"react-native-web": "~0.13.12"
19+
"react-native-web": "0.17.7"
1820
},
1921
"devDependencies": {
20-
"@babel/core": "^7.9.0",
21-
"@react-native-community/eslint-config": "^3.0.1",
22-
"eslint": "^7.32.0",
23-
"eslint-plugin-import": "^2.24.2"
22+
"@babel/core": "^7.12.9"
2423
},
2524
"private": true
2625
}

example/yarn.lock

+3,326-3,630
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)