UNPKG

991 BJSONView Raw
1{
2 "$schema": "http://json-schema.org/schema",
3 "$id": "SchematicsConvertToNxProject",
4 "title": "Create a custom target to run any command",
5 "description": "Create a custom target to run any command.",
6 "type": "object",
7 "cli": "nx",
8 "examples": [
9 {
10 "command": "nx g @nrwl/workspace:convert-to-nx-project --project my-feature-lib",
11 "description": "Convert the `my-feature-lib` project to use `project.json` file instead of `workspace.json`"
12 },
13 {
14 "command": "nx g @nrwl/workspace:convert-to-nx-project --all",
15 "description": "Convert all projects in `workspace.json` to separate `project.json` files"
16 }
17 ],
18 "properties": {
19 "project": {
20 "description": "Project name.",
21 "type": "string"
22 },
23 "all": {
24 "description": "Should every project be converted?",
25 "type": "boolean"
26 },
27 "skipFormat": {
28 "description": "Skip formatting files.",
29 "type": "boolean",
30 "default": false
31 }
32 }
33}