mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-29 04:45:19 +08:00
chore: remove nohoist from example
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -61,10 +61,8 @@ jobs:
|
|||||||
- name: Build Detox
|
- name: Build Detox
|
||||||
if: steps.detox-cache.outputs.cache-hit != 'true'
|
if: steps.detox-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
cd example
|
|
||||||
detox build --configuration ios.sim.release
|
detox build --configuration ios.sim.release
|
||||||
|
|
||||||
- name: Run Detox tests
|
- name: Run Detox tests
|
||||||
run: |
|
run: |
|
||||||
cd example
|
|
||||||
detox test --configuration ios.sim.release --cleanup --debug-synchronization 200
|
detox test --configuration ios.sim.release --cleanup --debug-synchronization 200
|
||||||
|
|||||||
@@ -41,12 +41,12 @@ Remember to add tests for your change if possible. Run the unit tests by:
|
|||||||
yarn test
|
yarn test
|
||||||
```
|
```
|
||||||
|
|
||||||
Running Detox (on iOS) requires the following:
|
Running the e2e tests with Detox (on iOS) requires the following:
|
||||||
|
|
||||||
- Mac with macOS (at least macOS High Sierra 10.13.6)
|
- Mac with macOS (at least macOS High Sierra 10.13.6)
|
||||||
- Xcode 10.1+ with Xcode command line tools
|
- Xcode 10.1+ with Xcode command line tools
|
||||||
|
|
||||||
To run the integration tests, first you need to install `applesimutils` and `detox-cli`:
|
First you need to install `applesimutils` and `detox-cli`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
brew tap wix/brew
|
brew tap wix/brew
|
||||||
@@ -57,7 +57,6 @@ yarn global add detox-cli
|
|||||||
Then you can build and run the tests:
|
Then you can build and run the tests:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd example
|
|
||||||
detox build -c ios.sim.debug
|
detox build -c ios.sim.debug
|
||||||
detox test -c ios.sim.debug
|
detox test -c ios.sim.debug
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
import 'react-native-gesture-handler';
|
import 'react-native-gesture-handler';
|
||||||
|
import { registerRootComponent } from 'expo';
|
||||||
|
|
||||||
export { default } from './src/index';
|
import App from './src/index';
|
||||||
|
|
||||||
|
registerRootComponent(App);
|
||||||
|
|||||||
@@ -80,8 +80,8 @@ project.ext.react = [
|
|||||||
enableHermes: false, // clean and rebuild if changing
|
enableHermes: false, // clean and rebuild if changing
|
||||||
]
|
]
|
||||||
|
|
||||||
apply from: '../../node_modules/react-native-unimodules/gradle.groovy'
|
apply from: '../../../node_modules/react-native-unimodules/gradle.groovy'
|
||||||
apply from: "../../node_modules/react-native/react.gradle"
|
apply from: "../../../node_modules/react-native/react.gradle"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set this to true to create two separate APKs instead of one:
|
* Set this to true to create two separate APKs instead of one:
|
||||||
@@ -179,10 +179,10 @@ android {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||||
implementation "com.facebook.react:react-native:+" // From node_modules
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
||||||
addUnimodulesDependencies()
|
addUnimodulesDependencies([ modulesPaths : ['../../../node_modules'] ])
|
||||||
|
|
||||||
if (enableHermes) {
|
if (enableHermes) {
|
||||||
def hermesPath = "../../node_modules/hermes-engine/android/";
|
def hermesPath = "../../../node_modules/hermes-engine/android/";
|
||||||
debugImplementation files(hermesPath + "hermes-debug.aar")
|
debugImplementation files(hermesPath + "hermes-debug.aar")
|
||||||
releaseImplementation files(hermesPath + "hermes-release.aar")
|
releaseImplementation files(hermesPath + "hermes-release.aar")
|
||||||
} else {
|
} else {
|
||||||
@@ -197,4 +197,4 @@ task copyDownloadableDepsToLibs(type: Copy) {
|
|||||||
into 'libs'
|
into 'libs'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
|
apply from: file("../../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
|
||||||
|
|||||||
@@ -24,11 +24,11 @@ allprojects {
|
|||||||
mavenLocal()
|
mavenLocal()
|
||||||
maven {
|
maven {
|
||||||
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
||||||
url("$rootDir/../node_modules/react-native/android")
|
url("$rootDir/../../node_modules/react-native/android")
|
||||||
}
|
}
|
||||||
maven {
|
maven {
|
||||||
// Android JSC is installed from npm
|
// Android JSC is installed from npm
|
||||||
url("$rootDir/../node_modules/jsc-android/dist")
|
url("$rootDir/../../node_modules/jsc-android/dist")
|
||||||
}
|
}
|
||||||
|
|
||||||
google()
|
google()
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
apply from: '../node_modules/react-native-unimodules/gradle.groovy'
|
apply from: '../../node_modules/react-native-unimodules/gradle.groovy'
|
||||||
includeUnimodulesProjects()
|
includeUnimodulesProjects([ modulesPaths : ['../../../node_modules'] ])
|
||||||
|
|
||||||
|
|
||||||
rootProject.name = 'ReactNavigationExample'
|
rootProject.name = 'ReactNavigationExample'
|
||||||
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
||||||
include ':app'
|
include ':app'
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"name": "ReactNavigationExample",
|
||||||
|
"displayName": "React Navigation Example",
|
||||||
"expo": {
|
"expo": {
|
||||||
"name": "@react-navigation/example",
|
"name": "@react-navigation/example",
|
||||||
"slug": "react-navigation-example",
|
"slug": "react-navigation-example",
|
||||||
|
"description": "Demo app to showcase various functionality of React Navigation",
|
||||||
"privacy": "public",
|
"privacy": "public",
|
||||||
"sdkVersion": "36.0.0",
|
"sdkVersion": "36.0.0",
|
||||||
"platforms": [
|
"platforms": [
|
||||||
@@ -25,9 +28,6 @@
|
|||||||
"ios": {
|
"ios": {
|
||||||
"supportsTablet": true
|
"supportsTablet": true
|
||||||
},
|
},
|
||||||
"entryPoint": "node_modules/expo/AppEntry.js",
|
"entryPoint": "App.tsx"
|
||||||
"description": "Demo app to showcase various functionality of React Navigation"
|
}
|
||||||
},
|
|
||||||
"displayName": "React Navigation Example",
|
|
||||||
"name": "ReactNavigationExample"
|
|
||||||
}
|
}
|
||||||
|
|||||||
10
example/e2e/.eslintrc.json
Normal file
10
example/e2e/.eslintrc.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"settings": {
|
||||||
|
"import/core-modules": [
|
||||||
|
"detox",
|
||||||
|
"detox/runners/jest/adapter",
|
||||||
|
"detox/runners/jest/specReporter"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"env": { "jest": true, "jasmine": true }
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"setupFilesAfterEnv": ["./init.js"],
|
"setupFilesAfterEnv": ["./init.js"],
|
||||||
"testEnvironment": "node",
|
"testEnvironment": "node",
|
||||||
"reporters": ["detox/runners/jest/streamlineReporter"],
|
"reporters": ["detox/runners/jest/streamlineReporter"],
|
||||||
"verbose": true
|
"verbose": true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
/* eslint-disable import/no-commonjs, jest/no-jasmine-globals */
|
/* eslint-disable jest/no-jasmine-globals, import/no-commonjs */
|
||||||
/* eslint-env jest, jasmine */
|
|
||||||
|
|
||||||
const detox = require('detox');
|
const detox = require('detox');
|
||||||
const config = require('../package.json').detox;
|
const config = require('../../package.json').detox;
|
||||||
const adapter = require('detox/runners/jest/adapter');
|
const adapter = require('detox/runners/jest/adapter');
|
||||||
const specReporter = require('detox/runners/jest/specReporter');
|
const specReporter = require('detox/runners/jest/specReporter');
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
import { AppRegistry } from 'react-native';
|
import { AppRegistry } from 'react-native';
|
||||||
|
import App from './src/index.tsx';
|
||||||
// Need to add extension or eslint confuses it with app.json
|
|
||||||
import App from './App.tsx';
|
|
||||||
|
|
||||||
AppRegistry.registerComponent('ReactNavigationExample', () => App);
|
AppRegistry.registerComponent('ReactNavigationExample', () => App);
|
||||||
|
|||||||
@@ -1,40 +1,40 @@
|
|||||||
platform :ios, '10.0'
|
platform :ios, '10.0'
|
||||||
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
require_relative '../../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
||||||
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
|
require_relative '../../node_modules/react-native-unimodules/cocoapods.rb'
|
||||||
|
|
||||||
target 'ReactNavigationExample' do
|
target 'ReactNavigationExample' do
|
||||||
# Pods for ReactNavigationExample
|
# Pods for ReactNavigationExample
|
||||||
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
|
pod 'FBLazyVector', :path => '../../node_modules/react-native/Libraries/FBLazyVector'
|
||||||
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
|
pod 'FBReactNativeSpec', :path => '../../node_modules/react-native/Libraries/FBReactNativeSpec'
|
||||||
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
|
pod 'RCTRequired', :path => '../../node_modules/react-native/Libraries/RCTRequired'
|
||||||
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
|
pod 'RCTTypeSafety', :path => '../../node_modules/react-native/Libraries/TypeSafety'
|
||||||
pod 'React', :path => '../node_modules/react-native/'
|
pod 'React', :path => '../../node_modules/react-native/'
|
||||||
pod 'React-Core', :path => '../node_modules/react-native/'
|
pod 'React-Core', :path => '../../node_modules/react-native/'
|
||||||
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
|
pod 'React-CoreModules', :path => '../../node_modules/react-native/React/CoreModules'
|
||||||
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
|
pod 'React-Core/DevSupport', :path => '../../node_modules/react-native/'
|
||||||
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
|
pod 'React-RCTActionSheet', :path => '../../node_modules/react-native/Libraries/ActionSheetIOS'
|
||||||
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
|
pod 'React-RCTAnimation', :path => '../../node_modules/react-native/Libraries/NativeAnimation'
|
||||||
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
|
pod 'React-RCTBlob', :path => '../../node_modules/react-native/Libraries/Blob'
|
||||||
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
|
pod 'React-RCTImage', :path => '../../node_modules/react-native/Libraries/Image'
|
||||||
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
|
pod 'React-RCTLinking', :path => '../../node_modules/react-native/Libraries/LinkingIOS'
|
||||||
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
|
pod 'React-RCTNetwork', :path => '../../node_modules/react-native/Libraries/Network'
|
||||||
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
|
pod 'React-RCTSettings', :path => '../../node_modules/react-native/Libraries/Settings'
|
||||||
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
|
pod 'React-RCTText', :path => '../../node_modules/react-native/Libraries/Text'
|
||||||
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
|
pod 'React-RCTVibration', :path => '../../node_modules/react-native/Libraries/Vibration'
|
||||||
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
|
pod 'React-Core/RCTWebSocket', :path => '../../node_modules/react-native/'
|
||||||
|
|
||||||
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
|
pod 'React-cxxreact', :path => '../../node_modules/react-native/ReactCommon/cxxreact'
|
||||||
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
|
pod 'React-jsi', :path => '../../node_modules/react-native/ReactCommon/jsi'
|
||||||
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
|
pod 'React-jsiexecutor', :path => '../../node_modules/react-native/ReactCommon/jsiexecutor'
|
||||||
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
|
pod 'React-jsinspector', :path => '../../node_modules/react-native/ReactCommon/jsinspector'
|
||||||
pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon"
|
pod 'ReactCommon/jscallinvoker', :path => '../../node_modules/react-native/ReactCommon'
|
||||||
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
|
pod 'ReactCommon/turbomodule/core', :path => '../../node_modules/react-native/ReactCommon'
|
||||||
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
|
pod 'Yoga', :path => '../../node_modules/react-native/ReactCommon/yoga'
|
||||||
|
|
||||||
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
|
pod 'DoubleConversion', :podspec => '../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
|
||||||
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
|
pod 'glog', :podspec => '../../node_modules/react-native/third-party-podspecs/glog.podspec'
|
||||||
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
|
pod 'Folly', :podspec => '../../node_modules/react-native/third-party-podspecs/Folly.podspec'
|
||||||
|
|
||||||
use_native_modules!
|
use_native_modules!
|
||||||
use_unimodules!
|
use_unimodules!({ modules_paths: ['../../node_modules'] })
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -273,62 +273,62 @@ PODS:
|
|||||||
- Yoga (1.14.0)
|
- Yoga (1.14.0)
|
||||||
|
|
||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
|
- DoubleConversion (from `../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
|
||||||
- EXAppLoaderProvider (from `../node_modules/expo-app-loader-provider/ios`)
|
- EXAppLoaderProvider (from `../../node_modules/expo-app-loader-provider/ios`)
|
||||||
- EXConstants (from `../node_modules/expo-constants/ios`)
|
- EXConstants (from `../../node_modules/expo-constants/ios`)
|
||||||
- EXErrorRecovery (from `../node_modules/expo-error-recovery/ios`)
|
- EXErrorRecovery (from `../../node_modules/expo-error-recovery/ios`)
|
||||||
- EXFileSystem (from `../node_modules/expo-file-system/ios`)
|
- EXFileSystem (from `../../node_modules/expo-file-system/ios`)
|
||||||
- EXFont (from `../node_modules/expo-font/ios`)
|
- EXFont (from `../../node_modules/expo-font/ios`)
|
||||||
- EXKeepAwake (from `../node_modules/expo-keep-awake/ios`)
|
- EXKeepAwake (from `../../node_modules/expo-keep-awake/ios`)
|
||||||
- EXLinearGradient (from `../node_modules/expo-linear-gradient/ios`)
|
- EXLinearGradient (from `../../node_modules/expo-linear-gradient/ios`)
|
||||||
- EXLocation (from `../node_modules/expo-location/ios`)
|
- EXLocation (from `../../node_modules/expo-location/ios`)
|
||||||
- EXPermissions (from `../node_modules/expo-permissions/ios`)
|
- EXPermissions (from `../../node_modules/expo-permissions/ios`)
|
||||||
- EXSQLite (from `../node_modules/expo-sqlite/ios`)
|
- EXSQLite (from `../../node_modules/expo-sqlite/ios`)
|
||||||
- EXWebBrowser (from `../node_modules/expo-web-browser/ios`)
|
- EXWebBrowser (from `../../node_modules/expo-web-browser/ios`)
|
||||||
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
|
- FBLazyVector (from `../../node_modules/react-native/Libraries/FBLazyVector`)
|
||||||
- FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`)
|
- FBReactNativeSpec (from `../../node_modules/react-native/Libraries/FBReactNativeSpec`)
|
||||||
- Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
|
- Folly (from `../../node_modules/react-native/third-party-podspecs/Folly.podspec`)
|
||||||
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
|
- glog (from `../../node_modules/react-native/third-party-podspecs/glog.podspec`)
|
||||||
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
|
- RCTRequired (from `../../node_modules/react-native/Libraries/RCTRequired`)
|
||||||
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
|
- RCTTypeSafety (from `../../node_modules/react-native/Libraries/TypeSafety`)
|
||||||
- React (from `../node_modules/react-native/`)
|
- React (from `../../node_modules/react-native/`)
|
||||||
- React-Core (from `../node_modules/react-native/`)
|
- React-Core (from `../../node_modules/react-native/`)
|
||||||
- React-Core/DevSupport (from `../node_modules/react-native/`)
|
- React-Core/DevSupport (from `../../node_modules/react-native/`)
|
||||||
- React-Core/RCTWebSocket (from `../node_modules/react-native/`)
|
- React-Core/RCTWebSocket (from `../../node_modules/react-native/`)
|
||||||
- React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
|
- React-CoreModules (from `../../node_modules/react-native/React/CoreModules`)
|
||||||
- React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
|
- React-cxxreact (from `../../node_modules/react-native/ReactCommon/cxxreact`)
|
||||||
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
|
- React-jsi (from `../../node_modules/react-native/ReactCommon/jsi`)
|
||||||
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
|
- React-jsiexecutor (from `../../node_modules/react-native/ReactCommon/jsiexecutor`)
|
||||||
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
|
- React-jsinspector (from `../../node_modules/react-native/ReactCommon/jsinspector`)
|
||||||
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
|
- react-native-safe-area-context (from `../../node_modules/react-native-safe-area-context`)
|
||||||
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
|
- React-RCTActionSheet (from `../../node_modules/react-native/Libraries/ActionSheetIOS`)
|
||||||
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
|
- React-RCTAnimation (from `../../node_modules/react-native/Libraries/NativeAnimation`)
|
||||||
- React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
|
- React-RCTBlob (from `../../node_modules/react-native/Libraries/Blob`)
|
||||||
- React-RCTImage (from `../node_modules/react-native/Libraries/Image`)
|
- React-RCTImage (from `../../node_modules/react-native/Libraries/Image`)
|
||||||
- React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`)
|
- React-RCTLinking (from `../../node_modules/react-native/Libraries/LinkingIOS`)
|
||||||
- React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`)
|
- React-RCTNetwork (from `../../node_modules/react-native/Libraries/Network`)
|
||||||
- React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
|
- React-RCTSettings (from `../../node_modules/react-native/Libraries/Settings`)
|
||||||
- React-RCTText (from `../node_modules/react-native/Libraries/Text`)
|
- React-RCTText (from `../../node_modules/react-native/Libraries/Text`)
|
||||||
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
|
- React-RCTVibration (from `../../node_modules/react-native/Libraries/Vibration`)
|
||||||
- ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`)
|
- ReactCommon/jscallinvoker (from `../../node_modules/react-native/ReactCommon`)
|
||||||
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
|
- ReactCommon/turbomodule/core (from `../../node_modules/react-native/ReactCommon`)
|
||||||
- "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
|
- "RNCMaskedView (from `../../node_modules/@react-native-community/masked-view`)"
|
||||||
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
|
- RNGestureHandler (from `../../node_modules/react-native-gesture-handler`)
|
||||||
- RNReanimated (from `../node_modules/react-native-reanimated`)
|
- RNReanimated (from `../../node_modules/react-native-reanimated`)
|
||||||
- RNScreens (from `../node_modules/react-native-screens`)
|
- RNScreens (from `../../node_modules/react-native-screens`)
|
||||||
- UMBarCodeScannerInterface (from `../node_modules/unimodules-barcode-scanner-interface/ios`)
|
- UMBarCodeScannerInterface (from `../../node_modules/unimodules-barcode-scanner-interface/ios`)
|
||||||
- UMCameraInterface (from `../node_modules/unimodules-camera-interface/ios`)
|
- UMCameraInterface (from `../../node_modules/unimodules-camera-interface/ios`)
|
||||||
- UMConstantsInterface (from `../node_modules/unimodules-constants-interface/ios`)
|
- UMConstantsInterface (from `../../node_modules/unimodules-constants-interface/ios`)
|
||||||
- "UMCore (from `../node_modules/@unimodules/core/ios`)"
|
- "UMCore (from `../../node_modules/@unimodules/core/ios`)"
|
||||||
- UMFaceDetectorInterface (from `../node_modules/unimodules-face-detector-interface/ios`)
|
- UMFaceDetectorInterface (from `../../node_modules/unimodules-face-detector-interface/ios`)
|
||||||
- UMFileSystemInterface (from `../node_modules/unimodules-file-system-interface/ios`)
|
- UMFileSystemInterface (from `../../node_modules/unimodules-file-system-interface/ios`)
|
||||||
- UMFontInterface (from `../node_modules/unimodules-font-interface/ios`)
|
- UMFontInterface (from `../../node_modules/unimodules-font-interface/ios`)
|
||||||
- UMImageLoaderInterface (from `../node_modules/unimodules-image-loader-interface/ios`)
|
- UMImageLoaderInterface (from `../../node_modules/unimodules-image-loader-interface/ios`)
|
||||||
- UMPermissionsInterface (from `../node_modules/unimodules-permissions-interface/ios`)
|
- UMPermissionsInterface (from `../../node_modules/unimodules-permissions-interface/ios`)
|
||||||
- "UMReactNativeAdapter (from `../node_modules/@unimodules/react-native-adapter/ios`)"
|
- "UMReactNativeAdapter (from `../../node_modules/@unimodules/react-native-adapter/ios`)"
|
||||||
- UMSensorsInterface (from `../node_modules/unimodules-sensors-interface/ios`)
|
- UMSensorsInterface (from `../../node_modules/unimodules-sensors-interface/ios`)
|
||||||
- UMTaskManagerInterface (from `../node_modules/unimodules-task-manager-interface/ios`)
|
- UMTaskManagerInterface (from `../../node_modules/unimodules-task-manager-interface/ios`)
|
||||||
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
|
- Yoga (from `../../node_modules/react-native/ReactCommon/yoga`)
|
||||||
|
|
||||||
SPEC REPOS:
|
SPEC REPOS:
|
||||||
trunk:
|
trunk:
|
||||||
@@ -336,134 +336,134 @@ SPEC REPOS:
|
|||||||
|
|
||||||
EXTERNAL SOURCES:
|
EXTERNAL SOURCES:
|
||||||
DoubleConversion:
|
DoubleConversion:
|
||||||
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
|
:podspec: "../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
|
||||||
EXAppLoaderProvider:
|
EXAppLoaderProvider:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/expo-app-loader-provider/ios"
|
path: "../../node_modules/expo-app-loader-provider/ios"
|
||||||
EXConstants:
|
EXConstants:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/expo-constants/ios"
|
path: "../../node_modules/expo-constants/ios"
|
||||||
EXErrorRecovery:
|
EXErrorRecovery:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/expo-error-recovery/ios"
|
path: "../../node_modules/expo-error-recovery/ios"
|
||||||
EXFileSystem:
|
EXFileSystem:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/expo-file-system/ios"
|
path: "../../node_modules/expo-file-system/ios"
|
||||||
EXFont:
|
EXFont:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/expo-font/ios"
|
path: "../../node_modules/expo-font/ios"
|
||||||
EXKeepAwake:
|
EXKeepAwake:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/expo-keep-awake/ios"
|
path: "../../node_modules/expo-keep-awake/ios"
|
||||||
EXLinearGradient:
|
EXLinearGradient:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/expo-linear-gradient/ios"
|
path: "../../node_modules/expo-linear-gradient/ios"
|
||||||
EXLocation:
|
EXLocation:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/expo-location/ios"
|
path: "../../node_modules/expo-location/ios"
|
||||||
EXPermissions:
|
EXPermissions:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/expo-permissions/ios"
|
path: "../../node_modules/expo-permissions/ios"
|
||||||
EXSQLite:
|
EXSQLite:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/expo-sqlite/ios"
|
path: "../../node_modules/expo-sqlite/ios"
|
||||||
EXWebBrowser:
|
EXWebBrowser:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/expo-web-browser/ios"
|
path: "../../node_modules/expo-web-browser/ios"
|
||||||
FBLazyVector:
|
FBLazyVector:
|
||||||
:path: "../node_modules/react-native/Libraries/FBLazyVector"
|
:path: "../../node_modules/react-native/Libraries/FBLazyVector"
|
||||||
FBReactNativeSpec:
|
FBReactNativeSpec:
|
||||||
:path: "../node_modules/react-native/Libraries/FBReactNativeSpec"
|
:path: "../../node_modules/react-native/Libraries/FBReactNativeSpec"
|
||||||
Folly:
|
Folly:
|
||||||
:podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
|
:podspec: "../../node_modules/react-native/third-party-podspecs/Folly.podspec"
|
||||||
glog:
|
glog:
|
||||||
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
|
:podspec: "../../node_modules/react-native/third-party-podspecs/glog.podspec"
|
||||||
RCTRequired:
|
RCTRequired:
|
||||||
:path: "../node_modules/react-native/Libraries/RCTRequired"
|
:path: "../../node_modules/react-native/Libraries/RCTRequired"
|
||||||
RCTTypeSafety:
|
RCTTypeSafety:
|
||||||
:path: "../node_modules/react-native/Libraries/TypeSafety"
|
:path: "../../node_modules/react-native/Libraries/TypeSafety"
|
||||||
React:
|
React:
|
||||||
:path: "../node_modules/react-native/"
|
:path: "../../node_modules/react-native/"
|
||||||
React-Core:
|
React-Core:
|
||||||
:path: "../node_modules/react-native/"
|
:path: "../../node_modules/react-native/"
|
||||||
React-CoreModules:
|
React-CoreModules:
|
||||||
:path: "../node_modules/react-native/React/CoreModules"
|
:path: "../../node_modules/react-native/React/CoreModules"
|
||||||
React-cxxreact:
|
React-cxxreact:
|
||||||
:path: "../node_modules/react-native/ReactCommon/cxxreact"
|
:path: "../../node_modules/react-native/ReactCommon/cxxreact"
|
||||||
React-jsi:
|
React-jsi:
|
||||||
:path: "../node_modules/react-native/ReactCommon/jsi"
|
:path: "../../node_modules/react-native/ReactCommon/jsi"
|
||||||
React-jsiexecutor:
|
React-jsiexecutor:
|
||||||
:path: "../node_modules/react-native/ReactCommon/jsiexecutor"
|
:path: "../../node_modules/react-native/ReactCommon/jsiexecutor"
|
||||||
React-jsinspector:
|
React-jsinspector:
|
||||||
:path: "../node_modules/react-native/ReactCommon/jsinspector"
|
:path: "../../node_modules/react-native/ReactCommon/jsinspector"
|
||||||
react-native-safe-area-context:
|
react-native-safe-area-context:
|
||||||
:path: "../node_modules/react-native-safe-area-context"
|
:path: "../../node_modules/react-native-safe-area-context"
|
||||||
React-RCTActionSheet:
|
React-RCTActionSheet:
|
||||||
:path: "../node_modules/react-native/Libraries/ActionSheetIOS"
|
:path: "../../node_modules/react-native/Libraries/ActionSheetIOS"
|
||||||
React-RCTAnimation:
|
React-RCTAnimation:
|
||||||
:path: "../node_modules/react-native/Libraries/NativeAnimation"
|
:path: "../../node_modules/react-native/Libraries/NativeAnimation"
|
||||||
React-RCTBlob:
|
React-RCTBlob:
|
||||||
:path: "../node_modules/react-native/Libraries/Blob"
|
:path: "../../node_modules/react-native/Libraries/Blob"
|
||||||
React-RCTImage:
|
React-RCTImage:
|
||||||
:path: "../node_modules/react-native/Libraries/Image"
|
:path: "../../node_modules/react-native/Libraries/Image"
|
||||||
React-RCTLinking:
|
React-RCTLinking:
|
||||||
:path: "../node_modules/react-native/Libraries/LinkingIOS"
|
:path: "../../node_modules/react-native/Libraries/LinkingIOS"
|
||||||
React-RCTNetwork:
|
React-RCTNetwork:
|
||||||
:path: "../node_modules/react-native/Libraries/Network"
|
:path: "../../node_modules/react-native/Libraries/Network"
|
||||||
React-RCTSettings:
|
React-RCTSettings:
|
||||||
:path: "../node_modules/react-native/Libraries/Settings"
|
:path: "../../node_modules/react-native/Libraries/Settings"
|
||||||
React-RCTText:
|
React-RCTText:
|
||||||
:path: "../node_modules/react-native/Libraries/Text"
|
:path: "../../node_modules/react-native/Libraries/Text"
|
||||||
React-RCTVibration:
|
React-RCTVibration:
|
||||||
:path: "../node_modules/react-native/Libraries/Vibration"
|
:path: "../../node_modules/react-native/Libraries/Vibration"
|
||||||
ReactCommon:
|
ReactCommon:
|
||||||
:path: "../node_modules/react-native/ReactCommon"
|
:path: "../../node_modules/react-native/ReactCommon"
|
||||||
RNCMaskedView:
|
RNCMaskedView:
|
||||||
:path: "../node_modules/@react-native-community/masked-view"
|
:path: "../../node_modules/@react-native-community/masked-view"
|
||||||
RNGestureHandler:
|
RNGestureHandler:
|
||||||
:path: "../node_modules/react-native-gesture-handler"
|
:path: "../../node_modules/react-native-gesture-handler"
|
||||||
RNReanimated:
|
RNReanimated:
|
||||||
:path: "../node_modules/react-native-reanimated"
|
:path: "../../node_modules/react-native-reanimated"
|
||||||
RNScreens:
|
RNScreens:
|
||||||
:path: "../node_modules/react-native-screens"
|
:path: "../../node_modules/react-native-screens"
|
||||||
UMBarCodeScannerInterface:
|
UMBarCodeScannerInterface:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/unimodules-barcode-scanner-interface/ios"
|
path: "../../node_modules/unimodules-barcode-scanner-interface/ios"
|
||||||
UMCameraInterface:
|
UMCameraInterface:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/unimodules-camera-interface/ios"
|
path: "../../node_modules/unimodules-camera-interface/ios"
|
||||||
UMConstantsInterface:
|
UMConstantsInterface:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/unimodules-constants-interface/ios"
|
path: "../../node_modules/unimodules-constants-interface/ios"
|
||||||
UMCore:
|
UMCore:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/@unimodules/core/ios"
|
path: "../../node_modules/@unimodules/core/ios"
|
||||||
UMFaceDetectorInterface:
|
UMFaceDetectorInterface:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/unimodules-face-detector-interface/ios"
|
path: "../../node_modules/unimodules-face-detector-interface/ios"
|
||||||
UMFileSystemInterface:
|
UMFileSystemInterface:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/unimodules-file-system-interface/ios"
|
path: "../../node_modules/unimodules-file-system-interface/ios"
|
||||||
UMFontInterface:
|
UMFontInterface:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/unimodules-font-interface/ios"
|
path: "../../node_modules/unimodules-font-interface/ios"
|
||||||
UMImageLoaderInterface:
|
UMImageLoaderInterface:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/unimodules-image-loader-interface/ios"
|
path: "../../node_modules/unimodules-image-loader-interface/ios"
|
||||||
UMPermissionsInterface:
|
UMPermissionsInterface:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/unimodules-permissions-interface/ios"
|
path: "../../node_modules/unimodules-permissions-interface/ios"
|
||||||
UMReactNativeAdapter:
|
UMReactNativeAdapter:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/@unimodules/react-native-adapter/ios"
|
path: "../../node_modules/@unimodules/react-native-adapter/ios"
|
||||||
UMSensorsInterface:
|
UMSensorsInterface:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/unimodules-sensors-interface/ios"
|
path: "../../node_modules/unimodules-sensors-interface/ios"
|
||||||
UMTaskManagerInterface:
|
UMTaskManagerInterface:
|
||||||
:path: !ruby/object:Pathname
|
:path: !ruby/object:Pathname
|
||||||
path: "../node_modules/unimodules-task-manager-interface/ios"
|
path: "../../node_modules/unimodules-task-manager-interface/ios"
|
||||||
Yoga:
|
Yoga:
|
||||||
:path: "../node_modules/react-native/ReactCommon/yoga"
|
:path: "../../node_modules/react-native/ReactCommon/yoga"
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
|
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
|
||||||
@@ -521,6 +521,6 @@ SPEC CHECKSUMS:
|
|||||||
UMTaskManagerInterface: a98e37a576a5220bf43b8faf33cfdc129d2f441d
|
UMTaskManagerInterface: a98e37a576a5220bf43b8faf33cfdc129d2f441d
|
||||||
Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b
|
Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b
|
||||||
|
|
||||||
PODFILE CHECKSUM: 18b58708b4bb9901516029103ee63c94d63edd9e
|
PODFILE CHECKSUM: c48a21ff513d3eadafa50f8797207ef2be75e234
|
||||||
|
|
||||||
COCOAPODS: 1.8.4
|
COCOAPODS: 1.8.4
|
||||||
|
|||||||
@@ -188,7 +188,7 @@
|
|||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
|
shellScript = "export NODE_BINARY=node\n../../node_modules/react-native/scripts/react-native-xcode.sh";
|
||||||
};
|
};
|
||||||
FC67D3D0567CD942E3DA69B7 /* [CP] Check Pods Manifest.lock */ = {
|
FC67D3D0567CD942E3DA69B7 /* [CP] Check Pods Manifest.lock */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
|||||||
@@ -43,13 +43,16 @@ module.exports = {
|
|||||||
|
|
||||||
resolver: {
|
resolver: {
|
||||||
blacklistRE: blacklist(
|
blacklistRE: blacklist(
|
||||||
[root, ...fs.readdirSync(packages).map(p => path.join(packages, p))].map(
|
fs
|
||||||
it => new RegExp(`^${escape(path.join(it, 'node_modules'))}\\/.*$`)
|
.readdirSync(packages)
|
||||||
)
|
.map(p => path.join(packages, p))
|
||||||
|
.map(
|
||||||
|
it => new RegExp(`^${escape(path.join(it, 'node_modules'))}\\/.*$`)
|
||||||
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
extraNodeModules: modules.reduce((acc, name) => {
|
extraNodeModules: modules.reduce((acc, name) => {
|
||||||
acc[name] = path.join(__dirname, 'node_modules', name);
|
acc[name] = path.join(__dirname, '..', 'node_modules', name);
|
||||||
return acc;
|
return acc;
|
||||||
}, {}),
|
}, {}),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,19 +3,12 @@
|
|||||||
"description": "Demo app to showcase various functionality of React Navigation",
|
"description": "Demo app to showcase various functionality of React Navigation",
|
||||||
"version": "5.0.0-alpha.23",
|
"version": "5.0.0-alpha.23",
|
||||||
"private": true,
|
"private": true,
|
||||||
"workspaces": {
|
|
||||||
"nohoist": [
|
|
||||||
"*",
|
|
||||||
"*/**"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "expo start",
|
"start": "expo start",
|
||||||
"web": "expo start --web",
|
"web": "expo start --web",
|
||||||
"react-native": "./node_modules/.bin/react-native",
|
"native": "react-native start",
|
||||||
"native": "./node_modules/.bin/react-native start",
|
"android": "react-native run-android",
|
||||||
"android": "./node_modules/.bin/react-native run-android",
|
"ios": "react-native run-ios"
|
||||||
"ios": "./node_modules/.bin/react-native run-ios"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@expo/vector-icons": "^10.0.0",
|
"@expo/vector-icons": "^10.0.0",
|
||||||
@@ -46,30 +39,7 @@
|
|||||||
"@types/react": "^16.9.17",
|
"@types/react": "^16.9.17",
|
||||||
"@types/react-native": "^0.60.30",
|
"@types/react-native": "^0.60.30",
|
||||||
"babel-preset-expo": "^8.0.0",
|
"babel-preset-expo": "^8.0.0",
|
||||||
"detox": "^15.0.0",
|
|
||||||
"expo-cli": "^3.11.5",
|
"expo-cli": "^3.11.5",
|
||||||
"jest": "^24.9.0",
|
|
||||||
"typescript": "^3.7.4"
|
"typescript": "^3.7.4"
|
||||||
},
|
|
||||||
"detox": {
|
|
||||||
"test-runner": "jest",
|
|
||||||
"configurations": {
|
|
||||||
"ios.sim.debug": {
|
|
||||||
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/ReactNavigationExample.app",
|
|
||||||
"build": "set -o pipefail; xcodebuild -workspace ios/ReactNavigationExample.xcworkspace -scheme ReactNavigationExample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
|
|
||||||
"type": "ios.simulator",
|
|
||||||
"device": {
|
|
||||||
"type": "iPhone 11 Pro"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ios.sim.release": {
|
|
||||||
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/ReactNavigationExample.app",
|
|
||||||
"build": "export RCT_NO_LAUNCH_PACKAGER=true; set -o pipefail; xcodebuild -workspace ios/ReactNavigationExample.xcworkspace -scheme ReactNavigationExample -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
|
|
||||||
"type": "ios.simulator",
|
|
||||||
"device": {
|
|
||||||
"type": "iPhone 11 Pro"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ const createExpoWebpackConfigAsync = require('@expo/webpack-config');
|
|||||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||||
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
|
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
|
||||||
|
|
||||||
const node_modules = path.resolve(__dirname, 'node_modules');
|
const node_modules = path.resolve(__dirname, '..', 'node_modules');
|
||||||
const packages = path.resolve(__dirname, '..', 'packages');
|
const packages = path.resolve(__dirname, '..', 'packages');
|
||||||
|
|
||||||
module.exports = async function(env, argv) {
|
module.exports = async function(env, argv) {
|
||||||
|
|||||||
23
package.json
23
package.json
@@ -34,6 +34,7 @@
|
|||||||
"codecov": "^3.6.1",
|
"codecov": "^3.6.1",
|
||||||
"commitlint": "^8.3.4",
|
"commitlint": "^8.3.4",
|
||||||
"core-js": "^3.6.2",
|
"core-js": "^3.6.2",
|
||||||
|
"detox": "^15.0.0",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-config-satya164": "^3.1.5",
|
"eslint-config-satya164": "^3.1.5",
|
||||||
"husky": "^4.0.1",
|
"husky": "^4.0.1",
|
||||||
@@ -70,5 +71,27 @@
|
|||||||
"useTabs": false,
|
"useTabs": false,
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
"trailingComma": "es5"
|
"trailingComma": "es5"
|
||||||
|
},
|
||||||
|
"detox": {
|
||||||
|
"test-runner": "jest",
|
||||||
|
"runner-config": "example/e2e/config.json",
|
||||||
|
"configurations": {
|
||||||
|
"ios.sim.debug": {
|
||||||
|
"binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/ReactNavigationExample.app",
|
||||||
|
"build": "set -o pipefail; xcodebuild -workspace example/ios/ReactNavigationExample.xcworkspace -scheme ReactNavigationExample -configuration Debug -sdk iphonesimulator -derivedDataPath example/ios/build",
|
||||||
|
"type": "ios.simulator",
|
||||||
|
"device": {
|
||||||
|
"type": "iPhone 11 Pro"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ios.sim.release": {
|
||||||
|
"binaryPath": "example/ios/build/Build/Products/Release-iphonesimulator/ReactNavigationExample.app",
|
||||||
|
"build": "export RCT_NO_LAUNCH_PACKAGER=true; set -o pipefail; xcodebuild -workspace example/ios/ReactNavigationExample.xcworkspace -scheme ReactNavigationExample -configuration Release -sdk iphonesimulator -derivedDataPath example/ios/build",
|
||||||
|
"type": "ios.simulator",
|
||||||
|
"device": {
|
||||||
|
"type": "iPhone 11 Pro"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user