nx/packages/react-native/generators.json
Colum Ferry e73a1411a0
feat(storybook)!: support storybook 9 (#31172)
## Current Behavior
We currently do not have support for Storybook 9, nor any migrations to
help users switch to it.


## Expected Behavior
Support Storybook 9 and add a migration for users to switch to v9

BREAKING CHANGE: Remove deprecated generators:
`@nx/storybook:cypress-project`,
`@nx/react-native:storybook-configuration`, `@nx/react-native:stories`,
`@nx/react-native:component-story`
2025-06-06 12:51:47 -04:00

49 lines
2.1 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"]
},
"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."
}
}
}