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`