Skip to content

Commit

Permalink
refactor(apps/mobile): upgrade to Expo SDK 51 (#121)
Browse files Browse the repository at this point in the history
* refactor(apps/mobile): upgrade to SDK 51

* fix: use a single `react-native` version in the monorepo
  • Loading branch information
byCedric authored Jul 3, 2024
1 parent d47d9f3 commit 5fcb286
Show file tree
Hide file tree
Showing 5 changed files with 841 additions and 368 deletions.
1 change: 1 addition & 0 deletions apps/mobile/metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const workspaceRoot = path.resolve(projectRoot, '../..');

const config = getDefaultConfig(projectRoot);

// Since we are using pnpm, we have to setup the monorepo manually for Metro
// #1 - Watch all files in the monorepo
config.watchFolders = [workspaceRoot];
// #2 - Try resolving with project modules first, then workspace modules
Expand Down
10 changes: 5 additions & 5 deletions apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
"dependencies": {
"@acme/feature-home": "workspace:*",
"@expo/metro-runtime": "^3.2.1",
"expo": "^51.0.1",
"expo-dev-client": "~4.0.12",
"expo": "^51.0.17",
"expo-dev-client": "~4.0.19",
"expo-status-bar": "~1.12.1",
"expo-updates": "~0.25.10",
"expo-updates": "~0.25.18",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.74.1",
"react-native": "0.74.2",
"react-native-web": "~0.19.11"
},
"devDependencies": {
"@acme/eslint-config": "workspace:*",
"@babel/core": "^7.24.5",
"@types/react": "~18.2.79",
"@types/react-dom": "~18.2.25",
"babel-preset-expo": "~11.0.5"
"babel-preset-expo": "~11.0.11"
},
"eslintConfig": {
"extends": "@acme/eslint-config",
Expand Down
2 changes: 1 addition & 1 deletion packages/feature-home/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"jest": "^29.7.0",
"jest-expo": "^51.0.1",
"react": "18.2.0",
"react-native": "0.74.1",
"react-native": "0.74.2",
"react-test-renderer": "18.2.0",
"tsup": "^6.5.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"jest": "^29.7.0",
"jest-expo": "^51.0.1",
"react": "18.2.0",
"react-native": "0.74.1",
"react-native": "0.74.2",
"react-test-renderer": "18.2.0",
"tsup": "^6.5.0"
},
Expand Down
Loading

0 comments on commit 5fcb286

Please sign in to comment.