Skip to content

Commit b09fd28

Browse files
authored
Sample / 0.77.3 → 0.78.3 (#313)
* Upgrade deps * Dedupe react types
1 parent a426044 commit b09fd28

File tree

10 files changed

+500
-523
lines changed

10 files changed

+500
-523
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ local.properties
3737
*.keystore
3838
!debug.keystore
3939
upload-keystore.jks
40+
.kotlin/
4041

4142
# node.js
4243
#

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,26 @@
3131
"@react-native-community/cli": "15.0.1",
3232
"@react-native-community/cli-platform-android": "15.0.1",
3333
"@react-native-community/cli-platform-ios": "15.0.1",
34-
"@react-native/babel-preset": "0.77.3",
35-
"@react-native/eslint-config": "0.77.3",
36-
"@react-native/metro-config": "0.77.3",
37-
"@react-native/typescript-config": "0.77.3",
34+
"@react-native/babel-preset": "0.78.3",
35+
"@react-native/eslint-config": "0.78.3",
36+
"@react-native/metro-config": "0.78.3",
37+
"@react-native/typescript-config": "0.78.3",
3838
"@testing-library/react-native": "^13.3.1",
3939
"@tsconfig/react-native": "^3.0.6",
4040
"@types/jest": "^29.5.13",
41-
"@types/react": "^18",
41+
"@types/react": "^19.0.0",
4242
"@types/react-native-dotenv": "^0.2.1",
43-
"@types/react-test-renderer": "^18",
43+
"@types/react-test-renderer": "19.0.0",
4444
"eslint": "^8.57.1",
4545
"eslint-plugin-prettier": "^5.5.4",
4646
"jest": "^30.0.5",
4747
"prettier": "^3.2.5",
48-
"react": "18.3.1",
49-
"react-native": "0.77.3",
48+
"react": "19.0.0",
49+
"react-native": "0.78.3",
5050
"react-native-dotenv": "^3.4.9",
5151
"react-native-gesture-handler": "2.25.0",
5252
"react-native-gradle-plugin": "^0.71.19",
53-
"react-test-renderer": "18.3.1",
53+
"react-test-renderer": "19.0.0",
5454
"ts-jest": "^29.4.1",
5555
"turbo": "^1.13.4",
5656
"typescript": "^5.9.2"

sample/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ react {
6060
* The preferred build flavor of JavaScriptCore (JSC)
6161
*
6262
* For example, to use the international variant, you can use:
63-
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
63+
* `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
6464
*
6565
* The international variant includes ICU i18n library and necessary data
6666
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
6767
* give correct results when using with locales other than en-US. Note that
6868
* this variant is about 6MiB larger per architecture than default.
6969
*/
70-
def jscFlavor = 'org.webkit:android-jsc:+'
70+
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
7171

7272
android {
7373
ndkVersion rootProject.ext.ndkVersion

sample/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
buildToolsVersion = "35.0.0"
55
minSdkVersion = 24
66
compileSdkVersion = 35
7-
targetSdkVersion = 34
7+
targetSdkVersion = 35
88
ndkVersion = "27.1.12297006"
99
kotlinVersion = "2.0.21"
1010
}

sample/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

sample/android/gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9090

9191
# Use the maximum available, or set MAX_FD != -1 to use that value.
9292
MAX_FD=maximum

0 commit comments

Comments
 (0)