From 34e4e52efe9a01e908c5d723d0b451c77cd4a95b Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Thu, 7 Oct 2021 21:55:43 -0400 Subject: [PATCH] Upgrade to yarn 3 --- scripts/npm_registry/yarn_registry_cleanup.sh | 6 +++--- scripts/npm_registry/yarn_registry_setup.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/npm_registry/yarn_registry_cleanup.sh b/scripts/npm_registry/yarn_registry_cleanup.sh index 38e6f1bc..6e5b25f9 100755 --- a/scripts/npm_registry/yarn_registry_cleanup.sh +++ b/scripts/npm_registry/yarn_registry_cleanup.sh @@ -2,11 +2,11 @@ NPM_REGISTRY_OVERRIDE="$1" -yarn config delete registry -yarn config delete strict-ssl +yarn config delete npmRegistryServer +yarn config delete enableStrictSsl # Replace registry in yarn.lock -default_yarn_registry=`yarn config get registry` +default_yarn_registry=`yarn config get npmRegistryServer` ui_plugin_repos=`rake update:print_engines | grep path: | cut -d: -f2` for repo in ${ui_plugin_repos} do diff --git a/scripts/npm_registry/yarn_registry_setup.sh b/scripts/npm_registry/yarn_registry_setup.sh index 1c409661..1341f48d 100755 --- a/scripts/npm_registry/yarn_registry_setup.sh +++ b/scripts/npm_registry/yarn_registry_setup.sh @@ -2,8 +2,8 @@ NPM_REGISTRY_OVERRIDE="$1" -yarn config set registry ${NPM_REGISTRY_OVERRIDE} -yarn config set strict-ssl false +yarn config set npmRegistryServer ${NPM_REGISTRY_OVERRIDE} +yarn config set enableStrictSsl false # Replace registry in existing yarn.lock ui_plugin_repos=`rake update:print_engines | grep path: | cut -d: -f2`