-
-
Notifications
You must be signed in to change notification settings - Fork 29
Upgrade React Native 0.68.1 to 0.69.0-rc.0 and React 18 w New Arch #585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 9 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
3660e51
Upgrade to React Native 0.69.0-rc0 and React 18
leotm 9c03516
Update build.gradle
leotm 29eb26c
Update build.gradle
leotm 073430f
Update gradle.yml
leotm df35f63
Update build.gradle
leotm 8dd6b0d
Update gradle-wrapper.properties
leotm 065a407
Update gradle-wrapper.properties
leotm 4b55513
Get and extract cmake-3.23.1 to ../sdk
leotm 10918bc
mkdir -p /usr/local/lib/android/sdk/cmake/3.22.1
leotm 8ab063d
Revert ndkVersion (Linux: 23 ->21 side-by-side )
leotm 3706f8b
Update gradle-wrapper.properties
leotm 6400a58
Revert "Update gradle-wrapper.properties"
leotm 6cb0ffc
Skip debug build
leotm 3f18cfa
Revert "Skip debug build"
leotm 392b7d7
Merge branch 'master' into rn-69.0-rc.0-react-18
leotm 76bb940
Skip debug build
leotm fd81590
Resolve yarn lockfile
leotm 3ea99b3
Redefine Metro entryfile to TypeScript file ext
leotm 444b811
Merge remote-tracking branch 'origin/master' into rn-69.0-rc.0-react-18
leotm d3fb593
Revert "Skip debug build"
leotm 657e766
Revert "Update gradle.yml"
leotm 313ccd8
Fix RN 0.69 React 18 type errors (FunctionComponent props)
leotm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,4 +64,5 @@ untyped-import | |
| untyped-type-import | ||
|
|
||
| [version] | ||
| ^0.170.0 | ||
| ^0.176.3 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,11 +13,6 @@ on: | |
| pull_request: | ||
| branches: [ master ] | ||
|
|
||
| # Global envs | ||
| # env: | ||
| # ANDROID_NDK_HOME: /usr/local/lib/android/sdk/ndk/x.x.x | ||
| # ANDROID_NDK_ROOT: /usr/local/lib/android/sdk/ndk/x.x.x | ||
|
|
||
| # TODO: Avoid brutally editing/setting ndk.dir in local.properties | ||
|
|
||
| jobs: | ||
|
|
@@ -38,20 +33,18 @@ jobs: | |
| distribution: temurin | ||
| cache: 'gradle' | ||
|
|
||
| # (Standalone toolchains obsolete) | ||
| # Ubuntu 20.04: r21e, r22, r23b, Custom: r24+ | ||
| - name: Set up NDK 25 Beta 2 | ||
| uses: nttld/[email protected] | ||
| with: | ||
| ndk-version: r25-beta2 | ||
|
|
||
| # - name: Or manually set NDK X env vars | ||
| # run: | | ||
| # export ANDROID_NDK_HOME=/usr/local/lib/android/sdk/ndk/x.x.x | ||
| # export ANDROID_NDK_ROOT=/usr/local/lib/android/sdk/ndk/x.x.x | ||
|
|
||
| - name: Install all project dependencies | ||
| run: yarn | ||
|
|
||
| - name: Get and extract cmake-3.23.1-linux-x86_64.tar.gz to /usr/local/lib/android/sdk | ||
| run: | | ||
| wget https://github.com/Kitware/CMake/releases/download/v3.23.1/cmake-3.23.1-linux-x86_64.tar.gz | ||
| tar xzf cmake-3.23.1-linux-x86_64.tar.gz | ||
| rm -rf cmake-3.23.1-linux-x86_64.tar.gz | ||
| mkdir -p /usr/local/lib/android/sdk/cmake/3.22.1 | ||
| cp -rf cmake-3.23.1-linux-x86_64/* /usr/local/lib/android/sdk/cmake/3.22.1 | ||
| cd cmake-3.23.1-linux-x86_64 | ||
| ./bin/cmake --version | ||
|
|
||
| # Avoid poisoned cache problems | ||
| - name: Delete Android build pre-computed outputs | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 2.7.5 |
Binary file added
BIN
+10.7 KB
.yarn/cache/@react-native-community-cli-clean-npm-8.0.0-alpha.3-7063566d39-552c3ca8ec.zip
Binary file not shown.
Binary file added
BIN
+31.5 KB
.yarn/cache/@react-native-community-cli-config-npm-8.0.0-alpha.3-26fecaa8d9-bda7cde23e.zip
Binary file not shown.
Binary file renamed
BIN
+57.4 KB
...er-ui-npm-7.0.3-d950f32889-ea90b321a3.zip → ...m-8.0.0-alpha.3-de1deaefaa-ce6d716c01.zip
Binary file not shown.
Binary file added
BIN
+125 KB
.yarn/cache/@react-native-community-cli-doctor-npm-8.0.0-alpha.3-57fd23bde4-56b34a9c2f.zip
Binary file not shown.
Binary file removed
BIN
-17.1 KB
.yarn/cache/@react-native-community-cli-hermes-npm-6.3.0-0046ff86a6-47e126be04.zip
Binary file not shown.
Binary file added
BIN
+17.6 KB
.yarn/cache/@react-native-community-cli-hermes-npm-8.0.0-alpha.3-c3b6167c5c-8c211b856f.zip
Binary file not shown.
Binary file removed
BIN
-306 KB
.yarn/cache/@react-native-community-cli-npm-7.0.3-b57cf74ec6-5f2907e4e7.zip
Binary file not shown.
Binary file added
BIN
+108 KB
.yarn/cache/@react-native-community-cli-npm-8.0.0-alpha.5-ae878dcbcf-623f92164e.zip
Binary file not shown.
Binary file removed
BIN
-118 KB
.yarn/cache/@react-native-community-cli-platform-android-npm-6.3.0-1b9d17ef3a-997d416db1.zip
Binary file not shown.
Binary file removed
BIN
-189 KB
.yarn/cache/@react-native-community-cli-platform-android-npm-7.0.1-ecbe78d60b-35f741153c.zip
Binary file not shown.
Binary file added
BIN
+67.6 KB
.../@react-native-community-cli-platform-android-npm-8.0.0-alpha.3-82d10cb2ba-5067f22f48.zip
Binary file not shown.
Binary file removed
BIN
-315 KB
.yarn/cache/@react-native-community-cli-platform-ios-npm-7.0.1-160d7285f3-4b9e06cbf4.zip
Binary file not shown.
Binary file added
BIN
+57.7 KB
...ache/@react-native-community-cli-platform-ios-npm-8.0.0-alpha.3-edc2b8afc3-59d5c5d3ba.zip
Binary file not shown.
Binary file renamed
BIN
+66.3 KB
...metro-npm-7.0.3-4da4416667-ca91f10586.zip → ...m-8.0.0-alpha.5-d6a1392d18-7e7c431406.zip
Binary file not shown.
Binary file renamed
BIN
+48.6 KB
...r-api-npm-7.0.3-7064eb81c5-300ed63bd5.zip → ...m-8.0.0-alpha.3-0b59059698-42f6206abe.zip
Binary file not shown.
Binary file removed
BIN
-98.4 KB
.yarn/cache/@react-native-community-cli-tools-npm-7.0.1-fa8df43e30-11b4043849.zip
Binary file not shown.
Binary file renamed
BIN
+61.7 KB
...tools-npm-6.2.0-9f80fc403c-17bb1e2e22.zip → ...m-8.0.0-alpha.3-c4deb10d77-3f488deb39.zip
Binary file not shown.
Binary file removed
BIN
-6.65 KB
.yarn/cache/@react-native-community-cli-types-npm-6.0.0-0e4bd3b1fe-7ef1a4e5e3.zip
Binary file not shown.
Binary file added
BIN
+8.59 KB
.yarn/cache/@react-native-community-cli-types-npm-8.0.0-alpha.3-6ee65348ec-53c116596d.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-23.7 KB
.yarn/cache/deprecated-react-native-prop-types-npm-2.3.0-ef3c3651bb-d14f4be1df.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.92 KB
.yarn/cache/metro-babel-transformer-npm-0.70.1-eb67495ca9-3aa192363f.zip
Binary file not shown.
Binary file added
BIN
+2.92 KB
.yarn/cache/metro-babel-transformer-npm-0.70.2-9b441c74b9-1cd94b3aec.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+467 KB
.yarn/cache/metro-hermes-compiler-npm-0.70.2-2973b71d5d-1a9e863ccd.zip
Binary file not shown.
Binary file added
BIN
+20.3 KB
.yarn/cache/metro-inspector-proxy-npm-0.70.2-a7743ce720-f2b914764a.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.08 KB
.yarn/cache/metro-react-native-babel-preset-npm-0.70.1-52a8ac140c-1369cf115b.zip
Binary file not shown.
Binary file added
BIN
+6.09 KB
.yarn/cache/metro-react-native-babel-transformer-npm-0.70.1-52145858ce-79b7d9c98a.zip
Binary file not shown.
Binary file added
BIN
+6.09 KB
.yarn/cache/metro-react-native-babel-transformer-npm-0.70.2-e94bb644d7-8bb0846487.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+22.2 KB
.yarn/cache/metro-transform-plugins-npm-0.70.2-9cd6485580-36f4209755.zip
Binary file not shown.
Binary file added
BIN
+27.5 KB
.yarn/cache/metro-transform-worker-npm-0.70.2-3cae3b9b69-e1446a87c6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.24 MB
.yarn/cache/react-devtools-core-npm-4.24.4-c2f7c60b89-550735b878.zip
Binary file not shown.
Binary file removed
BIN
-1.31 MB
.yarn/cache/react-dom-npm-0.0.0-experimental-4de99b3ca-20220221-759e4bc4c8-3bc8890bdd.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-9.51 KB
.yarn/cache/react-is-npm-0.0.0-experimental-4de99b3ca-20220221-e9d5b624f4-c2c43463fa.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-295 KB
.yarn/cache/react-native-codegen-npm-0.0.13-5e9c85087f-bfe645fea6.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-125 KB
.yarn/cache/react-native-gradle-plugin-npm-0.0.6-48b6fc9b5a-185ad34893.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-118 KB
.yarn/cache/react-npm-0.0.0-experimental-4de99b3ca-20220221-de1b1b7471-1bf3541822.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+33.7 KB
.yarn/cache/react-shallow-renderer-npm-16.15.0-cf95219885-6052c7e3e9.zip
Binary file not shown.
Binary file removed
BIN
-335 KB
...e/react-test-renderer-npm-0.0.0-experimental-4de99b3ca-20220221-242fbbbe63-bb013051f5.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+29 KB
...99b3ca-20220221-f7e9f257a5-0d40d40605.zip → ...uler-npm-0.21.0-9a906f4833-4f82850760.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-10.9 MB
.yarn/cache/typescript-npm-4.7.0-dev.20220215-5fed715a0e-06632ec51e.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| source 'https://rubygems.org' | ||
|
|
||
| # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version | ||
| ruby '2.7.5' | ||
|
|
||
| gem 'cocoapods', '~> 1.11', '>= 1.11.2' |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.