fix: resolve pnpm monorepo Metro bundling + add GitHub release workflow

- Add babel-preset-expo as explicit devDep (fixes "Cannot find module" crash)
- Configure metro.config.js with watchFolders for pnpm workspace root
- Bump expo devDep to ~54.0.34, remove duplicate deps/devDeps
- Add .github/workflows/release.yml: signed APK on git tag vX.Y.Z

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 08:57:35 +02:00
parent aaf6b2aa07
commit 7111162f14
4 changed files with 142 additions and 25 deletions
+9 -3
View File
@@ -7,10 +7,13 @@
"dev": "EXPO_PACKAGER_PROXY_URL=https://$REPLIT_EXPO_DEV_DOMAIN EXPO_PUBLIC_DOMAIN=$REPLIT_DEV_DOMAIN EXPO_PUBLIC_REPL_ID=$REPL_ID REACT_NATIVE_PACKAGER_HOSTNAME=$REPLIT_DEV_DOMAIN pnpm exec expo start --localhost --port $PORT",
"build": "node scripts/build.js",
"serve": "node server/serve.js",
"typecheck": "tsc -p tsconfig.json --noEmit"
"typecheck": "tsc -p tsconfig.json --noEmit",
"android": "expo run:android",
"ios": "expo run:ios"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"babel-preset-expo": "~54.0.10",
"@expo-google-fonts/inter": "^0.4.0",
"@expo/cli": "54.0.23",
"@expo/ngrok": "^4.1.0",
@@ -23,7 +26,7 @@
"@ungap/structured-clone": "^1.3.0",
"@workspace/api-client-react": "workspace:*",
"babel-plugin-react-compiler": "^19.0.0-beta-e993439-20250117",
"expo": "~54.0.27",
"expo": "~54.0.34",
"expo-blur": "~15.0.8",
"expo-constants": "~18.0.11",
"expo-font": "~14.0.10",
@@ -61,6 +64,9 @@
"expo-clipboard": "~8.0.8",
"expo-notifications": "~0.32.17",
"expo-secure-store": "~15.0.8",
"react-native-calendars": "^1.1314.0"
"react-native-calendars": "^1.1314.0",
"expo": "~54.0.34",
"react": "19.1.0",
"react-native": "0.81.5"
}
}