mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Compare commits
62
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74a08a3d2c | ||
|
|
e68aa6a019 | ||
|
|
e8af5b8c4a | ||
|
|
7262acc961 | ||
|
|
6d200c32cb | ||
|
|
f50936bef2 | ||
|
|
88fa872896 | ||
|
|
2c6df0209d | ||
|
|
0ca6e41059 | ||
|
|
9a4e71621b | ||
|
|
5f50b0b407 | ||
|
|
605c90ed36 | ||
|
|
2a6832a7e3 | ||
|
|
659b693fcd | ||
|
|
a72d1960ff | ||
|
|
b33cc1fe2f | ||
|
|
6759dc3bb5 | ||
|
|
9dded5edbe | ||
|
|
f44e0bf02f | ||
|
|
6b1e193f15 | ||
|
|
ea6706e166 | ||
|
|
27751babe6 | ||
|
|
ac1c7ad2e5 | ||
|
|
1eb90f52c7 | ||
|
|
1dcdcbd4f2 | ||
|
|
3c634d82e5 | ||
|
|
2eaf7debd2 | ||
|
|
612dbb3094 | ||
|
|
78b38429a4 | ||
|
|
fc767f7ef1 | ||
|
|
e782bd12e8 | ||
|
|
1181079df5 | ||
|
|
7f23aa4b02 | ||
|
|
7382b4d72f | ||
|
|
20f8d134c7 | ||
|
|
2d9ce44adb | ||
|
|
5f2e92bac6 | ||
|
|
fb1001ce58 | ||
|
|
f811da7cc2 | ||
|
|
06ec3aac79 | ||
|
|
f88037381b | ||
|
|
1b22e8a039 | ||
|
|
3310ccd2a6 | ||
|
|
8c6da6b025 | ||
|
|
0bcb6e1b4d | ||
|
|
bebef4c43e | ||
|
|
ff4a1b144e | ||
|
|
2e7ba66087 | ||
|
|
9a2692f34b | ||
|
|
3ba23ca362 | ||
|
|
a1388c8bd6 | ||
|
|
db7ddd50b7 | ||
|
|
df97a48005 | ||
|
|
dc2c034e32 | ||
|
|
7b76abc0d3 | ||
|
|
a862d9294b | ||
|
|
a98f5e6e50 | ||
|
|
6efb51777c | ||
|
|
f3a4484a11 | ||
|
|
fc3040b2b6 | ||
|
|
9af395e913 | ||
|
|
e5f5571f63 |
+189
-99
@@ -246,6 +246,28 @@ commands:
|
||||
name: Report size of RNTester.app (analysis-bot)
|
||||
command: GITHUB_TOKEN="$PUBLIC_ANALYSISBOT_GITHUB_TOKEN_A""$PUBLIC_ANALYSISBOT_GITHUB_TOKEN_B" scripts/circleci/report-bundle-size.sh << parameters.platform >> || true
|
||||
|
||||
with_hermes_sdk_cache_span:
|
||||
parameters:
|
||||
steps:
|
||||
type: steps
|
||||
steps:
|
||||
- run:
|
||||
name: Setup Hermes cache
|
||||
command: |
|
||||
HERMES_CACHE_KEY_FILE="sdks/.hermes-cache-key-file"
|
||||
if [ ! -f "$HERMES_CACHE_KEY_FILE" ]; then
|
||||
git ls-remote https://github.com/facebook/hermes main | cut -f 1 > $HERMES_CACHE_KEY_FILE
|
||||
fi
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "sdks/.hermes-cache-key-file" }}
|
||||
- steps: << parameters.steps >>
|
||||
- save_cache:
|
||||
key: v1-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "sdks/.hermes-cache-key-file" }}
|
||||
paths:
|
||||
- sdks/hermesc
|
||||
- sdks/hermes
|
||||
|
||||
# -------------------------
|
||||
# JOBS
|
||||
# -------------------------
|
||||
@@ -417,17 +439,19 @@ jobs:
|
||||
- with_brew_cache_span:
|
||||
steps:
|
||||
- brew_install:
|
||||
package: cmake ninja
|
||||
package: cmake
|
||||
|
||||
- run:
|
||||
name: Setup the CocoaPods environment
|
||||
command: bundle exec pod setup
|
||||
|
||||
- with_rntester_pods_cache_span:
|
||||
- with_hermes_sdk_cache_span:
|
||||
steps:
|
||||
- run:
|
||||
name: Generate RNTesterPods Workspace
|
||||
command: cd packages/rn-tester && bundle exec pod install --verbose
|
||||
- with_rntester_pods_cache_span:
|
||||
steps:
|
||||
- run:
|
||||
name: Generate RNTesterPods Workspace
|
||||
command: cd packages/rn-tester && bundle exec pod install --verbose
|
||||
|
||||
# -------------------------
|
||||
# JOBS: iOS Unit Tests
|
||||
@@ -470,7 +494,7 @@ jobs:
|
||||
- with_brew_cache_span:
|
||||
steps:
|
||||
- brew_install:
|
||||
package: watchman cmake ninja
|
||||
package: watchman cmake
|
||||
- run:
|
||||
name: "Brew: Tap wix/brew"
|
||||
command: brew tap wix/brew >/dev/null
|
||||
@@ -500,11 +524,13 @@ jobs:
|
||||
name: Setup the CocoaPods environment
|
||||
command: bundle exec pod setup
|
||||
|
||||
- with_rntester_pods_cache_span:
|
||||
- with_hermes_sdk_cache_span:
|
||||
steps:
|
||||
- run:
|
||||
name: Generate RNTesterPods Workspace
|
||||
command: cd packages/rn-tester && bundle exec pod install --verbose
|
||||
- with_rntester_pods_cache_span:
|
||||
steps:
|
||||
- run:
|
||||
name: Generate RNTesterPods Workspace
|
||||
command: cd packages/rn-tester && bundle exec pod install --verbose
|
||||
|
||||
# -------------------------
|
||||
# Runs iOS unit tests
|
||||
@@ -741,13 +767,15 @@ jobs:
|
||||
- with_brew_cache_span:
|
||||
steps:
|
||||
- brew_install:
|
||||
package: cmake ninja
|
||||
package: cmake
|
||||
|
||||
- run:
|
||||
name: Install CocoaPods dependencies
|
||||
command: |
|
||||
rm -rf packages/rn-tester/Pods
|
||||
cd packages/rn-tester && bundle exec pod install
|
||||
- with_hermes_sdk_cache_span:
|
||||
steps:
|
||||
- run:
|
||||
name: Install CocoaPods dependencies
|
||||
command: |
|
||||
rm -rf packages/rn-tester/Pods
|
||||
cd packages/rn-tester && bundle exec pod install
|
||||
|
||||
# The macOS machine can run out of storage if Hermes is enabled and built from source.
|
||||
# Since this job does not use the iOS Simulator, deleting it provides a quick way to
|
||||
@@ -877,33 +905,45 @@ jobs:
|
||||
# -------------------------
|
||||
prepare_hermes_workspace:
|
||||
docker:
|
||||
- image: debian:buster
|
||||
- image: debian:bullseye
|
||||
environment:
|
||||
- HERMES_WS_DIR: *hermes_workspace_root
|
||||
- HERMES_VERSION_FILE: "sdks/.hermesversion"
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: |
|
||||
apt-get update
|
||||
apt-get install -y wget git
|
||||
apt update
|
||||
apt install -y wget git curl
|
||||
curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
||||
apt install -y nodejs
|
||||
npm install --global yarn
|
||||
- checkout
|
||||
- run_yarn
|
||||
- run:
|
||||
name: Set up Hermes workspace
|
||||
command: mkdir -p "$HERMES_WS_DIR/hermes" "$HERMES_WS_DIR/download"
|
||||
name: Set up Hermes workspace and caching
|
||||
command: |
|
||||
mkdir -p "/tmp/hermes" "/tmp/hermes/download" "/tmp/hermes/hermes"
|
||||
|
||||
if [ -f "$HERMES_VERSION_FILE" ]; then
|
||||
cat $HERMES_VERSION_FILE > /tmp/hermes/hermesversion
|
||||
else
|
||||
HERMES_TAG_SHA=$(git ls-remote https://github.com/facebook/hermes main | cut -f 1 | tr -d '[:space:]')
|
||||
echo $HERMES_TAG_SHA > /tmp/hermes/hermesversion
|
||||
fi
|
||||
- restore_cache:
|
||||
key: v1-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/hermes/hermesversion" }}
|
||||
- run:
|
||||
name: Download Hermes tarball
|
||||
command: |
|
||||
HERMES_VERSION_FILE="sdks/.hermesversion"
|
||||
HERMES_TARBALL_URL="https://github.com/facebook/hermes/archive/refs/heads/main.tar.gz"
|
||||
if [ -f "$HERMES_VERSION_FILE" ]; then
|
||||
HERMES_TAG=$(cat $HERMES_VERSION_FILE | tr -d '[:space:]')
|
||||
HERMES_TARBALL_URL="https://github.com/facebook/hermes/archive/refs/tags/$HERMES_TAG.tar.gz"
|
||||
echo "Using Hermes version tagged $HERMES_TAG"
|
||||
else
|
||||
echo "Using Hermes latest version from trunk"
|
||||
fi
|
||||
wget --timestamping -O "$HERMES_WS_DIR/download/hermes.tar.gz" "$HERMES_TARBALL_URL"
|
||||
tar -xzf "$HERMES_WS_DIR/download/hermes.tar.gz" --strip-components=1 -C "$HERMES_WS_DIR/hermes"
|
||||
node scripts/hermes/prepare-hermes-for-build
|
||||
cp sdks/download/* $HERMES_WS_DIR/download/.
|
||||
cp -r sdks/hermes/* $HERMES_WS_DIR/hermes/.
|
||||
- save_cache:
|
||||
key: v1-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/hermes/hermesversion" }}
|
||||
paths:
|
||||
- /tmp/hermes/download/
|
||||
- /tmp/hermes/hermes/
|
||||
- persist_to_workspace:
|
||||
root: *hermes_workspace_root
|
||||
paths:
|
||||
@@ -924,6 +964,8 @@ jobs:
|
||||
apt install -y git openssh-client cmake build-essential \
|
||||
libreadline-dev libicu-dev zip python3
|
||||
- *attach_hermes_workspace
|
||||
- restore_cache:
|
||||
key: v1-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/hermes/hermesversion" }}
|
||||
- run:
|
||||
name: Set up workspace
|
||||
command: |
|
||||
@@ -931,15 +973,21 @@ jobs:
|
||||
- run:
|
||||
name: Build HermesC for Linux
|
||||
command: |
|
||||
cd /tmp/hermes
|
||||
cmake -S hermes -B build -DHERMES_STATIC_LINK=ON -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=True -DCMAKE_CXX_FLAGS=-s -DCMAKE_C_FLAGS=-s \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--whole-archive -lpthread -Wl,--no-whole-archive"
|
||||
cmake --build build --target check-hermes -j 4
|
||||
- run:
|
||||
name: Package HermesC for Linux
|
||||
command: |
|
||||
cp /tmp/hermes/build/bin/hermesc /tmp/hermes/linux64-bin/.
|
||||
if [ -f /tmp/hermes/linux64-bin/hermesc ]; then
|
||||
echo 'Skipping; Clean "/tmp/hermes/linux64-bin" to rebuild.'
|
||||
else
|
||||
cd /tmp/hermes
|
||||
cmake -S hermes -B build -DHERMES_STATIC_LINK=ON -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=True -DCMAKE_CXX_FLAGS=-s -DCMAKE_C_FLAGS=-s \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--whole-archive -lpthread -Wl,--no-whole-archive"
|
||||
cmake --build build --target check-hermes -j 4
|
||||
cp /tmp/hermes/build/bin/hermesc /tmp/hermes/linux64-bin/.
|
||||
fi
|
||||
- save_cache:
|
||||
key: v1-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/hermes/hermesversion" }}
|
||||
paths:
|
||||
- /tmp/hermes/linux64-bin/
|
||||
- /tmp/hermes/hermes/destroot/
|
||||
- store_artifacts:
|
||||
path: /tmp/hermes/linux64-bin/
|
||||
- persist_to_workspace:
|
||||
@@ -947,30 +995,59 @@ jobs:
|
||||
paths:
|
||||
- linux64-bin
|
||||
|
||||
build_hermesc_macos:
|
||||
build_hermes_macos:
|
||||
executor: reactnativeios
|
||||
environment:
|
||||
- HERMES_WS_DIR: *hermes_workspace_root
|
||||
steps:
|
||||
- checkout
|
||||
- *attach_hermes_workspace
|
||||
- restore_cache:
|
||||
key: v1-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/hermes/hermesversion" }}
|
||||
- run:
|
||||
name: Set up workspace
|
||||
command: |
|
||||
mkdir -p /tmp/hermes/osx-bin
|
||||
mkdir -p ~/react-native/sdks/hermes
|
||||
cp -r $HERMES_WS_DIR/hermes/* ~/react-native/sdks/hermes/.
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: |
|
||||
brew install cmake ninja
|
||||
brew install cmake
|
||||
- run:
|
||||
name: Build HermesC for macOS
|
||||
name: Build the Hermes iOS frameworks
|
||||
command: |
|
||||
cd "$HERMES_WS_DIR/hermes"
|
||||
cd ~/react-native/sdks/hermes
|
||||
./utils/build-ios-framework.sh
|
||||
- run:
|
||||
name: Build the Hermes Mac frameworks
|
||||
command: |
|
||||
cd ~/react-native/sdks/hermes
|
||||
./utils/build-mac-framework.sh
|
||||
- run:
|
||||
name: Package HermesC for macOS
|
||||
command: |
|
||||
cd "$HERMES_WS_DIR/hermes"
|
||||
cp build_macosx/bin/hermesc /tmp/hermes/osx-bin/.
|
||||
- run:
|
||||
name: Package the Hermes Apple frameworks
|
||||
command: |
|
||||
cd ~/react-native/sdks/hermes
|
||||
. ./utils/build-apple-framework.sh
|
||||
|
||||
mkdir -p /tmp/cocoapods-package-root/destroot
|
||||
mkdir -p /tmp/hermes/output
|
||||
cp -R ./destroot /tmp/cocoapods-package-root
|
||||
cp LICENSE /tmp/cocoapods-package-root
|
||||
|
||||
tar -C /tmp/cocoapods-package-root/ -czvf /tmp/hermes/output/hermes-runtime-darwin-v$(get_release_version).tar.gz .
|
||||
- save_cache:
|
||||
key: v1-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/hermes/hermesversion" }}
|
||||
paths:
|
||||
- ~/react-native/hermes/build_host_hermesc
|
||||
- ~/react-native/hermes/build_iphoneos
|
||||
- ~/react-native/hermes/build_catalyst
|
||||
- ~/react-native/hermes/build_iphonesimulator
|
||||
- ~/react-native/hermes/build_macosx
|
||||
- ~/react-native/hermes/destroot
|
||||
- store_artifacts:
|
||||
path: /tmp/hermes/output/
|
||||
- store_artifacts:
|
||||
path: /tmp/hermes/osx-bin/
|
||||
- persist_to_workspace:
|
||||
@@ -989,6 +1066,8 @@ jobs:
|
||||
- CMAKE_DIR: 'C:\Program Files\CMake\bin'
|
||||
steps:
|
||||
- *attach_hermes_workspace
|
||||
- restore_cache:
|
||||
key: v1-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "tmp/hermes/hermesversion" }}
|
||||
- run:
|
||||
name: Set up workspace
|
||||
command: |
|
||||
@@ -997,53 +1076,57 @@ jobs:
|
||||
New-Item -ItemType Directory $Env:HERMES_WS_DIR\deps
|
||||
New-Item -ItemType Directory $Env:HERMES_WS_DIR\win64-bin
|
||||
New-Item -ItemType SymbolicLink -Target tmp\hermes\hermes -Path $Env:HERMES_WS_DIR -Name hermes
|
||||
- run:
|
||||
name: Download ICU
|
||||
command: |
|
||||
cd $Env:HERMES_WS_DIR\icu
|
||||
# If Invoke-WebRequest shows a progress bar, it will fail with
|
||||
# Win32 internal error "Access is denied" 0x5 occurred [...]
|
||||
$progressPreference = 'silentlyContinue'
|
||||
Invoke-WebRequest -Uri "$Env:ICU_URL" -OutFile "icu.zip"
|
||||
Expand-Archive -Path "icu.zip" -DestinationPath "."
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: |
|
||||
choco install --no-progress cmake --version 3.14.7
|
||||
if (-not $?) { throw "Failed to install CMake" }
|
||||
choco install --no-progress python3
|
||||
if (-not $?) { throw "Failed to install Python" }
|
||||
- run:
|
||||
name: Assemble Windows runtime dependencies
|
||||
command: |
|
||||
cd $Env:HERMES_WS_DIR
|
||||
Copy-Item -Path "icu\bin64\icu*.dll" -Destination "deps"
|
||||
# Include MSVC++ 2015 redistributables
|
||||
Copy-Item -Path "c:\windows\system32\msvcp140.dll" -Destination "deps"
|
||||
Copy-Item -Path "c:\windows\system32\vcruntime140.dll" -Destination "deps"
|
||||
Copy-Item -Path "c:\windows\system32\vcruntime140_1.dll" -Destination "deps"
|
||||
- run:
|
||||
name: Build HermesC for Windows
|
||||
command: |
|
||||
$Env:PATH += ";$Env:CMAKE_DIR;$Env:MSBUILD_DIR"
|
||||
$Env:ICU_ROOT = "$Env:HERMES_WS_DIR\icu"
|
||||
cd $Env:HERMES_WS_DIR
|
||||
cmake -S hermes -B build_release -G 'Visual Studio 16 2019' -Ax64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=True -DHERMES_ENABLE_WIN10_ICU_FALLBACK=OFF
|
||||
if (-not $?) { throw "Failed to configure Hermes" }
|
||||
cd build_release
|
||||
cmake --build . --target hermesc --config Release
|
||||
if (-not $?) { throw "Failed to build Hermes" }
|
||||
- run:
|
||||
name: Package HermesC for Windows
|
||||
command: |
|
||||
cd $Env:HERMES_WS_DIR
|
||||
Copy-Item -Path "build_release\bin\Release\hermesc.exe" -Destination "win64-bin"
|
||||
# Include Windows runtime dependencies
|
||||
Copy-Item -Path "deps\*" -Destination "win64-bin"
|
||||
if (-not(Test-Path -Path $Env:HERMES_WS_DIR\win64-bin\hermesc.exe)) {
|
||||
choco install --no-progress cmake --version 3.14.7
|
||||
if (-not $?) { throw "Failed to install CMake" }
|
||||
choco install --no-progress python3
|
||||
if (-not $?) { throw "Failed to install Python" }
|
||||
|
||||
cd $Env:HERMES_WS_DIR\icu
|
||||
# If Invoke-WebRequest shows a progress bar, it will fail with
|
||||
# Win32 internal error "Access is denied" 0x5 occurred [...]
|
||||
$progressPreference = 'silentlyContinue'
|
||||
Invoke-WebRequest -Uri "$Env:ICU_URL" -OutFile "icu.zip"
|
||||
Expand-Archive -Path "icu.zip" -DestinationPath "."
|
||||
|
||||
cd $Env:HERMES_WS_DIR
|
||||
Copy-Item -Path "icu\bin64\icu*.dll" -Destination "deps"
|
||||
# Include MSVC++ 2015 redistributables
|
||||
Copy-Item -Path "c:\windows\system32\msvcp140.dll" -Destination "deps"
|
||||
Copy-Item -Path "c:\windows\system32\vcruntime140.dll" -Destination "deps"
|
||||
Copy-Item -Path "c:\windows\system32\vcruntime140_1.dll" -Destination "deps"
|
||||
|
||||
$Env:PATH += ";$Env:CMAKE_DIR;$Env:MSBUILD_DIR"
|
||||
$Env:ICU_ROOT = "$Env:HERMES_WS_DIR\icu"
|
||||
|
||||
cmake -S hermes -B build_release -G 'Visual Studio 16 2019' -Ax64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=True -DHERMES_ENABLE_WIN10_ICU_FALLBACK=OFF
|
||||
if (-not $?) { throw "Failed to configure Hermes" }
|
||||
cd build_release
|
||||
cmake --build . --target hermesc --config Release
|
||||
if (-not $?) { throw "Failed to build Hermes" }
|
||||
|
||||
cd $Env:HERMES_WS_DIR
|
||||
Copy-Item -Path "build_release\bin\Release\hermesc.exe" -Destination "win64-bin"
|
||||
# Include Windows runtime dependencies
|
||||
Copy-Item -Path "deps\*" -Destination "win64-bin"
|
||||
}
|
||||
else {
|
||||
Write-Host "Skipping; Clean c:\tmp\hermes\win64-bin to rebuild."
|
||||
}
|
||||
- save_cache:
|
||||
key: v1-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "tmp/hermes/hermesversion" }}
|
||||
paths:
|
||||
- C:\tmp\hermes\win64-bin\
|
||||
- C:\tmp\hermes\hermes\icu\
|
||||
- C:\tmp\hermes\hermes\deps\
|
||||
- C:\tmp\hermes\hermes\build_release\
|
||||
- store_artifacts:
|
||||
path: c:\tmp\hermes\win64-bin\
|
||||
path: C:\tmp\hermes\win64-bin\
|
||||
- persist_to_workspace:
|
||||
root: c:\tmp\hermes\
|
||||
root: C:\tmp\hermes\
|
||||
paths:
|
||||
- win64-bin
|
||||
|
||||
@@ -1116,6 +1199,11 @@ jobs:
|
||||
# END: Stables and nightlies
|
||||
|
||||
- run: node ./scripts/publish-npm.js << parameters.publish_npm_args >>
|
||||
- run:
|
||||
name: Zip Hermes Native Symbols
|
||||
command: zip -r /tmp/hermes-native-symbols.zip ~/react-native/ReactAndroid/hermes-engine/build/intermediates/cmake/
|
||||
- store_artifacts:
|
||||
path: /tmp/hermes-native-symbols.zip
|
||||
|
||||
# START: Commitlies
|
||||
# Provide a react-native package for this commit as a Circle CI release artifact.
|
||||
@@ -1211,7 +1299,7 @@ workflows:
|
||||
- build_hermesc_linux:
|
||||
requires:
|
||||
- prepare_hermes_workspace
|
||||
- build_hermesc_macos:
|
||||
- build_hermes_macos:
|
||||
requires:
|
||||
- prepare_hermes_workspace
|
||||
- build_hermesc_windows:
|
||||
@@ -1222,7 +1310,7 @@ workflows:
|
||||
publish_npm_args: --dry-run
|
||||
requires:
|
||||
- build_hermesc_linux
|
||||
- build_hermesc_macos
|
||||
- build_hermes_macos
|
||||
- build_hermesc_windows
|
||||
- test_js:
|
||||
run_disabled_tests: false
|
||||
@@ -1273,12 +1361,15 @@ workflows:
|
||||
- prepare_hermes_workspace:
|
||||
filters: *only_release_tags
|
||||
- build_hermesc_linux:
|
||||
filters: *only_release_tags
|
||||
requires:
|
||||
- prepare_hermes_workspace
|
||||
- build_hermesc_macos:
|
||||
- build_hermes_macos:
|
||||
filters: *only_release_tags
|
||||
requires:
|
||||
- prepare_hermes_workspace
|
||||
- build_hermesc_windows:
|
||||
filters: *only_release_tags
|
||||
requires:
|
||||
- prepare_hermes_workspace
|
||||
# This job will trigger when a version tag is pushed (by package_release)
|
||||
@@ -1289,7 +1380,7 @@ workflows:
|
||||
filters: *only_release_tags
|
||||
requires:
|
||||
- build_hermesc_linux
|
||||
- build_hermesc_macos
|
||||
- build_hermes_macos
|
||||
- build_hermesc_windows
|
||||
|
||||
analysis:
|
||||
@@ -1323,16 +1414,15 @@ workflows:
|
||||
- build_hermesc_linux:
|
||||
requires:
|
||||
- prepare_hermes_workspace
|
||||
- build_hermesc_macos:
|
||||
- build_hermes_macos:
|
||||
requires:
|
||||
- prepare_hermes_workspace
|
||||
- build_hermesc_windows:
|
||||
requires:
|
||||
- prepare_hermes_workspace
|
||||
|
||||
- build_npm_package:
|
||||
publish_npm_args: --nightly
|
||||
requires:
|
||||
- build_hermesc_linux
|
||||
- build_hermesc_macos
|
||||
- build_hermes_macos
|
||||
- build_hermesc_windows
|
||||
|
||||
+2
-2
@@ -115,9 +115,9 @@ package-lock.json
|
||||
/packages/rn-tester/NativeModuleExample/ScreenshotManagerSpec*
|
||||
|
||||
# Additional SDKs
|
||||
/sdks/.hermesversion
|
||||
/sdks/hermes
|
||||
/sdks/download
|
||||
/sdks/hermes
|
||||
/sdks/hermesc
|
||||
|
||||
# Visual studio
|
||||
.vscode
|
||||
|
||||
@@ -759,7 +759,7 @@ rn_library(
|
||||
"//xplat/js:node_modules__react_19shallow_19renderer",
|
||||
"//xplat/js:node_modules__regenerator_19runtime",
|
||||
"//xplat/js:node_modules__stacktrace_19parser",
|
||||
"//xplat/js:node_modules__use_19subscription",
|
||||
"//xplat/js:node_modules__use_19sync_19external_19store",
|
||||
"//xplat/js:node_modules__whatwg_19fetch",
|
||||
"//xplat/js/RKJSModules/Libraries/Polyfills:Polyfills",
|
||||
"//xplat/js/RKJSModules/Libraries/React:React",
|
||||
|
||||
+8
-8
@@ -3,7 +3,7 @@ GEM
|
||||
specs:
|
||||
CFPropertyList (3.0.5)
|
||||
rexml
|
||||
activesupport (6.1.5)
|
||||
activesupport (6.1.6)
|
||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
i18n (>= 1.6, < 2)
|
||||
minitest (>= 5.1)
|
||||
@@ -45,7 +45,7 @@ GEM
|
||||
public_suffix (~> 4.0)
|
||||
typhoeus (~> 1.0)
|
||||
cocoapods-deintegrate (1.0.5)
|
||||
cocoapods-downloader (1.6.1)
|
||||
cocoapods-downloader (1.6.3)
|
||||
cocoapods-plugins (1.0.0)
|
||||
nap
|
||||
cocoapods-search (1.0.1)
|
||||
@@ -65,27 +65,27 @@ GEM
|
||||
httpclient (2.8.3)
|
||||
i18n (1.10.0)
|
||||
concurrent-ruby (~> 1.0)
|
||||
json (2.6.1)
|
||||
minitest (5.15.0)
|
||||
json (2.6.2)
|
||||
minitest (5.16.1)
|
||||
molinillo (0.8.0)
|
||||
nanaimo (0.3.0)
|
||||
nap (1.1.0)
|
||||
netrc (0.11.0)
|
||||
public_suffix (4.0.6)
|
||||
public_suffix (4.0.7)
|
||||
rexml (3.2.5)
|
||||
ruby-macho (2.5.1)
|
||||
typhoeus (1.4.0)
|
||||
ethon (>= 0.9.0)
|
||||
tzinfo (2.0.4)
|
||||
concurrent-ruby (~> 1.0)
|
||||
xcodeproj (1.21.0)
|
||||
xcodeproj (1.22.0)
|
||||
CFPropertyList (>= 2.3.3, < 4.0)
|
||||
atomos (~> 0.1.3)
|
||||
claide (>= 1.0.2, < 2.0)
|
||||
colored2 (~> 3.1)
|
||||
nanaimo (~> 0.3.0)
|
||||
rexml (~> 3.2.4)
|
||||
zeitwerk (2.5.4)
|
||||
zeitwerk (2.6.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
@@ -97,4 +97,4 @@ RUBY VERSION
|
||||
ruby 2.7.5p203
|
||||
|
||||
BUNDLED WITH
|
||||
2.3.10
|
||||
2.3.11
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
/**
|
||||
* @generated by scripts/set-rn-version.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
* @generated by scripts/set-rn-version.js
|
||||
* @flow strict
|
||||
*/
|
||||
|
||||
exports.version = {
|
||||
major: 0,
|
||||
minor: 0,
|
||||
minor: 69,
|
||||
patch: 0,
|
||||
prerelease: null,
|
||||
};
|
||||
|
||||
@@ -34,15 +34,14 @@ function codegenNativeComponent<Props>(
|
||||
componentName: string,
|
||||
options?: Options,
|
||||
): NativeComponentType<Props> {
|
||||
const errorMessage =
|
||||
"Native Component '" +
|
||||
componentName +
|
||||
"' that calls codegenNativeComponent was not code generated at build time. Please check its definition.";
|
||||
if (global.RN$Bridgeless === true) {
|
||||
const errorMessage =
|
||||
"Native Component '" +
|
||||
componentName +
|
||||
"' that calls codegenNativeComponent was not code generated at build time. Please check its definition.";
|
||||
console.error(errorMessage);
|
||||
} else {
|
||||
console.warn(errorMessage);
|
||||
}
|
||||
|
||||
let componentNameInUse =
|
||||
options && options.paperComponentName != null
|
||||
? options.paperComponentName
|
||||
|
||||
@@ -8,24 +8,18 @@
|
||||
* @flow strict-local
|
||||
*/
|
||||
|
||||
import {useMemo} from 'react';
|
||||
import {useSubscription} from 'use-subscription';
|
||||
'use strict';
|
||||
|
||||
import {useSyncExternalStore} from 'use-sync-external-store/shim';
|
||||
import Appearance from './Appearance';
|
||||
import type {ColorSchemeName} from './NativeAppearance';
|
||||
|
||||
export default function useColorScheme(): ?ColorSchemeName {
|
||||
const subscription = useMemo(
|
||||
() => ({
|
||||
getCurrentValue: () => Appearance.getColorScheme(),
|
||||
subscribe: callback => {
|
||||
const appearanceSubscription = Appearance.addChangeListener(callback);
|
||||
return () => {
|
||||
appearanceSubscription.remove();
|
||||
};
|
||||
},
|
||||
}),
|
||||
[],
|
||||
return useSyncExternalStore(
|
||||
callback => {
|
||||
const appearanceSubscription = Appearance.addChangeListener(callback);
|
||||
return () => appearanceSubscription.remove();
|
||||
},
|
||||
() => Appearance.getColorScheme(),
|
||||
);
|
||||
|
||||
return useSubscription(subscription);
|
||||
}
|
||||
|
||||
@@ -21,11 +21,11 @@ NSDictionary* RCTGetReactNativeVersion(void)
|
||||
static dispatch_once_t onceToken;
|
||||
dispatch_once(&onceToken, ^(void){
|
||||
__rnVersion = @{
|
||||
RCTVersionMajor: @(0),
|
||||
RCTVersionMinor: @(0),
|
||||
RCTVersionPatch: @(0),
|
||||
RCTVersionPrerelease: [NSNull null],
|
||||
};
|
||||
RCTVersionMajor: @(0),
|
||||
RCTVersionMinor: @(69),
|
||||
RCTVersionPatch: @(0),
|
||||
RCTVersionPrerelease: [NSNull null],
|
||||
};
|
||||
});
|
||||
return __rnVersion;
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ Pod::Spec.new do |s|
|
||||
"**/android/*",
|
||||
s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags
|
||||
s.header_dir = "React"
|
||||
s.module_name = "RCTFabric"
|
||||
s.framework = "JavaScriptCore"
|
||||
s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/Headers/Private/React-Core\" \"$(PODS_ROOT)/Headers/Public/React-Codegen\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\"" }
|
||||
s.xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/glog\" \"$(PODS_ROOT)/RCT-Folly\"", "CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
VERSION_NAME=1000.0.0-main
|
||||
VERSION_NAME=0.69.0
|
||||
GROUP=com.facebook.react
|
||||
|
||||
POM_NAME=ReactNative
|
||||
|
||||
@@ -12,6 +12,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := jsijniprofiler
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ ifeq ($(APP_OPTIM),debug)
|
||||
LOCAL_CFLAGS := -DHERMES_ENABLE_DEBUGGER=1
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi
|
||||
|
||||
@@ -38,6 +39,8 @@ else
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi
|
||||
|
||||
LOCAL_CPP_FEATURES := exceptions
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libjsireact libhermes-executor-common-release
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := mapbufferjni
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/react/common/mapbuffer/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfb \
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := fabricjni
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libbutter \
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := jscexecutor
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := reactnativeblob
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import java.util.Map;
|
||||
public class ReactNativeVersion {
|
||||
public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
|
||||
"major", 0,
|
||||
"minor", 0,
|
||||
"minor", 69,
|
||||
"patch", 0,
|
||||
"prerelease", null);
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ LOCAL_MODULE := reactperfloggerjni
|
||||
|
||||
# Compile all local c++ files
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/reactperflogger/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
# Build the files in this directory as a shared library
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
@@ -28,6 +28,7 @@ LOCAL_MODULE := callinvokerholder
|
||||
|
||||
# Compile all local c++ files
|
||||
LOCAL_SRC_FILES := $(LOCAL_PATH)/ReactCommon/CallInvokerHolder.cpp
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
# Build the files in this directory as a shared library
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
@@ -56,6 +57,7 @@ LOCAL_STATIC_LIBRARIES = libcallinvokerholder libreactperfloggerjni
|
||||
|
||||
# Compile all local c++ files
|
||||
LOCAL_SRC_FILES := $(LOCAL_PATH)/ReactCommon/TurboModuleManager.cpp $(LOCAL_PATH)/ReactCommon/OnLoad.cpp
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
# Build the files in this directory as a shared library
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := uimanagerjni
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfb \
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := yoga
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/jni/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/jni
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ LOCAL_MODULE := reactnativeutilsjni
|
||||
|
||||
# Compile all local c++ files.
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
ifeq ($(APP_OPTIM),debug)
|
||||
# Keep symbols by overriding the strip command invoked by ndk-build.
|
||||
@@ -106,6 +107,7 @@ LOCAL_MODULE := reactnativejni
|
||||
|
||||
# Compile all local c++ files.
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
ifeq ($(APP_OPTIM),debug)
|
||||
# Keep symbols by overriding the strip command invoked by ndk-build.
|
||||
|
||||
@@ -14,7 +14,8 @@ add_compile_options(
|
||||
-fexceptions
|
||||
-frtti
|
||||
-Wno-unused-lambda-capture
|
||||
-std=c++17)
|
||||
-std=c++17
|
||||
-DWITH_INSPECTOR=1)
|
||||
|
||||
##########################
|
||||
### React Native Utils ###
|
||||
|
||||
@@ -5,6 +5,7 @@ include $(CLEAR_VARS)
|
||||
# because the react native version does not include anything outside of headers.
|
||||
# They are required for Folly futures to compile successfully.
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/asm/$(TARGET_ARCH_ABI)/*.S)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/boost_1_76_0
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/boost_1_76_0
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := butter
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := reactnative
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace facebook::react {
|
||||
|
||||
constexpr struct {
|
||||
int32_t Major = 0;
|
||||
int32_t Minor = 0;
|
||||
int32_t Minor = 69;
|
||||
int32_t Patch = 0;
|
||||
std::string_view Prerelease = "";
|
||||
} ReactNativeVersion;
|
||||
|
||||
@@ -13,6 +13,7 @@ ifeq ($(APP_OPTIM),debug)
|
||||
LOCAL_CFLAGS := -DHERMES_ENABLE_DEBUGGER=1
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
||||
@@ -30,6 +31,8 @@ else
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libjsireact
|
||||
LOCAL_SHARED_LIBRARIES := libhermes libjsi
|
||||
|
||||
@@ -11,6 +11,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := hermes-inspector
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp $(LOCAL_PATH)/detail/*.cpp $(LOCAL_PATH)/chrome/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_ROOT := $(LOCAL_PATH)/../..
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := jsi
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/jsi/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
||||
@@ -25,6 +26,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := jscruntime
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := jsireact
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/jsireact/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := jsinspector
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := logger
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_config
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../
|
||||
|
||||
@@ -12,6 +12,7 @@ LOCAL_MODULE := react_debug
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ LOCAL_MODULE := react_nativemodule_core
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon $(LOCAL_PATH)/platform/android/ReactCommon
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/ReactCommon/*.cpp) $(wildcard $(LOCAL_PATH)/platform/android/ReactCommon/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../ $(LOCAL_PATH) $(LOCAL_PATH)/platform/android/
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := sampleturbomodule
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/ReactCommon/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfbjni \
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_render_animations
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_render_attributedstring
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
@@ -12,6 +12,7 @@ LOCAL_MODULE := react_render_componentregistry
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ LOCAL_MODULE := rrc_native
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rrc_image
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rrc_modal
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rrc_progressbar
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/android/react/renderer/components/progressbar/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/android/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/android/
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rrc_root
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rrc_scrollview
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rrc_slider
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/platform/android/react/renderer/components/slider/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/ $(LOCAL_PATH)/platform/android/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../ $(LOCAL_PATH)/platform/android/
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rrc_switch
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/androidswitch/react/renderer/components/androidswitch/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/androidswitch/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/androidswitch/
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rrc_text
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rrc_textinput
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/androidtextinput/react/renderer/components/androidtextinput/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/androidtextinput/react/renderer/components/androidtextinput/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/androidtextinput/
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rrc_unimplementedview
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rrc_view
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
|
||||
|
||||
@@ -12,6 +12,7 @@ LOCAL_MODULE := react_render_core
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ LOCAL_MODULE := react_render_debug
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_render_graphics
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp $(LOCAL_PATH)/platform/cxx/react/renderer/graphics/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
glog \
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_render_imagemanager
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp $(LOCAL_PATH)/platform/cxx/react/renderer/imagemanager/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfolly_runtime \
|
||||
|
||||
@@ -12,6 +12,7 @@ LOCAL_MODULE := react_render_leakchecker
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_render_mapbuffer
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_render_mounting
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
@@ -12,6 +12,7 @@ LOCAL_MODULE := react_render_runtimescheduler
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_render_scheduler
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_render_telemetry
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_render_templateprocessor
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_render_textlayoutmanager
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp $(LOCAL_PATH)/platform/android/react/renderer/textlayoutmanager/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
glog \
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_render_uimanager
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := react_utils
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/../../
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../
|
||||
|
||||
@@ -20,6 +20,7 @@ LOCAL_MODULE := reactperflogger
|
||||
|
||||
# Compile all local c++ files under ./ReactCommon
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/reactperflogger/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
# Build the files in this directory as a shared library
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
@@ -11,6 +11,7 @@ LOCAL_MODULE := yogacore
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/yoga/*.cpp)
|
||||
LOCAL_SRC_FILES += $(wildcard $(LOCAL_PATH)/yoga/*/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
declare module 'use-subscription' {
|
||||
declare export function useSubscription<Value>(subscription: {|
|
||||
getCurrentValue: () => Value,
|
||||
declare module 'use-sync-external-store/shim' {
|
||||
declare export function useSyncExternalStore<Value>(
|
||||
subscribe: (callback: Function) => () => void,
|
||||
|}): Value;
|
||||
getCurrentValue: () => Value,
|
||||
): Value;
|
||||
}
|
||||
+56
-16
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"name": "react-native",
|
||||
"private": true,
|
||||
"version": "1000.0.0",
|
||||
"version": "0.69.0",
|
||||
"bin": "./cli.js",
|
||||
"description": "A framework for building native apps using React",
|
||||
"license": "MIT",
|
||||
@@ -42,6 +41,11 @@
|
||||
"scripts/generate-artifacts.js",
|
||||
"scripts/generate-provider-cli.js",
|
||||
"scripts/generate-specs-cli.js",
|
||||
"scripts/codegen/codegen-utils.js",
|
||||
"scripts/codegen/generate-artifacts-executor.js",
|
||||
"scripts/codegen/generate-specs-cli-executor.js",
|
||||
"scripts/hermes/hermes-utils.js",
|
||||
"scripts/hermes/prepare-hermes-for-build.js",
|
||||
"scripts/ios-configure-glog.sh",
|
||||
"scripts/xcode/with-environment.sh",
|
||||
"scripts/launchPackager.bat",
|
||||
@@ -53,6 +57,8 @@
|
||||
"scripts/react_native_pods_utils/script_phases.sh",
|
||||
"scripts/react_native_pods.rb",
|
||||
"scripts/react-native-xcode.sh",
|
||||
"sdks/.hermesversion",
|
||||
"sdks/hermes-engine",
|
||||
"sdks/hermesc",
|
||||
"template.config.js",
|
||||
"template",
|
||||
@@ -85,18 +91,14 @@
|
||||
"test-android-e2e": "yarn run docker-build-android && yarn run test-android-run-e2e",
|
||||
"test-ios": "./scripts/objc-test.sh test"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/!(eslint-config-react-native-community)",
|
||||
"repo-config"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"react": "18.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jest/create-cache-key-function": "^27.0.1",
|
||||
"@react-native-community/cli": "^8.0.0-alpha.4",
|
||||
"@react-native-community/cli-platform-android": "^8.0.0-alpha.3",
|
||||
"@react-native-community/cli-platform-ios": "^8.0.0-alpha.3",
|
||||
"@react-native-community/cli": "^8.0.0",
|
||||
"@react-native-community/cli-platform-android": "^8.0.0",
|
||||
"@react-native-community/cli-platform-ios": "^8.0.0",
|
||||
"@react-native/assets": "1.0.0",
|
||||
"@react-native/normalize-color": "2.0.0",
|
||||
"@react-native/polyfills": "2.0.0",
|
||||
@@ -108,9 +110,10 @@
|
||||
"invariant": "^2.2.4",
|
||||
"jsc-android": "^250230.2.1",
|
||||
"memoize-one": "^5.0.0",
|
||||
"metro-react-native-babel-transformer": "0.70.1",
|
||||
"metro-runtime": "0.70.1",
|
||||
"metro-source-map": "0.70.1",
|
||||
"metro-react-native-babel-transformer": "0.70.3",
|
||||
"metro-runtime": "0.70.3",
|
||||
"metro-source-map": "0.70.3",
|
||||
"mkdirp": "^0.5.1",
|
||||
"nullthrows": "^1.1.1",
|
||||
"pretty-format": "^26.5.2",
|
||||
"promise": "^8.0.3",
|
||||
@@ -121,14 +124,51 @@
|
||||
"regenerator-runtime": "^0.13.2",
|
||||
"scheduler": "^0.21.0",
|
||||
"stacktrace-parser": "^0.1.3",
|
||||
"use-subscription": ">=1.0.0 <1.6.0",
|
||||
"use-sync-external-store": "^1.0.0",
|
||||
"whatwg-fetch": "^3.0.0",
|
||||
"ws": "^6.1.4"
|
||||
"ws": "^6.1.4",
|
||||
"react-native-codegen": "^0.69.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"flow-bin": "^0.176.3",
|
||||
"react": "18.0.0",
|
||||
"react-test-renderer": "^18.0.0"
|
||||
"react-test-renderer": "18.0.0",
|
||||
"@babel/core": "^7.14.0",
|
||||
"@babel/generator": "^7.14.0",
|
||||
"@babel/plugin-transform-regenerator": "^7.0.0",
|
||||
"@react-native-community/eslint-plugin": "*",
|
||||
"@react-native/eslint-plugin-specs": ">0.0.2",
|
||||
"@reactions/component": "^2.0.2",
|
||||
"async": "^3.2.2",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"clang-format": "^1.2.4",
|
||||
"connect": "^3.6.5",
|
||||
"coveralls": "^3.1.1",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-fb-strict": "^26.0.0",
|
||||
"eslint-config-fbjs": "^3.1.1",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-babel": "^5.3.1",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
"eslint-plugin-flowtype": "^7.0.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-react": "^7.26.1",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"eslint-plugin-react-native": "^3.11.0",
|
||||
"eslint-plugin-relay": "^1.8.2",
|
||||
"inquirer": "^7.1.0",
|
||||
"jest": "^26.6.3",
|
||||
"jest-junit": "^10.0.0",
|
||||
"jscodeshift": "^0.13.1",
|
||||
"metro-babel-register": "0.70.3",
|
||||
"mkdirp": "^0.5.1",
|
||||
"prettier": "^2.4.1",
|
||||
"shelljs": "^0.8.5",
|
||||
"signedsource": "^1.0.0",
|
||||
"ws": "^6.1.4",
|
||||
"yargs": "^15.3.1"
|
||||
},
|
||||
"codegenConfig": {
|
||||
"libraries": [
|
||||
@@ -148,4 +188,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-codegen",
|
||||
"version": "0.0.15",
|
||||
"version": "0.69.1",
|
||||
"description": "⚛️ Code generation tools for React Native",
|
||||
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-codegen",
|
||||
"repository": {
|
||||
|
||||
@@ -77,6 +77,7 @@ LOCAL_MODULE := react_codegen_${libraryName}
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/react/renderer/components/${libraryName}/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/react/renderer/components/${libraryName}
|
||||
|
||||
|
||||
+7
@@ -49,6 +49,7 @@ LOCAL_MODULE := react_codegen_SampleWithUppercaseName
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/react/renderer/components/SampleWithUppercaseName/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/react/renderer/components/SampleWithUppercaseName
|
||||
|
||||
@@ -157,6 +158,7 @@ LOCAL_MODULE := react_codegen_complex_objects
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/react/renderer/components/complex_objects/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/react/renderer/components/complex_objects
|
||||
|
||||
@@ -265,6 +267,7 @@ LOCAL_MODULE := react_codegen_empty_native_modules
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/react/renderer/components/empty_native_modules/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/react/renderer/components/empty_native_modules
|
||||
|
||||
@@ -373,6 +376,7 @@ LOCAL_MODULE := react_codegen_native_modules_with_type_aliases
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/react/renderer/components/native_modules_with_type_aliases/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/react/renderer/components/native_modules_with_type_aliases
|
||||
|
||||
@@ -489,6 +493,7 @@ LOCAL_MODULE := react_codegen_real_module_example
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/react/renderer/components/real_module_example/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/react/renderer/components/real_module_example
|
||||
|
||||
@@ -597,6 +602,7 @@ LOCAL_MODULE := react_codegen_simple_native_modules
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/react/renderer/components/simple_native_modules/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/react/renderer/components/simple_native_modules
|
||||
|
||||
@@ -713,6 +719,7 @@ LOCAL_MODULE := react_codegen_two_modules_different_files
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/react/renderer/components/two_modules_different_files/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/react/renderer/components/two_modules_different_files
|
||||
|
||||
|
||||
+538
-538
File diff suppressed because it is too large
Load Diff
@@ -913,6 +913,7 @@
|
||||
"-ObjC",
|
||||
"-lc++",
|
||||
);
|
||||
REACT_NATIVE_PATH = "${PODS_ROOT}/../../..";
|
||||
SDKROOT = iphoneos;
|
||||
WARNING_CFLAGS = (
|
||||
"-Wextra",
|
||||
@@ -989,6 +990,7 @@
|
||||
"-ObjC",
|
||||
"-lc++",
|
||||
);
|
||||
REACT_NATIVE_PATH = "${PODS_ROOT}/../../..";
|
||||
SDKROOT = iphoneos;
|
||||
VALIDATE_PRODUCT = YES;
|
||||
WARNING_CFLAGS = (
|
||||
|
||||
@@ -15,9 +15,10 @@ LOCAL_PATH := $(THIS_DIR)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := rntester_appmodules
|
||||
# Note: Build the react-native-codegen output along with other app-specific C++ files.
|
||||
# Note: We are linking against react_codegen_rntester hence no need to built the react-native-codegen output.
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(GENERATED_SRC_DIR)/codegen/jni
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(GENERATED_SRC_DIR)/codegen/jni/*.cpp)
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) $(GENERATED_SRC_DIR)/codegen/jni
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfabricjni \
|
||||
|
||||
@@ -39,12 +39,12 @@
|
||||
"jest": "^26.6.3",
|
||||
"jest-junit": "^10.0.0",
|
||||
"jscodeshift": "^0.13.1",
|
||||
"metro-babel-register": "0.70.1",
|
||||
"metro-babel-register": "0.70.3",
|
||||
"mkdirp": "^0.5.1",
|
||||
"prettier": "^2.4.1",
|
||||
"react": "17.0.2",
|
||||
"react-native-codegen": "^0.0.15",
|
||||
"react-test-renderer": "17.0.2",
|
||||
"react": "18.0.0",
|
||||
"react-native-codegen": "^0.69.1",
|
||||
"react-test-renderer": "18.0.0",
|
||||
"shelljs": "^0.8.5",
|
||||
"signedsource": "^1.0.0",
|
||||
"ws": "^6.1.4",
|
||||
|
||||
@@ -16,11 +16,7 @@
|
||||
const {exit} = require('shelljs');
|
||||
const yargs = require('yargs');
|
||||
const inquirer = require('inquirer');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const HERMES_TAG_FILE_DIR = 'sdks';
|
||||
const HERMES_TAG_FILE_PATH = `${HERMES_TAG_FILE_DIR}/.hermesversion`;
|
||||
const {setHermesTag} = require('./hermes-utils');
|
||||
|
||||
let argv = yargs.option('t', {
|
||||
alias: 'tag',
|
||||
@@ -29,32 +25,6 @@ let argv = yargs.option('t', {
|
||||
required: true,
|
||||
}).argv;
|
||||
|
||||
function readHermesTag() {
|
||||
if (fs.existsSync(path)) {
|
||||
const data = fs.readFileSync(HERMES_TAG_FILE_PATH, {
|
||||
encoding: 'utf8',
|
||||
flag: 'r',
|
||||
});
|
||||
return data.trim();
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
function setHermesTag(hermesTag) {
|
||||
if (readHermesTag() === hermesTag) {
|
||||
// No need to update.
|
||||
return;
|
||||
}
|
||||
|
||||
if (!fs.existsSync(HERMES_TAG_FILE_DIR)) {
|
||||
fs.mkdirSync(HERMES_TAG_FILE_DIR, {recursive: true});
|
||||
}
|
||||
|
||||
fs.writeFileSync(HERMES_TAG_FILE_PATH, hermesTag.trim());
|
||||
console.log('Hermes tag has been updated. Please commit your changes.');
|
||||
}
|
||||
|
||||
async function main() {
|
||||
const hermesTag = argv.tag;
|
||||
const {confirmHermesTag} = await inquirer.prompt({
|
||||
@@ -0,0 +1,237 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const {execSync} = require('child_process');
|
||||
|
||||
const SDKS_DIR = path.normalize(path.join(__dirname, '..', '..', 'sdks'));
|
||||
const HERMES_DIR = path.join(SDKS_DIR, 'hermes');
|
||||
const DEFAULT_HERMES_TAG = 'main';
|
||||
const HERMES_TAG_FILE_PATH = path.join(SDKS_DIR, '.hermesversion');
|
||||
const HERMES_TARBALL_BASE_URL = 'https://github.com/facebook/hermes/tarball/';
|
||||
const HERMES_TARBALL_DOWNLOAD_DIR = path.join(SDKS_DIR, 'download');
|
||||
const MACOS_BIN_DIR = path.join(SDKS_DIR, 'hermesc', 'osx-bin');
|
||||
const MACOS_HERMESC_PATH = path.join(MACOS_BIN_DIR, 'hermesc');
|
||||
const MACOS_IMPORT_HERMESC_PATH = path.join(
|
||||
MACOS_BIN_DIR,
|
||||
'ImportHermesc.cmake',
|
||||
);
|
||||
|
||||
function readHermesTag() {
|
||||
if (fs.existsSync(HERMES_TAG_FILE_PATH)) {
|
||||
const data = fs
|
||||
.readFileSync(HERMES_TAG_FILE_PATH, {
|
||||
encoding: 'utf8',
|
||||
flag: 'r',
|
||||
})
|
||||
.trim();
|
||||
|
||||
if (data.length > 0) {
|
||||
return data;
|
||||
} else {
|
||||
throw new Error('[Hermes] .hermesversion file is empty.');
|
||||
}
|
||||
}
|
||||
|
||||
return 'main';
|
||||
}
|
||||
|
||||
function setHermesTag(hermesTag) {
|
||||
if (readHermesTag() === hermesTag) {
|
||||
// No need to update.
|
||||
return;
|
||||
}
|
||||
|
||||
if (!fs.existsSync(SDKS_DIR)) {
|
||||
fs.mkdirSync(SDKS_DIR, {recursive: true});
|
||||
}
|
||||
fs.writeFileSync(HERMES_TAG_FILE_PATH, hermesTag.trim());
|
||||
console.log('Hermes tag has been updated. Please commit your changes.');
|
||||
}
|
||||
|
||||
function getHermesTagSHA(hermesTag) {
|
||||
return execSync(
|
||||
`git ls-remote https://github.com/facebook/hermes ${hermesTag} | cut -f 1`,
|
||||
)
|
||||
.toString()
|
||||
.trim();
|
||||
}
|
||||
|
||||
function getHermesTarballDownloadPath(hermesTag) {
|
||||
const hermesTagSHA = getHermesTagSHA(hermesTag);
|
||||
return `${HERMES_TARBALL_DOWNLOAD_DIR}/hermes-${hermesTagSHA}.tgz`;
|
||||
}
|
||||
|
||||
function downloadHermesTarball() {
|
||||
const hermesTag = readHermesTag();
|
||||
const hermesTagSHA = getHermesTagSHA(hermesTag);
|
||||
const hermesTarballDownloadPath = getHermesTarballDownloadPath(hermesTag);
|
||||
let hermesTarballUrl = HERMES_TARBALL_BASE_URL + hermesTag;
|
||||
|
||||
if (fs.existsSync(hermesTarballDownloadPath)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!fs.existsSync(HERMES_TARBALL_DOWNLOAD_DIR)) {
|
||||
fs.mkdirSync(HERMES_TARBALL_DOWNLOAD_DIR, {recursive: true});
|
||||
}
|
||||
|
||||
console.info(
|
||||
`[Hermes] Downloading Hermes source code for commit ${hermesTagSHA}`,
|
||||
);
|
||||
try {
|
||||
execSync(`curl ${hermesTarballUrl} -Lo ${hermesTarballDownloadPath}`);
|
||||
} catch (error) {
|
||||
throw new Error(`[Hermes] Failed to download Hermes tarball. ${error}`);
|
||||
}
|
||||
}
|
||||
|
||||
function expandHermesTarball() {
|
||||
const hermesTag = readHermesTag();
|
||||
const hermesTagSHA = getHermesTagSHA(hermesTag);
|
||||
const hermesTarballDownloadPath = getHermesTarballDownloadPath(hermesTag);
|
||||
|
||||
if (!fs.existsSync(hermesTarballDownloadPath)) {
|
||||
throw new Error('[Hermes] Could not locate Hermes tarball.');
|
||||
}
|
||||
|
||||
if (!fs.existsSync(HERMES_DIR)) {
|
||||
fs.mkdirSync(HERMES_DIR, {recursive: true});
|
||||
}
|
||||
console.info(`[Hermes] Expanding Hermes tarball for commit ${hermesTagSHA}`);
|
||||
try {
|
||||
execSync(
|
||||
`tar -zxf ${hermesTarballDownloadPath} --strip-components=1 --directory ${HERMES_DIR}`,
|
||||
);
|
||||
} catch (error) {
|
||||
throw new Error('[Hermes] Failed to expand Hermes tarball.');
|
||||
}
|
||||
}
|
||||
|
||||
function copyBuildScripts() {
|
||||
if (!fs.existsSync(SDKS_DIR)) {
|
||||
throw new Error(
|
||||
'[Hermes] Failed to copy Hermes build scripts, no SDKs directory found.',
|
||||
);
|
||||
}
|
||||
|
||||
if (!fs.existsSync(HERMES_DIR)) {
|
||||
fs.mkdirSync(path.join(HERMES_DIR, 'utils'), {recursive: true});
|
||||
}
|
||||
|
||||
fs.copyFileSync(
|
||||
`${SDKS_DIR}/hermes-engine/utils/build-apple-framework.sh`,
|
||||
`${HERMES_DIR}/utils/build-apple-framework.sh`,
|
||||
);
|
||||
fs.copyFileSync(
|
||||
`${SDKS_DIR}/hermes-engine/utils/build-ios-framework.sh`,
|
||||
`${HERMES_DIR}/utils/build-ios-framework.sh`,
|
||||
);
|
||||
fs.copyFileSync(
|
||||
`${SDKS_DIR}/hermes-engine/utils/build-mac-framework.sh`,
|
||||
`${HERMES_DIR}/utils/build-mac-framework.sh`,
|
||||
);
|
||||
}
|
||||
|
||||
function copyPodSpec() {
|
||||
if (!fs.existsSync(SDKS_DIR)) {
|
||||
throw new Error(
|
||||
'[Hermes] Failed to copy Hermes Podspec, no SDKs directory found.',
|
||||
);
|
||||
}
|
||||
|
||||
if (!fs.existsSync(HERMES_DIR)) {
|
||||
fs.mkdirSync(HERMES_DIR, {recursive: true});
|
||||
}
|
||||
fs.copyFileSync(
|
||||
path.join(SDKS_DIR, 'hermes-engine', 'hermes-engine.podspec'),
|
||||
path.join(HERMES_DIR, 'hermes-engine.podspec'),
|
||||
);
|
||||
}
|
||||
|
||||
function isOnAReleaseBranch() {
|
||||
try {
|
||||
let currentBranch = execSync('git rev-parse --abbrev-ref HEAD')
|
||||
.toString()
|
||||
.trim();
|
||||
let currentRemote = execSync('git config --get remote.origin.url')
|
||||
.toString()
|
||||
.trim();
|
||||
return (
|
||||
currentBranch.endsWith('-stable') &&
|
||||
currentRemote.endsWith('facebook/react-native.git')
|
||||
);
|
||||
} catch (error) {
|
||||
// If not inside a git repo, we're going to fail here and return.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function isOnAReleaseTag() {
|
||||
try {
|
||||
// If on a named tag, this method will return the tag name.
|
||||
// If not, it will throw as the return code is not 0.
|
||||
execSync('git describe --exact-match HEAD', {stdio: 'ignore'});
|
||||
} catch (error) {
|
||||
return false;
|
||||
}
|
||||
let currentRemote = execSync('git config --get remote.origin.url')
|
||||
.toString()
|
||||
.trim();
|
||||
return currentRemote.endsWith('facebook/react-native.git');
|
||||
}
|
||||
|
||||
function shouldBuildHermesFromSource() {
|
||||
const hermesTag = readHermesTag();
|
||||
return (
|
||||
isOnAReleaseBranch() ||
|
||||
isOnAReleaseTag() ||
|
||||
hermesTag === DEFAULT_HERMES_TAG
|
||||
);
|
||||
}
|
||||
|
||||
function shouldUsePrebuiltHermesC(os) {
|
||||
if (os === 'macos') {
|
||||
return fs.existsSync(MACOS_HERMESC_PATH);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function configureMakeForPrebuiltHermesC() {
|
||||
const IMPORT_HERMESC_TEMPLATE = `add_executable(native-hermesc IMPORTED)
|
||||
set_target_properties(native-hermesc PROPERTIES
|
||||
IMPORTED_LOCATION "${MACOS_HERMESC_PATH}"
|
||||
)`;
|
||||
|
||||
try {
|
||||
fs.mkdirSync(MACOS_BIN_DIR, {recursive: true});
|
||||
fs.writeFileSync(MACOS_IMPORT_HERMESC_PATH, IMPORT_HERMESC_TEMPLATE);
|
||||
} catch (error) {
|
||||
console.warn(
|
||||
`[Hermes] Re-compiling hermesc. Unable to configure make: ${error}`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
configureMakeForPrebuiltHermesC,
|
||||
copyBuildScripts,
|
||||
copyPodSpec,
|
||||
downloadHermesTarball,
|
||||
expandHermesTarball,
|
||||
getHermesTagSHA,
|
||||
readHermesTag,
|
||||
setHermesTag,
|
||||
shouldBuildHermesFromSource,
|
||||
shouldUsePrebuiltHermesC,
|
||||
};
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* This script prepares Hermes to be built as part of the
|
||||
* iOS build pipeline on macOS.
|
||||
*/
|
||||
const {
|
||||
configureMakeForPrebuiltHermesC,
|
||||
copyBuildScripts,
|
||||
copyPodSpec,
|
||||
downloadHermesTarball,
|
||||
expandHermesTarball,
|
||||
shouldUsePrebuiltHermesC,
|
||||
shouldBuildHermesFromSource,
|
||||
} = require('./hermes-utils');
|
||||
|
||||
async function main() {
|
||||
if (!shouldBuildHermesFromSource()) {
|
||||
copyPodSpec();
|
||||
return;
|
||||
}
|
||||
|
||||
downloadHermesTarball();
|
||||
expandHermesTarball();
|
||||
copyPodSpec();
|
||||
copyBuildScripts();
|
||||
|
||||
if (shouldUsePrebuiltHermesC('macos')) {
|
||||
console.log('[Hermes] Using pre-built HermesC');
|
||||
configureMakeForPrebuiltHermesC();
|
||||
}
|
||||
}
|
||||
|
||||
main().then(() => {
|
||||
process.exit(0);
|
||||
});
|
||||
@@ -3,6 +3,8 @@
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
require 'json'
|
||||
require 'open3'
|
||||
require 'pathname'
|
||||
require_relative './react_native_pods_utils/script_phases.rb'
|
||||
|
||||
@@ -44,7 +46,7 @@ def use_react_native! (options={})
|
||||
pod 'FBLazyVector', :path => "#{prefix}/Libraries/FBLazyVector"
|
||||
pod 'FBReactNativeSpec', :path => "#{prefix}/React/FBReactNativeSpec"
|
||||
pod 'RCTRequired', :path => "#{prefix}/Libraries/RCTRequired"
|
||||
pod 'RCTTypeSafety', :path => "#{prefix}/Libraries/TypeSafety"
|
||||
pod 'RCTTypeSafety', :path => "#{prefix}/Libraries/TypeSafety", :modular_headers => true
|
||||
pod 'React', :path => "#{prefix}/"
|
||||
pod 'React-Core', :path => "#{prefix}/"
|
||||
pod 'React-CoreModules', :path => "#{prefix}/React/CoreModules"
|
||||
@@ -72,13 +74,13 @@ def use_react_native! (options={})
|
||||
pod 'React-runtimeexecutor', :path => "#{prefix}/ReactCommon/runtimeexecutor"
|
||||
pod 'React-perflogger', :path => "#{prefix}/ReactCommon/reactperflogger"
|
||||
pod 'React-logger', :path => "#{prefix}/ReactCommon/logger"
|
||||
pod 'ReactCommon/turbomodule/core', :path => "#{prefix}/ReactCommon"
|
||||
pod 'ReactCommon/turbomodule/core', :path => "#{prefix}/ReactCommon", :modular_headers => true
|
||||
pod 'Yoga', :path => "#{prefix}/ReactCommon/yoga", :modular_headers => true
|
||||
|
||||
pod 'DoubleConversion', :podspec => "#{prefix}/third-party-podspecs/DoubleConversion.podspec"
|
||||
pod 'glog', :podspec => "#{prefix}/third-party-podspecs/glog.podspec"
|
||||
pod 'boost', :podspec => "#{prefix}/third-party-podspecs/boost.podspec"
|
||||
pod 'RCT-Folly', :podspec => "#{prefix}/third-party-podspecs/RCT-Folly.podspec"
|
||||
pod 'RCT-Folly', :podspec => "#{prefix}/third-party-podspecs/RCT-Folly.podspec", :modular_headers => true
|
||||
|
||||
if ENV['USE_CODEGEN_DISCOVERY'] == '1'
|
||||
app_path = options[:app_path]
|
||||
@@ -96,7 +98,7 @@ def use_react_native! (options={})
|
||||
generate_react_codegen_podspec!(react_codegen_spec)
|
||||
end
|
||||
|
||||
pod 'React-Codegen', :path => $CODEGEN_OUTPUT_DIR
|
||||
pod 'React-Codegen', :path => $CODEGEN_OUTPUT_DIR, :modular_headers => true
|
||||
|
||||
if fabric_enabled
|
||||
checkAndGenerateEmptyThirdPartyProvider!(prefix)
|
||||
@@ -104,15 +106,19 @@ def use_react_native! (options={})
|
||||
pod 'React-rncore', :path => "#{prefix}/ReactCommon"
|
||||
pod 'React-graphics', :path => "#{prefix}/ReactCommon/react/renderer/graphics"
|
||||
pod 'React-jsi/Fabric', :path => "#{prefix}/ReactCommon/jsi"
|
||||
pod 'React-RCTFabric', :path => "#{prefix}/React"
|
||||
pod 'React-RCTFabric', :path => "#{prefix}/React", :modular_headers => true
|
||||
pod 'RCT-Folly/Fabric', :podspec => "#{prefix}/third-party-podspecs/RCT-Folly.podspec"
|
||||
end
|
||||
|
||||
if hermes_enabled
|
||||
prepare_hermes = 'node scripts/hermes/prepare-hermes-for-build'
|
||||
react_native_dir = Pod::Config.instance.installation_root.join(prefix)
|
||||
prep_output, prep_status = Open3.capture2e(prepare_hermes, :chdir => react_native_dir)
|
||||
prep_output.split("\n").each { |line| Pod::UI.info line }
|
||||
abort unless prep_status == 0
|
||||
|
||||
pod 'React-hermes', :path => "#{prefix}/ReactCommon/hermes"
|
||||
Pod::UI.puts "[Hermes] Building Hermes from source"
|
||||
hermes_source_path = downloadAndConfigureHermesSource(prefix)
|
||||
pod 'hermes-engine', :path => "#{hermes_source_path}/hermes-engine.podspec"
|
||||
pod 'hermes-engine', :podspec => "#{prefix}/sdks/hermes/hermes-engine.podspec"
|
||||
pod 'libevent', '~> 2.1.12'
|
||||
end
|
||||
|
||||
@@ -143,10 +149,10 @@ end
|
||||
def use_flipper!(versions = {}, configurations: ['Debug'])
|
||||
versions['Flipper'] ||= '0.125.0'
|
||||
versions['Flipper-Boost-iOSX'] ||= '1.76.0.1.11'
|
||||
versions['Flipper-DoubleConversion'] ||= '3.2.0'
|
||||
versions['Flipper-DoubleConversion'] ||= '3.2.0.1'
|
||||
versions['Flipper-Fmt'] ||= '7.1.7'
|
||||
versions['Flipper-Folly'] ||= '2.6.10'
|
||||
versions['Flipper-Glog'] ||= '0.5.0.4'
|
||||
versions['Flipper-Glog'] ||= '0.5.0.5'
|
||||
versions['Flipper-PeerTalk'] ||= '0.0.4'
|
||||
versions['Flipper-RSocket'] ||= '1.4.3'
|
||||
versions['OpenSSL-Universal'] ||= '1.1.1100'
|
||||
@@ -665,45 +671,6 @@ def use_react_native_codegen!(spec, options={})
|
||||
}
|
||||
end
|
||||
|
||||
def downloadAndConfigureHermesSource(react_native_path)
|
||||
hermes_tarball_base_url = "https://github.com/facebook/hermes/tarball/"
|
||||
sdks_dir = "#{react_native_path}/sdks"
|
||||
download_dir = "#{sdks_dir}/download"
|
||||
hermes_dir = "#{sdks_dir}/hermes"
|
||||
hermes_tag_file = "#{sdks_dir}/.hermesversion"
|
||||
system("mkdir -p #{hermes_dir} #{download_dir}")
|
||||
|
||||
if (File.exist?(hermes_tag_file))
|
||||
hermes_tag = File.read(hermes_tag_file).strip
|
||||
else
|
||||
hermes_tag = "main"
|
||||
end
|
||||
|
||||
hermes_tarball_url = hermes_tarball_base_url + hermes_tag
|
||||
hermes_tag_sha = %x[git ls-remote https://github.com/facebook/hermes #{hermes_tag} | cut -f 1].strip
|
||||
hermes_tarball_path = "#{download_dir}/hermes-#{hermes_tag_sha}.tar.gz"
|
||||
|
||||
if (!File.exist?(hermes_tarball_path))
|
||||
Pod::UI.puts "[Hermes] Downloading Hermes source code (#{hermes_tarball_url})"
|
||||
system("curl #{hermes_tarball_url} -Lo #{hermes_tarball_path}")
|
||||
end
|
||||
Pod::UI.puts "[Hermes] Extracting Hermes (#{hermes_tag_sha})"
|
||||
system("tar -zxf #{hermes_tarball_path} --strip-components=1 --directory #{hermes_dir}")
|
||||
|
||||
hermesc_macos_path = "#{sdks_dir}/hermesc/macos/build_host_hermesc"
|
||||
hermesc_macos_link = "#{hermes_dir}/utils/build_host_hermesc"
|
||||
if (File.exist?(hermesc_macos_path))
|
||||
# If hermesc is present, create a symbolic link in the hermes source directory to avoid re-building hermesc
|
||||
Pod::UI.puts "[Hermes] Using pre-compiled Hermes Compiler from #{hermesc_macos_path}"
|
||||
system("ln -s #{hermesc_macos_path} #{hermesc_macos_link}")
|
||||
end
|
||||
|
||||
# TODO: Integrate this temporary hermes-engine.podspec into the actual one located in facebook/hermes
|
||||
system("cp #{sdks_dir}/hermes-engine.podspec #{hermes_dir}/hermes-engine.podspec")
|
||||
|
||||
hermes_dir
|
||||
end
|
||||
|
||||
# This provides a post_install workaround for build issues related Xcode 12.5 and Apple Silicon (M1) machines.
|
||||
# Call this in the app's main Podfile's post_install hook.
|
||||
# See https://github.com/facebook/react-native/issues/31480#issuecomment-902912841 for more context.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
hermes-2022-05-20-RNv0.69.0-ee8941b8874132b8f83e4486b63ed5c19fc3f111
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
hermes_tag = 'main'
|
||||
hermes_tag_file = File.join(__dir__, ".hermesversion")
|
||||
if (File.exist?(hermes_tag_file))
|
||||
hermes_tag = File.read(hermes_tag_file)
|
||||
end
|
||||
hermes_tag_sha = `git ls-remote https://github.com/facebook/hermes #{hermes_tag} | cut -f 1`.strip
|
||||
source = { :git => 'https://github.com/facebook/hermes.git', :commit => hermes_tag_sha }
|
||||
|
||||
module HermesHelper
|
||||
# BUILD_TYPE = :debug
|
||||
BUILD_TYPE = :release
|
||||
end
|
||||
|
||||
Pod::Spec.new do |spec|
|
||||
spec.name = "hermes-engine"
|
||||
spec.version = '1000.0.0'
|
||||
spec.summary = "Hermes is a small and lightweight JavaScript engine optimized for running React Native."
|
||||
spec.description = "Hermes is a JavaScript engine optimized for fast start-up of React Native apps. It features ahead-of-time static optimization and compact bytecode."
|
||||
spec.homepage = "https://hermesengine.dev"
|
||||
spec.license = { type: "MIT", file: "LICENSE" }
|
||||
spec.author = "Facebook"
|
||||
spec.source = source
|
||||
spec.platforms = { :osx => "10.13", :ios => "11.0" }
|
||||
|
||||
spec.preserve_paths = ["destroot/bin/*"].concat(HermesHelper::BUILD_TYPE == :debug ? ["**/*.{h,c,cpp}"] : [])
|
||||
spec.source_files = "destroot/include/**/*.h"
|
||||
spec.header_mappings_dir = "destroot/include"
|
||||
|
||||
spec.ios.vendored_frameworks = "destroot/Library/Frameworks/universal/hermes.xcframework"
|
||||
spec.osx.vendored_frameworks = "destroot/Library/Frameworks/macosx/hermes.framework"
|
||||
|
||||
spec.xcconfig = { "CLANG_CXX_LANGUAGE_STANDARD" => "c++17", "CLANG_CXX_LIBRARY" => "compiler-default", "GCC_PREPROCESSOR_DEFINITIONS" => "HERMES_ENABLE_DEBUGGER=1" }
|
||||
|
||||
# TODO: Consider moving Hermes build scripts to react_native_pods.rb for greater control over when they're executed
|
||||
spec.prepare_command = <<-EOS
|
||||
# When true, debug build will be used.
|
||||
# See `build-apple-framework.sh` for details
|
||||
DEBUG=#{HermesHelper::BUILD_TYPE == :debug}
|
||||
|
||||
# Build iOS framework
|
||||
./utils/build-ios-framework.sh
|
||||
|
||||
# Build Mac framework
|
||||
./utils/build-mac-framework.sh
|
||||
EOS
|
||||
end
|
||||
@@ -0,0 +1,79 @@
|
||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
require "json"
|
||||
require "open3"
|
||||
|
||||
# sdks/hermesc/osx-bin/ImportHermesc.cmake
|
||||
import_hermesc_file=File.join(__dir__, "..", "hermesc", "osx-bin", "ImportHermesc.cmake")
|
||||
|
||||
# package.json
|
||||
package_file = File.join(__dir__, "..", "..", "package.json")
|
||||
package = JSON.parse(File.read(package_file))
|
||||
version = package['version']
|
||||
|
||||
# We need to check the current git branch/remote to verify if
|
||||
# we're on a React Native release branch to actually build Hermes.
|
||||
currentbranch, err = Open3.capture3("git rev-parse --abbrev-ref HEAD")
|
||||
currentremote, err = Open3.capture3("git config --get remote.origin.url")
|
||||
|
||||
source = {}
|
||||
git = "https://github.com/facebook/hermes.git"
|
||||
|
||||
if version == '1000.0.0'
|
||||
Pod::UI.puts '[Hermes] Hermes needs to be compiled, installing hermes-engine may take a while...'.yellow if Object.const_defined?("Pod::UI")
|
||||
source[:git] = git
|
||||
source[:commit] = `git ls-remote https://github.com/facebook/hermes main | cut -f 1`.strip
|
||||
elsif currentremote.strip.end_with?("facebook/react-native.git") and currentbranch.strip.end_with?("-stable")
|
||||
Pod::UI.puts '[Hermes] Detected that you are on a React Native release branch, building Hermes from source...'.yellow if Object.const_defined?("Pod::UI")
|
||||
source[:git] = git
|
||||
source[:commit] = `git ls-remote https://github.com/facebook/hermes main | cut -f 1`.strip
|
||||
else
|
||||
source[:http] = "https://github.com/facebook/react-native/releases/download/v#{version}/hermes-runtime-darwin-v#{version}.tar.gz"
|
||||
end
|
||||
|
||||
module HermesHelper
|
||||
# BUILD_TYPE = :debug
|
||||
BUILD_TYPE = :release
|
||||
end
|
||||
|
||||
Pod::Spec.new do |spec|
|
||||
spec.name = "hermes-engine"
|
||||
spec.version = version
|
||||
spec.summary = "Hermes is a small and lightweight JavaScript engine optimized for running React Native."
|
||||
spec.description = "Hermes is a JavaScript engine optimized for fast start-up of React Native apps. It features ahead-of-time static optimization and compact bytecode."
|
||||
spec.homepage = "https://hermesengine.dev"
|
||||
spec.license = package["license"]
|
||||
spec.author = "Facebook"
|
||||
spec.source = source
|
||||
spec.platforms = { :osx => "10.13", :ios => "11.0" }
|
||||
|
||||
spec.preserve_paths = ["destroot/bin/*"].concat(HermesHelper::BUILD_TYPE == :debug ? ["**/*.{h,c,cpp}"] : [])
|
||||
spec.source_files = "destroot/include/**/*.h"
|
||||
spec.header_mappings_dir = "destroot/include"
|
||||
|
||||
spec.ios.vendored_frameworks = "destroot/Library/Frameworks/universal/hermes.xcframework"
|
||||
spec.osx.vendored_frameworks = "destroot/Library/Frameworks/macosx/hermes.framework"
|
||||
|
||||
spec.xcconfig = { "CLANG_CXX_LANGUAGE_STANDARD" => "c++17", "CLANG_CXX_LIBRARY" => "compiler-default", "GCC_PREPROCESSOR_DEFINITIONS" => "HERMES_ENABLE_DEBUGGER=1" }
|
||||
|
||||
if source[:git] then
|
||||
spec.prepare_command = <<-EOS
|
||||
# When true, debug build will be used.
|
||||
# See `build-apple-framework.sh` for details
|
||||
DEBUG=#{HermesHelper::BUILD_TYPE == :debug}
|
||||
|
||||
# Set HERMES_OVERRIDE_HERMESC_PATH if pre-built HermesC is available
|
||||
#{File.exist?(import_hermesc_file) ? "export HERMES_OVERRIDE_HERMESC_PATH=#{import_hermesc_file}" : ""}
|
||||
#{File.exist?(import_hermesc_file) ? "echo \"Overriding HermesC path...\"" : ""}
|
||||
|
||||
# Build iOS framework
|
||||
./utils/build-ios-framework.sh
|
||||
|
||||
# Build Mac framework
|
||||
./utils/build-mac-framework.sh
|
||||
EOS
|
||||
end
|
||||
end
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
if [ "$DEBUG" = true ]; then
|
||||
BUILD_TYPE="Debug"
|
||||
else
|
||||
BUILD_TYPE="Release"
|
||||
fi
|
||||
|
||||
NUM_CORES=$(sysctl -n hw.ncpu)
|
||||
IMPORT_HERMESC_PATH=${HERMES_OVERRIDE_HERMESC_PATH:-$PWD/build_host_hermesc/ImportHermesc.cmake}
|
||||
|
||||
function get_release_version {
|
||||
ruby -rcocoapods-core -rjson -e "puts Pod::Specification.from_file('hermes-engine.podspec').version"
|
||||
}
|
||||
|
||||
function get_ios_deployment_target {
|
||||
ruby -rcocoapods-core -rjson -e "puts Pod::Specification.from_file('hermes-engine.podspec').deployment_target('ios')"
|
||||
}
|
||||
|
||||
function get_mac_deployment_target {
|
||||
ruby -rcocoapods-core -rjson -e "puts Pod::Specification.from_file('hermes-engine.podspec').deployment_target('osx')"
|
||||
}
|
||||
|
||||
# Build host hermes compiler for internal bytecode
|
||||
function build_host_hermesc {
|
||||
cmake -S . -B build_host_hermesc
|
||||
cmake --build ./build_host_hermesc --target hermesc -j ${NUM_CORES}
|
||||
}
|
||||
|
||||
# Utility function to configure an Apple framework
|
||||
function configure_apple_framework {
|
||||
local build_cli_tools enable_bitcode
|
||||
|
||||
if [[ $1 == iphoneos || $1 == catalyst ]]; then
|
||||
enable_bitcode="true"
|
||||
else
|
||||
enable_bitcode="false"
|
||||
fi
|
||||
if [[ $1 == macosx ]]; then
|
||||
build_cli_tools="true"
|
||||
else
|
||||
build_cli_tools="false"
|
||||
fi
|
||||
|
||||
cmake -S . -B "build_$1" \
|
||||
-DHERMES_APPLE_TARGET_PLATFORM:STRING="$1" \
|
||||
-DCMAKE_OSX_ARCHITECTURES:STRING="$2" \
|
||||
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING="$3" \
|
||||
-DHERMES_ENABLE_DEBUGGER:BOOLEAN=true \
|
||||
-DHERMES_ENABLE_LIBFUZZER:BOOLEAN=false \
|
||||
-DHERMES_ENABLE_FUZZILLI:BOOLEAN=false \
|
||||
-DHERMES_ENABLE_TEST_SUITE:BOOLEAN=false \
|
||||
-DHERMES_ENABLE_BITCODE:BOOLEAN="$enable_bitcode" \
|
||||
-DHERMES_BUILD_APPLE_FRAMEWORK:BOOLEAN=true \
|
||||
-DHERMES_BUILD_APPLE_DSYM:BOOLEAN=true \
|
||||
-DHERMES_ENABLE_TOOLS:BOOLEAN="$build_cli_tools" \
|
||||
-DIMPORT_HERMESC:PATH="$IMPORT_HERMESC_PATH" \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=../destroot \
|
||||
-DCMAKE_BUILD_TYPE="$BUILD_TYPE"
|
||||
}
|
||||
|
||||
# Utility function to build an Apple framework
|
||||
function build_apple_framework {
|
||||
echo "Building framework for $1 with architectures: $2"
|
||||
|
||||
# Only build host HermesC if no file found at $IMPORT_HERMESC_PATH
|
||||
[ ! -f "$IMPORT_HERMESC_PATH" ] &&
|
||||
build_host_hermesc
|
||||
|
||||
# Confirm ImportHermesc.cmake is now available.
|
||||
[ ! -f "$IMPORT_HERMESC_PATH" ] &&
|
||||
echo "Host hermesc is required to build apple frameworks!"
|
||||
|
||||
configure_apple_framework "$1" "$2" "$3"
|
||||
cmake --build "./build_$1" --target install/strip -j ${NUM_CORES}
|
||||
}
|
||||
|
||||
# Accepts an array of frameworks and will place all of
|
||||
# the architectures into an universal folder and then remove
|
||||
# the merged frameworks from destroot
|
||||
function create_universal_framework {
|
||||
cd ./destroot/Library/Frameworks || exit 1
|
||||
|
||||
local platforms=("$@")
|
||||
local args=""
|
||||
|
||||
echo "Creating universal framework for platforms: ${platforms[*]}"
|
||||
|
||||
for i in "${!platforms[@]}"; do
|
||||
args+="-framework ${platforms[$i]}/hermes.framework "
|
||||
done
|
||||
|
||||
mkdir universal
|
||||
# shellcheck disable=SC2086
|
||||
xcodebuild -create-xcframework $args -output "universal/hermes.xcframework"
|
||||
|
||||
for platform in "$@"; do
|
||||
rm -r "$platform"
|
||||
done
|
||||
|
||||
cd - || exit 1
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
# shellcheck source=xplat/js/react-native-github/sdks/hermes-engine/utils/build-apple-framework.sh
|
||||
. ./utils/build-apple-framework.sh
|
||||
|
||||
if [ ! -d destroot/Library/Frameworks/universal/hermes.xcframework ]; then
|
||||
ios_deployment_target=$(get_ios_deployment_target)
|
||||
|
||||
build_apple_framework "iphoneos" "arm64" "$ios_deployment_target"
|
||||
build_apple_framework "iphonesimulator" "x86_64;arm64" "$ios_deployment_target"
|
||||
build_apple_framework "catalyst" "x86_64;arm64" "$ios_deployment_target"
|
||||
|
||||
create_universal_framework "iphoneos" "iphonesimulator" "catalyst"
|
||||
else
|
||||
echo "Skipping; Clean \"destroot\" to rebuild".
|
||||
fi
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
# shellcheck source=xplat/js/react-native-github/sdks/hermes-engine/utils/build-apple-framework.sh
|
||||
. ./utils/build-apple-framework.sh
|
||||
|
||||
if [ ! -d destroot/Library/Frameworks/macosx/hermes.framework ]; then
|
||||
mac_deployment_target=$(get_mac_deployment_target)
|
||||
|
||||
build_apple_framework "macosx" "x86_64;arm64" "$mac_deployment_target"
|
||||
else
|
||||
echo "Skipping; Clean \"destroot\" to rebuild".
|
||||
fi
|
||||
@@ -12,10 +12,6 @@ buildscript {
|
||||
if (System.properties['os.arch'] == "aarch64") {
|
||||
// For M1 Users we need to use the NDK 24 which added support for aarch64
|
||||
ndkVersion = "24.0.8215888"
|
||||
} else if (Os.isFamily(Os.FAMILY_WINDOWS)) {
|
||||
// For Android Users, we need to use NDK 23, otherwise the build will
|
||||
// fail due to paths longer than the OS limit
|
||||
ndkVersion = "23.1.7779620"
|
||||
} else {
|
||||
// Otherwise we default to the side-by-side NDK version from AGP.
|
||||
ndkVersion = "21.4.7075529"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "18.0.0",
|
||||
"react-native": "1000.0.0"
|
||||
"react-native": "0.69.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.9",
|
||||
@@ -20,7 +20,7 @@
|
||||
"babel-jest": "^26.6.3",
|
||||
"eslint": "^7.32.0",
|
||||
"jest": "^26.6.3",
|
||||
"metro-react-native-babel-preset": "^0.70.1",
|
||||
"metro-react-native-babel-preset": "^0.70.3",
|
||||
"react-test-renderer": "18.0.0"
|
||||
},
|
||||
"jest": {
|
||||
|
||||
@@ -588,13 +588,6 @@
|
||||
dependencies:
|
||||
"@babel/helper-create-regexp-features-plugin" "^7.16.7"
|
||||
|
||||
"@babel/plugin-transform-object-assign@^7.0.0":
|
||||
version "7.12.13"
|
||||
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-assign/-/plugin-transform-object-assign-7.12.13.tgz#d9b9200a69e03403a813e44a933ad9f4bddfd050"
|
||||
integrity sha512-4QxDMc0lAOkIBSfCrnSGbAJ+4epDBF2XXwcLXuBcG1xl9u7LrktNVD4+LwhL47XuKVPQ7R25e/WdcV+h97HyZA==
|
||||
dependencies:
|
||||
"@babel/helper-plugin-utils" "^7.12.13"
|
||||
|
||||
"@babel/plugin-transform-object-super@^7.0.0":
|
||||
version "7.12.13"
|
||||
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.12.13.tgz#b4416a2d63b8f7be314f3d349bd55a9c1b5171f7"
|
||||
@@ -751,6 +744,13 @@
|
||||
core-js-pure "^3.19.0"
|
||||
regenerator-runtime "^0.13.4"
|
||||
|
||||
"@babel/runtime@^7.0.0":
|
||||
version "7.17.9"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72"
|
||||
integrity sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==
|
||||
dependencies:
|
||||
regenerator-runtime "^0.13.4"
|
||||
|
||||
"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.8.4":
|
||||
version "7.16.0"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.0.tgz#e27b977f2e2088ba24748bf99b5e1dece64e4f0b"
|
||||
@@ -1093,42 +1093,42 @@
|
||||
"@nodelib/fs.scandir" "2.1.5"
|
||||
fastq "^1.6.0"
|
||||
|
||||
"@react-native-community/cli-clean@^8.0.0-alpha.3":
|
||||
version "8.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-8.0.0-alpha.3.tgz#3a46c464688c661cec01e5cc5affe3a628e46c94"
|
||||
integrity sha512-BvLtODk+CMJ60qjK25+KuIfXMixBof9OPjB8K5sgaLkSdC/PXWKrxrVhU2pVsGVrNj0PtpLZqm/U3HKyLmyttw==
|
||||
"@react-native-community/cli-clean@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-8.0.0.tgz#c8fc6e8d6a84c90ca0839d48080a87ad455613db"
|
||||
integrity sha512-VY/kwyH5xp6oXiB9bcwa+I9W5k6WR/nX3s85FuMW76hSlgG1UVAGL04uZPwYlSmMZuSOSuoXOaIjJ7wAvQMBpg==
|
||||
dependencies:
|
||||
"@react-native-community/cli-tools" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-tools" "^8.0.0"
|
||||
chalk "^4.1.2"
|
||||
execa "^1.0.0"
|
||||
prompts "^2.4.0"
|
||||
|
||||
"@react-native-community/cli-config@^8.0.0-alpha.3":
|
||||
version "8.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-8.0.0-alpha.3.tgz#bab85bd0efadb28ac45fc8f2ffa2aeef23bc4779"
|
||||
integrity sha512-cG2WfbIZAEGOuaf6MuhoI3cafe7q6hh3AE4p7HCr1e5BigMYaM9hqXtqjib1/2O9ejyMS/44noohQwPWcfJAZg==
|
||||
"@react-native-community/cli-config@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-8.0.0.tgz#1d464165995ac587b15484d5a0e6ba262b9fe398"
|
||||
integrity sha512-SrxfySVwCv1BkMHGrl6i9UkZe1VsCDpoWehPSDY46bl5o78MrjKcaMkYDJJlPxIdXr3eUjKToaay1ge26SXhVg==
|
||||
dependencies:
|
||||
"@react-native-community/cli-tools" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-tools" "^8.0.0"
|
||||
cosmiconfig "^5.1.0"
|
||||
deepmerge "^3.2.0"
|
||||
glob "^7.1.3"
|
||||
joi "^17.2.1"
|
||||
|
||||
"@react-native-community/cli-debugger-ui@^8.0.0-alpha.3":
|
||||
version "8.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-8.0.0-alpha.3.tgz#167c53fc45c29c1dfce34a0118e2819b7aeb85d9"
|
||||
integrity sha512-yDNSI6VXucOQR5353pp1Kck+3n0eqy0vFaUyrwEZQo9hoMgXJCHLqMbPWSxfc1QeuSlfwmTF/PqLipgOvrINWg==
|
||||
"@react-native-community/cli-debugger-ui@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-8.0.0.tgz#98263dc525e65015e2d6392c940114028f87e8e9"
|
||||
integrity sha512-u2jq06GZwZ9sRERzd9FIgpW6yv4YOW4zz7Ym/B8eSzviLmy3yI/8mxJtvlGW+J8lBsfMcQoqJpqI6Rl1nZy9yQ==
|
||||
dependencies:
|
||||
serve-static "^1.13.1"
|
||||
|
||||
"@react-native-community/cli-doctor@^8.0.0-alpha.3":
|
||||
version "8.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-8.0.0-alpha.3.tgz#f49c5eccda08d775d499872038f120194bd06bf6"
|
||||
integrity sha512-AF0XFNkRD/3lndCKc4TtN0PKLgDKKYrmqIW4VQenvXj6cmNSnPEzZx1dzltGwxmYKyMZvS0tHYEOZg9FTYKYuA==
|
||||
"@react-native-community/cli-doctor@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-8.0.0.tgz#97e884bdc41863f9a70736acd21f8d1fc8d1337d"
|
||||
integrity sha512-3lEX0yyXXyVMqkAc+mW2WRXyGuTD8ozaouGakt/5ooTdSI9riWNWb/QUua821EBrBj+r1YV80p5zVZQSpQQHwQ==
|
||||
dependencies:
|
||||
"@react-native-community/cli-config" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-platform-ios" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-tools" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-config" "^8.0.0"
|
||||
"@react-native-community/cli-platform-ios" "^8.0.0"
|
||||
"@react-native-community/cli-tools" "^8.0.0"
|
||||
chalk "^4.1.2"
|
||||
command-exists "^1.2.8"
|
||||
envinfo "^7.7.2"
|
||||
@@ -1143,23 +1143,23 @@
|
||||
sudo-prompt "^9.0.0"
|
||||
wcwidth "^1.0.1"
|
||||
|
||||
"@react-native-community/cli-hermes@^8.0.0-alpha.3":
|
||||
version "8.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-hermes/-/cli-hermes-8.0.0-alpha.3.tgz#4869c5e2ed0a1a366df8f628677f5ffd7103f602"
|
||||
integrity sha512-tYlbHbzn/QavR46/gsdPDgou0jNpZosZUz9nTPHluqHKjHwKoTklK+w6Kg80mzZnki2GnAnmAZH5hbdvkSHlYA==
|
||||
"@react-native-community/cli-hermes@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-hermes/-/cli-hermes-8.0.0.tgz#5cfde0ab2bea18c0e36b72ef84b5fcc4a87a7664"
|
||||
integrity sha512-vDwPQ9a4ye3CENqcI3KTRgVXwbHNS7TnZRfTs2Sqb5j4XiSMpIW0FkEziSDOJqWIAqgrSkbExDpiT/SeWzHOvw==
|
||||
dependencies:
|
||||
"@react-native-community/cli-platform-android" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-tools" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-platform-android" "^8.0.0"
|
||||
"@react-native-community/cli-tools" "^8.0.0"
|
||||
chalk "^4.1.2"
|
||||
hermes-profile-transformer "^0.0.6"
|
||||
ip "^1.1.5"
|
||||
|
||||
"@react-native-community/cli-platform-android@^8.0.0-alpha.3":
|
||||
version "8.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-8.0.0-alpha.3.tgz#d6c3a1342d43d2d107a6d2fba2cb459a2b1ad36c"
|
||||
integrity sha512-/D4vdRlsKqX/qb0WBfBkzKRdMe77KUdnh115PQnFSQNI7pRkViU+OYLashHZoW5cN3IlF+PW2i6UjObVOb6D1g==
|
||||
"@react-native-community/cli-platform-android@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-8.0.0.tgz#826a8f4c3e2e31bd281b57e28fc3e1eaca224d2d"
|
||||
integrity sha512-/1N7G3ZMoJi6OAzopFOWOcCLWbVBn6T1Hmjk+XXCEkgmbK34MRTxYGZur8TCOaQmueKSfLDbFtlVJr5Et4sxWQ==
|
||||
dependencies:
|
||||
"@react-native-community/cli-tools" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-tools" "^8.0.0"
|
||||
chalk "^4.1.2"
|
||||
execa "^1.0.0"
|
||||
fs-extra "^8.1.0"
|
||||
@@ -1169,12 +1169,12 @@
|
||||
logkitty "^0.7.1"
|
||||
slash "^3.0.0"
|
||||
|
||||
"@react-native-community/cli-platform-ios@^8.0.0-alpha.3":
|
||||
version "8.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-8.0.0-alpha.3.tgz#251d3723774babc499e599e4f2667b1203f57407"
|
||||
integrity sha512-V8129DhF0r4cFwkkQcShkYDtRCCPAhAexgYdbzqF42GMK6pQMIfWoMagkBH6QuGYT2FGsrWPGFa+XZi3YVv+Qg==
|
||||
"@react-native-community/cli-platform-ios@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-8.0.0.tgz#9f0e30f8f8dbdf214bb0f94bcf66ad30470c6592"
|
||||
integrity sha512-cWI0VGsovPAqopPKRHExlhtXDuVJzYT1ITsden4M+K6oMRiC/4+PVpEHgkO3ghcPnX7Ee7KGhjmPrB+fvtk/4A==
|
||||
dependencies:
|
||||
"@react-native-community/cli-tools" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-tools" "^8.0.0"
|
||||
chalk "^4.1.2"
|
||||
execa "^1.0.0"
|
||||
glob "^7.1.3"
|
||||
@@ -1183,29 +1183,29 @@
|
||||
ora "^5.4.1"
|
||||
plist "^3.0.2"
|
||||
|
||||
"@react-native-community/cli-plugin-metro@^8.0.0-alpha.4":
|
||||
version "8.0.0-alpha.4"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-plugin-metro/-/cli-plugin-metro-8.0.0-alpha.4.tgz#3cfb468a184e4ca8e9d9d746f8334204520ece6d"
|
||||
integrity sha512-PHQjR/nc/e4K1PQAsHb9P/nXgup5HjehmuGXBOKZ12POKQpVesDvLg7SJ9MrEap2FrZyrQdB60RVvv00edQFtA==
|
||||
"@react-native-community/cli-plugin-metro@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-plugin-metro/-/cli-plugin-metro-8.0.0.tgz#0b355a7a6fe93b347ec32b3edb3b2cd96b04dfd8"
|
||||
integrity sha512-eIowV2ZRbzIWL3RIKVUUSahntXTuAeKzBSsFuhffLZphsV+UdKdtg5ATR9zbq7nsKap4ZseO5DkVqZngUkC7iQ==
|
||||
dependencies:
|
||||
"@react-native-community/cli-server-api" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-tools" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-server-api" "^8.0.0"
|
||||
"@react-native-community/cli-tools" "^8.0.0"
|
||||
chalk "^4.1.2"
|
||||
metro "^0.67.0"
|
||||
metro-config "^0.67.0"
|
||||
metro-core "^0.67.0"
|
||||
metro-react-native-babel-transformer "^0.67.0"
|
||||
metro-resolver "^0.67.0"
|
||||
metro-runtime "^0.67.0"
|
||||
metro "^0.70.1"
|
||||
metro-config "^0.70.1"
|
||||
metro-core "^0.70.1"
|
||||
metro-react-native-babel-transformer "^0.70.1"
|
||||
metro-resolver "^0.70.1"
|
||||
metro-runtime "^0.70.1"
|
||||
readline "^1.3.0"
|
||||
|
||||
"@react-native-community/cli-server-api@^8.0.0-alpha.3":
|
||||
version "8.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-8.0.0-alpha.3.tgz#2b00b3d7544754de8edcfae0e099f693d73ff75d"
|
||||
integrity sha512-0dOU4AlFTjFqmgw3vRB9D5l4qOyWk/rTy1W90mhf2htJrXgxOHSsbbTnVGw/FfckaIw7dSGAuH7Q0795Laa2sQ==
|
||||
"@react-native-community/cli-server-api@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-8.0.0.tgz#562fee6da9f880531db2af1d3439efb7309281f8"
|
||||
integrity sha512-TxUs3sMl9clt7sdv30XETc6VRzyaEli2vDrk3TB5W5o5nSd1PmQdP4ccdGLO/nDRXwOy72QmmXlYWMg1XGU0Gg==
|
||||
dependencies:
|
||||
"@react-native-community/cli-debugger-ui" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-tools" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-debugger-ui" "^8.0.0"
|
||||
"@react-native-community/cli-tools" "^8.0.0"
|
||||
compression "^1.7.1"
|
||||
connect "^3.6.5"
|
||||
errorhandler "^1.5.0"
|
||||
@@ -1214,10 +1214,10 @@
|
||||
serve-static "^1.13.1"
|
||||
ws "^7.5.1"
|
||||
|
||||
"@react-native-community/cli-tools@^8.0.0-alpha.3":
|
||||
version "8.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-8.0.0-alpha.3.tgz#0791c49eb11b39efc19a9670156056df6afddf7a"
|
||||
integrity sha512-laul2kNNygqZ9Y4jCy+cvBia8imb9Q9jGO00ObXGn1n7pvnPeS6JwbopYBI73Wk2yQrWaxcgrBnLFJ3LBXGm1w==
|
||||
"@react-native-community/cli-tools@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-8.0.0.tgz#2ca9177d7cdf352f6863f278cdacd44066d10473"
|
||||
integrity sha512-jA4y8CebrRZaOJFjc5zMOnls4KfHkBl2FUtBZV2vcWuedQHa6JVwo+KO88ta3Ysby3uY0+mrZagZfXk7c0mrBw==
|
||||
dependencies:
|
||||
appdirsjs "^1.2.4"
|
||||
chalk "^4.1.2"
|
||||
@@ -1229,27 +1229,27 @@
|
||||
semver "^6.3.0"
|
||||
shell-quote "^1.7.3"
|
||||
|
||||
"@react-native-community/cli-types@^8.0.0-alpha.3":
|
||||
version "8.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-8.0.0-alpha.3.tgz#27b9cd6f3425cfd677ef1d1c43cd9ab7d0bedd85"
|
||||
integrity sha512-vWyAdsbxMUTPetW/VOo3tzbD8qzQr0ZWI+r+g8wd1bifndei9C6zl6zOOQq6hZQQpm28H+XkpxtvRnu9ISx1vw==
|
||||
"@react-native-community/cli-types@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-8.0.0.tgz#72d24178e5ed1c2d271da43e0a4a4f59178f261a"
|
||||
integrity sha512-1lZS1PEvMlFaN3Se1ksyoFWzMjk+YfKi490GgsqKJln9gvFm8tqVPdnXttI5Uf2DQf3BMse8Bk8dNH4oV6Ewow==
|
||||
dependencies:
|
||||
joi "^17.2.1"
|
||||
|
||||
"@react-native-community/cli@^8.0.0-alpha.4":
|
||||
version "8.0.0-alpha.4"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-8.0.0-alpha.4.tgz#f367aa47c12c11606961f4e38edb1e71c3c5cfb9"
|
||||
integrity sha512-5QAo1M5ffW9rJbMMOJPbhNPWckHGBA2P03+2kgqg5PrQLOOqKCBp6JuJIn/cQf6oyW/uscoy6nAQjrW2YfLE4w==
|
||||
"@react-native-community/cli@^8.0.0":
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-8.0.0.tgz#f6dd0c7332174ca327c06e9164fabb3a03d202d3"
|
||||
integrity sha512-wkbIcUixdFBHF9tNo+ErGypKLQ/hZ8Ww13IPhOgZtPo58/j+e902kqEeXRRBUlvbLMBAWBxFmVKxEdIb9ZvTpA==
|
||||
dependencies:
|
||||
"@react-native-community/cli-clean" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-config" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-debugger-ui" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-doctor" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-hermes" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-plugin-metro" "^8.0.0-alpha.4"
|
||||
"@react-native-community/cli-server-api" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-tools" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-types" "^8.0.0-alpha.3"
|
||||
"@react-native-community/cli-clean" "^8.0.0"
|
||||
"@react-native-community/cli-config" "^8.0.0"
|
||||
"@react-native-community/cli-debugger-ui" "^8.0.0"
|
||||
"@react-native-community/cli-doctor" "^8.0.0"
|
||||
"@react-native-community/cli-hermes" "^8.0.0"
|
||||
"@react-native-community/cli-plugin-metro" "^8.0.0"
|
||||
"@react-native-community/cli-server-api" "^8.0.0"
|
||||
"@react-native-community/cli-tools" "^8.0.0"
|
||||
"@react-native-community/cli-types" "^8.0.0"
|
||||
chalk "^4.1.2"
|
||||
commander "^2.19.0"
|
||||
execa "^1.0.0"
|
||||
@@ -1262,6 +1262,39 @@
|
||||
prompts "^2.4.0"
|
||||
semver "^6.3.0"
|
||||
|
||||
"@react-native-community/eslint-plugin@*":
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-plugin/-/eslint-plugin-1.2.0.tgz#7d6d789ae8edf73dc9bed1246cd48277edea8066"
|
||||
integrity sha512-o6aam+0Ug1xGK3ABYmBm0B1YuEKfM/5kaoZO0eHbZwSpw9UzDX4G5y4Nx/K20FHqUmJHkZmLvOUFYwN4N+HqKA==
|
||||
|
||||
"@react-native/assets@1.0.0":
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native/assets/-/assets-1.0.0.tgz#c6f9bf63d274bafc8e970628de24986b30a55c8e"
|
||||
integrity sha512-KrwSpS1tKI70wuKl68DwJZYEvXktDHdZMG0k2AXD/rJVSlB23/X2CB2cutVR0HwNMJIal9HOUOBB2rVfa6UGtQ==
|
||||
|
||||
"@react-native/eslint-plugin-specs@>0.0.2":
|
||||
version "0.0.3"
|
||||
resolved "https://registry.yarnpkg.com/@react-native/eslint-plugin-specs/-/eslint-plugin-specs-0.0.3.tgz#11aa4e8f472ee980c8070d0743310520dbc52451"
|
||||
integrity sha512-mcwu1bskw/Hg+qol+Bzax3f+iUe+n+w0vFmGPJ8/34anKB85kg9J73EsQ7rlOesAb2ztI9s6A5IoGXJSb/xMBQ==
|
||||
dependencies:
|
||||
"@babel/core" "^7.14.0"
|
||||
"@babel/plugin-transform-flow-strip-types" "^7.0.0"
|
||||
flow-parser "^0.121.0"
|
||||
make-dir "^2.1.0"
|
||||
pirates "^4.0.1"
|
||||
react-native-codegen "*"
|
||||
source-map-support "0.5.0"
|
||||
|
||||
"@react-native/normalize-color@2.0.0":
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native/normalize-color/-/normalize-color-2.0.0.tgz#da955909432474a9a0fe1cbffc66576a0447f567"
|
||||
integrity sha512-Wip/xsc5lw8vsBlmY2MO/gFLp3MvuZ2baBZjDeTjjndMgM0h5sxz7AZR62RDPGgstp8Np7JzjvVqVT7tpFZqsw==
|
||||
|
||||
"@react-native/polyfills@2.0.0":
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native/polyfills/-/polyfills-2.0.0.tgz#4c40b74655c83982c8cf47530ee7dc13d957b6aa"
|
||||
integrity sha512-K0aGNn1TjalKj+65D7ycc1//H9roAQ51GJVk5ZJQFb2teECGmzd86bYDC0aYdbRf7gtovescq4Zt6FR0tgXiHQ==
|
||||
|
||||
"@reactions/component@^2.0.2":
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/@reactions/component/-/component-2.0.2.tgz#40f8c1c2c37baabe57a0c944edb9310dc1ec6642"
|
||||
@@ -1737,13 +1770,6 @@ async@^1.5.2:
|
||||
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
|
||||
integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=
|
||||
|
||||
async@^2.4.0:
|
||||
version "2.6.1"
|
||||
resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610"
|
||||
integrity sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==
|
||||
dependencies:
|
||||
lodash "^4.17.10"
|
||||
|
||||
async@^3.2.2:
|
||||
version "3.2.3"
|
||||
resolved "https://registry.yarnpkg.com/async/-/async-3.2.3.tgz#ac53dafd3f4720ee9e8a160628f18ea91df196c9"
|
||||
@@ -3525,23 +3551,11 @@ hermes-engine@~0.11.0:
|
||||
resolved "https://registry.yarnpkg.com/hermes-engine/-/hermes-engine-0.11.0.tgz#bb224730d230a02a5af02c4e090d1f52d57dd3db"
|
||||
integrity sha512-7aMUlZja2IyLYAcZ69NBnwJAR5ZOYlSllj0oMpx08a8HzxHOys0eKCzfphrf6D0vX1JGO1QQvVsQKe6TkYherw==
|
||||
|
||||
hermes-estree@0.5.0:
|
||||
version "0.5.0"
|
||||
resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.5.0.tgz#36432a2b12f01b217244da098924efdfdfc12327"
|
||||
integrity sha512-1h8rvG23HhIR5K6Kt0e5C7BC72J1Ath/8MmSta49vxXp/j6wl7IMHvIRFYBQr35tWnQY97dSGR2uoAJ5pHUQkg==
|
||||
|
||||
hermes-estree@0.6.0:
|
||||
version "0.6.0"
|
||||
resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.6.0.tgz#e866fddae1b80aec65fe2ae450a5f2070ad54033"
|
||||
integrity sha512-2YTGzJCkhdmT6VuNprWjXnvTvw/3iPNw804oc7yknvQpNKo+vJGZmtvLLCghOZf0OwzKaNAzeIMp71zQbNl09w==
|
||||
|
||||
hermes-parser@0.5.0:
|
||||
version "0.5.0"
|
||||
resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.5.0.tgz#8b678dd8b29a08b57cbaf60adba4896494c59a53"
|
||||
integrity sha512-ARnJBScKAkkq8j3BHrNGBUv/4cSpZNbKDsVizEtzmsFeqC67Dopa5s4XRe+e3wN52Dh5Mj2kDB5wJvhcxwDkPg==
|
||||
dependencies:
|
||||
hermes-estree "0.5.0"
|
||||
|
||||
hermes-parser@0.6.0:
|
||||
version "0.6.0"
|
||||
resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.6.0.tgz#00d14e91bca830b3c1457050fa4187400cb96328"
|
||||
@@ -4496,7 +4510,7 @@ jest-watcher@^26.6.2:
|
||||
jest-util "^26.6.2"
|
||||
string-length "^4.0.1"
|
||||
|
||||
jest-worker@^26.0.0, jest-worker@^26.6.2:
|
||||
jest-worker@^26.6.2:
|
||||
version "26.6.2"
|
||||
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed"
|
||||
integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==
|
||||
@@ -4505,6 +4519,15 @@ jest-worker@^26.0.0, jest-worker@^26.6.2:
|
||||
merge-stream "^2.0.0"
|
||||
supports-color "^7.0.0"
|
||||
|
||||
jest-worker@^27.2.0:
|
||||
version "27.5.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0"
|
||||
integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
merge-stream "^2.0.0"
|
||||
supports-color "^8.0.0"
|
||||
|
||||
jest-worker@^27.4.6:
|
||||
version "27.4.6"
|
||||
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.4.6.tgz#5d2d93db419566cb680752ca0792780e71b3273e"
|
||||
@@ -4818,7 +4841,7 @@ lodash.truncate@^4.4.2:
|
||||
resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193"
|
||||
integrity sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=
|
||||
|
||||
lodash@^4.17.10, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.7.0:
|
||||
lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.7.0:
|
||||
version "4.17.21"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
||||
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
|
||||
@@ -4908,10 +4931,10 @@ merge2@^1.3.0:
|
||||
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
|
||||
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
|
||||
|
||||
metro-babel-register@0.70.1:
|
||||
version "0.70.1"
|
||||
resolved "https://registry.yarnpkg.com/metro-babel-register/-/metro-babel-register-0.70.1.tgz#2adf5a239a7aee3f502ef323720c74120d362893"
|
||||
integrity sha512-9hfTAmdTu8cKqL1Xbl/y3kz09fse0TzAqwE7SyNSo5j42U7C6ba0JdeRIy0MSpeLFAttC7E6/ctVE3fqHpzoVA==
|
||||
metro-babel-register@0.70.3:
|
||||
version "0.70.3"
|
||||
resolved "https://registry.yarnpkg.com/metro-babel-register/-/metro-babel-register-0.70.3.tgz#b51e881c7633f38decc9be2e25a46478af579047"
|
||||
integrity sha512-ZrADEuqshCPxjPv6olM/5Hx5cOI7vnJ7DEvAIUaWRwdlonYt5lRA9hgXw8hYwwBYrclgPWW7waPdyICm70szzA==
|
||||
dependencies:
|
||||
"@babel/core" "^7.14.0"
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator" "^7.0.0"
|
||||
@@ -4924,133 +4947,86 @@ metro-babel-register@0.70.1:
|
||||
babel-plugin-replace-ts-export-assignment "^0.0.2"
|
||||
escape-string-regexp "^1.0.5"
|
||||
|
||||
metro-babel-transformer@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-babel-transformer/-/metro-babel-transformer-0.67.0.tgz#42fe82af9953e5c62d9a8d7d544eb7be9020dd18"
|
||||
integrity sha512-SBqc4nq/dgsPNFm+mpWcQQzJaXnh0nrfz2pSnZC4i6zMtIakrTWb8SQ78jOU1FZVEZ3nu9xCYVHS9Tbr/LoEuw==
|
||||
dependencies:
|
||||
"@babel/core" "^7.14.0"
|
||||
hermes-parser "0.5.0"
|
||||
metro-source-map "0.67.0"
|
||||
nullthrows "^1.1.1"
|
||||
|
||||
metro-babel-transformer@0.70.1:
|
||||
version "0.70.1"
|
||||
resolved "https://registry.yarnpkg.com/metro-babel-transformer/-/metro-babel-transformer-0.70.1.tgz#532c766fc3200acdd11259c62f993ee483eab8e7"
|
||||
integrity sha512-KjQt1zbjXSw40lN98YY1+MNcZzhyEobjpGKKlDo7JWEEYan4dKlRnujymdJNG8v/fXLY4WdB3vcLR/qIWHRZhQ==
|
||||
metro-babel-transformer@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-babel-transformer/-/metro-babel-transformer-0.70.2.tgz#70b5d4a821e3e8441a547803ca0e89a15b42f31d"
|
||||
integrity sha512-va5fn0Y40DzgtJsK2jSTtm+RYRJcxy5JNz1OiJjAuCvIkd3KvWPuFY/76+SKbS+/CZhFJpF4AFj/0Sojsrfc1A==
|
||||
dependencies:
|
||||
"@babel/core" "^7.14.0"
|
||||
hermes-parser "0.6.0"
|
||||
metro-source-map "0.70.1"
|
||||
metro-source-map "0.70.2"
|
||||
nullthrows "^1.1.1"
|
||||
|
||||
metro-cache-key@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-cache-key/-/metro-cache-key-0.67.0.tgz#4df6a73cced199e1bddd0f3454bb931a27141eeb"
|
||||
integrity sha512-FNJe5Rcb2uzY6G6tsqCf0RV4t2rCeX6vSHBxmP7k+4aI4NqX4evtPI0K82r221nBzm5DqNWCURZ0RYUT6jZMGA==
|
||||
|
||||
metro-cache@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-cache/-/metro-cache-0.67.0.tgz#928db5742542719677468c4d22ea29b71c7ec8fc"
|
||||
integrity sha512-IY5dXiR76L75b2ue/mv+9vW8g5hdQJU6YEe81lj6gTSoUrhcONT0rzY+Gh5QOS2Kk6z9utZQMvd9PRKL9/635A==
|
||||
metro-babel-transformer@0.70.3:
|
||||
version "0.70.3"
|
||||
resolved "https://registry.yarnpkg.com/metro-babel-transformer/-/metro-babel-transformer-0.70.3.tgz#dca61852be273824a4b641bd1ecafff07ff3ad1f"
|
||||
integrity sha512-bWhZRMn+mIOR/s3BDpFevWScz9sV8FGktVfMlF1eJBLoX24itHDbXvTktKBYi38PWIKcHedh6THSFpJogfuwNA==
|
||||
dependencies:
|
||||
metro-core "0.67.0"
|
||||
mkdirp "^0.5.1"
|
||||
"@babel/core" "^7.14.0"
|
||||
hermes-parser "0.6.0"
|
||||
metro-source-map "0.70.3"
|
||||
nullthrows "^1.1.1"
|
||||
|
||||
metro-cache-key@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-cache-key/-/metro-cache-key-0.70.2.tgz#f70afa27c8e9ba25391ad6f5013fb769d7d3acd8"
|
||||
integrity sha512-xNdV5w04aKuE/2FDAhYaId4tR4N77cB3pKHs0vDXCKDVj5fSH/RMzt5JuNtU1SB7Hu+4d0Z6jOVtUErfDIlk3Q==
|
||||
|
||||
metro-cache@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-cache/-/metro-cache-0.70.2.tgz#918940f0ceb8200eb9b586c3e50b1a9877a16c27"
|
||||
integrity sha512-gvyD7XbjmZDE/iZYb+Rqgu0yaNLjp61QqVwD+kIwwj/DxHpQCJFFKrPxXUswDfqFR5vt352erCgZsWxMVNDI0g==
|
||||
dependencies:
|
||||
metro-core "0.70.2"
|
||||
rimraf "^2.5.4"
|
||||
|
||||
metro-config@0.67.0, metro-config@^0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-config/-/metro-config-0.67.0.tgz#5507d3b295bd10c87bd13dbe5a3033a357418786"
|
||||
integrity sha512-ThAwUmzZwTbKyyrIn2bKIcJDPDBS0LKAbqJZQioflvBGfcgA21h3fdL3IxRmvCEl6OnkEWI0Tn1Z9w2GLAjf2g==
|
||||
metro-config@0.70.2, metro-config@^0.70.1:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-config/-/metro-config-0.70.2.tgz#4c74fe829b63cdff2e5ae9add942f1a55341be16"
|
||||
integrity sha512-9jBrHwGrvVjFTsCGSjK+PG/xy9T6TvVpZhPgEeBGKYWUjYFYuJ/AhnF4QxhUGYB5Uo95u7ViHcuqcv2X3qo2+A==
|
||||
dependencies:
|
||||
cosmiconfig "^5.0.5"
|
||||
jest-validate "^26.5.2"
|
||||
metro "0.67.0"
|
||||
metro-cache "0.67.0"
|
||||
metro-core "0.67.0"
|
||||
metro-runtime "0.67.0"
|
||||
metro "0.70.2"
|
||||
metro-cache "0.70.2"
|
||||
metro-core "0.70.2"
|
||||
metro-runtime "0.70.2"
|
||||
|
||||
metro-core@0.67.0, metro-core@^0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-core/-/metro-core-0.67.0.tgz#75066e11b4df220992abf9cd6200279dd87876c8"
|
||||
integrity sha512-TOa/ShE1bUq83fGNfV6rFwyfZ288M8ydmWN3g9C2OW8emOHLhJslYD/SIU4DhDkP/99yaJluIALdZ2g0+pCrvQ==
|
||||
metro-core@0.70.2, metro-core@^0.70.1:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-core/-/metro-core-0.70.2.tgz#e76ce4881112b5bc68f04fe3ef5ef289b8b62f10"
|
||||
integrity sha512-QBWed81KJhOT1vF1+scaqCdlUE5YxUIzYT7vVP9nt0KpYx46TD6n0PkxvV8cHu+LbIcFIxThhR1UoeTCUBnxdQ==
|
||||
dependencies:
|
||||
jest-haste-map "^27.3.1"
|
||||
lodash.throttle "^4.1.1"
|
||||
metro-resolver "0.67.0"
|
||||
metro-resolver "0.70.2"
|
||||
|
||||
metro-hermes-compiler@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-hermes-compiler/-/metro-hermes-compiler-0.67.0.tgz#9c1340f1882fbf535145868d0d28211ca15b0477"
|
||||
integrity sha512-X5Pr1jC8/kO6d1EBDJ6yhtuc5euHX89UDNv8qdPJHAET03xfFnlojRPwOw6il2udAH20WLBv+F5M9VY+58zspQ==
|
||||
metro-hermes-compiler@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-hermes-compiler/-/metro-hermes-compiler-0.70.2.tgz#2aa014f39e3911574a1b796d50b10e308976e9b3"
|
||||
integrity sha512-/d1yGpkktU1GlBB3T+X0FoSl4bwdilbbl59e97bPHxJA1xGkjZaOtZWcPHG0v1RNrPJ3EpOBw5jfnFK6DNZ4iQ==
|
||||
|
||||
metro-inspector-proxy@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-inspector-proxy/-/metro-inspector-proxy-0.67.0.tgz#22b360a837b07e9e2bc87a71af6154dd8fcc02a5"
|
||||
integrity sha512-5Ubjk94qpNaU3OT2IZa4/dec09bauic1hzWms4czorBzDenkp4kYXG9/aWTmgQLtCk92H3Q8jKl1PQRxUSkrOQ==
|
||||
metro-inspector-proxy@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-inspector-proxy/-/metro-inspector-proxy-0.70.2.tgz#a9cc91f3e29435716fab83fe9fd7ff125291a833"
|
||||
integrity sha512-tIM4BVDR6Df3hScyjWpI5EQ4NNDmlheZZNsg+NSm8EnI3E6b4r3ebYePK62b5otOUNlafgFj8Z6VeMiFfALbQw==
|
||||
dependencies:
|
||||
connect "^3.6.5"
|
||||
debug "^2.2.0"
|
||||
ws "^7.5.1"
|
||||
yargs "^15.3.1"
|
||||
|
||||
metro-minify-uglify@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-minify-uglify/-/metro-minify-uglify-0.67.0.tgz#28a77dbd78d9e558dba8c2f31c2b9c6f939df966"
|
||||
integrity sha512-4CmM5b3MTAmQ/yFEfsHOhD2SuBObB2YF6PKzXZc4agUsQVVtkrrNElaiWa8w26vrTzA9emwcyurxMf4Nl3lYPQ==
|
||||
metro-minify-uglify@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-minify-uglify/-/metro-minify-uglify-0.70.2.tgz#0dbf8814fd79fef081d9e34cb561ac1f2a8dddb8"
|
||||
integrity sha512-wsoQx6b6gdh46OVVEqwuPOKS/bMea02K+ROd8F8elHqaC85OuMazCYB/A2kLLYAfd73fwsaf2AXHFL+eyyQ97Q==
|
||||
dependencies:
|
||||
uglify-es "^3.1.9"
|
||||
|
||||
metro-react-native-babel-preset@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.67.0.tgz#53aec093f53a09b56236a9bb534d76658efcbec7"
|
||||
integrity sha512-tgTG4j0SKwLHbLRELMmgkgkjV1biYkWlGGKOmM484/fJC6bpDikdaFhfjsyE+W+qt7I5szbCPCickMTNQ+zwig==
|
||||
dependencies:
|
||||
"@babel/core" "^7.14.0"
|
||||
"@babel/plugin-proposal-class-properties" "^7.0.0"
|
||||
"@babel/plugin-proposal-export-default-from" "^7.0.0"
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator" "^7.0.0"
|
||||
"@babel/plugin-proposal-object-rest-spread" "^7.0.0"
|
||||
"@babel/plugin-proposal-optional-catch-binding" "^7.0.0"
|
||||
"@babel/plugin-proposal-optional-chaining" "^7.0.0"
|
||||
"@babel/plugin-syntax-dynamic-import" "^7.0.0"
|
||||
"@babel/plugin-syntax-export-default-from" "^7.0.0"
|
||||
"@babel/plugin-syntax-flow" "^7.2.0"
|
||||
"@babel/plugin-syntax-nullish-coalescing-operator" "^7.0.0"
|
||||
"@babel/plugin-syntax-optional-chaining" "^7.0.0"
|
||||
"@babel/plugin-transform-arrow-functions" "^7.0.0"
|
||||
"@babel/plugin-transform-async-to-generator" "^7.0.0"
|
||||
"@babel/plugin-transform-block-scoping" "^7.0.0"
|
||||
"@babel/plugin-transform-classes" "^7.0.0"
|
||||
"@babel/plugin-transform-computed-properties" "^7.0.0"
|
||||
"@babel/plugin-transform-destructuring" "^7.0.0"
|
||||
"@babel/plugin-transform-exponentiation-operator" "^7.0.0"
|
||||
"@babel/plugin-transform-flow-strip-types" "^7.0.0"
|
||||
"@babel/plugin-transform-for-of" "^7.0.0"
|
||||
"@babel/plugin-transform-function-name" "^7.0.0"
|
||||
"@babel/plugin-transform-literals" "^7.0.0"
|
||||
"@babel/plugin-transform-modules-commonjs" "^7.0.0"
|
||||
"@babel/plugin-transform-object-assign" "^7.0.0"
|
||||
"@babel/plugin-transform-parameters" "^7.0.0"
|
||||
"@babel/plugin-transform-react-display-name" "^7.0.0"
|
||||
"@babel/plugin-transform-react-jsx" "^7.0.0"
|
||||
"@babel/plugin-transform-react-jsx-self" "^7.0.0"
|
||||
"@babel/plugin-transform-react-jsx-source" "^7.0.0"
|
||||
"@babel/plugin-transform-regenerator" "^7.0.0"
|
||||
"@babel/plugin-transform-runtime" "^7.0.0"
|
||||
"@babel/plugin-transform-shorthand-properties" "^7.0.0"
|
||||
"@babel/plugin-transform-spread" "^7.0.0"
|
||||
"@babel/plugin-transform-sticky-regex" "^7.0.0"
|
||||
"@babel/plugin-transform-template-literals" "^7.0.0"
|
||||
"@babel/plugin-transform-typescript" "^7.5.0"
|
||||
"@babel/plugin-transform-unicode-regex" "^7.0.0"
|
||||
"@babel/template" "^7.0.0"
|
||||
react-refresh "^0.4.0"
|
||||
|
||||
metro-react-native-babel-preset@0.70.1:
|
||||
version "0.70.1"
|
||||
resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.70.1.tgz#d71c3630645014c7095fe94655f4c003a6a457ff"
|
||||
integrity sha512-E7jCbHyb+HTA00AqO/XxURCNFc68KU9nJo7zMDGt4EjwcUP80RaBzK1O4/GborQzkWM4wjIuQMnYX6xWYuV5ag==
|
||||
metro-react-native-babel-preset@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.70.2.tgz#462e7370b4d36c4c5f6335c0fa06bebec1007543"
|
||||
integrity sha512-8NNrzeD6mzivWn/G3Vu8XZ1pAMof3BkcJeBmcySkB/E3XdbLrT4FIy/cUmL3gNmSp+Fz7xc62WKP5sPF1KL3QQ==
|
||||
dependencies:
|
||||
"@babel/core" "^7.14.0"
|
||||
"@babel/plugin-proposal-async-generator-functions" "^7.0.0"
|
||||
@@ -5092,105 +5068,152 @@ metro-react-native-babel-preset@0.70.1:
|
||||
"@babel/template" "^7.0.0"
|
||||
react-refresh "^0.4.0"
|
||||
|
||||
metro-react-native-babel-transformer@0.70.1:
|
||||
version "0.70.1"
|
||||
resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.70.1.tgz#db41af492d3857128f8297334d2752c2efa61827"
|
||||
integrity sha512-0484t7uASQX9JAIhvTfKiheaTM3hjPvPwFMP+8JpTGd/GNY0r0dPxC0XSFah5fJBA7WM6UTuaqChik3wU0JsCA==
|
||||
metro-react-native-babel-preset@0.70.3:
|
||||
version "0.70.3"
|
||||
resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.70.3.tgz#1c77ec4544ecd5fb6c803e70b21284d7483e4842"
|
||||
integrity sha512-4Nxc1zEiHEu+GTdEMEsHnRgfaBkg8f/Td3+FcQ8NTSvs+xL3LBrQy6N07idWSQZHIdGFf+tTHvRfSIWLD8u8Tg==
|
||||
dependencies:
|
||||
"@babel/core" "^7.14.0"
|
||||
"@babel/plugin-proposal-async-generator-functions" "^7.0.0"
|
||||
"@babel/plugin-proposal-class-properties" "^7.0.0"
|
||||
"@babel/plugin-proposal-export-default-from" "^7.0.0"
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator" "^7.0.0"
|
||||
"@babel/plugin-proposal-object-rest-spread" "^7.0.0"
|
||||
"@babel/plugin-proposal-optional-catch-binding" "^7.0.0"
|
||||
"@babel/plugin-proposal-optional-chaining" "^7.0.0"
|
||||
"@babel/plugin-syntax-dynamic-import" "^7.0.0"
|
||||
"@babel/plugin-syntax-export-default-from" "^7.0.0"
|
||||
"@babel/plugin-syntax-flow" "^7.2.0"
|
||||
"@babel/plugin-syntax-nullish-coalescing-operator" "^7.0.0"
|
||||
"@babel/plugin-syntax-optional-chaining" "^7.0.0"
|
||||
"@babel/plugin-transform-arrow-functions" "^7.0.0"
|
||||
"@babel/plugin-transform-async-to-generator" "^7.0.0"
|
||||
"@babel/plugin-transform-block-scoping" "^7.0.0"
|
||||
"@babel/plugin-transform-classes" "^7.0.0"
|
||||
"@babel/plugin-transform-computed-properties" "^7.0.0"
|
||||
"@babel/plugin-transform-destructuring" "^7.0.0"
|
||||
"@babel/plugin-transform-exponentiation-operator" "^7.0.0"
|
||||
"@babel/plugin-transform-flow-strip-types" "^7.0.0"
|
||||
"@babel/plugin-transform-function-name" "^7.0.0"
|
||||
"@babel/plugin-transform-literals" "^7.0.0"
|
||||
"@babel/plugin-transform-modules-commonjs" "^7.0.0"
|
||||
"@babel/plugin-transform-named-capturing-groups-regex" "^7.0.0"
|
||||
"@babel/plugin-transform-parameters" "^7.0.0"
|
||||
"@babel/plugin-transform-react-display-name" "^7.0.0"
|
||||
"@babel/plugin-transform-react-jsx" "^7.0.0"
|
||||
"@babel/plugin-transform-react-jsx-self" "^7.0.0"
|
||||
"@babel/plugin-transform-react-jsx-source" "^7.0.0"
|
||||
"@babel/plugin-transform-runtime" "^7.0.0"
|
||||
"@babel/plugin-transform-shorthand-properties" "^7.0.0"
|
||||
"@babel/plugin-transform-spread" "^7.0.0"
|
||||
"@babel/plugin-transform-sticky-regex" "^7.0.0"
|
||||
"@babel/plugin-transform-template-literals" "^7.0.0"
|
||||
"@babel/plugin-transform-typescript" "^7.5.0"
|
||||
"@babel/plugin-transform-unicode-regex" "^7.0.0"
|
||||
"@babel/template" "^7.0.0"
|
||||
react-refresh "^0.4.0"
|
||||
|
||||
metro-react-native-babel-transformer@0.70.3:
|
||||
version "0.70.3"
|
||||
resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.70.3.tgz#195597c32488f820aa9e441bbca7c04fe7de7a2d"
|
||||
integrity sha512-WKBU6S/G50j9cfmFM4k4oRYprd8u3qjleD4so1E2zbTNILg+gYla7ZFGCAvi2G0ZcqS2XuGCR375c2hF6VVvwg==
|
||||
dependencies:
|
||||
"@babel/core" "^7.14.0"
|
||||
babel-preset-fbjs "^3.4.0"
|
||||
hermes-parser "0.6.0"
|
||||
metro-babel-transformer "0.70.1"
|
||||
metro-react-native-babel-preset "0.70.1"
|
||||
metro-source-map "0.70.1"
|
||||
metro-babel-transformer "0.70.3"
|
||||
metro-react-native-babel-preset "0.70.3"
|
||||
metro-source-map "0.70.3"
|
||||
nullthrows "^1.1.1"
|
||||
|
||||
metro-react-native-babel-transformer@^0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.67.0.tgz#756d32eb3c05cab3d72fcb1700f8fd09322bb07f"
|
||||
integrity sha512-P0JT09n7T01epUtgL9mH6BPat3xn4JjBakl4lWHdL61cvEGcrxuIom1eoFFKkgU/K5AVLU4aCAttHS7nSFCcEQ==
|
||||
metro-react-native-babel-transformer@^0.70.1:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.70.2.tgz#f4ec018e1d468e9706ef0df4339de722697d7ec0"
|
||||
integrity sha512-Jx3bBfYl4Wi7M/Qdmp+facTD+FV4K+TYb6Xd4Up05dKC57l1vnjLipIT4WgXoWEUJ4ynSt6JmmHLGmRc674Pyw==
|
||||
dependencies:
|
||||
"@babel/core" "^7.14.0"
|
||||
babel-preset-fbjs "^3.4.0"
|
||||
hermes-parser "0.5.0"
|
||||
metro-babel-transformer "0.67.0"
|
||||
metro-react-native-babel-preset "0.67.0"
|
||||
metro-source-map "0.67.0"
|
||||
hermes-parser "0.6.0"
|
||||
metro-babel-transformer "0.70.2"
|
||||
metro-react-native-babel-preset "0.70.2"
|
||||
metro-source-map "0.70.2"
|
||||
nullthrows "^1.1.1"
|
||||
|
||||
metro-resolver@0.67.0, metro-resolver@^0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-resolver/-/metro-resolver-0.67.0.tgz#8143c716f77e468d1d42eca805243706eb349959"
|
||||
integrity sha512-d2KS/zAyOA/z/q4/ff41rAp+1txF4H6qItwpsls/RHStV2j6PqgRHUzq/3ga+VIeoUJntYJ8nGW3+3qSrhFlig==
|
||||
metro-resolver@0.70.2, metro-resolver@^0.70.1:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-resolver/-/metro-resolver-0.70.2.tgz#fb7f70634e3832ee2dde37e28df8901a8ae0fec2"
|
||||
integrity sha512-fYuEOTSB+ri0y2kOLL8PuqblD1/3h3tZ8G02wNFeB5oCbEqZ1jhSAG/f6hj/qy7xUA18oyG5qJqiHtiRDFO6yg==
|
||||
dependencies:
|
||||
absolute-path "^0.0.0"
|
||||
|
||||
metro-runtime@0.67.0, metro-runtime@^0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-runtime/-/metro-runtime-0.67.0.tgz#a8888dfd06bcebbac3c99dcac7cd622510dd8ee0"
|
||||
integrity sha512-IFtSL0JUt1xK3t9IoLflTDft82bjieSzdIJWLzrRzBMlesz8ox5bVmnpQbVQEwfYUpEOxbM3VOZauVbdCmXA7g==
|
||||
metro-runtime@0.70.2, metro-runtime@^0.70.1:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-runtime/-/metro-runtime-0.70.2.tgz#dfdd086e4a1af2549debb0fa2e676ce99e62f5b7"
|
||||
integrity sha512-36k6Ye8IBKjL0ZTquVLKLbZWYsc7LQ3fWggxYPekgA5gAY0Bfvt2tbImdH1QCBo7hGyqiyf/I+ejgcxPDg/fOQ==
|
||||
|
||||
metro-runtime@0.70.1:
|
||||
version "0.70.1"
|
||||
resolved "https://registry.yarnpkg.com/metro-runtime/-/metro-runtime-0.70.1.tgz#3f592a76f46b4441dc724e7e0523b531a2ac9a3e"
|
||||
integrity sha512-E3aY2rGckJDgtpr2Uvlkhoadl5AF5q0OUkxgPilztj5uzK0PAqQtNn1U3kluZ4obfQGv7nBCp+CBadpsbGuO3g==
|
||||
metro-runtime@0.70.3:
|
||||
version "0.70.3"
|
||||
resolved "https://registry.yarnpkg.com/metro-runtime/-/metro-runtime-0.70.3.tgz#09231b9d05dcbdfb5a13df0a45307273e6fe1168"
|
||||
integrity sha512-22xU7UdXZacniTIDZgN2EYtmfau2pPyh97Dcs+cWrLcJYgfMKjWBtesnDcUAQy3PHekDYvBdJZkoQUeskYTM+w==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.0.0"
|
||||
|
||||
metro-source-map@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.67.0.tgz#e28db7253b9ca688e60d5710ebdccba60b45b2df"
|
||||
integrity sha512-yxypInsRo3SfS00IgTuL6a2W2tfwLY//vA2E+GeqGBF5zTbJZAhwNGIEl8S87XXZhwzJcxf5/8LjJC1YDzabww==
|
||||
metro-source-map@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.70.2.tgz#14c3a014dcd5bb73c78ea897eb789cc34011c97b"
|
||||
integrity sha512-FCukgawH7jPtI7Vrisdhe7BFjAAmjgt0FNWLTHqGZ9t8UOSGNntImy6f1g/NLUkNeCjqbhkHenqHGngW/J1V6w==
|
||||
dependencies:
|
||||
"@babel/traverse" "^7.14.0"
|
||||
"@babel/types" "^7.0.0"
|
||||
invariant "^2.2.4"
|
||||
metro-symbolicate "0.67.0"
|
||||
metro-symbolicate "0.70.2"
|
||||
nullthrows "^1.1.1"
|
||||
ob1 "0.67.0"
|
||||
ob1 "0.70.2"
|
||||
source-map "^0.5.6"
|
||||
vlq "^1.0.0"
|
||||
|
||||
metro-source-map@0.70.1:
|
||||
version "0.70.1"
|
||||
resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.70.1.tgz#f72a21065ace07e19a3696314360d0dc65a00528"
|
||||
integrity sha512-3VO6yLU0OKa7GM/FCyStT9/n+lDRIuomXbZdoE82NO2RTJfptKg1UphLcJ/wbs5GqBRT8zXyd3eRTwW7AAfeZg==
|
||||
metro-source-map@0.70.3:
|
||||
version "0.70.3"
|
||||
resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.70.3.tgz#f5976108c18d4661eaa4d188c96713e5d67a903b"
|
||||
integrity sha512-zsYtZGrwRbbGEFHtmMqqeCH9K9aTGNVPsurMOWCUeQA3VGyVGXPGtLMC+CdAM9jLpUyg6jw2xh0esxi+tYH7Uw==
|
||||
dependencies:
|
||||
"@babel/traverse" "^7.14.0"
|
||||
"@babel/types" "^7.0.0"
|
||||
invariant "^2.2.4"
|
||||
metro-symbolicate "0.70.1"
|
||||
metro-symbolicate "0.70.3"
|
||||
nullthrows "^1.1.1"
|
||||
ob1 "0.70.1"
|
||||
ob1 "0.70.3"
|
||||
source-map "^0.5.6"
|
||||
vlq "^1.0.0"
|
||||
|
||||
metro-symbolicate@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-symbolicate/-/metro-symbolicate-0.67.0.tgz#16729d05663d28176895244b3d932a898fca2b45"
|
||||
integrity sha512-ZqVVcfa0xSz40eFzA5P8pCF3V6Tna9RU1prFzAJTa3j9dCGqwh0HTXC8AIkMtgX7hNdZrCJI1YipzUBlwkT0/A==
|
||||
metro-symbolicate@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-symbolicate/-/metro-symbolicate-0.70.2.tgz#66a077b0dead952a75ca22ed5b7d77c3cff020f0"
|
||||
integrity sha512-QcFUGChvCeMyHkKRT5OwioiQ3hrBdqndUjhFCjm4Ou0PDlYmoMs2Qb/H390AQyQsCBIqkrc1qavTmTWQdUGIYA==
|
||||
dependencies:
|
||||
invariant "^2.2.4"
|
||||
metro-source-map "0.67.0"
|
||||
metro-source-map "0.70.2"
|
||||
nullthrows "^1.1.1"
|
||||
source-map "^0.5.6"
|
||||
through2 "^2.0.1"
|
||||
vlq "^1.0.0"
|
||||
|
||||
metro-symbolicate@0.70.1:
|
||||
version "0.70.1"
|
||||
resolved "https://registry.yarnpkg.com/metro-symbolicate/-/metro-symbolicate-0.70.1.tgz#fe2098447662dd70396a33482c0961c5ab020ecb"
|
||||
integrity sha512-PQDlvjLDGv9r1wa8Ykmykr0ob6bkBdcOE3oxjAGw2umi7zjINZ8mMVfmHIRDK0vEh7DNHWp/aYTX9o4BN3Fmbg==
|
||||
metro-symbolicate@0.70.3:
|
||||
version "0.70.3"
|
||||
resolved "https://registry.yarnpkg.com/metro-symbolicate/-/metro-symbolicate-0.70.3.tgz#b039e5629c4ed0c999ea0496d580e1c98260f5cb"
|
||||
integrity sha512-JTYkF1dpeDUssQ84juE1ycnhHki2ylJBBdJE1JHtfu5oC+z1ElDbBdPHq90Uvt8HbRov/ZAnxvv7Zy6asS+WCA==
|
||||
dependencies:
|
||||
invariant "^2.2.4"
|
||||
metro-source-map "0.70.1"
|
||||
metro-source-map "0.70.3"
|
||||
nullthrows "^1.1.1"
|
||||
source-map "^0.5.6"
|
||||
through2 "^2.0.1"
|
||||
vlq "^1.0.0"
|
||||
|
||||
metro-transform-plugins@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-transform-plugins/-/metro-transform-plugins-0.67.0.tgz#6122aa4e5e5f9a767cebcc5af6fd1695666683ce"
|
||||
integrity sha512-DQFoSDIJdTMPDTUlKaCNJjEXiHGwFNneAF9wDSJ3luO5gigM7t7MuSaPzF4hpjmfmcfPnRhP6AEn9jcza2Sh8Q==
|
||||
metro-transform-plugins@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-transform-plugins/-/metro-transform-plugins-0.70.2.tgz#1cc235d2a18a2374dfedb082f55b2305a90ad85a"
|
||||
integrity sha512-lJturLSXt+JER8Nmoo2h77LM66iN4ON4L6eIJFq7oAo4lx/XcVcPANZlpE1QaRBAvhKALPIWTQ8+7UigApwdMw==
|
||||
dependencies:
|
||||
"@babel/core" "^7.14.0"
|
||||
"@babel/generator" "^7.14.0"
|
||||
@@ -5198,29 +5221,29 @@ metro-transform-plugins@0.67.0:
|
||||
"@babel/traverse" "^7.14.0"
|
||||
nullthrows "^1.1.1"
|
||||
|
||||
metro-transform-worker@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-transform-worker/-/metro-transform-worker-0.67.0.tgz#5689553c25b0657aadefdf4ea2cd8dd06e18882a"
|
||||
integrity sha512-29n+JdTb80ROiv/wDiBVlY/xRAF/nrjhp/Udv/XJl1DZb+x7JEiPxpbpthPhwwl+AYxVrostGB0W06WJ61hfiw==
|
||||
metro-transform-worker@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-transform-worker/-/metro-transform-worker-0.70.2.tgz#5c275abe9cb51fa7551fa561b9bfa51ed29df5f5"
|
||||
integrity sha512-nF8Erl0UytKDK+HmGADcP3OntyNsDZr63iKieXME4DW1JSDuIeo0tTcz0TH2pTpY87aZU9iXeayJ581YHU9/yA==
|
||||
dependencies:
|
||||
"@babel/core" "^7.14.0"
|
||||
"@babel/generator" "^7.14.0"
|
||||
"@babel/parser" "^7.14.0"
|
||||
"@babel/types" "^7.0.0"
|
||||
babel-preset-fbjs "^3.4.0"
|
||||
metro "0.67.0"
|
||||
metro-babel-transformer "0.67.0"
|
||||
metro-cache "0.67.0"
|
||||
metro-cache-key "0.67.0"
|
||||
metro-hermes-compiler "0.67.0"
|
||||
metro-source-map "0.67.0"
|
||||
metro-transform-plugins "0.67.0"
|
||||
metro "0.70.2"
|
||||
metro-babel-transformer "0.70.2"
|
||||
metro-cache "0.70.2"
|
||||
metro-cache-key "0.70.2"
|
||||
metro-hermes-compiler "0.70.2"
|
||||
metro-source-map "0.70.2"
|
||||
metro-transform-plugins "0.70.2"
|
||||
nullthrows "^1.1.1"
|
||||
|
||||
metro@0.67.0, metro@^0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/metro/-/metro-0.67.0.tgz#8007a041d22de1cdb05184431c67eb7989eef6e0"
|
||||
integrity sha512-DwuBGAFcAivoac/swz8Lp7Y5Bcge1tzT7T6K0nf1ubqJP8YzBUtyR4pkjEYVUzVu/NZf7O54kHSPVu1ibYzOBQ==
|
||||
metro@0.70.2, metro@^0.70.1:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/metro/-/metro-0.70.2.tgz#b1903e81c269caf92ad4b6f877d3d89b0aca6f59"
|
||||
integrity sha512-tDIjicttCCGiBrUgHfKB0XH8cg3DynCPQQqOlf1iGzonvn9GGw14VYrMeNUOq1JF44oXgQUJGLgz5AgFOCB2yg==
|
||||
dependencies:
|
||||
"@babel/code-frame" "^7.0.0"
|
||||
"@babel/core" "^7.14.0"
|
||||
@@ -5231,7 +5254,7 @@ metro@0.67.0, metro@^0.67.0:
|
||||
"@babel/types" "^7.0.0"
|
||||
absolute-path "^0.0.0"
|
||||
accepts "^1.3.7"
|
||||
async "^2.4.0"
|
||||
async "^3.2.2"
|
||||
chalk "^4.0.0"
|
||||
ci-info "^2.0.0"
|
||||
connect "^3.6.5"
|
||||
@@ -5239,30 +5262,29 @@ metro@0.67.0, metro@^0.67.0:
|
||||
denodeify "^1.2.1"
|
||||
error-stack-parser "^2.0.6"
|
||||
fs-extra "^1.0.0"
|
||||
graceful-fs "^4.1.3"
|
||||
hermes-parser "0.5.0"
|
||||
graceful-fs "^4.2.4"
|
||||
hermes-parser "0.6.0"
|
||||
image-size "^0.6.0"
|
||||
invariant "^2.2.4"
|
||||
jest-haste-map "^27.3.1"
|
||||
jest-worker "^26.0.0"
|
||||
jest-worker "^27.2.0"
|
||||
lodash.throttle "^4.1.1"
|
||||
metro-babel-transformer "0.67.0"
|
||||
metro-cache "0.67.0"
|
||||
metro-cache-key "0.67.0"
|
||||
metro-config "0.67.0"
|
||||
metro-core "0.67.0"
|
||||
metro-hermes-compiler "0.67.0"
|
||||
metro-inspector-proxy "0.67.0"
|
||||
metro-minify-uglify "0.67.0"
|
||||
metro-react-native-babel-preset "0.67.0"
|
||||
metro-resolver "0.67.0"
|
||||
metro-runtime "0.67.0"
|
||||
metro-source-map "0.67.0"
|
||||
metro-symbolicate "0.67.0"
|
||||
metro-transform-plugins "0.67.0"
|
||||
metro-transform-worker "0.67.0"
|
||||
metro-babel-transformer "0.70.2"
|
||||
metro-cache "0.70.2"
|
||||
metro-cache-key "0.70.2"
|
||||
metro-config "0.70.2"
|
||||
metro-core "0.70.2"
|
||||
metro-hermes-compiler "0.70.2"
|
||||
metro-inspector-proxy "0.70.2"
|
||||
metro-minify-uglify "0.70.2"
|
||||
metro-react-native-babel-preset "0.70.2"
|
||||
metro-resolver "0.70.2"
|
||||
metro-runtime "0.70.2"
|
||||
metro-source-map "0.70.2"
|
||||
metro-symbolicate "0.70.2"
|
||||
metro-transform-plugins "0.70.2"
|
||||
metro-transform-worker "0.70.2"
|
||||
mime-types "^2.1.27"
|
||||
mkdirp "^0.5.1"
|
||||
node-fetch "^2.2.0"
|
||||
nullthrows "^1.1.1"
|
||||
rimraf "^2.5.4"
|
||||
@@ -5512,15 +5534,15 @@ oauth-sign@~0.9.0:
|
||||
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
|
||||
integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==
|
||||
|
||||
ob1@0.67.0:
|
||||
version "0.67.0"
|
||||
resolved "https://registry.yarnpkg.com/ob1/-/ob1-0.67.0.tgz#91f104c90641b1af8c364fc82a4b2c7d0801072d"
|
||||
integrity sha512-YvZtX8HKYackQ5PwdFIuuNFVsMChRPHvnARRRT0Vk59xsBvL5t9U1Ock3M1sYrKj+Gp73+0q9xcHLAxI+xLi5g==
|
||||
ob1@0.70.2:
|
||||
version "0.70.2"
|
||||
resolved "https://registry.yarnpkg.com/ob1/-/ob1-0.70.2.tgz#d4bcdeddd338ebaeab27ac7ef728770f4b7b85cd"
|
||||
integrity sha512-0gZ+El3a0dI3jq8yic2stXJ3bHWWCvEQ7EZNn8n4vj4+F4nDkjtohCqYiuHADEDrxtLCPiUrZfj7hj050v5g+g==
|
||||
|
||||
ob1@0.70.1:
|
||||
version "0.70.1"
|
||||
resolved "https://registry.yarnpkg.com/ob1/-/ob1-0.70.1.tgz#852d8907b45e86841c81b422115312642f69883f"
|
||||
integrity sha512-YRqBTXhelJAke5+avvEHki7qSrjTW/FgTrOnTJMpytXnnaaJZ6EnjSFOJQwSbMktE18nVaCAvI6kbOv2K6ZqFQ==
|
||||
ob1@0.70.3:
|
||||
version "0.70.3"
|
||||
resolved "https://registry.yarnpkg.com/ob1/-/ob1-0.70.3.tgz#f48cd5a5abf54b0c423b1b06b6d4ff4d049816cb"
|
||||
integrity sha512-Vy9GGhuXgDRY01QA6kdhToPd8AkLdLpX9GjH5kpqluVqTu70mgOm7tpGoJDZGaNbr9nJlJgnipqHJQRPORixIQ==
|
||||
|
||||
object-assign@^4.1.1:
|
||||
version "4.1.1"
|
||||
@@ -5969,7 +5991,7 @@ react-devtools-core@4.24.0:
|
||||
shell-quote "^1.6.1"
|
||||
ws "^7"
|
||||
|
||||
"react-is@^16.12.0 || ^17.0.0", react-is@^17.0.1, react-is@^17.0.2:
|
||||
"react-is@^16.12.0 || ^17.0.0", react-is@^17.0.1:
|
||||
version "17.0.2"
|
||||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
|
||||
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==
|
||||
@@ -5980,9 +6002,34 @@ react-is@^16.8.1, react-is@^16.8.4:
|
||||
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
|
||||
|
||||
react-is@^18.0.0:
|
||||
version "18.0.0"
|
||||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.0.0.tgz#026f6c4a27dbe33bf4a35655b9e1327c4e55e3f5"
|
||||
integrity sha512-yUcBYdBBbo3QiPsgYDcfQcIkGZHfxOaoE6HLSnr1sPzMhdyxusbfKOSUbSd/ocGi32dxcj366PsTj+5oggeKKw==
|
||||
version "18.1.0"
|
||||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67"
|
||||
integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg==
|
||||
|
||||
react-native-codegen@*:
|
||||
version "0.69.0"
|
||||
resolved "https://registry.yarnpkg.com/react-native-codegen/-/react-native-codegen-0.69.0.tgz#4760dbcbd2e57f4ace003aaab2e19f695a16097c"
|
||||
integrity sha512-f6wiG3CpF7mU+H7IDMUfItigWDFpah0jKG8Rp5FSz6Xx1wQy1RVVa9a2X9iTG7bE3kUu40nel8ouwHgCO84jMQ==
|
||||
dependencies:
|
||||
"@babel/parser" "^7.14.0"
|
||||
flow-parser "^0.121.0"
|
||||
jscodeshift "^0.13.1"
|
||||
nullthrows "^1.1.1"
|
||||
|
||||
react-native-codegen@^0.69.1:
|
||||
version "0.69.1"
|
||||
resolved "https://registry.yarnpkg.com/react-native-codegen/-/react-native-codegen-0.69.1.tgz#3632be2f24464e6fad8dd11a25d1b6f3bc2c7d0b"
|
||||
integrity sha512-TOZEqBarczcyYN3iZE3VpKkooOevaAzBq9n7lU0h9mQUvtRhLVyolc+a5K6cWI0e4v4K69I0MqzjPcPeFKo32Q==
|
||||
dependencies:
|
||||
"@babel/parser" "^7.14.0"
|
||||
flow-parser "^0.121.0"
|
||||
jscodeshift "^0.13.1"
|
||||
nullthrows "^1.1.1"
|
||||
|
||||
react-native-gradle-plugin@^0.0.7:
|
||||
version "0.0.7"
|
||||
resolved "https://registry.yarnpkg.com/react-native-gradle-plugin/-/react-native-gradle-plugin-0.0.7.tgz#96602f909745239deab7b589443f14fce5da2056"
|
||||
integrity sha512-+4JpbIx42zGTONhBTIXSyfyHICHC29VTvhkkoUOJAh/XHPEixpuBduYgf6Y4y9wsN1ARlQhBBoptTvXvAFQf5g==
|
||||
|
||||
react-refresh@^0.4.0:
|
||||
version "0.4.0"
|
||||
@@ -5997,17 +6044,7 @@ react-shallow-renderer@16.14.1, react-shallow-renderer@^16.13.1:
|
||||
object-assign "^4.1.1"
|
||||
react-is "^16.12.0 || ^17.0.0"
|
||||
|
||||
react-test-renderer@17.0.2:
|
||||
version "17.0.2"
|
||||
resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-17.0.2.tgz#4cd4ae5ef1ad5670fc0ef776e8cc7e1231d9866c"
|
||||
integrity sha512-yaQ9cB89c17PUb0x6UfWRs7kQCorVdHlutU1boVPEsB8IDZH6n9tHxMacc3y0JoXOJUsZb/t/Mb8FUWMKaM7iQ==
|
||||
dependencies:
|
||||
object-assign "^4.1.1"
|
||||
react-is "^17.0.2"
|
||||
react-shallow-renderer "^16.13.1"
|
||||
scheduler "^0.20.2"
|
||||
|
||||
react-test-renderer@^18.0.0:
|
||||
react-test-renderer@18.0.0:
|
||||
version "18.0.0"
|
||||
resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-18.0.0.tgz#fa403d625ea9478a70ace43db88833f6c3a5bb4c"
|
||||
integrity sha512-SyZTP/FSkwfiKOZuTZiISzsrC8A80KNlQ8PyyoGoOq+VzMAab6Em1POK/CiX3+XyXG6oiJa1C53zYDbdrJu9fw==
|
||||
@@ -6016,14 +6053,6 @@ react-test-renderer@^18.0.0:
|
||||
react-shallow-renderer "^16.13.1"
|
||||
scheduler "^0.21.0"
|
||||
|
||||
react@17.0.2:
|
||||
version "17.0.2"
|
||||
resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"
|
||||
integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==
|
||||
dependencies:
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
|
||||
react@18.0.0:
|
||||
version "18.0.0"
|
||||
resolved "https://registry.yarnpkg.com/react/-/react-18.0.0.tgz#b468736d1f4a5891f38585ba8e8fb29f91c3cb96"
|
||||
@@ -6405,14 +6434,6 @@ saxes@^5.0.1:
|
||||
dependencies:
|
||||
xmlchars "^2.2.0"
|
||||
|
||||
scheduler@^0.20.2:
|
||||
version "0.20.2"
|
||||
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91"
|
||||
integrity sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==
|
||||
dependencies:
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
|
||||
scheduler@^0.21.0:
|
||||
version "0.21.0"
|
||||
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.21.0.tgz#6fd2532ff5a6d877b6edb12f00d8ab7e8f308820"
|
||||
@@ -7239,12 +7260,10 @@ urix@^0.1.0:
|
||||
resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
|
||||
integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=
|
||||
|
||||
"use-subscription@>=1.0.0 <1.6.0":
|
||||
version "1.5.1"
|
||||
resolved "https://registry.yarnpkg.com/use-subscription/-/use-subscription-1.5.1.tgz#73501107f02fad84c6dd57965beb0b75c68c42d1"
|
||||
integrity sha512-Xv2a1P/yReAjAbhylMfFplFKj9GssgTwN7RlcTxBujFQcloStWNDQdc4g4NRWH9xS4i/FDk04vQBptAXoF3VcA==
|
||||
dependencies:
|
||||
object-assign "^4.1.1"
|
||||
use-sync-external-store@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.0.0.tgz#d98f4a9c2e73d0f958e7e2d2c2bfb5f618cbd8fd"
|
||||
integrity sha512-AFVsxg5GkFg8GDcxnl+Z0lMAz9rE8DGJCc28qnBuQF7lac57B5smLcT37aXpXIIPz75rW4g3eXHPjhHwdGskOw==
|
||||
|
||||
use@^3.1.0:
|
||||
version "3.1.1"
|
||||
|
||||
Reference in New Issue
Block a user