Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit f821859

Browse files
committed
fix: Add support auto create apps and libs with prefix "-ionic" "-web" "-nestjs"
1 parent 6569968 commit f821859

9 files changed

Lines changed: 8050 additions & 89 deletions

.gitignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,4 @@ node_modules
2323
/*.tgz
2424
/.travis.yml
2525

26-
/test/fixtures/new
27-
/test/fixtures/entity
28-
/test/fixtures/new-with-entity
29-
/test/fixtures/angular-new
30-
/test/fixtures/nestjs-entity
26+
/test/fixtures/generators

README.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ALIASES
7878
$ rucken ws
7979
```
8080

81-
_See code: [src/commands/generator-workspace.ts](https://github.com/rucken/cli/blob/v3.3.4/src/commands/generator-workspace.ts)_
81+
_See code: [src/commands/generator-workspace.ts](https://github.com/rucken/cli/blob/v4.0.0/src/commands/generator-workspace.ts)_
8282

8383
## `rucken generator-application [NAME]`
8484

@@ -112,7 +112,7 @@ ALIASES
112112
$ rucken app
113113
```
114114

115-
_See code: [src/commands/generator-application.ts](https://github.com/rucken/cli/blob/v3.3.4/src/commands/generator-application.ts)_
115+
_See code: [src/commands/generator-application.ts](https://github.com/rucken/cli/blob/v4.0.0/src/commands/generator-application.ts)_
116116

117117
## `rucken generator-entity [NAME]`
118118

@@ -134,6 +134,8 @@ OPTIONS
134134
components for editing data on the model and for a mobile frontend application on
135135
Angular7+ with Ionic4
136136
137+
--lib=lib The name of the library.
138+
137139
--nestjsLib=nestjsLib The name of the nestjs library.
138140
139141
--nestjsTemplate=nestjsTemplate [default: @rucken/schematics:rucken-entity-nestjs] The generator of the entity, the
@@ -152,7 +154,7 @@ ALIASES
152154
$ rucken entity
153155
```
154156

155-
_See code: [src/commands/generator-entity.ts](https://github.com/rucken/cli/blob/v3.3.4/src/commands/generator-entity.ts)_
157+
_See code: [src/commands/generator-entity.ts](https://github.com/rucken/cli/blob/v4.0.0/src/commands/generator-entity.ts)_
156158

157159
## `rucken generator-entity-to-application [NAME]`
158160

@@ -166,13 +168,16 @@ OPTIONS
166168
-h, --help show CLI help
167169
-t, --type=web|ionic|all Type(s) of applications.
168170
-w, --workspace=workspace The workspace directory name.
171+
--app=app The name of the application.
169172
--coreLib=coreLib The name of the core library with entity.
170173
--ionicApp=ionicApp The name of the ionic application.
171174
--ionicLib=ionicLib The name of the ionic library with entity.
172175
173176
--ionicTemplate=ionicTemplate [default: @rucken/schematics:rucken-entity-ionic-to-app] Binding components for editing
174177
an entity to a mobile frontend application on Angular7+ with Ionic4
175178
179+
--lib=lib The name of the library with entity.
180+
176181
--webApp=webApp The name of the web application.
177182
178183
--webLib=webLib The name of the web library with entity.
@@ -186,7 +191,7 @@ ALIASES
186191
$ rucken entity2app
187192
```
188193

189-
_See code: [src/commands/generator-entity-to-application.ts](https://github.com/rucken/cli/blob/v3.3.4/src/commands/generator-entity-to-application.ts)_
194+
_See code: [src/commands/generator-entity-to-application.ts](https://github.com/rucken/cli/blob/v4.0.0/src/commands/generator-entity-to-application.ts)_
190195

191196
## `rucken generator-library [NAME]`
192197

@@ -213,7 +218,7 @@ ALIASES
213218
$ rucken lib
214219
```
215220

216-
_See code: [src/commands/generator-library.ts](https://github.com/rucken/cli/blob/v3.3.4/src/commands/generator-library.ts)_
221+
_See code: [src/commands/generator-library.ts](https://github.com/rucken/cli/blob/v4.0.0/src/commands/generator-library.ts)_
217222

218223
## `rucken generator-library-to-application [NAME]`
219224

@@ -227,9 +232,11 @@ OPTIONS
227232
-h, --help show CLI help
228233
-t, --type=frontend|nestjs|all Type(s) of applications.
229234
-w, --workspace=workspace The workspace directory name.
230-
--frontendApp=frontendApp The name of the frontend frontend application.
235+
--app=app The name of the application.
236+
--frontendApp=frontendApp The name of the frontend application.
231237
--frontendLib=frontendLib The name of the frontend library.
232238
--frontendTemplate=frontendTemplate [default: @rucken/schematics:rucken-lib-to-app] Frontend library generator
239+
--lib=lib The name of the library.
233240
--nestjsApp=nestjsApp The name of the nestjs application.
234241
--nestjsLib=nestjsLib The name of the nestjs library.
235242
@@ -242,7 +249,7 @@ ALIASES
242249
$ rucken lib2app
243250
```
244251

245-
_See code: [src/commands/generator-library-to-application.ts](https://github.com/rucken/cli/blob/v3.3.4/src/commands/generator-library-to-application.ts)_
252+
_See code: [src/commands/generator-library-to-application.ts](https://github.com/rucken/cli/blob/v4.0.0/src/commands/generator-library-to-application.ts)_
246253

247254
<!-- generatorsstop -->
248255

@@ -268,7 +275,7 @@ OPTIONS
268275
-m, --mode=(dev|prod) [default: prod]
269276
```
270277

271-
_See code: [src/commands/config.ts](https://github.com/rucken/cli/blob/v3.3.4/src/commands/config.ts)_
278+
_See code: [src/commands/config.ts](https://github.com/rucken/cli/blob/v4.0.0/src/commands/config.ts)_
272279

273280
## `rucken help [COMMAND]`
274281

@@ -304,7 +311,7 @@ OPTIONS
304311
-i, --indexFileName=indexFileName [default: index.ts] output file
305312
```
306313

307-
_See code: [src/commands/make-ts-list.ts](https://github.com/rucken/cli/blob/v3.3.4/src/commands/make-ts-list.ts)_
314+
_See code: [src/commands/make-ts-list.ts](https://github.com/rucken/cli/blob/v4.0.0/src/commands/make-ts-list.ts)_
308315

309316
## `rucken prepare [FOLDER]`
310317

@@ -316,10 +323,10 @@ USAGE
316323
317324
OPTIONS
318325
-h, --help show CLI help
319-
-m, --mode=(dev|prod) [default: prod]
326+
-m, --mode=(dev|prod)
320327
```
321328

322-
_See code: [src/commands/prepare.ts](https://github.com/rucken/cli/blob/v3.3.4/src/commands/prepare.ts)_
329+
_See code: [src/commands/prepare.ts](https://github.com/rucken/cli/blob/v4.0.0/src/commands/prepare.ts)_
323330

324331
## `rucken translate [FOLDER]`
325332

@@ -338,7 +345,7 @@ OPTIONS
338345
-t, --templateName=templateName [default: template] name of template
339346
```
340347

341-
_See code: [src/commands/translate.ts](https://github.com/rucken/cli/blob/v3.3.4/src/commands/translate.ts)_
348+
_See code: [src/commands/translate.ts](https://github.com/rucken/cli/blob/v4.0.0/src/commands/translate.ts)_
342349

343350
## `rucken version-updater [FOLDER]`
344351

@@ -353,7 +360,7 @@ OPTIONS
353360
-r, --root=root [default: .] root project with package.json for get inforamtion about dependencies and it versions
354361
```
355362

356-
_See code: [src/commands/version-updater.ts](https://github.com/rucken/cli/blob/v3.3.4/src/commands/version-updater.ts)_
363+
_See code: [src/commands/version-updater.ts](https://github.com/rucken/cli/blob/v4.0.0/src/commands/version-updater.ts)_
357364
<!-- commandsstop -->
358365

359366
[travis-image]: https://travis-ci.org/rucken/cli.svg?branch=master

0 commit comments

Comments
 (0)