Skip to content

Commit

Permalink
upgrade to expo 52
Browse files Browse the repository at this point in the history
  • Loading branch information
sieu-db committed Dec 4, 2024
1 parent 42e9508 commit 413472e
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 51 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- master
- 51
- 52
pull_request:
types: [assigned, opened, synchronize, reopened]

Expand Down Expand Up @@ -64,8 +64,8 @@ jobs:
--yes \
--no-verify-access
- name: Release packages (51)
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/51'
- name: Release packages (52)
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/52'
env:
NODE_AUTH_TOKEN: ${{ secrets.JIGSAW_AUTH_TOKEN }}
run: |
Expand All @@ -81,12 +81,12 @@ jobs:
# This hits Snack twice because it commonly times out the first time
export newversion=$(npm view @draftbit/ui dist-tags.next);
sleep 10
curl "https://snackager.expo.io/bundle/@draftbit/ui@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/ui@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/core@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/core@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/maps@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/maps@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/ui@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/ui@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/core@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/core@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/maps@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/maps@"$newversion"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
working-directory: packages/ui

- name: Release to Snack
Expand All @@ -96,12 +96,12 @@ jobs:
# This hits Snack twice because it commonly times out the first time
export version=$(jq -r .version package.json);
sleep 10
curl "https://snackager.expo.io/bundle/@draftbit/ui@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/ui@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/core@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/core@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/maps@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/maps@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=51.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/ui@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/ui@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/core@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/core@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/maps@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
curl "https://snackager.expo.io/bundle/@draftbit/maps@"$version"?version_snackager=true&platforms=ios,android,web&bypassCache=true&sdkVersion=52.0.0";
working-directory: packages/ui

- name: Add comment to pull request
Expand Down
32 changes: 16 additions & 16 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,30 @@
"@draftbit/maps": "51.0.0",
"@draftbit/ui": "51.0.0",
"@expo/dev-server": "0.1.123",
"@expo/metro-runtime": "~3.2.3",
"@expo/metro-runtime": "~4.0.0",
"@react-navigation/drawer": "^6.6.3",
"@react-navigation/native": "^6.1.7",
"@shopify/flash-list": "1.6.4",
"expo": "^51.0.0",
"expo-asset": "~10.0.10",
"expo-constants": "~16.0.2",
"expo-font": "~12.0.10",
"expo-splash-screen": "~0.27.7",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.74.5",
"react-native-gesture-handler": "~2.16.1",
"@shopify/flash-list": "1.7.1",
"expo": "^52.0.0",
"expo-asset": "~11.0.1",
"expo-constants": "~17.0.3",
"expo-font": "~13.0.1",
"expo-splash-screen": "~0.29.13",
"expo-status-bar": "~2.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native": "0.76.3",
"react-native-gesture-handler": "~2.20.2",
"react-native-get-random-values": "~1.11.0",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.5",
"react-native-screens": "3.31.1",
"react-native-reanimated": "~3.16.1",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "~4.1.0",
"react-native-web": "~0.19.10",
"uuid": "^9.0.1"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@types/react": "~18.2.45",
"@types/react": "~18.3.12",
"@types/react-native": "~0.70.6",
"babel-loader": "8.1.0",
"sharp-cli": "2.1.0"
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "51.0.0",
"version": "52.0.0",
"npmClient": "yarn",
"packages": ["packages/*", "example"],
"command": {
Expand Down
20 changes: 10 additions & 10 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,36 +49,36 @@
"@lottiefiles/react-lottie-player": "3.5.3",
"@mui/material": "^6.1.9",
"@mui/x-date-pickers": "^7.22.3",
"@react-native-community/slider": "4.5.2",
"@react-native-picker/picker": "2.7.5",
"@shopify/flash-list": "1.6.4",
"@react-native-community/slider": "4.5.5",
"@react-native-picker/picker": "2.9.0",
"@shopify/flash-list": "1.7.1",
"color": "^4.2.3",
"date-fns": "^4.1.0",
"dateformat": "^5.0.3",
"expo-av": "~14.0.7",
"expo-av": "~15.0.1",
"lodash.isequal": "^4.5.0",
"lodash.isnumber": "^3.0.3",
"lodash.omit": "^4.5.0",
"lodash.tonumber": "^4.0.3",
"lottie-react-native": "6.7.0",
"lottie-react-native": "7.1.0",
"react-native-animated-spinkit": "1.5.2",
"react-native-confirmation-code-field": "^7.4.0",
"react-native-date-picker": "^5.0.7",
"react-native-deck-swiper": "^2.0.17",
"react-native-dropdown-picker": "^5.4.7-beta.1",
"react-native-gesture-handler": "~2.16.1",
"react-native-gesture-handler": "~2.20.2",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-markdown-display": "^7.0.2",
"react-native-modal-datetime-picker": "^18.0.0",
"react-native-pager-view": "6.3.0",
"react-native-reanimated": "~3.10.1",
"react-native-pager-view": "6.5.1",
"react-native-reanimated": "~3.16.1",
"react-native-select-dropdown": "4.0.1",
"react-native-shadow-2": "^7.1.1",
"react-native-svg": "15.2.0",
"react-native-svg": "15.8.0",
"react-native-swipe-list-view": "^3.2.9",
"react-native-tab-view": "^3.4.0",
"react-native-web-swiper": "^2.2.4",
"react-native-webview": "13.8.6",
"react-native-webview": "13.12.2",
"react-native-youtube-iframe": "^2.3.0",
"react-youtube": "^10.1.0",
"uuid": "^11.0.3"
Expand Down
4 changes: 2 additions & 2 deletions packages/maps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"@teovilla/react-native-web-maps": "^0.9.5",
"color": "^4.2.3",
"lodash.isequal": "^4.5.0",
"react-native-maps": "1.14.0",
"react-native-webview": "13.8.6"
"react-native-maps": "1.18.0",
"react-native-webview": "13.12.2"
},
"jest": {
"preset": "jest-expo",
Expand Down
12 changes: 6 additions & 6 deletions packages/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
"dependencies": {
"@draftbit/theme": "51.0.0",
"@expo/vector-icons": "^14.0.3",
"@react-native-community/datetimepicker": "8.0.1",
"@react-native-community/slider": "4.5.2",
"expo-camera": "~15.0.16",
"expo-linear-gradient": "~13.0.2",
"react-native-svg": "15.2.0",
"react-native-webview": "13.8.6"
"@react-native-community/datetimepicker": "8.2.0",
"@react-native-community/slider": "4.5.5",
"expo-camera": "~16.0.8",
"expo-linear-gradient": "~14.0.1",
"react-native-svg": "15.8.0",
"react-native-webview": "13.12.2"
},
"devDependencies": {},
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@draftbit/core": "51.0.0",
"@draftbit/native": "51.0.0",
"@draftbit/theme": "51.0.0",
"react-native-reanimated": "~3.10.1"
"react-native-reanimated": "~3.16.1"
},
"devDependencies": {},
"jest": {
Expand Down

0 comments on commit 413472e

Please sign in to comment.