Skip to content

Commit 4b12511

Browse files
josephperrottmhevery
authored andcommitted
build: bump yarn requirement to 1.17.3 (angular#32344)
PR Close angular#32344
1 parent a1e91b0 commit 4b12511

7 files changed

Lines changed: 16323 additions & 5295 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var_4: &init_environment
3636
# Overwrite the yarn installed in the docker container with our own version.
3737
command: |
3838
./.circleci/env.sh
39-
ourYarn=$(realpath ./third_party/github.com/yarnpkg/yarn/releases/download/v1.13.0/bin/yarn.js)
39+
ourYarn=$(realpath ./third_party/github.com/yarnpkg/yarn/releases/download/v1.17.3/bin/yarn.js)
4040
sudo chmod a+x $ourYarn
4141
sudo ln -fs $ourYarn /usr/local/bin/yarn
4242
echo "Yarn version: $(yarn --version)"

WORKSPACE

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ node_repositories(
6565
},
6666
node_version = "10.16.0",
6767
package_json = ["//:package.json"],
68+
yarn_repositories = {
69+
"1.17.3": ("yarn-v1.17.3.tar.gz", "yarn-v1.17.3", "e3835194409f1b3afa1c62ca82f561f1c29d26580c9e220c36866317e043c6f3"),
70+
},
6871
# yarn 1.13.0 under Bazel has a regression on Windows that causes build errors on rebuilds:
6972
# ```
7073
# ERROR: Source forest creation failed: C:/.../fyuc5c3n/execroot/angular/external (Directory not empty)
@@ -73,7 +76,7 @@ node_repositories(
7376
# It possible that versions of yarn past 1.13.0 do not have this issue, however, before
7477
# advancing this version we need to test manually on Windows that the above error does not
7578
# happen as the issue is not caught by CI.
76-
yarn_version = "1.12.1",
79+
yarn_version = "1.17.3",
7780
)
7881

7982
yarn_install(

aio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"//engines-comment": "Keep this in sync with ../package.json",
8181
"engines": {
8282
"node": ">=10.9.0 <13.0.0",
83-
"yarn": ">=1.12.1 <=1.18.0"
83+
"yarn": ">=1.17.3 <=1.18.0"
8484
},
8585
"private": true,
8686
"dependencies": {

aio/tools/examples/shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"engines": {
1414
"node": ">=10.9.0 <11.0.0",
15-
"yarn": ">=1.12.1 <=1.16.0"
15+
"yarn": ">=1.17.3 <=1.18.0"
1616
},
1717
"keywords": [],
1818
"author": "",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"//engines-comment": "Keep this in sync with aio/package.json",
1010
"engines": {
1111
"node": ">=10.9.0 <13.0.0",
12-
"yarn": ">=1.12.1 <=1.18.0"
12+
"yarn": ">=1.17.3 <=1.18.0"
1313
},
1414
"repository": {
1515
"type": "git",

third_party/github.com/yarnpkg/yarn/releases/download/v1.13.0/LICENSE renamed to third_party/github.com/yarnpkg/yarn/releases/download/v1.17.3/LICENSE

File renamed without changes.

0 commit comments

Comments
 (0)