UNPKG

1.29 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/schema",
3 "$id": "NxWorkspaceRemove",
4 "cli": "nx",
5 "title": "Nx Remove",
6 "description": "Remove a project from the workspace.",
7 "type": "object",
8 "examples": [
9 {
10 "command": "nx g @nrwl/workspace:remove my-feature-lib",
11 "description": "Remove `my-feature-lib` from the workspace"
12 },
13 {
14 "command": "nx g @nrwl/workspace:remove my-feature-lib --forceRemove",
15 "description": "Force removal of `my-feature-lib` from the workspace"
16 }
17 ],
18 "properties": {
19 "projectName": {
20 "type": "string",
21 "alias": "project",
22 "description": "The name of the project to remove.",
23 "$default": {
24 "$source": "argv",
25 "index": 0
26 }
27 },
28 "forceRemove": {
29 "type": "boolean",
30 "aliases": ["force-remove"],
31 "description": "When `true`, forces removal even if the project is still in use.",
32 "default": false
33 },
34 "skipFormat": {
35 "type": "boolean",
36 "aliases": ["skip-format"],
37 "description": "Skip formatting files.",
38 "default": false,
39 "x-priority": "internal"
40 },
41 "importPath": {
42 "type": "string",
43 "description": "The library name used at creation time"
44 }
45 },
46 "required": ["projectName"]
47}