build: update yarn version (#27193)
Some engineers were already on Yarn 0.10.x which was permitted by the range in our package.json#engines However this introduced 'integrity sha512' lines into the yarn.lock files. Then when engineers use yarn 0.9 (in particular, Bazel did this) then the lock files get tons of meaningless edits. We could force everyone back to yarn 0.9 but this commit chooses to instead advance everyone past 0.10 PR Close #27193
This commit is contained in:
parent
4390e10dfd
commit
026b7e34b3
|
@ -53,7 +53,7 @@ node_repositories(
|
|||
node_version = "10.9.0",
|
||||
package_json = ["//:package.json"],
|
||||
preserve_symlinks = True,
|
||||
yarn_version = "1.9.2",
|
||||
yarn_version = "1.12.1",
|
||||
)
|
||||
|
||||
yarn_install(
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": ">=10.9.0 <11.0.0",
|
||||
"yarn": ">=1.9.2 <2.0.0"
|
||||
"yarn": ">=1.10.1 <1.13.0"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": ">=10.9.0 <11.0.0",
|
||||
"yarn": ">=1.9.2 <2.0.0"
|
||||
"yarn": ">=1.10.1 <1.13.0"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
|
|
@ -36,7 +36,7 @@ load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_reposi
|
|||
check_bazel_version("0.17.0")
|
||||
node_repositories(
|
||||
node_version = "10.9.0",
|
||||
yarn_version = "1.9.2",
|
||||
yarn_version = "1.12.1",
|
||||
)
|
||||
|
||||
yarn_install(
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=10.9.0 <11.0.0",
|
||||
"yarn": ">=1.9.2 <2.0.0"
|
||||
"yarn": ">=1.10.1 <1.13.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -25,8 +25,8 @@ def rules_angular_dependencies():
|
|||
_maybe(
|
||||
http_archive,
|
||||
name = "build_bazel_rules_nodejs",
|
||||
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.15.3.zip",
|
||||
strip_prefix = "rules_nodejs-0.15.3",
|
||||
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip",
|
||||
strip_prefix = "rules_nodejs-0.16.2",
|
||||
)
|
||||
|
||||
_maybe(
|
||||
|
|
|
@ -35,7 +35,7 @@ fi
|
|||
#######################
|
||||
|
||||
setEnvVar NODE_VERSION 10.9.0
|
||||
setEnvVar YARN_VERSION 1.9.2
|
||||
setEnvVar YARN_VERSION 1.12.1
|
||||
setEnvVar CHROMIUM_VERSION 561733 # Chrome 68 linux stable, see https://www.chromium.org/developers/calendar
|
||||
setEnvVar CHROMEDRIVER_VERSION_ARG "--versions.chrome 2.41"
|
||||
setEnvVar SAUCE_CONNECT_VERSION 4.4.9
|
||||
|
|
Loading…
Reference in New Issue