47 lines
1.6 KiB
JSON
47 lines
1.6 KiB
JSON
{
|
|
"name": "fix-configuration",
|
|
"factory": "./src/generators/convert-to-nx-project/convert-to-nx-project#convertToNxProjectGenerator",
|
|
"schema": {
|
|
"$schema": "http://json-schema.org/schema",
|
|
"$id": "SchematicsConvertToNxProject",
|
|
"title": "@nx/workspace:fix-configuration",
|
|
"description": "Migrates v1 config to v2 standalone configuration.",
|
|
"type": "object",
|
|
"cli": "nx",
|
|
"examples": [
|
|
{
|
|
"command": "nx g @nx/workspace:convert-to-nx-project --project my-feature-lib",
|
|
"description": "Convert the `my-feature-lib` project to use `project.json` file instead of `workspace.json`"
|
|
},
|
|
{
|
|
"command": "nx g @nx/workspace:convert-to-nx-project --all",
|
|
"description": "Convert all projects in `workspace.json` to separate `project.json` files"
|
|
}
|
|
],
|
|
"properties": {
|
|
"project": {
|
|
"description": "Convert a single project",
|
|
"type": "string"
|
|
},
|
|
"all": { "description": "Convert all projects", "type": "boolean" },
|
|
"reformat": {
|
|
"description": "Just reformats the configuration",
|
|
"type": "boolean"
|
|
},
|
|
"skipFormat": {
|
|
"description": "Skip formatting files",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"x-priority": "internal"
|
|
}
|
|
},
|
|
"presets": []
|
|
},
|
|
"aliases": ["convert-to-nx-project"],
|
|
"description": "Fixes projects configuration",
|
|
"implementation": "/packages/workspace/src/generators/convert-to-nx-project/convert-to-nx-project#convertToNxProjectGenerator.ts",
|
|
"hidden": false,
|
|
"path": "/packages/workspace/src/generators/convert-to-nx-project/schema.json",
|
|
"type": "generator"
|
|
}
|