Skip to content

Commit

Permalink
Upgrade to Expo SDK 51 (#234)
Browse files Browse the repository at this point in the history
* update versions

* Update generate-plugin.ts

* Update yarn.lock

* ffmpeg running

* Update build.gradle

* fix android webrtc

* Update yarn.lock

* working detox tests
EvanBacon authored May 8, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
adoublef Kristopher
1 parent bc6856f commit 4eb10b7
Showing 50 changed files with 1,471 additions and 1,406 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions apps/app/package.json
Original file line number Diff line number Diff line change
@@ -25,26 +25,26 @@
"@config-plugins/detox": "*",
"@config-plugins/react-native-adjust": "*",
"@config-plugins/react-native-callkeep": "*",
"detox": "^20.17.0",
"expo": "~50.0.5",
"expo-localization": "~14.8.3",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"detox": "^20.20.3",
"expo": "~51",
"expo-localization": "~15.0.3",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"fbjs": "^0.8.18",
"i18n-js": "^3.8.0",
"luxon": "^1.27.0",
"react": "18.2.0",
"react-native": "0.73.3",
"react-native-adjust": "~4.37.1",
"react-native-callkeep": "~4.3.12",
"react-native-safe-area-context": "4.8.2"
"react-native": "0.74.1",
"react-native-adjust": "^4.38.1",
"react-native-callkeep": "^4.3.13",
"react-native-safe-area-context": "4.10.1"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/core": "^7.24.0",
"@babel/plugin-syntax-jsx": "^7.16.0",
"@types/jest": "^29.4.0",
"@types/luxon": "^1.27.1",
"@types/react": "~18.2.45",
"@types/react": "~18.2.79",
"babel-jest": "^29.5.0",
"jest": "^29.2.1",
"jest-circus": "^29.5.0",
14 changes: 7 additions & 7 deletions apps/apple-settings/package.json
Original file line number Diff line number Diff line change
@@ -9,16 +9,16 @@
},
"dependencies": {
"@config-plugins/ios-stickers": "*",
"@react-native-community/slider": "~4.5.0",
"@react-native-picker/picker": "~2.6.1",
"expo": "~50.0.5",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"@react-native-community/slider": "4.5.2",
"@react-native-picker/picker": "2.7.5",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.73.3"
"react-native": "0.74.1"
},
"devDependencies": {
"@babel/core": "^7.20.0"
"@babel/core": "^7.24.0"
},
"private": true
}
10 changes: 5 additions & 5 deletions apps/ffmpeg-kit-react-native/package.json
Original file line number Diff line number Diff line change
@@ -9,15 +9,15 @@
},
"dependencies": {
"@config-plugins/ffmpeg-kit-react-native": "*",
"expo": "~50.0.5",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"ffmpeg-kit-react-native": "^6.0.2",
"react": "18.2.0",
"react-native": "0.73.3"
"react-native": "0.74.1"
},
"devDependencies": {
"@babel/core": "^7.20.0"
"@babel/core": "^7.24.0"
},
"private": true
}
2 changes: 1 addition & 1 deletion apps/ffmpeg-kit-react-native/src/App.tsx
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ import { useMediaInfo, useResolvedValue } from "./useMediaInfo";

export default function App() {
const session = useMediaInfo(
"http://techslides.com/demos/sample-videos/small.mp4"
"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4"
);

if (!session) {
10 changes: 5 additions & 5 deletions apps/ios-stickers/package.json
Original file line number Diff line number Diff line change
@@ -10,14 +10,14 @@
},
"dependencies": {
"@config-plugins/ios-stickers": "*",
"expo": "~50.0.5",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.73.3"
"react-native": "0.74.1"
},
"devDependencies": {
"@babel/core": "^7.20.0"
"@babel/core": "^7.24.0"
},
"private": true
}
12 changes: 6 additions & 6 deletions apps/react-native-branch/package.json
Original file line number Diff line number Diff line change
@@ -9,15 +9,15 @@
},
"dependencies": {
"@config-plugins/react-native-branch": "*",
"expo": "~50.0.5",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.73.3",
"react-native-branch": "^6.0.0"
"react-native": "0.74.1",
"react-native-branch": "^6.2.1"
},
"devDependencies": {
"@babel/core": "^7.20.0"
"@babel/core": "^7.24.0"
},
"private": true
}
10 changes: 5 additions & 5 deletions apps/react-native-dynamic-app-icon/package.json
Original file line number Diff line number Diff line change
@@ -9,15 +9,15 @@
},
"dependencies": {
"@config-plugins/react-native-dynamic-app-icon": "*",
"expo": "~50.0.5",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.73.3",
"react-native": "0.74.1",
"react-native-dynamic-app-icon": "^1.1.0"
},
"devDependencies": {
"@babel/core": "^7.20.0"
"@babel/core": "^7.24.0"
},
"private": true
}
12 changes: 6 additions & 6 deletions apps/react-native-google-cast/package.json
Original file line number Diff line number Diff line change
@@ -9,15 +9,15 @@
},
"dependencies": {
"@config-plugins/react-native-google-cast": "*",
"expo": "~50.0.5",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.73.3",
"react-native-google-cast": "^4.6.2"
"react-native": "0.74.1",
"react-native-google-cast": "^4.8.0"
},
"devDependencies": {
"@babel/core": "^7.20.0"
"@babel/core": "^7.24.0"
},
"private": true
}
14 changes: 7 additions & 7 deletions apps/react-native-pdf/package.json
Original file line number Diff line number Diff line change
@@ -10,16 +10,16 @@
"dependencies": {
"@config-plugins/react-native-blob-util": "*",
"@config-plugins/react-native-pdf": "*",
"expo": "~50.0.5",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.73.3",
"react-native-blob-util": "^0.19.6",
"react-native-pdf": "^6.7.4"
"react-native": "0.74.1",
"react-native-blob-util": "^0.19.9",
"react-native-pdf": "^6.7.5"
},
"devDependencies": {
"@babel/core": "^7.20.0"
"@babel/core": "^7.24.0"
},
"private": true
}
10 changes: 5 additions & 5 deletions apps/react-native-siri-shortcut/package.json
Original file line number Diff line number Diff line change
@@ -9,15 +9,15 @@
},
"dependencies": {
"@config-plugins/react-native-siri-shortcut": "*",
"expo": "~50.0.5",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.73.3",
"react-native": "0.74.1",
"react-native-siri-shortcut": "^3.2.4"
},
"devDependencies": {
"@babel/core": "^7.20.0"
"@babel/core": "^7.24.0"
},
"private": true
}
32 changes: 0 additions & 32 deletions apps/react-native-webrtc/metro.config.js

