diff --git a/.circleci/env.sh b/.circleci/env.sh index 2de5b8a8bb..ea8772a03b 100755 --- a/.circleci/env.sh +++ b/.circleci/env.sh @@ -65,7 +65,7 @@ setPublicVar SAUCE_READY_FILE_TIMEOUT 120 #################################################################################################### # Define our own yarn command for CircleCI. #################################################################################################### -echo "function yarn () { /usr/bin/env node $projectDir/third_party/github.com/yarnpkg/yarn/releases/yarn-1.13.0.js \"\$@\"; }" >> $BASH_ENV; +echo "function yarn () { /usr/bin/env node $projectDir/third_party/github.com/yarnpkg/yarn/releases/download/v1.13.0/bin/yarn.js \"\$@\"; }" >> $BASH_ENV; echo "export -f yarn;" >> $BASH_ENV; diff --git a/WORKSPACE b/WORKSPACE index 214ef7a076..c0a8f312d4 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -48,7 +48,7 @@ node_repositories( node_version = "10.9.0", package_json = ["//:package.json"], preserve_symlinks = True, - yarn_version = "1.12.1", + vendored_yarn = "@angular//third_party/github.com/yarnpkg/yarn/releases/download:v1.13.0", ) # Setup the angular toolchain which installs npm dependencies into @ngdeps diff --git a/third_party/github.com/yarnpkg/yarn/releases/BUILD.bazel b/third_party/github.com/yarnpkg/yarn/releases/BUILD.bazel index 6c9c672a2b..f6d5e39d78 100644 --- a/third_party/github.com/yarnpkg/yarn/releases/BUILD.bazel +++ b/third_party/github.com/yarnpkg/yarn/releases/BUILD.bazel @@ -1,2 +1,2 @@ -# Fetched from https://github.com/yarnpkg/yarn/releases/download/v1.13.0/yarn-1.13.0.js +# Fetched from https://github.com/yarnpkg/yarn/releases/download/v1.13.0/yarn-v1.13.0.tar.gz licenses(["notice"]) diff --git a/third_party/github.com/yarnpkg/yarn/releases/LICENSE b/third_party/github.com/yarnpkg/yarn/releases/download/v1.13.0/LICENSE similarity index 100% rename from third_party/github.com/yarnpkg/yarn/releases/LICENSE rename to third_party/github.com/yarnpkg/yarn/releases/download/v1.13.0/LICENSE diff --git a/third_party/github.com/yarnpkg/yarn/releases/yarn-1.13.0.js b/third_party/github.com/yarnpkg/yarn/releases/download/v1.13.0/bin/yarn.js similarity index 100% rename from third_party/github.com/yarnpkg/yarn/releases/yarn-1.13.0.js rename to third_party/github.com/yarnpkg/yarn/releases/download/v1.13.0/bin/yarn.js