Skip to content

Commit d823ef2

Browse files
committed
feat: update dependencies and configuration for Expo and React Native
1 parent 949e482 commit d823ef2

4 files changed

Lines changed: 47 additions & 38 deletions

File tree

example/.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@ web-build/
1717
# The following patterns were generated by expo-cli
1818

1919
expo-env.d.ts
20-
# @end expo-cli
20+
# @end expo-cli
21+
22+
# Expo prebuild
23+
android/
24+
ios/

example/app.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,21 @@
1919
"adaptiveIcon": {
2020
"foregroundImage": "./assets/images/adaptive-icon.png",
2121
"backgroundColor": "#ffffff"
22-
}
22+
},
23+
"package": "com.mrkpatchaa.reactnativeioniconsexample"
2324
},
2425
"web": {
2526
"bundler": "metro",
2627
"output": "static",
2728
"favicon": "./assets/images/favicon.png"
2829
},
2930
"plugins": [
30-
"expo-router"
31+
"expo-router",
32+
"expo-font"
3133
],
3234
"experiments": {
33-
"typedRoutes": true
35+
"typedRoutes": true,
36+
"reactCanary": true
3437
}
3538
}
36-
}
39+
}

example/package.json

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"scripts": {
66
"start": "expo start",
77
"reset-project": "node ./scripts/reset-project.js",
8-
"android": "expo start --android",
9-
"ios": "expo start --ios",
8+
"android": "npx expo run:android",
9+
"ios": "expo run:ios",
1010
"web": "expo start --web",
1111
"test": "jest --watchAll",
1212
"lint": "expo lint"
@@ -15,37 +15,38 @@
1515
"preset": "jest-expo"
1616
},
1717
"dependencies": {
18-
"@expo/vector-icons": "^14.0.0",
19-
"@mrkpatchaa/react-native-ionicons": "file:../mrkpatchaa-react-native-ionicons.tgz",
20-
"@react-navigation/native": "^6.0.2",
21-
"expo": "~51.0.8",
22-
"expo-constants": "~16.0.1",
23-
"expo-font": "~12.0.5",
24-
"expo-linking": "~6.3.1",
25-
"expo-router": "~3.5.14",
26-
"expo-splash-screen": "~0.27.4",
27-
"expo-status-bar": "~1.12.1",
28-
"expo-system-ui": "~3.0.4",
29-
"expo-web-browser": "~13.0.3",
30-
"react": "18.2.0",
31-
"react-dom": "18.2.0",
32-
"react-native": "0.74.1",
33-
"react-native-gesture-handler": "~2.16.1",
34-
"react-native-reanimated": "~3.10.1",
35-
"react-native-safe-area-context": "4.10.1",
36-
"react-native-screens": "3.31.1",
37-
"react-native-svg": "15.2.0",
38-
"react-native-web": "~0.19.10"
18+
"@expo/vector-icons": "^14.0.4",
19+
"@mrkpatchaa/react-native-ionicons": "^1.2.1",
20+
"@react-navigation/native": "^7.0.14",
21+
"expo": "^52.0.25",
22+
"expo-constants": "~17.0.4",
23+
"expo-font": "~13.0.3",
24+
"expo-linking": "~7.0.4",
25+
"expo-router": "~4.0.16",
26+
"expo-splash-screen": "~0.29.20",
27+
"expo-status-bar": "~2.0.1",
28+
"expo-system-ui": "~4.0.7",
29+
"expo-web-browser": "~14.0.2",
30+
"react": "19.0.0",
31+
"react-dom": "19.0.0",
32+
"react-native": "0.76.6",
33+
"react-native-gesture-handler": "~2.22.0",
34+
"react-native-reanimated": "~3.16.7",
35+
"react-native-safe-area-context": "5.1.0",
36+
"react-native-screens": "~4.5.0",
37+
"react-native-svg": "15.11.1",
38+
"react-native-web": "~0.19.13"
3939
},
4040
"devDependencies": {
41-
"@babel/core": "^7.20.0",
42-
"@types/jest": "^29.5.12",
43-
"@types/react": "~18.2.45",
44-
"@types/react-test-renderer": "^18.0.7",
45-
"jest": "^29.2.1",
46-
"jest-expo": "~51.0.2",
47-
"react-test-renderer": "18.2.0",
48-
"typescript": "~5.3.3"
41+
"@babel/core": "^7.26.0",
42+
"@types/jest": "^29.5.14",
43+
"@types/react": "~19.0.7",
44+
"@types/react-test-renderer": "^19.0.0",
45+
"expo-atlas": "^0.4.0",
46+
"jest": "^29.7.0",
47+
"jest-expo": "~52.0.3",
48+
"react-test-renderer": "19.0.0",
49+
"typescript": "~5.7.3"
4950
},
5051
"private": true
5152
}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@
2121
"homepage": "https://github.com/mrkpatchaa/react-native-ionicons#readme",
2222
"dependencies": {
2323
"ionicons": "^7.4.0"
24-
}
25-
}
24+
},
25+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
26+
}

0 commit comments

Comments
 (0)