feat(react-native): update executor and schema files for expo and react-native to be continuous (#30985)
WIP <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
This commit is contained in:
parent
157a1f1168
commit
f9d461e663
@ -3,6 +3,7 @@
|
|||||||
"implementation": "/packages/expo/src/executors/run/run.impl.ts",
|
"implementation": "/packages/expo/src/executors/run/run.impl.ts",
|
||||||
"schema": {
|
"schema": {
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxExpoRun",
|
"$id": "NxExpoRun",
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
"implementation": "/packages/expo/src/executors/serve/serve.impl.ts",
|
"implementation": "/packages/expo/src/executors/serve/serve.impl.ts",
|
||||||
"schema": {
|
"schema": {
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxExpoServe",
|
"$id": "NxExpoServe",
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
"implementation": "/packages/expo/src/executors/start/start.impl.ts",
|
"implementation": "/packages/expo/src/executors/start/start.impl.ts",
|
||||||
"schema": {
|
"schema": {
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxExpoStart",
|
"$id": "NxExpoStart",
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
"implementation": "/packages/react-native/src/executors/run-android/run-android.impl.ts",
|
"implementation": "/packages/react-native/src/executors/run-android/run-android.impl.ts",
|
||||||
"schema": {
|
"schema": {
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxReactNativeRunAndroid",
|
"$id": "NxReactNativeRunAndroid",
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
"implementation": "/packages/react-native/src/executors/run-ios/run-ios.impl.ts",
|
"implementation": "/packages/react-native/src/executors/run-ios/run-ios.impl.ts",
|
||||||
"schema": {
|
"schema": {
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxReactNativeRunIos",
|
"$id": "NxReactNativeRunIos",
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
"implementation": "/packages/react-native/src/executors/start/start.impl.ts",
|
"implementation": "/packages/react-native/src/executors/start/start.impl.ts",
|
||||||
"schema": {
|
"schema": {
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxReactNativeStart",
|
"$id": "NxReactNativeStart",
|
||||||
|
|||||||
@ -12,11 +12,12 @@ export default async function (globalConfig: Config.ConfigGlobals) {
|
|||||||
process.env.NX_VERBOSE_LOGGING === 'true' || !!globalConfig.verbose;
|
process.env.NX_VERBOSE_LOGGING === 'true' || !!globalConfig.verbose;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For e2e-ci we populate the verdaccio storage up front, but for other workflows we need
|
* For e2e-ci & macos-local-e2e we populate the verdaccio storage up front, but for other workflows we need
|
||||||
* to run the full local release process before running tests.
|
* to run the full local release process before running tests.
|
||||||
*/
|
*/
|
||||||
const requiresLocalRelease =
|
const requiresLocalRelease =
|
||||||
!process.env.NX_TASK_TARGET_TARGET?.startsWith('e2e-ci');
|
!process.env.NX_TASK_TARGET_TARGET?.startsWith('e2e-ci') &&
|
||||||
|
!process.env.NX_TASK_TARGET_TARGET?.startsWith('e2e-macos-local');
|
||||||
|
|
||||||
const listenAddress = 'localhost';
|
const listenAddress = 'localhost';
|
||||||
const port = process.env.NX_LOCAL_REGISTRY_PORT ?? '4873';
|
const port = process.env.NX_LOCAL_REGISTRY_PORT ?? '4873';
|
||||||
|
|||||||
5
nx.json
5
nx.json
@ -136,7 +136,10 @@
|
|||||||
"e2e-macos-local": {
|
"e2e-macos-local": {
|
||||||
"cache": true,
|
"cache": true,
|
||||||
"inputs": ["e2eInputs", "^production"],
|
"inputs": ["e2eInputs", "^production"],
|
||||||
"parallelism": false
|
"dependsOn": [
|
||||||
|
"@nx/nx-source:populate-local-registry-storage",
|
||||||
|
"@nx/nx-source:local-registry"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"e2e-macos-ci": {
|
"e2e-macos-ci": {
|
||||||
"inputs": ["e2eInputs", "^production"]
|
"inputs": ["e2eInputs", "^production"]
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxExpoRun",
|
"$id": "NxExpoRun",
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxExpoServe",
|
"$id": "NxExpoServe",
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxExpoStart",
|
"$id": "NxExpoStart",
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxReactNativeRunAndroid",
|
"$id": "NxReactNativeRunAndroid",
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxReactNativeRunIos",
|
"$id": "NxReactNativeRunIos",
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
|
"continuous": true,
|
||||||
"outputCapture": "direct-nodejs",
|
"outputCapture": "direct-nodejs",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"$id": "NxReactNativeStart",
|
"$id": "NxReactNativeStart",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user