Migrera mobilappen fran Expo SDK 57 till SDK 54

This commit is contained in:
Sven (AAMOS AI)
2026-08-06 19:54:28 +07:00
parent e5a9d72197
commit a837283a2e
5 changed files with 2643 additions and 1143 deletions
+1
View File
@@ -30,6 +30,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
plugins: [
"expo-router",
"expo-secure-store",
"expo-localization",
[
"expo-splash-screen",
{ backgroundColor: "#0F2417", image: "./assets/images/splash-icon.png", imageWidth: 96 },
+3 -1
View File
@@ -7,7 +7,9 @@ const workspaceRoot = path.resolve(projectRoot, "../..");
const config = getDefaultConfig(projectRoot);
config.watchFolders = [workspaceRoot];
// Preserve Expo's default watch folders (project root) and add the workspace
// root so that pnpm hoisted workspace packages are resolved (SDK 54 doctor).
config.watchFolders = [...(config.watchFolders ?? []), workspaceRoot];
config.resolver.nodeModulesPaths = [
path.resolve(projectRoot, "node_modules"),
path.resolve(workspaceRoot, "node_modules"),
+26 -23
View File
@@ -13,36 +13,39 @@
"dependencies": {
"@app/analytics": "workspace:*",
"@app/shared-types": "workspace:*",
"@react-native-async-storage/async-storage": "^3.1.1",
"@expo/metro-runtime": "^6.1.2",
"@react-native-async-storage/async-storage": "^2.2.0",
"@tanstack/query-async-storage-persister": "^5.90.0",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-persist-client": "^5.90.0",
"expo": "~57.0.9",
"expo-camera": "~57.0.3",
"expo-constants": "~57.0.8",
"expo-haptics": "~57.0.1",
"expo-image": "~57.0.1",
"expo-image-picker": "~57.0.7",
"expo-keep-awake": "~57.0.1",
"expo-linking": "~57.0.4",
"expo-localization": "^57.0.1",
"expo-router": "~57.0.9",
"expo-secure-store": "~57.0.1",
"expo-splash-screen": "~57.0.5",
"expo-status-bar": "~57.0.1",
"expo-system-ui": "~57.0.2",
"expo": "~54.0.36",
"expo-camera": "~17.0.10",
"expo-constants": "~18.0.13",
"expo-haptics": "~15.0.8",
"expo-image": "~3.0.11",
"expo-image-picker": "~17.0.11",
"expo-keep-awake": "~15.0.8",
"expo-linking": "~8.0.12",
"expo-localization": "^17.0.9",
"expo-router": "~6.0.24",
"expo-secure-store": "~15.0.8",
"expo-splash-screen": "~31.0.13",
"expo-status-bar": "~3.0.9",
"expo-system-ui": "~6.0.9",
"i18next": "^26.3.6",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-native": "0.86.2",
"react-native-gesture-handler": "~2.32.0",
"react-native-reanimated": "4.5.1",
"react-native-safe-area-context": "~5.7.0",
"react-native-screens": "~4.26.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-native": "0.81.5",
"react-native-gesture-handler": "~2.28.0",
"react-native-reanimated": "4.1.7",
"react-native-safe-area-context": "~5.6.2",
"react-native-screens": "~4.16.0",
"react-native-worklets": "~0.5.1",
"zustand": "^5.0.0"
},
"devDependencies": {
"@types/react": "~19.2.2",
"@expo/ngrok": "^4.1.3",
"@types/react": "~19.1.17",
"typescript": "~5.9.3"
},
"expo": {
+10 -3
View File
@@ -4,9 +4,16 @@
"strict": true,
"noUncheckedIndexedAccess": true,
"paths": {
"@/*": ["./src/*"]
"@/*": [
"./src/*"
]
}
},
"include": ["**/*.ts", "**/*.tsx", ".expo/types/**/*.ts", "expo-env.d.ts"],
"exclude": ["node_modules"]
"include": [
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules"
]
}