From ee9850b897c4900d486974560685c997b970f625 Mon Sep 17 00:00:00 2001 From: Rakesh Arunachalam Date: Fri, 26 Jun 2026 11:29:33 +0100 Subject: [PATCH] feat: upgrade to Expo SDK 56 --- templates/boilerplate/app.json | 19 +++++++++++++------ templates/boilerplate/package.json | 29 +++++++++++++++-------------- templates/boilerplate/tsconfig.json | 6 +++--- 3 files changed, 31 insertions(+), 23 deletions(-) diff --git a/templates/boilerplate/app.json b/templates/boilerplate/app.json index 63bc38c..0f9f22f 100644 --- a/templates/boilerplate/app.json +++ b/templates/boilerplate/app.json @@ -6,11 +6,6 @@ "orientation": "portrait", "icon": "./assets/icon.png", "userInterfaceStyle": "automatic", - "splash": { - "image": "./assets/splash.png", - "resizeMode": "contain", - "backgroundColor": "#ffffff" - }, "assetBundlePatterns": ["**/*"], "ios": { "supportsTablet": true @@ -24,6 +19,18 @@ "web": { "favicon": "./assets/favicon.png" }, - "plugins": ["expo-font"] + "plugins": [ + "expo-font", + "expo-asset", + "expo-status-bar", + [ + "expo-splash-screen", + { + "image": "./assets/splash.png", + "resizeMode": "contain", + "backgroundColor": "#ffffff" + } + ] + ] } } diff --git a/templates/boilerplate/package.json b/templates/boilerplate/package.json index 973df02..5a91796 100644 --- a/templates/boilerplate/package.json +++ b/templates/boilerplate/package.json @@ -25,35 +25,36 @@ "@react-navigation/native-stack": "^6.9.18", "@tanstack/react-query": "^5.32.1", "axios": "^1.6.8", - "expo": "^54.0.0", - "expo-asset": "~12.0.0", - "expo-font": "~14.0.9", - "expo-status-bar": "~3.0.8", - "react": "19.1.0", - "react-native": "0.81.5", + "expo": "^56.0.0", + "expo-asset": "~56.0.0", + "expo-font": "~56.0.0", + "expo-splash-screen": "~56.0.0", + "expo-status-bar": "~56.0.0", + "react": "19.2.3", + "react-native": "0.85.3", "react-native-keyboard-aware-scroll-view": "^0.9.5", - "react-native-safe-area-context": "~5.6.0", - "react-native-screens": "~4.16.0" + "react-native-safe-area-context": "~5.7.0", + "react-native-screens": "4.25.2" }, "devDependencies": { - "@babel/core": "^7.20.0", - "babel-preset-expo": "~54.0.0", + "@react-native/jest-preset": "^0.85.0", "@testing-library/jest-native": "^5.4.3", "@testing-library/react-native": "^13.2.0", "@thoughtbot/eslint-config": "^1.0.2", "@types/jest": "^29.5.14", - "@types/react": "~19.1.10", + "@types/react": "~19.2.14", "@types/react-test-renderer": "^19.1.0", "babel-jest": "^29.7.0", + "babel-preset-expo": "~56.0.0", "create-belt-app": "^0.7.3", "eslint": "^8.56.0", "jest": "~29.7.0", - "jest-expo": "~54.0.13", + "jest-expo": "~56.0.0", "msw": "^2.2.14", "npm-run-all": "^4.1.5", "prettier": "^3.2.5", - "react-test-renderer": "19.1.0", - "typescript": "~5.9.2" + "react-test-renderer": "19.2.3", + "typescript": "~6.0.0" }, "peerDependencies": { "react": "^19.0.0" diff --git a/templates/boilerplate/tsconfig.json b/templates/boilerplate/tsconfig.json index 0fbfd11..62dcbe6 100644 --- a/templates/boilerplate/tsconfig.json +++ b/templates/boilerplate/tsconfig.json @@ -13,12 +13,12 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "baseUrl": ".", "jsx": "react-native", "noFallthroughCasesInSwitch": true, + "types": ["jest"], "paths": { - "src/*": ["src/*"], - "assets/*": ["assets/*"] + "src/*": ["./src/*"], + "assets/*": ["./assets/*"] } }, "include": ["src/**/*", "*.js", ".*.js", "*.ts", "*.tsx", "__mocks__"],