Skip to content

Commit

Permalink
Merge pull request #209 from Fryguy/yarn3
Browse files Browse the repository at this point in the history
Upgrade to yarn 3
  • Loading branch information
bdunne authored Oct 20, 2021
2 parents e979091 + 34e4e52 commit 20ea270
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions scripts/npm_registry/yarn_registry_cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/npm_registry/yarn_registry_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 20ea270

Please sign in to comment.