Skip to content

Commit df8ce99

Browse files
committed
chore: upgrade to Expo SDK 56, React Native 0.85, and fix config
- Upgrade Expo SDK 55 to 56 and React Native 0.83 to 0.85 - Remove deprecated splash config from app.json - Fix StyleSheet.absoluteFillObject -> absoluteFill (RN 0.85) - Exclude __tests__/ from TypeScript compilation - Apply Prettier formatting to union types
1 parent 9780b60 commit df8ce99

9 files changed

Lines changed: 585 additions & 562 deletions

File tree

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
</queries>
1414
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:supportsRtl="true" android:enableOnBackInvokedCallback="false" android:fullBackupContent="@xml/secure_store_backup_rules" android:dataExtractionRules="@xml/secure_store_data_extraction_rules">
1515
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>
16+
<meta-data android:name="expo.modules.updates.ENABLE_BSDIFF_PATCH_SUPPORT" android:value="true"/>
1617
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
1718
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
1819
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode|smallestScreenSize" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true" android:screenOrientation="portrait">

android/gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,5 @@ EX_DEV_CLIENT_NETWORK_INSPECTOR=true
5959

6060
# Use legacy packaging to compress native libraries in the resulting APK.
6161
expo.useLegacyPackaging=false
62+
63+
expo.inlineModules.watchedDirectories=[]

