@nestjs/cli
Advanced tools
Comparing version 5.7.1 to 5.8.0
@@ -11,3 +11,6 @@ #!/usr/bin/env node | ||
commander.parse(process.argv); | ||
if (!program.args.length) { | ||
program.outputHelp(); | ||
} | ||
}; | ||
bootstrap(); |
@@ -17,3 +17,3 @@ "use strict"; | ||
program | ||
.command('generate <schematic> <name> [path]') | ||
.command('generate <schematic> [name] [path]') | ||
.alias('g') | ||
@@ -20,0 +20,0 @@ .description(this.buildDescription()) |
@@ -17,3 +17,3 @@ "use strict"; | ||
.alias('u') | ||
.description('Update @nestjs dependencies.') | ||
.description('Update Nest dependencies.') | ||
.option('-f, --force', 'Call for upgrading instead of updating.') | ||
@@ -20,0 +20,0 @@ .option('-t, --tag <tag>', 'Call for upgrading to latest | beta | rc | next tag.') |
@@ -24,3 +24,6 @@ "use strict"; | ||
]); | ||
return content ? JSON.parse(content) : defaults_1.defaultConfiguration; | ||
if (!content) { | ||
return defaults_1.defaultConfiguration; | ||
} | ||
return Object.assign({}, defaults_1.defaultConfiguration, JSON.parse(content)); | ||
}); | ||
@@ -27,0 +30,0 @@ } |
@@ -45,3 +45,3 @@ "use strict"; | ||
{ name: 'guard', alias: 'gu' }, | ||
{ name: 'interceptor', alias: 'i' }, | ||
{ name: 'interceptor', alias: 'in' }, | ||
{ name: 'interface', alias: 'interface' }, | ||
@@ -48,0 +48,0 @@ { name: 'middleware', alias: 'mi' }, |
{ | ||
"name": "@nestjs/cli", | ||
"version": "5.7.1", | ||
"version": "5.8.0", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@cli)", | ||
@@ -37,13 +37,14 @@ "publishConfig": { | ||
"dependencies": { | ||
"@angular-devkit/core": "7.1.2", | ||
"@angular-devkit/schematics": "7.1.2", | ||
"@angular-devkit/schematics-cli": "0.11.2", | ||
"@nestjs/schematics": "^5.11.2", | ||
"@angular-devkit/core": "7.2.2", | ||
"@angular-devkit/schematics": "7.2.2", | ||
"@angular-devkit/schematics-cli": "^0.12.2", | ||
"@nestjs/schematics": "^5.12.0", | ||
"chalk": "^2.4.1", | ||
"cli-table2": "^0.2.0", | ||
"commander": "^2.15.1", | ||
"commander": "^2.19.0", | ||
"inquirer": "^5.2.0", | ||
"node-emoji": "^1.8.1", | ||
"ora": "^2.1.0", | ||
"os-name": "^2.0.1" | ||
"os-name": "^2.0.1", | ||
"typescript": "^3.2.2" | ||
}, | ||
@@ -62,5 +63,4 @@ "devDependencies": { | ||
"ts-node": "^6.0.5", | ||
"tslint": "^5.11.0", | ||
"typescript": "^3.2.2" | ||
"tslint": "^5.11.0" | ||
} | ||
} |
82289
12
1826
12
+ Addedtypescript@^3.2.2
+ Added@angular-devkit/core@7.2.27.2.4(transitive)
+ Added@angular-devkit/schematics@7.2.27.2.4(transitive)
+ Added@angular-devkit/schematics-cli@0.12.4(transitive)
+ Added@schematics/schematics@0.12.4(transitive)
+ Addedansi-regex@4.1.1(transitive)
+ Addedchardet@0.7.0(transitive)
+ Addedexternal-editor@3.1.0(transitive)
+ Addedinquirer@6.2.1(transitive)
+ Addedstrip-ansi@5.2.0(transitive)
- Removed@angular-devkit/core@7.1.2(transitive)
- Removed@angular-devkit/schematics@7.1.2(transitive)
- Removed@angular-devkit/schematics-cli@0.11.2(transitive)
- Removed@schematics/schematics@0.11.2(transitive)
- Removedajv@6.5.3(transitive)
Updated@angular-devkit/core@7.2.2
Updated@nestjs/schematics@^5.12.0
Updatedcommander@^2.19.0