Skip to content

Commit

Permalink
chore: expo sdk 51
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit-tailor committed Jun 25, 2024
1 parent 7cafcaa commit fd4d8f0
Show file tree
Hide file tree
Showing 5 changed files with 1,255 additions and 121 deletions.
3 changes: 2 additions & 1 deletion apps/expo-router-example/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"favicon": "./assets/images/favicon.png"
},
"plugins": [
"expo-router"
"expo-router",
"expo-font"
],
"experiments": {
"typedRoutes": true
Expand Down
2 changes: 1 addition & 1 deletion apps/expo-router-example/app/(tabs)/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useNavigation } from "expo-router";
import Image from "@unitools/image";
import { Image as ExpoImage } from "expo-image";
import type { ImageProps } from "expo-image";
import useRouter from "@unitools/router";
import { useRouter } from "@unitools/router";
import Button from "@/components/button/button";

export default function TabOneScreen() {
Expand Down
2 changes: 1 addition & 1 deletion apps/expo-router-example/app/(tabs)/two.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Pressable, StyleSheet } from "react-native";

import EditScreenInfo from "@/components/EditScreenInfo";
import { Text, View } from "@/components/Themed";
import useRouter from "@unitools/router";
import { useRouter } from "@unitools/router";

export default function TabTwoScreen() {
const router = useRouter();
Expand Down
28 changes: 14 additions & 14 deletions apps/expo-router-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,28 @@
"dependencies": {
"@expo/vector-icons": "^14.0.0",
"@react-navigation/native": "^6.0.2",
"expo": "~50.0.14",
"expo-font": "~11.10.3",
"expo-linking": "~6.2.2",
"expo-router": "~3.4.8",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"expo-system-ui": "~2.9.3",
"expo-web-browser": "~12.8.2",
"expo": "51",
"expo-font": "~12.0.7",
"expo-linking": "~6.3.1",
"expo-router": "~3.5.16",
"expo-splash-screen": "~0.27.5",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.6",
"expo-web-browser": "~13.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.73.6",
"react-native-safe-area-context": "4.8.2",
"react-native-screens": "~3.29.0",
"react-native": "0.74.2",
"react-native-safe-area-context": "4.10.1",
"react-native-screens": "3.31.1",
"react-native-web": "~0.19.6"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/react": "~18.2.45",
"@types/react": "~18.2.79",
"jest": "^29.2.1",
"jest-expo": "~50.0.4",
"jest-expo": "~51.0.1",
"react-test-renderer": "18.2.0",
"typescript": "^5.1.3"
"typescript": "~5.3.3"
},
"private": true
}
Loading

0 comments on commit fd4d8f0

Please sign in to comment.