Skip to content

Commit

Permalink
refactor: upgrade to Expo SDK 52 stable
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Nov 11, 2024
1 parent cbb26d3 commit d2210a0
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 212 deletions.
2 changes: 1 addition & 1 deletion packages/snack-content/src/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { SDKVersion } from './types';
export const defaultSdkVersion: SDKVersion = '51.0.0';

// Mostly used for tests
export const oldestSdkVersion: SDKVersion = '49.0.0';
export const oldestSdkVersion: SDKVersion = '50.0.0';
export const newestSdkVersion: SDKVersion = '52.0.0';
2 changes: 1 addition & 1 deletion packages/snack-content/src/sdks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const sdks: { [version: string]: SDKSpec } = {
version: '^52.0.0',
coreModules: {
...assets,
expo: '~52.0.0',
expo: '~52.0.2',
react: '18.3.1',
'react-dom': '18.3.1',
'react-native': '0.76.1',
Expand Down
26 changes: 13 additions & 13 deletions packages/snack-sdk/src/__fixtures__/bundledNativeModules.json
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@
"@sentry/react-native": "~5.22.0"
},
"^52.0.0": {
"@expo/metro-runtime": "~4.0.0-preview.2",
"@expo/metro-runtime": "~4.0.0",
"@expo/vector-icons": "^14.0.2",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/datetimepicker": "8.2.0",
Expand All @@ -547,11 +547,11 @@
"expo-app-loader-provider": "~8.0.0",
"expo-apple-authentication": "~7.0.1",
"expo-application": "~6.0.1",
"expo-asset": "~11.0.0",
"expo-asset": "~11.0.1",
"expo-audio": "~0.2.3",
"expo-auth-session": "~6.0.0",
"expo-av": "~15.0.1",
"expo-background-fetch": "~13.0.1",
"expo-background-fetch": "~13.0.2",
"expo-battery": "~9.0.1",
"expo-blur": "~14.0.1",
"expo-brightness": "~13.0.2",
Expand All @@ -564,16 +564,16 @@
"expo-constants": "~17.0.2",
"expo-contacts": "~14.0.2",
"expo-crypto": "~14.0.1",
"expo-dev-client": "~5.0.0-preview.9",
"expo-dev-client": "~5.0.0",
"expo-device": "~7.0.1",
"expo-document-picker": "~13.0.1",
"expo-face-detector": "~13.0.1",
"expo-file-system": "~18.0.1",
"expo-file-system": "~18.0.2",
"expo-font": "~13.0.1",
"expo-gl": "~15.0.1",
"expo-google-app-auth": "~8.3.0",
"expo-haptics": "~14.0.0",
"expo-image": "~2.0.0-preview.1",
"expo-image": "~2.0.0",
"expo-image-loader": "~5.0.0",
"expo-image-manipulator": "~13.0.5",
"expo-image-picker": "~16.0.1",
Expand All @@ -587,21 +587,21 @@
"expo-location": "~18.0.1",
"expo-mail-composer": "~14.0.1",
"expo-media-library": "~17.0.2",
"expo-module-template": "~10.15.6",
"expo-modules-core": "~2.0.0-preview.10",
"expo-module-template": "~10.15.7",
"expo-modules-core": "~2.0.0",
"expo-navigation-bar": "~4.0.2",
"expo-network": "~7.0.0",
"expo-notifications": "~0.29.5",
"expo-notifications": "~0.29.6",
"expo-print": "~14.0.2",
"expo-router": "~4.0.0-preview.14",
"expo-router": "~4.0.2",
"expo-screen-capture": "~7.0.0",
"expo-screen-orientation": "~8.0.0",
"expo-secure-store": "~14.0.0",
"expo-sensors": "~14.0.1",
"expo-sharing": "~13.0.0",
"expo-sms": "~13.0.0",
"expo-speech": "~13.0.0",
"expo-splash-screen": "~0.29.4",
"expo-splash-screen": "~0.29.6",
"expo-sqlite": "~15.0.2",
"expo-status-bar": "~2.0.0",
"expo-store-review": "~8.0.0",
Expand All @@ -611,9 +611,9 @@
"expo-tracking-transparency": "~5.0.0",
"expo-updates": "~0.26.5",
"expo-video-thumbnails": "~9.0.0",
"expo-video": "~2.0.0-preview.2",
"expo-video": "~2.0.0",
"expo-web-browser": "~14.0.0",
"jest-expo": "~52.0.0-preview.4",
"jest-expo": "~52.0.0",
"lottie-react-native": "7.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
Expand Down
16 changes: 8 additions & 8 deletions runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@
"@babel/polyfill": "^7.8.3",
"@expo/vector-icons": "^14.0.3",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-navigation/drawer": "^6.6.2",
"@react-navigation/native": "^6.1.6",
"@react-navigation/drawer": "^7.0.0",
"@react-navigation/native": "^7.0.0",
"assert": "^2.1.0",
"await-lock": "^2.2.2",
"canvaskit-wasm": "0.38.0",
"diff": "^5.0.0",
"escape-string-regexp": "^5.0.0",
"expo": "52.0.0-preview.23",
"expo-asset": "~11.0.0",
"expo": "~52.0.2",
"expo-asset": "~11.0.1",
"expo-camera": "~16.0.3",
"expo-constants": "~17.0.2",
"expo-crypto": "~14.0.1",
"expo-file-system": "~18.0.1",
"expo-file-system": "~18.0.2",
"expo-font": "~13.0.1",
"expo-keep-awake": "~14.0.1",
"expo-linking": "~7.0.2",
"expo-router": "~4.0.0-preview.8",
"expo-splash-screen": "~0.29.4",
"expo-router": "~4.0.2",
"expo-splash-screen": "~0.29.6",
"expo-status-bar": "~2.0.0",
"expo-updates": "~0.26.5",
"path": "^0.12.7",
Expand All @@ -52,7 +52,7 @@
"react-native-pager-view": "6.4.1",
"react-native-reanimated": "~3.16.1",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "4.0.0-beta.16",
"react-native-screens": "^4.0.0",
"react-native-view-shot": "~4.0.0",
"react-native-web": "~0.19.13",
"snack-babel-standalone": "file:../packages/snack-babel-standalone",
Expand Down
Loading

0 comments on commit d2210a0

Please sign in to comment.