50 lines
1.7 KiB
JSON

{
"name": "upgrade-native",
"factory": "./src/generators/upgrade-native/upgrade-native#reactNativeUpgradeNativeGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"cli": "nx",
"$id": "NxReactNativeUpgradeNativeConfigure",
"title": "React native upgrade native configuration",
"description": "Upgrade native iOS and Android code to latest.",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Application project name to upgrade native files.",
"$default": { "$source": "argv", "index": 0 },
"x-dropdown": "project"
},
"displayName": {
"description": "The display name to show in the application. Defaults to name.",
"type": "string"
},
"js": {
"type": "boolean",
"description": "Generate JavaScript files rather than TypeScript files",
"default": false
},
"e2eTestRunner": {
"description": "Adds the specified e2e test runner.",
"type": "string",
"enum": ["detox", "none"],
"default": "detox"
},
"install": {
"type": "boolean",
"description": "Runs `pod install` for native modules before building iOS app.",
"default": true,
"x-priority": "internal"
}
},
"required": ["name"],
"presets": []
},
"description": "Destructive command to upgrade native iOS and Android code to latest.",
"hidden": false,
"implementation": "/packages/react-native/src/generators/upgrade-native/upgrade-native#reactNativeUpgradeNativeGenerator.ts",
"aliases": [],
"path": "/packages/react-native/src/generators/upgrade-native/schema.json",
"type": "generator"
}