diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index a38dd6a7..00000000 --- a/.eslintrc.js +++ /dev/null @@ -1,21 +0,0 @@ -const path = require('path'); - -module.exports = { - root: true, - extends: '@react-native', - parserOptions: { - babelOptions: { - configFile: path.resolve(__dirname, 'packages', 'example', 'babel.config.js'), - }, - }, - ignorePatterns: ['**/react-native-avoid-softinput/lib/**/*'], - overrides: [ - { - files: ['**/jest/*'], - plugins: ['jest'], - env: { - 'jest/globals': true, - }, - }, - ], -}; diff --git a/.github/workflows/lint-js.yml b/.github/workflows/lint-js.yml index 65cfae0e..a3fcf186 100644 --- a/.github/workflows/lint-js.yml +++ b/.github/workflows/lint-js.yml @@ -4,19 +4,19 @@ on: pull_request: branches: [main] paths: - - "packages/exanple/src/**" - - "packages/example/App.tsx" - - "packages/example/babel.config.js" - - "packages/example/index.js" - - "packages/example/metro.config.js" - - "packages/example/package.json" - - "packages/example/react-native.config.js" - - "packages/example/tsconfig.json" + - "packages/expo-exanple/src/**" + - "packages/expo-example/App.tsx" + - "packages/expo-example/babel.config.js" + - "packages/expo-example/index.ts" + - "packages/expo-example/metro.config.js" + - "packages/expo-example/package.json" + - "packages/expo-example/tsconfig.json" + - "packages/expo-example/withShowTime.js" - "packages/react-native-avoid-softinput/jest/**" - "packages/react-native-avoid-softinput/src/**" - "packages/react-native-avoid-softinput/package.json" - "packages/react-native-avoid-softinput/tsconfig.json" - - ".eslintrc.js" + - "eslint.config.mjs" - ".prettierrc.js" - "package.json" - ".github/workflows/lint-js.yml" diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 00000000..ca4cbb9c --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,34 @@ +import callstackConfig from '@callstack/eslint-config/react-native.flat.js'; + +export default [ + { + ignores: ['docs/**/*', '**/react-native-avoid-softinput/lib/**/*'], + }, + ...callstackConfig, + { + files: ['**/jest/**/*'], + languageOptions: { + globals: { + jest: true, + }, + }, + }, + { + files: ['packages/expo-example/**/*'], + rules: { + 'react/react-in-jsx-scope': 'off', + }, + }, + { + files: ['packages/expo-example/withShowTime.js'], + rules: { + 'import/no-extraneous-dependencies': ['error', { devDependencies: true }], + }, + }, + { + files: ['eslint.config.mjs'], + rules: { + 'import/no-extraneous-dependencies': 'off', + }, + }, +]; diff --git a/package.json b/package.json index 2dd5027f..e0486bca 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,11 @@ "private": true, "workspaces": { "packages": [ - "packages/example", - "packages/react-native-avoid-softinput" + "packages/*" ] }, "scripts": { - "typescript": "tsc --noEmit -p packages/example/tsconfig.json && tsc --noEmit -p packages/react-native-avoid-softinput/tsconfig.json", + "typescript": "tsc --noEmit -p packages/expo-example/tsconfig.json && tsc --noEmit -p packages/react-native-avoid-softinput/tsconfig.json", "lint:js": "eslint \"**/*.{js,ts,tsx}\" && prettier --config .prettierrc.js \"packages/**/*.{js,ts,tsx}\"", "lint:android": "./packages/react-native-avoid-softinput/android/gradlew -p packages/react-native-avoid-softinput/android spotlessCheck --quiet", "lint:ios:objc": "clang-format --dry-run -i ./packages/react-native-avoid-softinput/ios/*.{h,mm}", @@ -16,8 +15,6 @@ "format:ios:objc": "clang-format -i ./packages/react-native-avoid-softinput/ios/*.{h,mm} -Werror", "prepare": "yarn workspace react-native-avoid-softinput build-library", "release": "yarn workspace react-native-avoid-softinput release-library", - "install:pods": "pod-install packages/example/ios --quiet", - "install:pods:fabric": "RCT_NEW_ARCH_ENABLED=1 pod-install packages/example/ios --quiet", "reset": "yarn reset:node_modules && yarn reset:pods", "reset:node_modules": "find . -type dir -name node_modules | xargs rm -rf && rm -rf yarn.lock", "reset:pods": "find . -type dir -name Pods | xargs rm -rf && find . -type f -name Podfile.lock | xargs rm -rf" @@ -33,16 +30,15 @@ "registry": "https://registry.npmjs.org/" }, "devDependencies": { - "@commitlint/config-conventional": "19.5.0", - "@evilmartians/lefthook": "1.4.3", - "@react-native/eslint-config": "0.77.0", - "@react-native/typescript-config": "0.77.0", - "commitlint": "19.5.0", - "eslint": "^8.19.0", - "jest": "29.7.0", - "pod-install": "0.2.2", - "prettier": "2.8.8", - "typescript": "5.7.3" + "@callstack/eslint-config": "15.0.0", + "@commitlint/config-conventional": "19.8.1", + "@evilmartians/lefthook": "1.11.4", + "commitlint": "19.8.1", + "eslint": "9.29.0", + "jest": "30.0.2", + "pod-install": "0.3.9", + "prettier": "3.5.3", + "typescript": "5.8.3" }, "commitlint": { "extends": [ diff --git a/packages/example/.gitignore b/packages/example/.gitignore deleted file mode 100644 index 65aa665c..00000000 --- a/packages/example/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -*.binlog -*.hprof -*.xcworkspace/ -*.zip -.DS_Store -.gradle/ -.idea/ -.vs/ -.xcode.env -Pods/ -build/ -dist/* -!dist/.gitignore -local.properties -msbuild.binlog -node_modules/ diff --git a/packages/example/.watchmanconfig b/packages/example/.watchmanconfig deleted file mode 100644 index 0967ef42..00000000 --- a/packages/example/.watchmanconfig +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/example/android/build.gradle b/packages/example/android/build.gradle deleted file mode 100644 index d8bcc3ae..00000000 --- a/packages/example/android/build.gradle +++ /dev/null @@ -1,43 +0,0 @@ -buildscript { - apply(from: { - def searchDir = rootDir.toPath() - do { - def p = searchDir.resolve("node_modules/react-native-test-app/android/dependencies.gradle") - if (p.toFile().exists()) { - return p.toRealPath().toString() - } - } while (searchDir = searchDir.getParent()) - throw new GradleException("Could not find `react-native-test-app`"); - }()) - - repositories { - mavenCentral() - google() - } - - dependencies { - getReactNativeDependencies().each { dependency -> - classpath(dependency) - } - } -} - -allprojects { - repositories { - maven { - // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm - url({ - def searchDir = rootDir.toPath() - do { - def p = searchDir.resolve("node_modules/react-native/android") - if (p.toFile().exists()) { - return p.toRealPath().toString() - } - } while (searchDir = searchDir.getParent()) - throw new GradleException("Could not find `react-native`"); - }()) - } - mavenCentral() - google() - } -} diff --git a/packages/example/android/gradle.properties b/packages/example/android/gradle.properties deleted file mode 100644 index 59d902bd..00000000 --- a/packages/example/android/gradle.properties +++ /dev/null @@ -1,54 +0,0 @@ -# Project-wide Gradle settings. - -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. - -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html - -# Specifies the JVM arguments used for the Gradle Daemon. The setting is -# particularly useful for configuring JVM memory settings for build performance. -# This does not affect the JVM settings for the Gradle client VM. -# The default is `-Xmx512m -XX:MaxMetaspaceSize=256m`. -org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 - -# When configured, Gradle will fork up to org.gradle.workers.max JVMs to execute -# projects in parallel. To learn more about parallel task execution, see the -# section on Gradle build performance: -# https://docs.gradle.org/current/userguide/performance.html#parallel_execution. -# Default is `false`. -# org.gradle.parallel=true - -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Automatically convert third-party libraries to use AndroidX -android.enableJetifier=true -# Jetifier randomly fails on these libraries -android.jetifier.ignorelist=hermes-android,react-android - -# Use this property to specify which architecture you want to build. -# You can also override it from the CLI using -# ./gradlew -PreactNativeArchitectures=x86_64 -reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 - -hermesEnabled=true -# Use this property to enable support to the new architecture. -# This will allow you to use TurboModules and the Fabric render in -# your application. You should enable this flag either if you want -# to write custom TurboModules/Fabric components OR use libraries that -# are providing them. -# Note that this is incompatible with web debugging. -# newArchEnabled=true -# bridgelessEnabled=true - -# Uncomment the line below to build React Native from source. -# react.buildFromSource=true - -# Version of Android NDK to build against. -ANDROID_NDK_VERSION=27.1.12297006 - -# Version of Kotlin to build against. -KOTLIN_VERSION=2.0.21 diff --git a/packages/example/android/gradle/wrapper/gradle-wrapper.jar b/packages/example/android/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e6441136..00000000 Binary files a/packages/example/android/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/packages/example/android/gradle/wrapper/gradle-wrapper.properties b/packages/example/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index e2847c82..00000000 --- a/packages/example/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,7 +0,0 @@ -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip -networkTimeout=10000 -validateDistributionUrl=true -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/packages/example/android/gradlew b/packages/example/android/gradlew deleted file mode 100755 index b740cf13..00000000 --- a/packages/example/android/gradlew +++ /dev/null @@ -1,249 +0,0 @@ -#!/bin/sh - -# -# Copyright © 2015-2021 the original authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -# -# Gradle start up script for POSIX generated by Gradle. -# -# Important for running: -# -# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is -# noncompliant, but you have some other compliant shell such as ksh or -# bash, then to run this script, type that shell name before the whole -# command line, like: -# -# ksh Gradle -# -# Busybox and similar reduced shells will NOT work, because this script -# requires all of these POSIX shell features: -# * functions; -# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», -# «${var#prefix}», «${var%suffix}», and «$( cmd )»; -# * compound commands having a testable exit status, especially «case»; -# * various built-in commands including «command», «set», and «ulimit». -# -# Important for patching: -# -# (2) This script targets any POSIX shell, so it avoids extensions provided -# by Bash, Ksh, etc; in particular arrays are avoided. -# -# The "traditional" practice of packing multiple parameters into a -# space-separated string is a well documented source of bugs and security -# problems, so this is (mostly) avoided, by progressively accumulating -# options in "$@", and eventually passing that to Java. -# -# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, -# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; -# see the in-line comments for details. -# -# There are tweaks for specific operating systems such as AIX, CygWin, -# Darwin, MinGW, and NonStop. -# -# (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt -# within the Gradle project. -# -# You can find Gradle at https://github.com/gradle/gradle/. -# -############################################################################## - -# Attempt to set APP_HOME - -# Resolve links: $0 may be a link -app_path=$0 - -# Need this for daisy-chained symlinks. -while - APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path - [ -h "$app_path" ] -do - ls=$( ls -ld "$app_path" ) - link=${ls#*' -> '} - case $link in #( - /*) app_path=$link ;; #( - *) app_path=$APP_HOME$link ;; - esac -done - -# This is normally unused -# shellcheck disable=SC2034 -APP_BASE_NAME=${0##*/} -# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD=maximum - -warn () { - echo "$*" -} >&2 - -die () { - echo - echo "$*" - echo - exit 1 -} >&2 - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "$( uname )" in #( - CYGWIN* ) cygwin=true ;; #( - Darwin* ) darwin=true ;; #( - MSYS* | MINGW* ) msys=true ;; #( - NONSTOP* ) nonstop=true ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD=$JAVA_HOME/jre/sh/java - else - JAVACMD=$JAVA_HOME/bin/java - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD=java - if ! command -v java >/dev/null 2>&1 - then - die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -fi - -# Increase the maximum file descriptors if we can. -if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then - case $MAX_FD in #( - max*) - # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC2039,SC3045 - MAX_FD=$( ulimit -H -n ) || - warn "Could not query maximum file descriptor limit" - esac - case $MAX_FD in #( - '' | soft) :;; #( - *) - # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC2039,SC3045 - ulimit -n "$MAX_FD" || - warn "Could not set maximum file descriptor limit to $MAX_FD" - esac -fi - -# Collect all arguments for the java command, stacking in reverse order: -# * args from the command line -# * the main class name -# * -classpath -# * -D...appname settings -# * --module-path (only if needed) -# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. - -# For Cygwin or MSYS, switch paths to Windows format before running java -if "$cygwin" || "$msys" ; then - APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) - - JAVACMD=$( cygpath --unix "$JAVACMD" ) - - # Now convert the arguments - kludge to limit ourselves to /bin/sh - for arg do - if - case $arg in #( - -*) false ;; # don't mess with options #( - /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath - [ -e "$t" ] ;; #( - *) false ;; - esac - then - arg=$( cygpath --path --ignore --mixed "$arg" ) - fi - # Roll the args list around exactly as many times as the number of - # args, so each arg winds up back in the position where it started, but - # possibly modified. - # - # NB: a `for` loop captures its iteration list before it begins, so - # changing the positional parameters here affects neither the number of - # iterations, nor the values presented in `arg`. - shift # remove old arg - set -- "$@" "$arg" # push replacement arg - done -fi - - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Collect all arguments for the java command: -# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, -# and any embedded shellness will be escaped. -# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be -# treated as '${Hostname}' itself on the command line. - -set -- \ - "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ - "$@" - -# Stop when "xargs" is not available. -if ! command -v xargs >/dev/null 2>&1 -then - die "xargs is not available" -fi - -# Use "xargs" to parse quoted args. -# -# With -n1 it outputs one arg per line, with the quotes and backslashes removed. -# -# In Bash we could simply go: -# -# readarray ARGS < <( xargs -n1 <<<"$var" ) && -# set -- "${ARGS[@]}" "$@" -# -# but POSIX shell has neither arrays nor command substitution, so instead we -# post-process each arg (as a line of input to sed) to backslash-escape any -# character that might be a shell metacharacter, then use eval to reverse -# that process (while maintaining the separation between arguments), and wrap -# the whole thing up as a single "set" statement. -# -# This will of course break if any of these variables contains a newline or -# an unmatched quote. -# - -eval "set -- $( - printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | - xargs -n1 | - sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | - tr '\n' ' ' - )" '"$@"' - -exec "$JAVACMD" "$@" diff --git a/packages/example/android/gradlew.bat b/packages/example/android/gradlew.bat deleted file mode 100644 index 25da30db..00000000 --- a/packages/example/android/gradlew.bat +++ /dev/null @@ -1,92 +0,0 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem - -@if "%DEBUG%"=="" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%"=="" set DIRNAME=. -@rem This is normally unused -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if %ERRORLEVEL% equ 0 goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* - -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega diff --git a/packages/example/android/settings.gradle b/packages/example/android/settings.gradle deleted file mode 100644 index 9cae6199..00000000 --- a/packages/example/android/settings.gradle +++ /dev/null @@ -1,21 +0,0 @@ -pluginManagement { - repositories { - gradlePluginPortal() - mavenCentral() - google() - } -} - -rootProject.name = "rnas-example" - -apply(from: { - def searchDir = rootDir.toPath() - do { - def p = searchDir.resolve("node_modules/react-native-test-app/test-app.gradle") - if (p.toFile().exists()) { - return p.toRealPath().toString() - } - } while (searchDir = searchDir.getParent()) - throw new GradleException("Could not find `react-native-test-app`"); -}()) -applyTestAppSettings(settings) diff --git a/packages/example/app.json b/packages/example/app.json deleted file mode 100644 index 593046fc..00000000 --- a/packages/example/app.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "name": "rnas-example", - "displayName": "rnas-example", - "singleApp": "rnas-example", - "components": [ - { - "appKey": "rnas-example", - "displayName": "rnas-example", - "slug": "rnas-example" - } - ], - "resources": { - "android": [ - "dist/res", - "dist/main.android.jsbundle" - ], - "ios": [ - "dist/assets", - "dist/main.ios.jsbundle" - ], - "macos": [ - "dist/assets", - "dist/main.macos.jsbundle" - ], - "visionos": [ - "dist/assets", - "dist/main.visionos.jsbundle" - ], - "windows": [ - "dist/assets", - "dist/main.windows.bundle" - ] - } -} diff --git a/packages/example/babel.config.js b/packages/example/babel.config.js deleted file mode 100644 index 2ad40f4a..00000000 --- a/packages/example/babel.config.js +++ /dev/null @@ -1,31 +0,0 @@ -const path = require('path'); - -module.exports = { - presets: ['module:@react-native/babel-preset'], - plugins: [ - [ - 'module-resolver', - { - extensions: [ - '.ios.js', - '.ios.ts', - '.ios.tsx', - '.android.js', - '.android.ts', - '.android.tsx', - '.native.js', - '.native.ts', - '.native.tsx', - '.js', - '.ts', - '.tsx', - '.json', - ], - alias: { - 'react-native-avoid-softinput': path.resolve(__dirname, '..', 'react-native-avoid-softinput'), - }, - }, - ], - 'react-native-reanimated/plugin', - ], -}; diff --git a/packages/example/index.js b/packages/example/index.js deleted file mode 100644 index 26d8009e..00000000 --- a/packages/example/index.js +++ /dev/null @@ -1,8 +0,0 @@ -import 'react-native-gesture-handler'; - -import { AppRegistry } from 'react-native'; - -import App from './App'; -import { name as appName } from './app.json'; - -AppRegistry.registerComponent(appName, () => App); diff --git a/packages/example/ios/Podfile b/packages/example/ios/Podfile deleted file mode 100644 index 6c7dd4b2..00000000 --- a/packages/example/ios/Podfile +++ /dev/null @@ -1,13 +0,0 @@ -ws_dir = Pathname.new(__dir__) -ws_dir = ws_dir.parent until - File.exist?("#{ws_dir}/node_modules/react-native-test-app/test_app.rb") || - ws_dir.expand_path.to_s == '/' -require "#{ws_dir}/node_modules/react-native-test-app/test_app.rb" - -workspace 'rnas-example.xcworkspace' - -use_test_app! do |target| - target.app do - pod 'ShowTime' - end -end diff --git a/packages/example/ios/Podfile.lock b/packages/example/ios/Podfile.lock deleted file mode 100644 index 801f0811..00000000 --- a/packages/example/ios/Podfile.lock +++ /dev/null @@ -1,2033 +0,0 @@ -PODS: - - boost (1.84.0) - - DoubleConversion (1.1.6) - - fast_float (6.1.4) - - FBLazyVector (0.77.0) - - fmt (11.0.2) - - glog (0.3.5) - - RCT-Folly (2024.11.18.00): - - boost - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Default (= 2024.11.18.00) - - RCT-Folly/Default (2024.11.18.00): - - boost - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (2024.11.18.00): - - boost - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCTDeprecation (0.77.0) - - RCTRequired (0.77.0) - - RCTTypeSafety (0.77.0): - - FBLazyVector (= 0.77.0) - - RCTRequired (= 0.77.0) - - React-Core (= 0.77.0) - - React (0.77.0): - - React-Core (= 0.77.0) - - React-Core/DevSupport (= 0.77.0) - - React-Core/RCTWebSocket (= 0.77.0) - - React-RCTActionSheet (= 0.77.0) - - React-RCTAnimation (= 0.77.0) - - React-RCTBlob (= 0.77.0) - - React-RCTImage (= 0.77.0) - - React-RCTLinking (= 0.77.0) - - React-RCTNetwork (= 0.77.0) - - React-RCTSettings (= 0.77.0) - - React-RCTText (= 0.77.0) - - React-RCTVibration (= 0.77.0) - - React-callinvoker (0.77.0) - - React-Core (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default (= 0.77.0) - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/CoreModulesHeaders (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/Default (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/DevSupport (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default (= 0.77.0) - - React-Core/RCTWebSocket (= 0.77.0) - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/RCTActionSheetHeaders (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/RCTAnimationHeaders (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/RCTBlobHeaders (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/RCTImageHeaders (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/RCTLinkingHeaders (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/RCTNetworkHeaders (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/RCTSettingsHeaders (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/RCTTextHeaders (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/RCTVibrationHeaders (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-Core/RCTWebSocket (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTDeprecation - - React-Core/Default (= 0.77.0) - - React-cxxreact - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-perflogger - - React-runtimescheduler - - React-utils - - SocketRocket (= 0.7.1) - - Yoga - - React-CoreModules (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - RCT-Folly (= 2024.11.18.00) - - RCTTypeSafety (= 0.77.0) - - React-Core/CoreModulesHeaders (= 0.77.0) - - React-jsi (= 0.77.0) - - React-jsinspector - - React-NativeModulesApple - - React-RCTBlob - - React-RCTFBReactNativeSpec - - React-RCTImage (= 0.77.0) - - ReactCommon - - SocketRocket (= 0.7.1) - - React-cxxreact (0.77.0): - - boost - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly (= 2024.11.18.00) - - React-callinvoker (= 0.77.0) - - React-debug (= 0.77.0) - - React-jsi (= 0.77.0) - - React-jsinspector - - React-logger (= 0.77.0) - - React-perflogger (= 0.77.0) - - React-runtimeexecutor (= 0.77.0) - - React-timing (= 0.77.0) - - React-debug (0.77.0) - - React-defaultsnativemodule (0.77.0): - - RCT-Folly - - React-domnativemodule - - React-featureflagsnativemodule - - React-idlecallbacksnativemodule - - React-jsc - - React-jsi - - React-jsiexecutor - - React-microtasksnativemodule - - React-RCTFBReactNativeSpec - - React-domnativemodule (0.77.0): - - RCT-Folly - - React-Fabric - - React-FabricComponents - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - ReactCommon/turbomodule/core - - Yoga - - React-Fabric (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric/animations (= 0.77.0) - - React-Fabric/attributedstring (= 0.77.0) - - React-Fabric/componentregistry (= 0.77.0) - - React-Fabric/componentregistrynative (= 0.77.0) - - React-Fabric/components (= 0.77.0) - - React-Fabric/core (= 0.77.0) - - React-Fabric/dom (= 0.77.0) - - React-Fabric/imagemanager (= 0.77.0) - - React-Fabric/leakchecker (= 0.77.0) - - React-Fabric/mounting (= 0.77.0) - - React-Fabric/observers (= 0.77.0) - - React-Fabric/scheduler (= 0.77.0) - - React-Fabric/telemetry (= 0.77.0) - - React-Fabric/templateprocessor (= 0.77.0) - - React-Fabric/uimanager (= 0.77.0) - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/animations (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/attributedstring (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/componentregistry (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/componentregistrynative (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/components (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric/components/legacyviewmanagerinterop (= 0.77.0) - - React-Fabric/components/root (= 0.77.0) - - React-Fabric/components/view (= 0.77.0) - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/components/legacyviewmanagerinterop (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/components/root (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/components/view (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-Fabric/core (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/dom (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/imagemanager (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/leakchecker (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/mounting (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/observers (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric/observers/events (= 0.77.0) - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/observers/events (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/scheduler (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric/observers/events - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-performancetimeline - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/telemetry (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/templateprocessor (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/uimanager (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric/uimanager/consistency (= 0.77.0) - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererconsistency - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/uimanager/consistency (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererconsistency - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-FabricComponents (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-FabricComponents/components (= 0.77.0) - - React-FabricComponents/textlayoutmanager (= 0.77.0) - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricComponents/components (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-FabricComponents/components/inputaccessory (= 0.77.0) - - React-FabricComponents/components/iostextinput (= 0.77.0) - - React-FabricComponents/components/modal (= 0.77.0) - - React-FabricComponents/components/rncore (= 0.77.0) - - React-FabricComponents/components/safeareaview (= 0.77.0) - - React-FabricComponents/components/scrollview (= 0.77.0) - - React-FabricComponents/components/text (= 0.77.0) - - React-FabricComponents/components/textinput (= 0.77.0) - - React-FabricComponents/components/unimplementedview (= 0.77.0) - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricComponents/components/inputaccessory (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricComponents/components/iostextinput (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricComponents/components/modal (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricComponents/components/rncore (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricComponents/components/safeareaview (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricComponents/components/scrollview (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricComponents/components/text (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricComponents/components/textinput (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricComponents/components/unimplementedview (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricComponents/textlayoutmanager (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - Yoga - - React-FabricImage (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired (= 0.77.0) - - RCTTypeSafety (= 0.77.0) - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsc - - React-jsi - - React-jsiexecutor (= 0.77.0) - - React-logger - - React-rendererdebug - - React-utils - - ReactCommon - - Yoga - - React-featureflags (0.77.0) - - React-featureflagsnativemodule (0.77.0): - - RCT-Folly - - React-featureflags - - React-jsc - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - ReactCommon/turbomodule/core - - React-graphics (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - React-jsi - - React-jsiexecutor - - React-utils - - React-idlecallbacksnativemodule (0.77.0): - - RCT-Folly - - React-jsc - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - React-runtimescheduler - - ReactCommon/turbomodule/core - - React-ImageManager (0.77.0): - - glog - - RCT-Folly/Fabric - - React-Core/Default - - React-debug - - React-Fabric - - React-graphics - - React-rendererdebug - - React-utils - - React-jsc (0.77.0): - - React-jsc/Fabric (= 0.77.0) - - React-jsi (= 0.77.0) - - React-jsc/Fabric (0.77.0): - - React-jsi (= 0.77.0) - - React-jserrorhandler (0.77.0): - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - React-cxxreact - - React-debug - - React-featureflags - - React-jsi - - ReactCommon/turbomodule/bridging - - React-jsi (0.77.0): - - boost - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly (= 2024.11.18.00) - - React-jsiexecutor (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly (= 2024.11.18.00) - - React-cxxreact (= 0.77.0) - - React-jsi (= 0.77.0) - - React-jsinspector - - React-perflogger (= 0.77.0) - - React-jsinspector (0.77.0): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - React-featureflags - - React-jsi - - React-perflogger (= 0.77.0) - - React-runtimeexecutor (= 0.77.0) - - React-jsitracing (0.77.0): - - React-jsi - - React-logger (0.77.0): - - glog - - React-Mapbuffer (0.77.0): - - glog - - React-debug - - React-microtasksnativemodule (0.77.0): - - RCT-Folly - - React-jsc - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - ReactCommon/turbomodule/core - - react-native-safe-area-context (5.2.0): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - react-native-safe-area-context/common (= 5.2.0) - - react-native-safe-area-context/fabric (= 5.2.0) - - React-NativeModulesApple - - React-RCTFabric - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - Yoga - - react-native-safe-area-context/common (5.2.0): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - Yoga - - react-native-safe-area-context/fabric (5.2.0): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - react-native-safe-area-context/common - - React-NativeModulesApple - - React-RCTFabric - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - Yoga - - React-nativeconfig (0.77.0) - - React-NativeModulesApple (0.77.0): - - glog - - React-callinvoker - - React-Core - - React-cxxreact - - React-jsc - - React-jsi - - React-jsinspector - - React-runtimeexecutor - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - React-perflogger (0.77.0): - - DoubleConversion - - RCT-Folly (= 2024.11.18.00) - - React-performancetimeline (0.77.0): - - RCT-Folly (= 2024.11.18.00) - - React-cxxreact - - React-featureflags - - React-timing - - React-RCTActionSheet (0.77.0): - - React-Core/RCTActionSheetHeaders (= 0.77.0) - - React-RCTAnimation (0.77.0): - - RCT-Folly (= 2024.11.18.00) - - RCTTypeSafety - - React-Core/RCTAnimationHeaders - - React-jsi - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - ReactCommon - - React-RCTAppDelegate (0.77.0): - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-CoreModules - - React-debug - - React-defaultsnativemodule - - React-Fabric - - React-featureflags - - React-graphics - - React-jsc - - React-nativeconfig - - React-NativeModulesApple - - React-RCTFabric - - React-RCTFBReactNativeSpec - - React-RCTImage - - React-RCTNetwork - - React-rendererdebug - - React-RuntimeApple - - React-RuntimeCore - - React-runtimescheduler - - React-utils - - ReactCommon - - React-RCTBlob (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - RCT-Folly (= 2024.11.18.00) - - React-Core/RCTBlobHeaders - - React-Core/RCTWebSocket - - React-jsi - - React-jsinspector - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - React-RCTNetwork - - ReactCommon - - React-RCTFabric (0.77.0): - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - React-Core - - React-debug - - React-Fabric - - React-FabricComponents - - React-FabricImage - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsc - - React-jsi - - React-jsinspector - - React-nativeconfig - - React-performancetimeline - - React-RCTImage - - React-RCTText - - React-rendererconsistency - - React-rendererdebug - - React-runtimescheduler - - React-utils - - Yoga - - React-RCTFBReactNativeSpec (0.77.0): - - RCT-Folly - - RCTRequired - - RCTTypeSafety - - React-Core - - React-jsc - - React-jsi - - React-jsiexecutor - - React-NativeModulesApple - - ReactCommon - - React-RCTImage (0.77.0): - - RCT-Folly (= 2024.11.18.00) - - RCTTypeSafety - - React-Core/RCTImageHeaders - - React-jsi - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - React-RCTNetwork - - ReactCommon - - React-RCTLinking (0.77.0): - - React-Core/RCTLinkingHeaders (= 0.77.0) - - React-jsi (= 0.77.0) - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - ReactCommon - - ReactCommon/turbomodule/core (= 0.77.0) - - React-RCTNetwork (0.77.0): - - RCT-Folly (= 2024.11.18.00) - - RCTTypeSafety - - React-Core/RCTNetworkHeaders - - React-jsi - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - ReactCommon - - React-RCTSettings (0.77.0): - - RCT-Folly (= 2024.11.18.00) - - RCTTypeSafety - - React-Core/RCTSettingsHeaders - - React-jsi - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - ReactCommon - - React-RCTText (0.77.0): - - React-Core/RCTTextHeaders (= 0.77.0) - - Yoga - - React-RCTVibration (0.77.0): - - RCT-Folly (= 2024.11.18.00) - - React-Core/RCTVibrationHeaders - - React-jsi - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - ReactCommon - - React-rendererconsistency (0.77.0) - - React-rendererdebug (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - RCT-Folly (= 2024.11.18.00) - - React-debug - - React-rncore (0.77.0) - - React-RuntimeApple (0.77.0): - - RCT-Folly/Fabric (= 2024.11.18.00) - - React-callinvoker - - React-Core/Default - - React-CoreModules - - React-cxxreact - - React-featureflags - - React-jsc - - React-jserrorhandler - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-Mapbuffer - - React-NativeModulesApple - - React-RCTFabric - - React-RCTFBReactNativeSpec - - React-RuntimeCore - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - React-RuntimeCore (0.77.0): - - glog - - RCT-Folly/Fabric (= 2024.11.18.00) - - React-cxxreact - - React-Fabric - - React-featureflags - - React-jsc - - React-jserrorhandler - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-performancetimeline - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - React-runtimeexecutor (0.77.0): - - React-jsi (= 0.77.0) - - React-runtimescheduler (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - React-callinvoker - - React-cxxreact - - React-debug - - React-featureflags - - React-jsc - - React-jsi - - React-performancetimeline - - React-rendererconsistency - - React-rendererdebug - - React-runtimeexecutor - - React-timing - - React-utils - - React-timing (0.77.0) - - React-utils (0.77.0): - - glog - - RCT-Folly (= 2024.11.18.00) - - React-debug - - React-jsc - - React-jsi (= 0.77.0) - - ReactAppDependencyProvider (0.77.0): - - ReactCodegen - - ReactCodegen (0.77.0): - - DoubleConversion - - glog - - RCT-Folly - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-FabricImage - - React-featureflags - - React-graphics - - React-jsc - - React-jsi - - React-jsiexecutor - - React-NativeModulesApple - - React-RCTAppDelegate - - React-rendererdebug - - React-utils - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - ReactCommon (0.77.0): - - ReactCommon/turbomodule (= 0.77.0) - - ReactCommon/turbomodule (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly (= 2024.11.18.00) - - React-callinvoker (= 0.77.0) - - React-cxxreact (= 0.77.0) - - React-jsi (= 0.77.0) - - React-logger (= 0.77.0) - - React-perflogger (= 0.77.0) - - ReactCommon/turbomodule/bridging (= 0.77.0) - - ReactCommon/turbomodule/core (= 0.77.0) - - ReactCommon/turbomodule/bridging (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly (= 2024.11.18.00) - - React-callinvoker (= 0.77.0) - - React-cxxreact (= 0.77.0) - - React-jsi (= 0.77.0) - - React-logger (= 0.77.0) - - React-perflogger (= 0.77.0) - - ReactCommon/turbomodule/core (0.77.0): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly (= 2024.11.18.00) - - React-callinvoker (= 0.77.0) - - React-cxxreact (= 0.77.0) - - React-debug (= 0.77.0) - - React-featureflags (= 0.77.0) - - React-jsi (= 0.77.0) - - React-logger (= 0.77.0) - - React-perflogger (= 0.77.0) - - React-utils (= 0.77.0) - - ReactNativeAvoidSoftinput (7.0.0): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - Yoga - - ReactNativeHost (0.5.3): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTAppDelegate - - React-RCTFabric - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - Yoga - - ReactTestApp-DevSupport (4.1.1): - - React-Core - - React-jsi - - ReactTestApp-Resources (1.0.0-dev) - - RNGestureHandler (2.23.0): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - Yoga - - RNReanimated (3.16.7): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - RNReanimated/reanimated (= 3.16.7) - - RNReanimated/worklets (= 3.16.7) - - Yoga - - RNReanimated/reanimated (3.16.7): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - RNReanimated/reanimated/apple (= 3.16.7) - - Yoga - - RNReanimated/reanimated/apple (3.16.7): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - Yoga - - RNReanimated/worklets (3.16.7): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - Yoga - - RNScreens (4.6.0): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-RCTImage - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - RNScreens/common (= 4.6.0) - - Yoga - - RNScreens/common (4.6.0): - - DoubleConversion - - glog - - RCT-Folly (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-RCTImage - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - Yoga - - ShowTime (2.5.3) - - SocketRocket (0.7.1) - - Yoga (0.0.0) - -DEPENDENCIES: - - boost (from `../../../node_modules/react-native/third-party-podspecs/boost.podspec`) - - DoubleConversion (from `../../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) - - fast_float (from `../../../node_modules/react-native/third-party-podspecs/fast_float.podspec`) - - FBLazyVector (from `../../../node_modules/react-native/Libraries/FBLazyVector`) - - fmt (from `../../../node_modules/react-native/third-party-podspecs/fmt.podspec`) - - glog (from `../../../node_modules/react-native/third-party-podspecs/glog.podspec`) - - RCT-Folly (from `../../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - - RCT-Folly/Fabric (from `../../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - - RCTDeprecation (from `../../../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) - - RCTRequired (from `../../../node_modules/react-native/Libraries/Required`) - - RCTTypeSafety (from `../../../node_modules/react-native/Libraries/TypeSafety`) - - React (from `../../../node_modules/react-native/`) - - React-callinvoker (from `../../../node_modules/react-native/ReactCommon/callinvoker`) - - React-Core (from `../../../node_modules/react-native/`) - - React-Core/RCTWebSocket (from `../../../node_modules/react-native/`) - - React-CoreModules (from `../../../node_modules/react-native/React/CoreModules`) - - React-cxxreact (from `../../../node_modules/react-native/ReactCommon/cxxreact`) - - React-debug (from `../../../node_modules/react-native/ReactCommon/react/debug`) - - React-defaultsnativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/defaults`) - - React-domnativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/dom`) - - React-Fabric (from `../../../node_modules/react-native/ReactCommon`) - - React-FabricComponents (from `../../../node_modules/react-native/ReactCommon`) - - React-FabricImage (from `../../../node_modules/react-native/ReactCommon`) - - React-featureflags (from `../../../node_modules/react-native/ReactCommon/react/featureflags`) - - React-featureflagsnativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/featureflags`) - - React-graphics (from `../../../node_modules/react-native/ReactCommon/react/renderer/graphics`) - - React-idlecallbacksnativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks`) - - React-ImageManager (from `../../../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios`) - - React-jsc (from `../../../node_modules/react-native/ReactCommon/jsc`) - - React-jsc/Fabric (from `../../../node_modules/react-native/ReactCommon/jsc`) - - React-jserrorhandler (from `../../../node_modules/react-native/ReactCommon/jserrorhandler`) - - React-jsi (from `../../../node_modules/react-native/ReactCommon/jsi`) - - React-jsiexecutor (from `../../../node_modules/react-native/ReactCommon/jsiexecutor`) - - React-jsinspector (from `../../../node_modules/react-native/ReactCommon/jsinspector-modern`) - - React-jsitracing (from `../../../node_modules/react-native/ReactCommon/hermes/executor/`) - - React-logger (from `../../../node_modules/react-native/ReactCommon/logger`) - - React-Mapbuffer (from `../../../node_modules/react-native/ReactCommon`) - - React-microtasksnativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`) - - react-native-safe-area-context (from `../../../node_modules/react-native-safe-area-context`) - - React-nativeconfig (from `../../../node_modules/react-native/ReactCommon`) - - React-NativeModulesApple (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) - - React-perflogger (from `../../../node_modules/react-native/ReactCommon/reactperflogger`) - - React-performancetimeline (from `../../../node_modules/react-native/ReactCommon/react/performance/timeline`) - - React-RCTActionSheet (from `../../../node_modules/react-native/Libraries/ActionSheetIOS`) - - React-RCTAnimation (from `../../../node_modules/react-native/Libraries/NativeAnimation`) - - React-RCTAppDelegate (from `../../../node_modules/react-native/Libraries/AppDelegate`) - - React-RCTBlob (from `../../../node_modules/react-native/Libraries/Blob`) - - React-RCTFabric (from `../../../node_modules/react-native/React`) - - React-RCTFBReactNativeSpec (from `../../../node_modules/react-native/React`) - - React-RCTImage (from `../../../node_modules/react-native/Libraries/Image`) - - React-RCTLinking (from `../../../node_modules/react-native/Libraries/LinkingIOS`) - - React-RCTNetwork (from `../../../node_modules/react-native/Libraries/Network`) - - React-RCTSettings (from `../../../node_modules/react-native/Libraries/Settings`) - - React-RCTText (from `../../../node_modules/react-native/Libraries/Text`) - - React-RCTVibration (from `../../../node_modules/react-native/Libraries/Vibration`) - - React-rendererconsistency (from `../../../node_modules/react-native/ReactCommon/react/renderer/consistency`) - - React-rendererdebug (from `../../../node_modules/react-native/ReactCommon/react/renderer/debug`) - - React-rncore (from `../../../node_modules/react-native/ReactCommon`) - - React-RuntimeApple (from `../../../node_modules/react-native/ReactCommon/react/runtime/platform/ios`) - - React-RuntimeCore (from `../../../node_modules/react-native/ReactCommon/react/runtime`) - - React-runtimeexecutor (from `../../../node_modules/react-native/ReactCommon/runtimeexecutor`) - - React-runtimescheduler (from `../../../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) - - React-timing (from `../../../node_modules/react-native/ReactCommon/react/timing`) - - React-utils (from `../../../node_modules/react-native/ReactCommon/react/utils`) - - ReactAppDependencyProvider (from `build/generated/ios`) - - ReactCodegen (from `build/generated/ios`) - - ReactCommon/turbomodule/core (from `../../../node_modules/react-native/ReactCommon`) - - ReactNativeAvoidSoftinput (from `../../react-native-avoid-softinput`) - - "ReactNativeHost (from `../../../node_modules/@rnx-kit/react-native-host`)" - - ReactTestApp-DevSupport (from `../../../node_modules/react-native-test-app`) - - ReactTestApp-Resources (from `..`) - - RNGestureHandler (from `../../../node_modules/react-native-gesture-handler`) - - RNReanimated (from `../../../node_modules/react-native-reanimated`) - - RNScreens (from `../../../node_modules/react-native-screens`) - - ShowTime - - Yoga (from `../../../node_modules/react-native/ReactCommon/yoga`) - -SPEC REPOS: - trunk: - - ShowTime - - SocketRocket - -EXTERNAL SOURCES: - boost: - :podspec: "../../../node_modules/react-native/third-party-podspecs/boost.podspec" - DoubleConversion: - :podspec: "../../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" - fast_float: - :podspec: "../../../node_modules/react-native/third-party-podspecs/fast_float.podspec" - FBLazyVector: - :path: "../../../node_modules/react-native/Libraries/FBLazyVector" - fmt: - :podspec: "../../../node_modules/react-native/third-party-podspecs/fmt.podspec" - glog: - :podspec: "../../../node_modules/react-native/third-party-podspecs/glog.podspec" - RCT-Folly: - :podspec: "../../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" - RCTDeprecation: - :path: "../../../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation" - RCTRequired: - :path: "../../../node_modules/react-native/Libraries/Required" - RCTTypeSafety: - :path: "../../../node_modules/react-native/Libraries/TypeSafety" - React: - :path: "../../../node_modules/react-native/" - React-callinvoker: - :path: "../../../node_modules/react-native/ReactCommon/callinvoker" - React-Core: - :path: "../../../node_modules/react-native/" - React-CoreModules: - :path: "../../../node_modules/react-native/React/CoreModules" - React-cxxreact: - :path: "../../../node_modules/react-native/ReactCommon/cxxreact" - React-debug: - :path: "../../../node_modules/react-native/ReactCommon/react/debug" - React-defaultsnativemodule: - :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/defaults" - React-domnativemodule: - :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/dom" - React-Fabric: - :path: "../../../node_modules/react-native/ReactCommon" - React-FabricComponents: - :path: "../../../node_modules/react-native/ReactCommon" - React-FabricImage: - :path: "../../../node_modules/react-native/ReactCommon" - React-featureflags: - :path: "../../../node_modules/react-native/ReactCommon/react/featureflags" - React-featureflagsnativemodule: - :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/featureflags" - React-graphics: - :path: "../../../node_modules/react-native/ReactCommon/react/renderer/graphics" - React-idlecallbacksnativemodule: - :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks" - React-ImageManager: - :path: "../../../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios" - React-jsc: - :path: "../../../node_modules/react-native/ReactCommon/jsc" - React-jserrorhandler: - :path: "../../../node_modules/react-native/ReactCommon/jserrorhandler" - React-jsi: - :path: "../../../node_modules/react-native/ReactCommon/jsi" - React-jsiexecutor: - :path: "../../../node_modules/react-native/ReactCommon/jsiexecutor" - React-jsinspector: - :path: "../../../node_modules/react-native/ReactCommon/jsinspector-modern" - React-jsitracing: - :path: "../../../node_modules/react-native/ReactCommon/hermes/executor/" - React-logger: - :path: "../../../node_modules/react-native/ReactCommon/logger" - React-Mapbuffer: - :path: "../../../node_modules/react-native/ReactCommon" - React-microtasksnativemodule: - :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/microtasks" - react-native-safe-area-context: - :path: "../../../node_modules/react-native-safe-area-context" - React-nativeconfig: - :path: "../../../node_modules/react-native/ReactCommon" - React-NativeModulesApple: - :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios" - React-perflogger: - :path: "../../../node_modules/react-native/ReactCommon/reactperflogger" - React-performancetimeline: - :path: "../../../node_modules/react-native/ReactCommon/react/performance/timeline" - React-RCTActionSheet: - :path: "../../../node_modules/react-native/Libraries/ActionSheetIOS" - React-RCTAnimation: - :path: "../../../node_modules/react-native/Libraries/NativeAnimation" - React-RCTAppDelegate: - :path: "../../../node_modules/react-native/Libraries/AppDelegate" - React-RCTBlob: - :path: "../../../node_modules/react-native/Libraries/Blob" - React-RCTFabric: - :path: "../../../node_modules/react-native/React" - React-RCTFBReactNativeSpec: - :path: "../../../node_modules/react-native/React" - React-RCTImage: - :path: "../../../node_modules/react-native/Libraries/Image" - React-RCTLinking: - :path: "../../../node_modules/react-native/Libraries/LinkingIOS" - React-RCTNetwork: - :path: "../../../node_modules/react-native/Libraries/Network" - React-RCTSettings: - :path: "../../../node_modules/react-native/Libraries/Settings" - React-RCTText: - :path: "../../../node_modules/react-native/Libraries/Text" - React-RCTVibration: - :path: "../../../node_modules/react-native/Libraries/Vibration" - React-rendererconsistency: - :path: "../../../node_modules/react-native/ReactCommon/react/renderer/consistency" - React-rendererdebug: - :path: "../../../node_modules/react-native/ReactCommon/react/renderer/debug" - React-rncore: - :path: "../../../node_modules/react-native/ReactCommon" - React-RuntimeApple: - :path: "../../../node_modules/react-native/ReactCommon/react/runtime/platform/ios" - React-RuntimeCore: - :path: "../../../node_modules/react-native/ReactCommon/react/runtime" - React-runtimeexecutor: - :path: "../../../node_modules/react-native/ReactCommon/runtimeexecutor" - React-runtimescheduler: - :path: "../../../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler" - React-timing: - :path: "../../../node_modules/react-native/ReactCommon/react/timing" - React-utils: - :path: "../../../node_modules/react-native/ReactCommon/react/utils" - ReactAppDependencyProvider: - :path: build/generated/ios - ReactCodegen: - :path: build/generated/ios - ReactCommon: - :path: "../../../node_modules/react-native/ReactCommon" - ReactNativeAvoidSoftinput: - :path: "../../react-native-avoid-softinput" - ReactNativeHost: - :path: "../../../node_modules/@rnx-kit/react-native-host" - ReactTestApp-DevSupport: - :path: "../../../node_modules/react-native-test-app" - ReactTestApp-Resources: - :path: ".." - RNGestureHandler: - :path: "../../../node_modules/react-native-gesture-handler" - RNReanimated: - :path: "../../../node_modules/react-native-reanimated" - RNScreens: - :path: "../../../node_modules/react-native-screens" - Yoga: - :path: "../../../node_modules/react-native/ReactCommon/yoga" - -SPEC CHECKSUMS: - boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90 - DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb - fast_float: 06eeec4fe712a76acc9376682e4808b05ce978b6 - FBLazyVector: 2bc03a5cf64e29c611bbc5d7eb9d9f7431f37ee6 - fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd - glog: eb93e2f488219332457c3c4eafd2738ddc7e80b8 - RCT-Folly: 36fe2295e44b10d831836cc0d1daec5f8abcf809 - RCTDeprecation: f5c19ebdb8804b53ed029123eb69914356192fc8 - RCTRequired: 6ae6cebe470486e0e0ce89c1c0eabb998e7c51f4 - RCTTypeSafety: 50d6ec72a3d13cf77e041ff43a0617050fb98e3f - React: e46fdbd82d2de942970c106677056f3bdd438d82 - React-callinvoker: b027ad895934b5f27ce166d095ed0d272d7df619 - React-Core: e11c38468731ccae616e45e580b5d4fec9d7138c - React-CoreModules: 7fac6030d37165c251a7bd4bde3333212544da3c - React-cxxreact: 6e7d62cdab07e8d73026efaf8dd424ec5232ee04 - React-debug: 78d7544d2750737ac3acc88cca2f457d081ec43d - React-defaultsnativemodule: 12077aae86c0647c16af9e36e13c7d71aa137bdc - React-domnativemodule: eb64319a74b60e642b45235373b81940f828a949 - React-Fabric: 2eb571dfe4e539aff566d7d77042465dfe669abe - React-FabricComponents: 06242dc791520c4701ccf3970b81a9da55e976d4 - React-FabricImage: e1a2970afcb122f66ea53b11dd78b1c8d9f686e7 - React-featureflags: 92dd7d0169ab0bf8ad404a5fe757c1ca7ccd74e8 - React-featureflagsnativemodule: 5142563a105b305c54ea534c32ded9e5d996e1bf - React-graphics: f09d013df7aef5551fdce4c99f2fe704c6c5b35a - React-idlecallbacksnativemodule: 35ee598ab91d1a5c3c012c6867faa982763d9a8a - React-ImageManager: e20f7c0291e5c9298b643c88b40db62c46a30ae4 - React-jsc: 905ce2f8921013d072316fa9018c6595969e5c8a - React-jserrorhandler: 383ace9b287d66ae75ad57f2f0eb02cbe4a7ba99 - React-jsi: 906442b488bda9e9c8acb3d90a8788640597f799 - React-jsiexecutor: 7072fd12473c9f967ffee10492c34f3fa3b88376 - React-jsinspector: eb44ff4621500124583902287c92c5785feb7fc4 - React-jsitracing: fe93bab4193ec5528bcbdaf2f1b62475652490ad - React-logger: 9a0c4e1e41cd640ac49d69aacadab783f7e0096b - React-Mapbuffer: 6993c785c22a170c02489bc78ed207814cbd700f - React-microtasksnativemodule: e5b64ff00f213f89fb7306999405f5aec5effe2d - react-native-safe-area-context: e54b360402f089600c2fb0d825d1d3d918b99e15 - React-nativeconfig: cd0fbb40987a9658c24dab5812c14e5522a64929 - React-NativeModulesApple: 447544c38e64eabf151638695393f97f7a75e0dc - React-perflogger: 15a7bcb6c46eae8a981f7add8c9f4172e2372324 - React-performancetimeline: 631ef8ac4246bca49c07b88cd1ad85ce460b97bf - React-RCTActionSheet: 25eb72eabade4095bfaf6cd9c5c965c76865daa8 - React-RCTAnimation: 04c987fa858fa16169f543d29edb4140bd35afa9 - React-RCTAppDelegate: b17ce04dd70f4f2a64124bf17f9f9bef41250751 - React-RCTBlob: 38121230520bb2cd85f288876776fea10c830584 - React-RCTFabric: 8c33caa5f6d833bcb2342ba3d0f5200fe5a96444 - React-RCTFBReactNativeSpec: 570c586a215b8600b6e98db5cb7dd694dd329a2b - React-RCTImage: e516d72739797fb7c1dac5c691f02a0f5445c290 - React-RCTLinking: 1e5554afe4f959696ad3285738c1510f2592f220 - React-RCTNetwork: 65e1e52c8614dcab342fa1eaec750ca818160e74 - React-RCTSettings: e86c204b481ef9264929fe00d1fdd04ce561748a - React-RCTText: 15f14d6f9b75e64ffe749c75e30ff047cf0fa1be - React-RCTVibration: 8d9078d5432972fe12d9f1526b38f504ad3d45cb - React-rendererconsistency: 7a81b08f01655b458d1de48ddd5b3f5988fd753f - React-rendererdebug: 28f591de2009cb053e21cbf87edb357e6b214147 - React-rncore: dd08c91cea25486f79012e32975c0ea26bd92760 - React-RuntimeApple: 18a509e9ad0a5819c21af1dbd9b000a9bb82ade9 - React-RuntimeCore: 8dd2dcf00c42849d867f021cbe759ec5b8bdbfc4 - React-runtimeexecutor: f9ae11481be048438640085c1e8266d6afebae44 - React-runtimescheduler: 012d3ec120c7c3b4e4d485f042a0989c5f0344b5 - React-timing: 0d0263a5d8ab6fc8c325efb54cee1d6a6f01d657 - React-utils: c46cf52f400fd0b489a052bcded9f757fbb2e8b6 - ReactAppDependencyProvider: 3d947e9d62f351c06c71497e1be897e6006dc303 - ReactCodegen: 7602cdc168d964a70d315e3c98482508ff3a7e81 - ReactCommon: 0d7a60476438a2d642a51c45d31d2a5f089872b1 - ReactNativeAvoidSoftinput: c2ec94dbd4ed668150e47c24dc67798cf8fac00a - ReactNativeHost: 3cea8b141f1f0ef7b097b0ca26aee3e93da684cf - ReactTestApp-DevSupport: 1e62b4913333f74f54ef06e110c86c969a53cd43 - ReactTestApp-Resources: 1bd9ff10e4c24f2ad87101a32023721ae923bccf - RNGestureHandler: e61f3ff81239c7c19318865991021cb2b8173368 - RNReanimated: ee557c4a00dab1e1a3c74615b5a433fe7a737375 - RNScreens: eaccebca8742b9e31102c85b2dde8651a363f5bd - ShowTime: 06cc9dc79886274b21041fe19b79c9eff59b9714 - SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 - Yoga: 78d74e245ed67bb94275a1316cdc170b9b7fe884 - -PODFILE CHECKSUM: e111ff5dc87bb0f7867b81eb5390b191d54340d5 - -COCOAPODS: 1.14.3 diff --git a/packages/example/metro.config.js b/packages/example/metro.config.js deleted file mode 100644 index 8cce7f32..00000000 --- a/packages/example/metro.config.js +++ /dev/null @@ -1,18 +0,0 @@ -const path = require('path'); - -const { makeMetroConfig } = require('@rnx-kit/metro-config'); - -module.exports = makeMetroConfig({ - watchFolders: [ - path.resolve(__dirname, '..', '..', 'node_modules'), - path.resolve(__dirname, '..', 'react-native-avoid-softinput'), - ], - transformer: { - getTransformOptions: async () => ({ - transform: { - experimentalImportSupport: false, - inlineRequires: false, - }, - }), - }, -}); diff --git a/packages/example/package.json b/packages/example/package.json deleted file mode 100644 index 72203dca..00000000 --- a/packages/example/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "rnas-example", - "version": "0.0.1", - "private": true, - "scripts": { - "android": "react-native run-android", - "build:android": "npm run mkdist && react-native bundle --entry-file index.js --platform android --dev true --bundle-output dist/main.android.jsbundle --assets-dest dist/res", - "build:ios": "npm run mkdist && react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.ios.jsbundle --assets-dest dist", - "ios": "react-native run-ios", - "lint": "eslint .", - "mkdist": "node -e \"require('node:fs').mkdirSync('dist', { recursive: true, mode: 0o755 })\"", - "start": "react-native start", - "test": "jest" - }, - "dependencies": { - "@gorhom/bottom-sheet": "5.1.0", - "@react-navigation/native": "7.0.14", - "@react-navigation/native-stack": "7.2.0", - "react": "18.3.1", - "react-native": "0.77.0", - "react-native-gesture-handler": "2.23.0", - "react-native-reanimated": "3.16.7", - "react-native-safe-area-context": "5.2.0", - "react-native-screens": "4.6.0" - }, - "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/preset-env": "^7.25.3", - "@babel/runtime": "^7.25.0", - "@react-native-community/cli": "15.0.1", - "@react-native-community/cli-platform-android": "15.0.1", - "@react-native-community/cli-platform-ios": "15.0.1", - "@react-native/babel-preset": "0.77.0", - "@react-native/eslint-config": "0.77.0", - "@react-native/metro-config": "0.77.0", - "@react-native/typescript-config": "0.77.0", - "@rnx-kit/metro-config": "^2.0.0", - "@types/react": "18.3.12", - "@types/react-test-renderer": "18.3.0", - "babel-plugin-module-resolver": "5.0.2", - "eslint": "^8.19.0", - "prettier": "2.8.8", - "react-native-test-app": "^4.1.1", - "react-test-renderer": "18.3.1", - "typescript": "5.7.3" - }, - "engines": { - "node": ">=18" - } -} diff --git a/packages/example/react-native.config.js b/packages/example/react-native.config.js deleted file mode 100644 index 415f78e8..00000000 --- a/packages/example/react-native.config.js +++ /dev/null @@ -1,30 +0,0 @@ -const path = require('path'); - -const project = (() => { - try { - const { configureProjects } = require('react-native-test-app'); - return configureProjects({ - android: { - sourceDir: 'android', - }, - ios: { - sourceDir: 'ios', - }, - windows: { - sourceDir: 'windows', - solutionFile: 'windows/rnas-example.sln', - }, - }); - } catch (_) { - return undefined; - } -})(); - -module.exports = { - ...(project ? { project } : undefined), - dependencies: { - 'react-native-avoid-softinput': { - root: path.resolve(__dirname, '..', 'react-native-avoid-softinput'), - }, - }, -}; diff --git a/packages/example/src/components/MultilineInput.tsx b/packages/example/src/components/MultilineInput.tsx deleted file mode 100644 index d6460582..00000000 --- a/packages/example/src/components/MultilineInput.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import * as React from 'react'; -import type { TextInputProps } from 'react-native'; -import { StyleSheet, TextInput } from 'react-native'; - -const MultilineInput = React.forwardRef(({ multiline = true, style, ...rest }, ref) => { - return ( - - ); -}); - -const styles = StyleSheet.create({ - input: { - alignSelf: 'stretch', - backgroundColor: 'white', - borderColor: 'black', - borderRadius: 10, - borderWidth: 1, - color: 'black', - fontSize: 18, - height: 500, - marginBottom: 30, - padding: 10, - textAlignVertical: 'top', - }, -}); - -export default MultilineInput; diff --git a/packages/example/src/components/SingleInput.tsx b/packages/example/src/components/SingleInput.tsx deleted file mode 100644 index 79bc096a..00000000 --- a/packages/example/src/components/SingleInput.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import * as React from 'react'; -import type { TextInputProps } from 'react-native'; -import { StyleSheet, TextInput } from 'react-native'; - -const SingleInput = React.forwardRef((props, ref) => { - return ; -}); - -const styles = StyleSheet.create({ - input: { - alignSelf: 'stretch', - backgroundColor: 'white', - borderColor: 'black', - borderRadius: 10, - borderWidth: 1, - color: 'black', - fontSize: 18, - height: 60, - marginBottom: 30, - padding: 10, - }, -}); - -export default SingleInput; diff --git a/packages/example/tsconfig.json b/packages/example/tsconfig.json deleted file mode 100644 index 82653242..00000000 --- a/packages/example/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "@react-native/typescript-config/tsconfig.json", - "compilerOptions": { - "paths": { - "react-native-avoid-softinput": ["../react-native-avoid-softinput/src/index"] - } - } -} diff --git a/packages/expo-example/.gitignore b/packages/expo-example/.gitignore new file mode 100644 index 00000000..6427f89d --- /dev/null +++ b/packages/expo-example/.gitignore @@ -0,0 +1,40 @@ +# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files + +# dependencies +node_modules/ + +# Expo +.expo/ +dist/ +web-build/ +expo-env.d.ts + +# Native +.kotlin/ +*.orig.* +*.jks +*.p8 +*.p12 +*.key +*.mobileprovision + +# Metro +.metro-health-check* + +# debug +npm-debug.* +yarn-debug.* +yarn-error.* + +# macOS +.DS_Store +*.pem + +# local env files +.env*.local + +# typescript +*.tsbuildinfo + +android/ +ios/ diff --git a/packages/example/App.tsx b/packages/expo-example/App.tsx similarity index 92% rename from packages/example/App.tsx rename to packages/expo-example/App.tsx index f59bca91..29b3099b 100644 --- a/packages/example/App.tsx +++ b/packages/expo-example/App.tsx @@ -1,13 +1,12 @@ import { BottomSheetModalProvider } from '@gorhom/bottom-sheet'; import { NavigationContainer } from '@react-navigation/native'; -import * as React from 'react'; import { StyleSheet } from 'react-native'; import { GestureHandlerRootView } from 'react-native-gesture-handler'; import { SafeAreaProvider } from 'react-native-safe-area-context'; import { Navigation } from './src/navigation'; -const App: React.FC = () => { +const App = () => { return ( diff --git a/packages/expo-example/app.json b/packages/expo-example/app.json new file mode 100644 index 00000000..56e9915e --- /dev/null +++ b/packages/expo-example/app.json @@ -0,0 +1,31 @@ +{ + "expo": { + "name": "SoftInputExample", + "slug": "expo-example", + "version": "1.0.0", + "orientation": "portrait", + "icon": "./assets/AppIconTransparent.png", + "userInterfaceStyle": "light", + "newArchEnabled": true, + "splash": { + "image": "./assets/AppIconTransparent.png", + "resizeMode": "contain", + "backgroundColor": "#ffffff" + }, + "ios": { + "supportsTablet": true, + "bundleIdentifier": "com.reactnativeavoidsoftinput.expoexample" + }, + "android": { + "adaptiveIcon": { + "foregroundImage": "./assets/AppIconTransparent.png", + "backgroundColor": "#ffffff" + }, + "edgeToEdgeEnabled": true, + "package": "com.reactnativeavoidsoftinput.expoexample" + }, + "plugins": [ + "./withShowTime.js" + ] + } +} diff --git a/packages/example/assets/AppIconTransparent.png b/packages/expo-example/assets/AppIconTransparent.png similarity index 100% rename from packages/example/assets/AppIconTransparent.png rename to packages/expo-example/assets/AppIconTransparent.png diff --git a/packages/expo-example/babel.config.js b/packages/expo-example/babel.config.js new file mode 100644 index 00000000..d872de3f --- /dev/null +++ b/packages/expo-example/babel.config.js @@ -0,0 +1,7 @@ +module.exports = function (api) { + api.cache(true); + return { + presets: ['babel-preset-expo'], + plugins: ['react-native-reanimated/plugin'], + }; +}; diff --git a/packages/expo-example/index.ts b/packages/expo-example/index.ts new file mode 100644 index 00000000..67732634 --- /dev/null +++ b/packages/expo-example/index.ts @@ -0,0 +1,9 @@ +import '@expo/metro-runtime'; +import { registerRootComponent } from 'expo'; + +import App from './App'; + +// registerRootComponent calls AppRegistry.registerComponent('main', () => App); +// It also ensures that whether you load the app in Expo Go or in a native build, +// the environment is set up appropriately +registerRootComponent(App); diff --git a/packages/expo-example/metro.config.js b/packages/expo-example/metro.config.js new file mode 100644 index 00000000..f11098a6 --- /dev/null +++ b/packages/expo-example/metro.config.js @@ -0,0 +1,26 @@ +const path = require('path'); + +// Learn more https://docs.expo.io/guides/customizing-metro +const { getDefaultConfig } = require('expo/metro-config'); + +const { wrapWithReanimatedMetroConfig } = require('react-native-reanimated/metro-config'); + +// Find the project and workspace directories +const projectRoot = __dirname; +// This can be replaced with `find-yarn-workspace-root` +const workspaceRoot = path.resolve(projectRoot, '../..'); + +const config = getDefaultConfig(projectRoot); + +// 1. Watch all files within the monorepo +config.watchFolders = [projectRoot, workspaceRoot]; +// 2. Let Metro know where to resolve packages and in what order +config.resolver.nodeModulesPaths = [ + projectRoot, + path.resolve(workspaceRoot, 'node_modules'), + path.join(__dirname, '../react-native-avoid-softinput'), +]; +// 3. Force Metro to resolve (sub)dependencies only from the `nodeModulesPaths` +config.resolver.disableHierarchicalLookup = true; + +module.exports = wrapWithReanimatedMetroConfig(config); diff --git a/packages/expo-example/package.json b/packages/expo-example/package.json new file mode 100644 index 00000000..c44e1f24 --- /dev/null +++ b/packages/expo-example/package.json @@ -0,0 +1,34 @@ +{ + "name": "expo-example", + "version": "1.0.0", + "main": "index.ts", + "scripts": { + "expo": "expo", + "start": "expo start", + "android": "expo run:android", + "ios": "expo run:ios", + "prebuild": "expo prebuild --clean" + }, + "dependencies": { + "@expo/metro-runtime": "5.0.4", + "@gorhom/bottom-sheet": "5.1.6", + "@react-navigation/native": "7.1.13", + "@react-navigation/native-stack": "7.3.18", + "expo": "53.0.12", + "react": "19.0.0", + "react-native": "0.79.4", + "react-native-avoid-softinput": "workspace:", + "react-native-edge-to-edge": "1.6.0", + "react-native-gesture-handler": "2.24.0", + "react-native-reanimated": "3.17.4", + "react-native-safe-area-context": "5.4.0", + "react-native-screens": "4.11.1" + }, + "devDependencies": { + "@babel/core": "^7.25.2", + "@expo/config-plugins": "10.0.3", + "@types/react": "19.0.10", + "typescript": "5.8.3" + }, + "private": true +} diff --git a/packages/example/src/components/Button.tsx b/packages/expo-example/src/components/Button.tsx similarity index 67% rename from packages/example/src/components/Button.tsx rename to packages/expo-example/src/components/Button.tsx index 7712fc9d..44386bd2 100644 --- a/packages/example/src/components/Button.tsx +++ b/packages/expo-example/src/components/Button.tsx @@ -1,13 +1,20 @@ -import * as React from 'react'; +import { useMemo } from 'react'; import { Platform, Pressable, StyleSheet, Text } from 'react-native'; +import { buttonBackground, buttonLabelColor, buttonRipple, whiteColor } from '../consts/colors'; + +const RIPPLE_CONFIG = { + borderless: false, + color: buttonRipple, +}; + interface Props { onPress: () => void; title: string; } -const Button: React.FC = ({ onPress, title }) => { - const formattedTitle = React.useMemo(() => { +const Button = ({ onPress, title }: Props) => { + const formattedTitle = useMemo(() => { if (Platform.OS === 'android') { return title.toUpperCase(); } @@ -17,10 +24,8 @@ const Button: React.FC = ({ onPress, title }) => { return ( [styles.button, pressed && styles.pressedButton]}> {formattedTitle} @@ -34,7 +39,7 @@ const styles = StyleSheet.create({ ios: {}, android: { elevation: 4, - backgroundColor: '#2196F3', + backgroundColor: buttonBackground, borderRadius: 2, }, }), @@ -51,11 +56,11 @@ const styles = StyleSheet.create({ ...Platform.select({ default: {}, ios: { - color: '#007AFF', + color: buttonLabelColor, fontSize: 16, }, android: { - color: 'white', + color: whiteColor, fontWeight: '500', }, }), diff --git a/packages/example/src/components/CloseButton.tsx b/packages/expo-example/src/components/CloseButton.tsx similarity index 78% rename from packages/example/src/components/CloseButton.tsx rename to packages/expo-example/src/components/CloseButton.tsx index 5fc359e0..857a567d 100644 --- a/packages/example/src/components/CloseButton.tsx +++ b/packages/expo-example/src/components/CloseButton.tsx @@ -1,9 +1,10 @@ -import * as React from 'react'; import { Platform, Pressable, StyleSheet, View } from 'react-native'; +import { closeButtonRipple, lightGrayColor, royalblueColor } from '../consts/colors'; + const RIPPLE_CONFIG = { borderless: true, - color: '#ccc', + color: closeButtonRipple, foreground: true, }; @@ -11,9 +12,10 @@ interface Props { onPress?: () => void; } -const CloseButton: React.FC = ({ onPress }) => { +const CloseButton = ({ onPress }: Props) => { return ( [styles.container, pressed && styles.pressed]}> @@ -25,7 +27,7 @@ const CloseButton: React.FC = ({ onPress }) => { const styles = StyleSheet.create({ container: { - backgroundColor: 'lightgray', + backgroundColor: lightGrayColor, borderRadius: 15, height: 30, margin: 15, @@ -33,7 +35,7 @@ const styles = StyleSheet.create({ width: 30, }, line: { - backgroundColor: 'royalblue', + backgroundColor: royalblueColor, position: 'absolute', top: 5, left: 14, diff --git a/packages/expo-example/src/components/MultilineInput.tsx b/packages/expo-example/src/components/MultilineInput.tsx new file mode 100644 index 00000000..67e082e1 --- /dev/null +++ b/packages/expo-example/src/components/MultilineInput.tsx @@ -0,0 +1,35 @@ +import type { RefAttributes } from 'react'; +import type { TextInputProps } from 'react-native'; +import { StyleSheet, TextInput } from 'react-native'; + +import { blackColor, textFieldPlaceholderColor, whiteColor } from '../consts/colors'; + +const MultilineInput = ({ multiline = true, style, ref, ...rest }: TextInputProps & RefAttributes) => { + return ( + + ); +}; + +const styles = StyleSheet.create({ + input: { + alignSelf: 'stretch', + backgroundColor: whiteColor, + borderColor: blackColor, + borderRadius: 10, + borderWidth: 1, + color: blackColor, + fontSize: 18, + height: 500, + marginBottom: 30, + padding: 10, + textAlignVertical: 'top', + }, +}); + +export default MultilineInput; diff --git a/packages/expo-example/src/components/SingleInput.tsx b/packages/expo-example/src/components/SingleInput.tsx new file mode 100644 index 00000000..89f70bd0 --- /dev/null +++ b/packages/expo-example/src/components/SingleInput.tsx @@ -0,0 +1,33 @@ +import type { RefAttributes } from 'react'; +import type { TextInputProps } from 'react-native'; +import { StyleSheet, TextInput } from 'react-native'; + +import { blackColor, textFieldPlaceholderColor, whiteColor } from '../consts/colors'; + +const SingleInput = ({ ref, ...props }: TextInputProps & RefAttributes) => { + return ( + + ); +}; + +const styles = StyleSheet.create({ + input: { + alignSelf: 'stretch', + backgroundColor: whiteColor, + borderColor: blackColor, + borderRadius: 10, + borderWidth: 1, + color: blackColor, + fontSize: 18, + height: 60, + marginBottom: 30, + padding: 10, + }, +}); + +export default SingleInput; diff --git a/packages/expo-example/src/consts/colors.ts b/packages/expo-example/src/consts/colors.ts new file mode 100644 index 00000000..18bd72f1 --- /dev/null +++ b/packages/expo-example/src/consts/colors.ts @@ -0,0 +1,14 @@ +export const backdropColor = 'rgba(0,0,0,0.5)'; +export const blackColor = '#000'; +export const buttonBackground = '#2196F3'; +export const buttonLabelColor = '#007AFF'; +export const buttonRipple = '#2155FF'; +export const closeButtonRipple = '#CCC'; +export const lightGrayColor = 'lightgray'; +export const modalBackground = '#00000033'; +export const royalblueColor = 'royalblue'; +export const separatorColor = '#888'; +export const spacerColor = 'pink'; +export const textFieldPlaceholderColor = '#2E8555'; +export const transparentColor = 'transparent'; +export const whiteColor = '#FFF'; diff --git a/packages/example/src/consts/styles.ts b/packages/expo-example/src/consts/styles.ts similarity index 82% rename from packages/example/src/consts/styles.ts rename to packages/expo-example/src/consts/styles.ts index d7f129b7..36719c0e 100644 --- a/packages/example/src/consts/styles.ts +++ b/packages/expo-example/src/consts/styles.ts @@ -1,12 +1,14 @@ import { StyleSheet } from 'react-native'; +import { blackColor, separatorColor } from './colors'; + export const styles = StyleSheet.create({ item: { marginHorizontal: 40, marginVertical: 10, }, label: { - color: 'black', + color: blackColor, fontSize: 15, marginVertical: 10, }, @@ -22,7 +24,7 @@ export const styles = StyleSheet.create({ }, separator: { alignSelf: 'stretch', - backgroundColor: 'gray', + backgroundColor: separatorColor, height: StyleSheet.hairlineWidth, }, stretch: { diff --git a/packages/example/src/hooks/useSoftInputHandler.ts b/packages/expo-example/src/hooks/useSoftInputHandler.ts similarity index 100% rename from packages/example/src/hooks/useSoftInputHandler.ts rename to packages/expo-example/src/hooks/useSoftInputHandler.ts diff --git a/packages/example/src/navigation/index.tsx b/packages/expo-example/src/navigation/index.tsx similarity index 97% rename from packages/example/src/navigation/index.tsx rename to packages/expo-example/src/navigation/index.tsx index dd3d6ed6..dc9cc7c5 100644 --- a/packages/example/src/navigation/index.tsx +++ b/packages/expo-example/src/navigation/index.tsx @@ -1,5 +1,4 @@ import { createNativeStackNavigator } from '@react-navigation/native-stack'; -import * as React from 'react'; import { BottomSheetExample } from '../screens/BottomSheetExample'; import { CustomAnimationConfigModuleExample } from '../screens/CustomAnimationConfigModuleExample'; @@ -20,7 +19,7 @@ import type { RootStackParamList } from './types'; const Stack = createNativeStackNavigator(); -export const Navigation: React.FC = () => { +export const Navigation = () => { return ( diff --git a/packages/example/src/navigation/routes.ts b/packages/expo-example/src/navigation/routes.ts similarity index 100% rename from packages/example/src/navigation/routes.ts rename to packages/expo-example/src/navigation/routes.ts diff --git a/packages/example/src/navigation/types.ts b/packages/expo-example/src/navigation/types.ts similarity index 100% rename from packages/example/src/navigation/types.ts rename to packages/expo-example/src/navigation/types.ts diff --git a/packages/example/src/screens/BottomSheetExample.tsx b/packages/expo-example/src/screens/BottomSheetExample.tsx similarity index 77% rename from packages/example/src/screens/BottomSheetExample.tsx rename to packages/expo-example/src/screens/BottomSheetExample.tsx index 847d1ba7..99ad97e6 100644 --- a/packages/example/src/screens/BottomSheetExample.tsx +++ b/packages/expo-example/src/screens/BottomSheetExample.tsx @@ -1,28 +1,29 @@ import { BottomSheetModal, BottomSheetView } from '@gorhom/bottom-sheet'; import { useFocusEffect } from '@react-navigation/native'; -import * as React from 'react'; +import { useCallback, useRef } from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { AvoidSoftInput } from 'react-native-avoid-softinput'; import { SafeAreaView } from 'react-native-safe-area-context'; import Button from '../components/Button'; import SingleInput from '../components/SingleInput'; +import { backdropColor, blackColor, whiteColor } from '../consts/colors'; import { styles as commonStyles } from '../consts/styles'; -const Backdrop: React.FC = () => ; +const Backdrop = () => ; -export const BottomSheetExample: React.FC = () => { - const bottomSheetModalRef = React.useRef(null); +export const BottomSheetExample = () => { + const bottomSheetModalRef = useRef(null); - function dismissBottomSheet() { + const dismissBottomSheet = useCallback(function dismissBottomSheetFunc() { bottomSheetModalRef.current?.dismiss(); - } + }, []); - function presentBottomSheet() { + const presentBottomSheet = useCallback(function presentBottomSheetFunc() { bottomSheetModalRef.current?.present(); - } + }, []); - const onFocusEffect = React.useCallback(() => { + const onFocusEffect = useCallback(function onFocusEffectFunc() { AvoidSoftInput.setShouldMimicIOSBehavior(true); AvoidSoftInput.setEnabled(true); AvoidSoftInput.setAvoidOffset(70); @@ -63,15 +64,15 @@ export const BottomSheetExample: React.FC = () => { const styles = StyleSheet.create({ backdrop: { ...StyleSheet.absoluteFillObject, - backgroundColor: 'rgba(0,0,0,0.5)', + backgroundColor: backdropColor, }, bottomSheet: { alignItems: 'center', alignSelf: 'stretch', - backgroundColor: 'white', + backgroundColor: whiteColor, }, header: { - color: 'black', + color: blackColor, fontSize: 28, fontWeight: 'bold', paddingBottom: 40, diff --git a/packages/example/src/screens/CustomAnimationConfigModuleExample.tsx b/packages/expo-example/src/screens/CustomAnimationConfigModuleExample.tsx similarity index 86% rename from packages/example/src/screens/CustomAnimationConfigModuleExample.tsx rename to packages/expo-example/src/screens/CustomAnimationConfigModuleExample.tsx index 6e085727..12991b0e 100644 --- a/packages/example/src/screens/CustomAnimationConfigModuleExample.tsx +++ b/packages/expo-example/src/screens/CustomAnimationConfigModuleExample.tsx @@ -1,13 +1,14 @@ import { useFocusEffect } from '@react-navigation/native'; -import * as React from 'react'; +import { useCallback } from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { AvoidSoftInput, useSoftInputState } from 'react-native-avoid-softinput'; import { SafeAreaView } from 'react-native-safe-area-context'; import SingleInput from '../components/SingleInput'; +import { royalblueColor, spacerColor } from '../consts/colors'; -export const CustomAnimationConfigModuleExample: React.FC = () => { - const onFocusEffect = React.useCallback(() => { +export const CustomAnimationConfigModuleExample = () => { + const onFocusEffect = useCallback(function onFocusEffectFunc() { AvoidSoftInput.setShouldMimicIOSBehavior(true); AvoidSoftInput.setEnabled(true); AvoidSoftInput.setEasing('easeOut'); @@ -54,13 +55,13 @@ const styles = StyleSheet.create({ flexGrow: 1, }, label: { - color: 'blue', + color: royalblueColor, fontSize: 18, fontWeight: 'bold', }, spacer: { alignItems: 'center', - backgroundColor: 'pink', + backgroundColor: spacerColor, flex: 1, justifyContent: 'center', }, diff --git a/packages/example/src/screens/CustomAnimationConfigViewExample.tsx b/packages/expo-example/src/screens/CustomAnimationConfigViewExample.tsx similarity index 83% rename from packages/example/src/screens/CustomAnimationConfigViewExample.tsx rename to packages/expo-example/src/screens/CustomAnimationConfigViewExample.tsx index a80c3f78..1ef0b1d9 100644 --- a/packages/example/src/screens/CustomAnimationConfigViewExample.tsx +++ b/packages/expo-example/src/screens/CustomAnimationConfigViewExample.tsx @@ -1,13 +1,14 @@ import { useFocusEffect } from '@react-navigation/native'; -import * as React from 'react'; +import { useCallback } from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { AvoidSoftInput, AvoidSoftInputView } from 'react-native-avoid-softinput'; import { SafeAreaView } from 'react-native-safe-area-context'; import SingleInput from '../components/SingleInput'; +import { royalblueColor, spacerColor } from '../consts/colors'; -export const CustomAnimationConfigViewExample: React.FC = () => { - const onFocusEffect = React.useCallback(() => { +export const CustomAnimationConfigViewExample = () => { + const onFocusEffect = useCallback(function onFocusEffectFunc() { AvoidSoftInput.setShouldMimicIOSBehavior(true); AvoidSoftInput.setEnabled(true); return () => { @@ -47,13 +48,13 @@ const styles = StyleSheet.create({ flexGrow: 1, }, label: { - color: 'blue', + color: royalblueColor, fontSize: 18, fontWeight: 'bold', }, spacer: { alignItems: 'center', - backgroundColor: 'pink', + backgroundColor: spacerColor, flex: 1, justifyContent: 'center', }, diff --git a/packages/example/src/screens/EnabledViewPropExample.tsx b/packages/expo-example/src/screens/EnabledViewPropExample.tsx similarity index 80% rename from packages/example/src/screens/EnabledViewPropExample.tsx rename to packages/expo-example/src/screens/EnabledViewPropExample.tsx index 8b55e2f4..d27b046a 100644 --- a/packages/example/src/screens/EnabledViewPropExample.tsx +++ b/packages/expo-example/src/screens/EnabledViewPropExample.tsx @@ -1,5 +1,5 @@ import { useFocusEffect } from '@react-navigation/native'; -import * as React from 'react'; +import { useCallback, useRef, useState } from 'react'; import type { TextInput } from 'react-native'; import { Image, ScrollView, StyleSheet, View } from 'react-native'; import { AvoidSoftInput, AvoidSoftInputView } from 'react-native-avoid-softinput'; @@ -11,11 +11,11 @@ import { styles as commonStyles } from '../consts/styles'; const icon = require('../../assets/AppIconTransparent.png'); -export const EnabledViewPropExample: React.FC = () => { - const inputRef = React.useRef(null); - const [enabled, setEnabled] = React.useState(false); +export const EnabledViewPropExample = () => { + const inputRef = useRef(null); + const [enabled, setEnabled] = useState(false); - const onFocusEffect = React.useCallback(() => { + const onFocusEffect = useCallback(function onFocusEffectFunc() { AvoidSoftInput.setShouldMimicIOSBehavior(true); return () => { AvoidSoftInput.setShouldMimicIOSBehavior(false); @@ -24,13 +24,13 @@ export const EnabledViewPropExample: React.FC = () => { useFocusEffect(onFocusEffect); - function blurInput() { + const blurInput = useCallback(function blurInputFunc() { inputRef.current?.blur(); - } + }, []); - function toggle() { + const toggle = useCallback(function toggleFunc() { setEnabled(prev => !prev); - } + }, []); return ( @@ -44,7 +44,7 @@ export const EnabledViewPropExample: React.FC = () => { showsVerticalScrollIndicator={true} style={commonStyles.stretch}> - +