From 56cb8ac0c8d7d0c3f4b0dfcef8a1380e1c8e6864 Mon Sep 17 00:00:00 2001 From: "Francois B (Makoto)" Date: Thu, 19 Jul 2018 01:04:36 +0200 Subject: [PATCH] set yarn by default for angular cli is upd to new syntax --- repo_functions_ub1604.sh | 2 +- repo_functions_ub1804.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repo_functions_ub1604.sh b/repo_functions_ub1604.sh index d37f8b6..55c8279 100644 --- a/repo_functions_ub1604.sh +++ b/repo_functions_ub1604.sh @@ -1266,7 +1266,7 @@ angularcli;angularcli_PostTrtFct" # function angularcli_PostTrtFct () { 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" fi } diff --git a/repo_functions_ub1804.sh b/repo_functions_ub1804.sh index 0485cff..ff6398a 100644 --- a/repo_functions_ub1804.sh +++ b/repo_functions_ub1804.sh @@ -1082,7 +1082,7 @@ function dockerio_PostTrtFct () { # function angularcli_PostTrtFct () { 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" fi }