@nestjs/schematics
Advanced tools
Comparing version 6.9.0 to 6.9.1
@@ -9,3 +9,5 @@ "use strict"; | ||
options.name = core_1.strings.dasherize(options.name); | ||
const path = options.directory || options.name; | ||
const path = !options.directory || options.directory === 'undefined' | ||
? options.name | ||
: options.directory; | ||
options = transform(options); | ||
@@ -24,5 +26,6 @@ return schematics_1.mergeWith(generate(options, path)); | ||
target.version = !!target.version ? target.version : defaults_1.DEFAULT_VERSION; | ||
target.packageManager = !!target.packageManager | ||
? target.packageManager | ||
: 'npm'; | ||
target.packageManager = | ||
!target.packageManager || target.packageManager === 'undefined' | ||
? 'npm' | ||
: target.packageManager; | ||
target.dependencies = !!target.dependencies ? target.dependencies : ''; | ||
@@ -29,0 +32,0 @@ target.devDependencies = !!target.devDependencies |
{ | ||
"name": "@nestjs/schematics", | ||
"version": "6.9.0", | ||
"version": "6.9.1", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@schematics)", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138815
3588