Skip to content

Commit 371b673

Browse files
authored
[website] update Expo SDK and other dependencies (#249)
1 parent ef0f0e7 commit 371b673

File tree

5 files changed

+4188
-6614
lines changed

5 files changed

+4188
-6614
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ npm-debug.log
22
node_modules/**/*
33
yarn-error.log
44
.DS_Store
5-
6-
.now
5+
.idea
6+
.now

website/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ build/**/*
66
web-build
77
build
88

9-
.now
9+
.now

website/App.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from "react";
22
import { NavigationContainer } from "@react-navigation/native";
33
import { createStackNavigator } from "@react-navigation/stack";
44
import { Dimensions, StatusBar, View } from "react-native";
5-
import { version } from "@expo/vector-icons/package.json";
5+
import packageJson from "@expo/vector-icons/package.json";
66
import {
77
AntDesign,
88
Octicons,
@@ -16,7 +16,6 @@ import {
1616
MaterialIcons,
1717
MaterialCommunityIcons,
1818
SimpleLineIcons,
19-
Ocitcons,
2019
Zocial,
2120
Fontisto,
2221
} from "@expo/vector-icons";
@@ -46,16 +45,12 @@ const ShowHeader = IsPwa || !IsSmallScreen;
4645

4746
const linking = {
4847
config: {
49-
Index: {
50-
initialRouteName: "List",
51-
path: "/",
5248
screens: {
5349
List: "/",
5450
Help: "help",
5551
Details: {
5652
path: ":family/:name",
5753
},
58-
},
5954
},
6055
},
6156
};
@@ -78,7 +73,7 @@ function Browsing() {
7873
name="List"
7974
component={List}
8075
options={{
81-
title: `@expo/vector-icons@${version}`,
76+
title: `@expo/vector-icons@${packageJson.version}`,
8277
}}
8378
/>
8479
<BrowsingStack.Screen name="Details" component={Detail} />

website/package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@
22
"main": "node_modules/expo/AppEntry.js",
33
"scripts": {
44
"start": "expo start --web",
5-
"build": "expo build:web"
5+
"build": "expo export:web"
66
},
77
"dependencies": {
88
"@expo/vector-icons": "13.0.0",
9-
"@react-native-community/masked-view": "0.1.10",
10-
"@react-navigation/native": "^5.2.4",
11-
"@react-navigation/stack": "^5.2.19",
12-
"expo": "^44.0.0",
9+
"@expo/webpack-config": "^18.1.0",
10+
"@react-native-community/masked-view": "^0.1.11",
11+
"@react-navigation/native": "^6.1.7",
12+
"@react-navigation/stack": "^6.3.17",
13+
"expo": "^49.0.3",
1314
"hotshot": "^1.0.5",
14-
"react": "17.0.1",
15-
"react-dom": "17.0.1",
16-
"react-native": "0.64.3",
15+
"react": "18.2.0",
16+
"react-dom": "18.2.0",
17+
"react-native": "0.72.3",
1718
"react-native-animatable": "^1.3.3",
18-
"react-native-gesture-handler": "~2.1.0",
19-
"react-native-reanimated": "~2.3.1",
20-
"react-native-safe-area-context": "3.3.2",
21-
"react-native-screens": "~3.10.1",
22-
"react-native-web": "0.17.1",
23-
"react-responsive": "^8.0.3",
24-
"use-debounce": "^3.4.1"
19+
"react-native-gesture-handler": "^2.12.0",
20+
"react-native-reanimated": "^3.3.0",
21+
"react-native-safe-area-context": "^4.6.3",
22+
"react-native-screens": "^3.10.1",
23+
"react-native-web": "^0.19.6",
24+
"react-responsive": "^9.0.2",
25+
"use-debounce": "^3.4.3"
2526
},
2627
"devDependencies": {
27-
"@babel/core": "^7.12.9",
28-
"babel-preset-expo": "9.0.2",
29-
"expo-cli": "~5.3.2"
28+
"@babel/core": "^7.22.5",
29+
"babel-preset-expo": "^9.5.0"
3030
},
3131
"private": true
3232
}

0 commit comments

Comments
 (0)