forked from nrwl/nx
/
generators.json
221 lines (219 loc) · 9.59 KB
/
generators.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
{
"name": "Nx Angular",
"version": "0.1",
"extends": ["@schematics/angular", "@nrwl/workspace"],
"schematics": {
"add-linting": {
"factory": "./src/generators/add-linting/compat",
"schema": "./src/generators/add-linting/schema.json",
"description": "Adds linting configuration to an Angular project.",
"hidden": true
},
"application": {
"factory": "./src/generators/application/application.compat#applicationSchematic",
"schema": "./src/generators/application/schema.json",
"aliases": ["app"],
"x-type": "application",
"description": "Creates an Angular application."
},
"component-cypress-spec": {
"factory": "./src/generators/component-cypress-spec/compat",
"schema": "./src/generators/component-cypress-spec/schema.json",
"description": "Creates a Cypress spec for a UI component that has a story.",
"hidden": true
},
"component-story": {
"factory": "./src/generators/component-story/compat",
"schema": "./src/generators/component-story/schema.json",
"description": "Creates a stories.ts file for a component.",
"hidden": true
},
"convert-tslint-to-eslint": {
"factory": "./src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint#conversionSchematic",
"schema": "./src/generators/convert-tslint-to-eslint/schema.json",
"description": "Converts a project from TSLint to ESLint."
},
"downgrade-module": {
"factory": "./src/generators/downgrade-module/compat",
"schema": "./src/generators/downgrade-module/schema.json",
"description": "Sets up a Downgrade Module."
},
"init": {
"factory": "./src/generators/init/init.compat#initSchematic",
"schema": "./src/generators/init/schema.json",
"description": "Initializes the @nrwl/angular plugin.",
"aliases": ["ng-add"],
"hidden": true
},
"karma": {
"factory": "./src/generators/karma/compat",
"schema": "./src/generators/karma/schema.json",
"description": "Adds Karma configuration to a workspace."
},
"karma-project": {
"factory": "./src/generators/karma-project/compat",
"schema": "./src/generators/karma-project/schema.json",
"description": "Adds Karma configuration to a project."
},
"library": {
"factory": "./src/generators/library/library.compat#librarySchematic",
"schema": "./src/generators/library/schema.json",
"aliases": ["lib"],
"x-type": "library",
"description": "Creates an Angular library."
},
"move": {
"factory": "./src/generators/move/move#angularMoveSchematic",
"schema": "./src/generators/move/schema.json",
"aliases": ["mv"],
"description": "Moves an Angular application or library to another folder within the workspace and updates the project configuration."
},
"ngrx": {
"factory": "./src/generators/ngrx/compat",
"schema": "./src/generators/ngrx/schema.json",
"description": "Adds NgRx support to an application or library."
},
"stories": {
"factory": "./src/generators/stories/compat",
"schema": "./src/generators/stories/schema.json",
"description": "Creates stories/specs for all components declared in a project."
},
"storybook-configuration": {
"factory": "./src/generators/storybook-configuration/compat",
"schema": "./src/generators/storybook-configuration/schema.json",
"description": "Adds Storybook configuration to a project."
},
"storybook-migrate-defaults-5-to-6": {
"factory": "./src/generators/storybook-migrate-defaults-5-to-6/compat",
"schema": "./src/generators/storybook-migrate-defaults-5-to-6/schema.json",
"description": "Generates default Storybook configuration files using Storybook version >=6.x specs, for projects that already have Storybook instances and configurations of versions <6.x."
},
"storybook-migrate-stories-to-6-2": {
"factory": "./src/generators/storybook-migrate-stories-to-6-2/compat",
"schema": "./src/generators/storybook-migrate-stories-to-6-2/schema.json",
"description": "Migrates stories to match the new syntax in v6.2 where the component declaration should be in the default export."
},
"upgrade-module": {
"factory": "./src/generators/upgrade-module/compat",
"schema": "./src/generators/upgrade-module/schema.json",
"description": "Sets up an Upgrade Module."
},
"setup-mfe": {
"factory": "./src/generators/setup-mfe/compat",
"schema": "./src/generators/setup-mfe/schema.json",
"description": "Generate a Module Federation configuration for a given Angular application."
},
"web-worker": {
"factory": "./src/generators/web-worker/compat",
"schema": "./src/generators/web-worker/schema.json",
"description": "Creates a Web Worker."
}
},
"generators": {
"add-linting": {
"factory": "./src/generators/add-linting/add-linting",
"schema": "./src/generators/add-linting/schema.json",
"description": "Adds linting configuration to an Angular project.",
"hidden": true
},
"application": {
"factory": "./src/generators/application/application",
"schema": "./src/generators/application/schema.json",
"aliases": ["app"],
"x-type": "application",
"description": "Creates an Angular application."
},
"setup-mfe": {
"factory": "./src/generators/setup-mfe/setup-mfe",
"schema": "./src/generators/setup-mfe/schema.json",
"description": "Generate a Module Federation configuration for a given Angular application."
},
"component-cypress-spec": {
"factory": "./src/generators/component-cypress-spec/component-cypress-spec",
"schema": "./src/generators/component-cypress-spec/schema.json",
"description": "Creates a Cypress spec for a UI component that has a story.",
"hidden": true
},
"component-story": {
"factory": "./src/generators/component-story/component-story",
"schema": "./src/generators/component-story/schema.json",
"description": "Creates a stories.ts file for a component.",
"hidden": true
},
"convert-tslint-to-eslint": {
"factory": "./src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint#conversionGenerator",
"schema": "./src/generators/convert-tslint-to-eslint/schema.json",
"description": "Converts a project from TSLint to ESLint."
},
"downgrade-module": {
"factory": "./src/generators/downgrade-module/downgrade-module",
"schema": "./src/generators/downgrade-module/schema.json",
"description": "Sets up a Downgrade Module."
},
"init": {
"factory": "./src/generators/init/init",
"schema": "./src/generators/init/schema.json",
"description": "Initializes the @nrwl/angular plugin.",
"aliases": ["ng-add"],
"hidden": true
},
"karma": {
"factory": "./src/generators/karma/karma",
"schema": "./src/generators/karma/schema.json",
"description": "Adds Karma configuration to a workspace."
},
"karma-project": {
"factory": "./src/generators/karma-project/karma-project",
"schema": "./src/generators/karma-project/schema.json",
"description": "Adds Karma configuration to a project."
},
"library": {
"factory": "./src/generators/library/library",
"schema": "./src/generators/library/schema.json",
"aliases": ["lib"],
"x-type": "library",
"description": "Creates an Angular library."
},
"move": {
"factory": "./src/generators/move/move#angularMoveGenerator",
"schema": "./src/generators/move/schema.json",
"aliases": ["mv"],
"description": "Moves an Angular application or library to another folder within the workspace and updates the project configuration."
},
"ngrx": {
"factory": "./src/generators/ngrx/ngrx",
"schema": "./src/generators/ngrx/schema.json",
"description": "Adds NgRx support to an application or library."
},
"stories": {
"factory": "./src/generators/stories/stories",
"schema": "./src/generators/stories/schema.json",
"description": "Creates stories/specs for all components declared in a project."
},
"storybook-configuration": {
"factory": "./src/generators/storybook-configuration/storybook-configuration",
"schema": "./src/generators/storybook-configuration/schema.json",
"description": "Adds Storybook configuration to a project."
},
"storybook-migrate-defaults-5-to-6": {
"factory": "./src/generators/storybook-migrate-defaults-5-to-6/storybook-migrate-defaults-5-to-6",
"schema": "./src/generators/storybook-migrate-defaults-5-to-6/schema.json",
"description": "Generates default Storybook configuration files using Storybook version >=6.x specs, for projects that already have Storybook instances and configurations of versions <6.x."
},
"storybook-migrate-stories-to-6-2": {
"factory": "./src/generators/storybook-migrate-stories-to-6-2/migrate-stories-to-6-2",
"schema": "./src/generators/storybook-migrate-stories-to-6-2/schema.json",
"description": "Migrates stories to match the new syntax in v6.2 where the component declaration should be in the default export."
},
"upgrade-module": {
"factory": "./src/generators/upgrade-module/upgrade-module",
"schema": "./src/generators/upgrade-module/schema.json",
"description": "Sets up an Upgrade Module."
},
"web-worker": {
"factory": "./src/generators/web-worker/web-worker",
"schema": "./src/generators/web-worker/schema.json",
"description": "Creates a Web Worker."
}
}
}