app.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,16 @@
77
"orientation": "portrait",
88
"userInterfaceStyle": "automatic",
99
"githubUrl": "https://github.com/involvex/awesome-github-app.git",
10-
"splash": {
11-
"image": "./assets/icon.png",
12-
"resizeMode": "contain",
13-
"backgroundColor": "#ffffff"
14-
},
1510
"scheme": "awesomegithubapp",
1611
"plugins": [
1712
"expo-router",
1813
"expo-font",
1914
"expo-web-browser",
2015
"expo-image",
2116
"expo-secure-store",
22-
"expo-notifications"
17+
"expo-notifications",
18+
"expo-splash-screen",
19+
"expo-status-bar"
2320
],
2421
"android": {
2522
"package": "com.involvex.awesomegithubapp",

bun.lock

Lines changed: 548 additions & 517 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767
]
6868
},
6969
"dependencies": {
70-
"@expo/config": "^55.0.15",
70+
"@expo/config": "^56.0.0",
71+
"@expo/vector-icons": "^15.0.2",
7172
"@octokit/graphql": "^9.0.3",
7273
"@octokit/rest": "^22.0.1",
7374
"@react-native-async-storage/async-storage": "2.2.0",
@@ -76,34 +77,34 @@
7677
"date-fns": "^4.1.0",
7778
"del-cli": "^7.0.0",
7879
"dotenv": "^17.4.2",
79-
"expo": "~55.0.18",
80-
"expo-auth-session": "~55.0.15",
81-
"expo-constants": "~55.0.15",
82-
"expo-crypto": "~55.0.14",
83-
"expo-dev-client": "~55.0.28",
84-
"expo-font": "~55.0.6",
85-
"expo-image": "~55.0.9",
86-
"expo-linking": "~55.0.14",
87-
"expo-notifications": "~55.0.21",
88-
"expo-router": "~55.0.13",
89-
"expo-secure-store": "~55.0.13",
90-
"expo-splash-screen": "~55.0.19",
91-
"expo-status-bar": "~55.0.5",
92-
"expo-system-ui": "~55.0.16",
80+
"expo": "^56.0.12",
81+
"expo-auth-session": "~56.0.14",
82+
"expo-constants": "~56.0.18",
83+
"expo-crypto": "~56.0.4",
84+
"expo-dev-client": "~56.0.20",
85+
"expo-font": "~56.0.7",
86+
"expo-image": "~56.0.11",
87+
"expo-linking": "~56.0.14",
88+
"expo-notifications": "~56.0.18",
89+
"expo-router": "~56.2.11",
90+
"expo-secure-store": "~56.0.4",
91+
"expo-splash-screen": "~56.0.10",
92+
"expo-status-bar": "~56.0.4",
93+
"expo-system-ui": "~56.0.5",
9394
"expo-vector-icons": "^10.0.1",
9495
"expo-version-bump": "^1.0.2",
95-
"expo-web-browser": "~55.0.14",
96+
"expo-web-browser": "~56.0.5",
9697
"jiti": "^2.6.1",
97-
"react": "19.2.0",
98-
"react-dom": "19.2.0",
99-
"react-native": "0.83.6",
100-
"react-native-gesture-handler": "~2.30.0",
98+
"react": "19.2.3",
99+
"react-dom": "19.2.3",
100+
"react-native": "0.85.3",
101+
"react-native-gesture-handler": "~2.31.1",
101102
"react-native-markdown-display": "^7.0.2",
102-
"react-native-reanimated": "4.2.1",
103-
"react-native-safe-area-context": "~5.6.2",
104-
"react-native-screens": "~4.23.0",
103+
"react-native-reanimated": "4.3.1",
104+
"react-native-safe-area-context": "~5.7.0",
105+
"react-native-screens": "4.25.2",
105106
"react-native-web": "^0.21.0",
106-
"react-native-worklets": "0.7.4",
107+
"react-native-worklets": "0.8.3",
107108
"uniwind": "^1.6.2"
108109
},
109110
"devDependencies": {
@@ -116,13 +117,13 @@
116117
"eslint-plugin-react": "^7.37.5",
117118
"globals": "^17.5.0",
118119
"jest": "~29.7.0",
119-
"jest-expo": "~55.0.16",
120+
"jest-expo": "~56.0.5",
120121
"minimatch": "10.2.5",
121122
"prettier": "^3.8.2",
122123
"prettier-plugin-organize-imports": "^4.3.0",
123124
"prettier-plugin-packagejson": "^3.0.2",
124125
"prettier-plugin-sort-imports": "^1.8.11",
125-
"typescript": "~5.9.2",
126+
"typescript": "~6.0.3",
126127
"typescript-eslint": "^8.58.2"
127128
},
128129
"expo": {

src/app/(tabs)/feed/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ const styles = StyleSheet.create({
721721
// Modal
722722
modalOverlay: { flex: 1, justifyContent: "flex-end" },
723723
backdropPress: {
724-
...StyleSheet.absoluteFillObject,
724+
...StyleSheet.absoluteFill,
725725
backgroundColor: "rgba(0,0,0,0.45)",
726726
},
727727
sheet: {

src/components/ui/Button.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ import { Ionicons } from "@expo/vector-icons";
1313
import { useAppTheme } from "../../lib/theme";
1414

1515
export type ButtonVariant =
16-
| "primary"
17-
| "secondary"
18-
| "outline"
19-
| "ghost"
20-
| "danger";
16+
"primary" | "secondary" | "outline" | "ghost" | "danger";
2117
export type ButtonSize = "sm" | "md" | "lg";
2218

2319
export interface ButtonProps extends Omit<

src/lib/api/hooks/useMyRepos.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ import { getOctokit } from "../github";
33

44
// "forks" and "sources" are not valid Octokit API values; map them to "all" with client-side filter
55
export type RepoFilter =
6-
| "all"
7-
| "owner"
8-
| "public"
9-
| "private"
10-
| "forks"
11-
| "member";
6+
"all" | "owner" | "public" | "private" | "forks" | "member";
127
export type RepoSort = "created" | "updated" | "pushed" | "full_name";
138

149
type OctokitRepoType = "all" | "owner" | "public" | "private" | "member";

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"compilerOptions": {
44
"strict": true
55
},
6-
"exclude": ["__tests__/integration/LayoutAuth.test.tsx"]
6+
"exclude": ["__tests__/**"]
77
}

0 commit comments

Comments
 (0)