1 | {
|
2 | "name": "nx/workspace",
|
3 | "version": "0.1",
|
4 | "schematics": {
|
5 | "workspace": {
|
6 | "factory": "./src/generators/workspace/workspace#workspaceSchematic",
|
7 | "schema": "./src/generators/workspace/schema.json",
|
8 | "description": "Create an empty workspace.",
|
9 | "hidden": true
|
10 | },
|
11 |
|
12 | "preset": {
|
13 | "factory": "./src/generators/preset/preset#presetSchematic",
|
14 | "schema": "./src/generators/preset/schema.json",
|
15 | "description": "Create an application in an empty workspace.",
|
16 | "hidden": true
|
17 | },
|
18 |
|
19 | "move": {
|
20 | "factory": "./src/generators/move/move#moveSchematic",
|
21 | "schema": "./src/generators/move/schema.json",
|
22 | "aliases": ["mv"],
|
23 | "description": "Move an application or library to another folder."
|
24 | },
|
25 |
|
26 | "remove": {
|
27 | "factory": "./src/generators/remove/remove#removeSchematic",
|
28 | "schema": "./src/generators/remove/schema.json",
|
29 | "aliases": ["rm"],
|
30 | "description": "Remove an application or library."
|
31 | },
|
32 |
|
33 | "new": {
|
34 | "factory": "./src/generators/new/new#newSchematic",
|
35 | "schema": "./src/generators/new/schema.json",
|
36 | "description": "Create a workspace.",
|
37 | "hidden": true
|
38 | },
|
39 |
|
40 | "library": {
|
41 | "factory": "./src/generators/library/library#librarySchematic",
|
42 | "schema": "./src/generators/library/schema.json",
|
43 | "aliases": ["lib"],
|
44 | "x-type": "library",
|
45 | "description": "Create a library."
|
46 | },
|
47 |
|
48 | "workspace-generator": {
|
49 | "factory": "./src/generators/workspace-generator/workspace-generator",
|
50 | "schema": "./src/generators/workspace-generator/schema.json",
|
51 | "aliases": ["workspace-schematic"],
|
52 | "description": "Generates a workspace generator."
|
53 | },
|
54 |
|
55 | "run-commands": {
|
56 | "factory": "./src/generators/run-commands/run-commands#runCommandsSchematic",
|
57 | "schema": "./src/generators/run-commands/schema.json",
|
58 | "aliases": ["run-command", "target"],
|
59 | "description": "Generates a target to run any command in the terminal."
|
60 | },
|
61 |
|
62 | "convert-to-nx-project": {
|
63 | "factory": "./src/generators/convert-to-nx-project/convert-to-nx-project#convertToNxProjectSchematic",
|
64 | "schema": "./src/generators/convert-to-nx-project/schema.json",
|
65 | "description": "Moves a project's configuration outside of `workspace.json`."
|
66 | },
|
67 |
|
68 | "npm-package": {
|
69 | "factory": "./src/generators/npm-package/npm-package#npmPackageSchematic",
|
70 | "schema": "./src/generators/npm-package/schema.json",
|
71 | "description": "Create a minimal NPM package.",
|
72 | "x-type": "library"
|
73 | }
|
74 | },
|
75 | "generators": {
|
76 | "workspace": {
|
77 | "factory": "./src/generators/workspace/workspace#workspaceGenerator",
|
78 | "schema": "./src/generators/workspace/schema.json",
|
79 | "description": "Create an empty workspace.",
|
80 | "hidden": true
|
81 | },
|
82 |
|
83 | "preset": {
|
84 | "factory": "./src/generators/preset/preset#presetGenerator",
|
85 | "schema": "./src/generators/preset/schema.json",
|
86 | "description": "Create application in an empty workspace.",
|
87 | "hidden": true
|
88 | },
|
89 |
|
90 | "move": {
|
91 | "factory": "./src/generators/move/move#moveGenerator",
|
92 | "schema": "./src/generators/move/schema.json",
|
93 | "aliases": ["mv"],
|
94 | "description": "Move an application or library to another folder."
|
95 | },
|
96 |
|
97 | "remove": {
|
98 | "factory": "./src/generators/remove/remove#removeGenerator",
|
99 | "schema": "./src/generators/remove/schema.json",
|
100 | "aliases": ["rm"],
|
101 | "description": "Remove an application or library."
|
102 | },
|
103 |
|
104 | "new": {
|
105 | "factory": "./src/generators/new/new#newGenerator",
|
106 | "schema": "./src/generators/new/schema.json",
|
107 | "description": "Create a workspace.",
|
108 | "hidden": true
|
109 | },
|
110 |
|
111 | "library": {
|
112 | "factory": "./src/generators/library/library#libraryGenerator",
|
113 | "schema": "./src/generators/library/schema.json",
|
114 | "aliases": ["lib"],
|
115 | "x-type": "library",
|
116 | "description": "Create a library."
|
117 | },
|
118 |
|
119 | "workspace-generator": {
|
120 | "factory": "./src/generators/workspace-generator/workspace-generator",
|
121 | "schema": "./src/generators/workspace-generator/schema.json",
|
122 | "aliases": ["workspace-schematic"],
|
123 | "description": "Generates a workspace generator."
|
124 | },
|
125 |
|
126 | "run-commands": {
|
127 | "factory": "./src/generators/run-commands/run-commands#runCommandsGenerator",
|
128 | "schema": "./src/generators/run-commands/schema.json",
|
129 | "aliases": ["run-command", "target"],
|
130 | "description": "Generates a target to run any command in the terminal."
|
131 | },
|
132 |
|
133 | "convert-to-nx-project": {
|
134 | "factory": "./src/generators/convert-to-nx-project/convert-to-nx-project#convertToNxProjectGenerator",
|
135 | "schema": "./src/generators/convert-to-nx-project/schema.json",
|
136 | "description": "Moves a project's configuration outside of `workspace.json`."
|
137 | },
|
138 |
|
139 | "npm-package": {
|
140 | "factory": "./src/generators/npm-package/npm-package#npmPackageGenerator",
|
141 | "schema": "./src/generators/npm-package/schema.json",
|
142 | "description": "Create a minimal NPM package.",
|
143 | "x-type": "library"
|
144 | },
|
145 |
|
146 | "ci-workflow": {
|
147 | "factory": "./src/generators/ci-workflow/ci-workflow#ciWorkflowGenerator",
|
148 | "schema": "./src/generators/ci-workflow/schema.json",
|
149 | "description": "Generate a CI workflow."
|
150 | }
|
151 | }
|
152 | }
|