This file was deleted.

12 changes: 6 additions & 6 deletions apps/react-native-webrtc/package.json
Original file line number Diff line number Diff line change
@@ -9,15 +9,15 @@
},
"dependencies": {
"@config-plugins/react-native-webrtc": "*",
"expo": "~50.0.5",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.73.3",
"react-native-webrtc": "^118.0.1"
"react-native": "0.74.1",
"react-native-webrtc": "^118.0.7"
},
"devDependencies": {
"@babel/core": "^7.20.0"
"@babel/core": "^7.24.0"
},
"private": true
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -15,11 +15,11 @@
"packages/*"
],
"resolutions": {
"expo": "^50",
"expo": "^51",
"fs-extra": "^9.1.0"
},
"devDependencies": {
"@expo/package-manager": "^1.4.2",
"@expo/package-manager": "^1.5.2",
"@types/js-yaml": "^4.0.5",
"@types/prompts": "^2.0.13",
"eslint": "^8.10.0",
4 changes: 1 addition & 3 deletions packages/android-jsc-intl/README.md
Original file line number Diff line number Diff line change
@@ -18,9 +18,7 @@ After installing this npm package, add the [config plugin](https://docs.expo.io/

```json
{
"expo": {
"plugins": ["@config-plugins/android-jsc-intl"]
}
"plugins": ["@config-plugins/android-jsc-intl"]
}
```

6 changes: 3 additions & 3 deletions packages/android-jsc-intl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@config-plugins/android-jsc-intl",
"version": "7.0.0",
"version": "8.0.0",
"description": "Config plugin for android-jsc-intl package",
"main": "build/withAndroidJscIntl.js",
"types": "build/withAndroidJscIntl.d.ts",
@@ -27,9 +27,9 @@
"android-jsc-intl"
],
"peerDependencies": {
"expo": "^50"
"expo": "^51"
},
"devDependencies": {
"expo-module-scripts": "^3.4.1"
"expo-module-scripts": "^3.5.1"
}
}
1 change: 1 addition & 0 deletions packages/apple-settings/README.md
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ Ensure you use versions that work together!

| `expo` | `@config-plugins/apple-settings` |
| ------ | -------------------------------- |
| 51.0.0 | ^2.0.0 |
| 50.0.0 | ^1.0.0 |
| 49.0.0 | ^0.0.5 |

10 changes: 5 additions & 5 deletions packages/apple-settings/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@config-plugins/apple-settings",
"version": "1.0.0",
"version": "2.0.0",
"description": "Config plugin to generate custom Apple settings UI",
"license": "MIT",
"main": "build/index.js",
@@ -29,16 +29,16 @@
"expo"
],
"dependencies": {
"@bacons/xcode": "^1.0.0-alpha.6",
"@expo/plist": "^0.0.20",
"@bacons/xcode": "^1.0.0-alpha.12",
"@expo/plist": "^0.1.3",
"iconv-lite": "^0.6.3",
"schema-utils": "^4.2.0"
},
"peerDependencies": {
"expo": "^50"
"expo": "^51"
},
"devDependencies": {
"expo-module-scripts": "^3.4.1",
"expo-module-scripts": "^3.5.1",
"json-schema-to-typescript": "^13.0.2",
"memfs": "^3.4.4"
}
1 change: 1 addition & 0 deletions packages/detox/README.md
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ Ensure you use versions that work together!

| `expo` | `detox` | `@config-plugins/detox` |
| ------ | ------- | ----------------------- |
| 51.0.0 | 20.20.3 | ^8.0.0 |
| 50.0.0 | 20.17.0 | ^7.0.0 |
| 49.0.0 | 20.11.0 | ^6.0.0 |
| 48.0.0 | 20.5.0 | ^5.0.0 |
8 changes: 4 additions & 4 deletions packages/detox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@config-plugins/detox",
"version": "7.0.0",
"version": "8.0.0",
"description": "Config plugin to auto configure detox on prebuild",
"main": "build/withDetox.js",
"types": "build/withDetox.d.ts",
@@ -31,13 +31,13 @@
"e2e"
],
"peerDependencies": {
"expo": "^50"
"expo": "^51"
},
"dependencies": {
"expo-build-properties": "~0.11.0"
"expo-build-properties": "~0.12.1"
},
"devDependencies": {
"expo-module-scripts": "^3.4.0"
"expo-module-scripts": "^3.5.1"
},
"upstreamPackage": "detox"
}
Loading

0 comments on commit 4eb10b7

Please sign in to comment.