Skip to content

Commit 49c22bf

Browse files
authored
chore: update React-Native example app (#4888)
* Update JDK version to 21 for React Native and Expo in CI * chore: update React-Native example app
1 parent 3cbb247 commit 49c22bf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+10278
-11609
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,13 @@ jobs:
241241
- name: Show installed RTK versions
242242
run: yarn info @reduxjs/toolkit && yarn why @reduxjs/toolkit
243243

244-
- name: Set up JDK 17 for React Native build
244+
- name: Set up JDK 21 for React Native build
245245
if: matrix.example == 'react-native' || matrix.example == 'expo'
246246
uses: actions/setup-java@v4
247247
with:
248-
java-version: '17.x'
248+
java-version: '21.x'
249249
distribution: 'temurin'
250+
cache: 'gradle'
250251

251252
- name: Build example
252253
env:

examples/publish-ci/react-native/.eslintrc.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

examples/publish-ci/react-native/.gitignore

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ DerivedData
2020
*.hmap
2121
*.ipa
2222
*.xcuserstate
23-
ios/.xcode.env.local
23+
**/.xcode.env.local
2424

2525
# Android/IntelliJ
2626
#
2727
build/
28+
dist/
2829
.idea
2930
.gradle
3031
local.properties
@@ -33,13 +34,13 @@ local.properties
3334
.cxx/
3435
*.keystore
3536
!debug.keystore
37+
.kotlin/
3638

3739
# node.js
3840
#
3941
node_modules/
4042
npm-debug.log
4143
yarn-error.log
42-
.yarn/
4344

4445
# fastlane
4546
#
@@ -57,7 +58,7 @@ yarn-error.log
5758
*.jsbundle
5859

5960
# Ruby / CocoaPods
60-
/ios/Pods/
61+
**/Pods/
6162
/vendor/bundle/
6263

6364
# Temporary files created by Metro to check the health of the file watcher
@@ -66,5 +67,16 @@ yarn-error.log
6667
# testing
6768
/coverage
6869

70+
# Yarn
71+
.yarn/*
72+
!.yarn/patches
73+
!.yarn/plugins
74+
!.yarn/releases
75+
!.yarn/sdks
76+
!.yarn/versions
77+
6978
#IDE
7079
.vscode
80+
81+
.yalc/
82+
yalc.lock
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"arrowParens": "avoid",
3-
"semi": false
3+
"semi": false,
4+
"singleQuote": true
45
}

0 commit comments

Comments
 (0)