This PR adds `convert-to-inferred` generators to convert React Native an Expo apps using executors to use the corresponding inference plugins. Also: 1. Fixes casing for `@nx/react-native/plugin` so it is correctly set as `upgradeTargetName` not `upgradeTargetname` 2. Migration for the above fix for existing projects
31 lines
1.3 KiB
JSON
31 lines
1.3 KiB
JSON
{
|
|
"name": "convert-to-inferred",
|
|
"factory": "./src/generators/convert-to-inferred/convert-to-inferred",
|
|
"schema": {
|
|
"$schema": "https://json-schema.org/schema",
|
|
"$id": "NxDetoxConvertToInferred",
|
|
"description": "Convert existing Detox project(s) using `@nx/detox:*` executors to use `@nx/detox/plugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target.",
|
|
"title": "Convert Detox project from executor to plugin",
|
|
"type": "object",
|
|
"properties": {
|
|
"project": {
|
|
"type": "string",
|
|
"description": "The project to convert from using the `@nx/detox:*` executors to use `@nx/detox/plugin`.",
|
|
"x-priority": "important"
|
|
},
|
|
"skipFormat": {
|
|
"type": "boolean",
|
|
"description": "Whether to format files at the end of the migration.",
|
|
"default": false
|
|
}
|
|
},
|
|
"presets": []
|
|
},
|
|
"description": "Convert existing Detox project(s) using `@nx/detox:*` executors to use `@nx/detox/plugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target.",
|
|
"implementation": "/packages/detox/src/generators/convert-to-inferred/convert-to-inferred.ts",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/detox/src/generators/convert-to-inferred/schema.json",
|
|
"type": "generator"
|
|
}
|