nx/packages/react-native/generators.json
Leosvel Pérez Espinosa c92528f65d
feat(misc): remove derived generator paths (#27714)
<!-- 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 #

---------

Co-authored-by: Nicholas Cunningham <ndcunningham@gmail.com>
2024-09-23 09:19:42 -04:00

64 lines
2.9 KiB
JSON

{
"name": "Nx React Native",
"version": "0.1",
"extends": ["@nx/workspace"],
"generators": {
"init": {
"factory": "./src/generators/init/init#reactNativeInitGeneratorInternal",
"schema": "./src/generators/init/schema.json",
"description": "Initialize the `@nx/react-native` plugin.",
"hidden": true
},
"application": {
"factory": "./src/generators/application/application#reactNativeApplicationGeneratorInternal",
"schema": "./src/generators/application/schema.json",
"aliases": ["app"],
"x-type": "application",
"description": "Create a React Native application."
},
"library": {
"factory": "./src/generators/library/library#reactNativeLibraryGeneratorInternal",
"schema": "./src/generators/library/schema.json",
"aliases": ["lib"],
"x-type": "library",
"description": "Create a React Native library."
},
"component": {
"factory": "./src/generators/component/component",
"schema": "./src/generators/component/schema.json",
"description": "Create a React Native component.",
"aliases": ["c"]
},
"storybook-configuration": {
"factory": "./src/generators/storybook-configuration/configuration#storybookConfigurationGeneratorInternal",
"schema": "./src/generators/storybook-configuration/schema.json",
"description": "Set up Storybook for a React Native application or library."
},
"component-story": {
"factory": "./src/generators/component-story/component-story#componentStoryGenerator",
"schema": "./src/generators/component-story/schema.json",
"description": "Generate Storybook story for a React Native component."
},
"stories": {
"factory": "./src/generators/stories/stories#storiesGenerator",
"schema": "./src/generators/stories/schema.json",
"description": "Create stories for all components declared in an application or library."
},
"upgrade-native": {
"factory": "./src/generators/upgrade-native/upgrade-native#reactNativeUpgradeNativeGenerator",
"schema": "./src/generators/upgrade-native/schema.json",
"description": "Destructive command to upgrade native iOS and Android code to latest."
},
"web-configuration": {
"factory": "./src/generators/web-configuration/web-configuration#webConfigurationGenerator",
"schema": "./src/generators/web-configuration/schema.json",
"description": "Set up web configuration for a React Native app"
},
"convert-to-inferred": {
"factory": "./src/generators/convert-to-inferred/convert-to-inferred",
"schema": "./src/generators/convert-to-inferred/schema.json",
"description": "Convert existing React Native project(s) using `@nx/react-native:*` executors to use `@nx/react-native/plugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target."
}
}
}