@smartsoft001/cli
Advanced tools
Comparing version 0.0.22 to 0.0.23
{ | ||
"name": "@smartsoft001/cli", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"bin": { | ||
@@ -5,0 +5,0 @@ "smart": "smart.js" |
@@ -47,6 +47,6 @@ "use strict"; | ||
} | ||
function runSetNgConfig() { | ||
function runSetNgConfig(target) { | ||
log('Set NG config'); | ||
runCommand("ng config cli.defaultCollection @smartsoft001/schematics"); | ||
runCommand("ng add @smartsoft001/schematics"); | ||
runCommand("ng config cli.defaultCollection @smartsoft001/schematics", target); | ||
runCommand("ng add @smartsoft001/schematics", target); | ||
} | ||
@@ -72,3 +72,3 @@ function createNxWorkspace(name) { | ||
runInstallDevDeps(target); | ||
runSetNgConfig(); | ||
runSetNgConfig(target); | ||
}); | ||
@@ -75,0 +75,0 @@ } |
Sorry, the diff of this file is not supported yet
6864