Nicholas Cunningham f9d461e663
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 #
2025-05-01 18:47:35 -04:00

47 lines
1.3 KiB
JSON

{
"name": "serve",
"implementation": "/packages/expo/src/executors/serve/serve.impl.ts",
"schema": {
"version": 2,
"continuous": true,
"outputCapture": "direct-nodejs",
"cli": "nx",
"$id": "NxExpoServe",
"$schema": "http://json-schema.org/schema",
"title": "Serve web app for Expo",
"description": "Packager Server target options.",
"type": "object",
"properties": {
"port": {
"type": "number",
"description": "Port to start the native Metro bundler on (does not apply to web or tunnel)",
"default": 4200,
"alias": "p"
},
"clear": {
"type": "boolean",
"description": "Clear the Metro bundler cache",
"alias": "c"
},
"maxWorkers": {
"type": "number",
"description": "Maximum number of tasks to allow Metro to spawn"
},
"dev": {
"type": "boolean",
"description": "Turn development mode on or off"
},
"minify": {
"type": "boolean",
"description": "Whether or not to minify code"
}
},
"presets": []
},
"description": "Serve up the Expo web app locally",
"aliases": [],
"hidden": false,
"path": "/packages/expo/src/executors/serve/schema.json",
"type": "executor"
}