nx/docs/generated/packages/react-native/generators/web-configuration.json
Emily Xiong b4aadccac8
fix(react-native): fix react native storybook for lib (#29210)
<!-- 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 https://github.com/nrwl/nx/issues/28802
2024-12-11 15:01:17 -05:00

51 lines
1.8 KiB
JSON

{
"name": "web-configuration",
"factory": "./src/generators/web-configuration/web-configuration#webConfigurationGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$id": "NxReactNativeWebConfiguration",
"description": "Setup web configuration to React Native apps using react-native-web.",
"title": "Nx React Native Web configuration",
"type": "object",
"properties": {
"project": {
"type": "string",
"aliases": ["name", "projectName"],
"description": "Project for which to generate web configuration.",
"$default": { "$source": "argv", "index": 0 },
"x-prompt": "For which project do you want to generate web configuration?",
"x-dropdown": "projects",
"x-priority": "important"
},
"skipFormat": {
"description": "Skip formatting files.",
"type": "boolean",
"default": false,
"x-priority": "internal"
},
"skipPackageJson": {
"description": "Do not add dependencies to `package.json`.",
"type": "boolean",
"default": false,
"x-priority": "internal"
},
"bundler": {
"description": "The bundler to use.",
"type": "string",
"enum": ["vite", "webpack"],
"x-prompt": "Which bundler do you want to use to build the application?",
"default": "vite",
"x-priority": "important"
}
},
"required": ["project", "bundler"],
"presets": []
},
"description": "Set up web configuration for a React Native app",
"implementation": "/packages/react-native/src/generators/web-configuration/web-configuration#webConfigurationGenerator.ts",
"aliases": [],
"hidden": false,
"path": "/packages/react-native/src/generators/web-configuration/schema.json",
"type": "generator"
}