set yarn by default for angular cli is upd to new syntax
This commit is contained in:
parent
9576d58a51
commit
56cb8ac0c8
2 changed files with 2 additions and 2 deletions
|
@ -1266,7 +1266,7 @@ angularcli;angularcli_PostTrtFct"
|
||||||
#
|
#
|
||||||
function angularcli_PostTrtFct () {
|
function angularcli_PostTrtFct () {
|
||||||
if which yarn >/dev/null; then
|
if which yarn >/dev/null; then
|
||||||
runCmd "ng set --global packageManager=yarn"
|
runCmd "ng config -g cli.packageManager yarn"
|
||||||
"using yarn instead of nom for angular/cli"
|
"using yarn instead of nom for angular/cli"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -1082,7 +1082,7 @@ function dockerio_PostTrtFct () {
|
||||||
#
|
#
|
||||||
function angularcli_PostTrtFct () {
|
function angularcli_PostTrtFct () {
|
||||||
if which yarn >/dev/null; then
|
if which yarn >/dev/null; then
|
||||||
runCmd "ng set --global packageManager=yarn" \
|
runCmd "ng config -g cli.packageManager yarn" \
|
||||||
"using yarn instead of nom for angular/cli"
|
"using yarn instead of nom for angular/cli"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue