nestjs-gen
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -96,2 +96,5 @@ #!/usr/bin/env node | ||
outPathModel += '/' + o.modelDir; | ||
if (o.modelName.charAt(o.modelName.length-1) !== '/') { | ||
o.modelDir += '/'; | ||
} | ||
} else { | ||
@@ -98,0 +101,0 @@ o.modelDir = ''; |
{ | ||
"name": "nestjs-gen", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "NestJS model package generator", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -78,2 +78,3 @@ ## What This Is: | ||
## To Note: | ||
* Generated models will strip any trailing 's' in the given name argument, if one exists, unless you set the model class name explicitly with --model-name. | ||
* If you specify --repository or --crud, a model will automatically be generated. | ||
@@ -80,0 +81,0 @@ * You can specify --auth and `@Guard(<auth-guard-class>)` decorators will be added to the CRUD interfaces. |
19826
124
120