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",
|
node_version = "10.9.0",
|
||||||
package_json = ["//:package.json"],
|
package_json = ["//:package.json"],
|
||||||
preserve_symlinks = True,
|
preserve_symlinks = True,
|
||||||
yarn_version = "1.9.2",
|
yarn_version = "1.12.1",
|
||||||
)
|
)
|
||||||
|
|
||||||
yarn_install(
|
yarn_install(
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.9.0 <11.0.0",
|
"node": ">=10.9.0 <11.0.0",
|
||||||
"yarn": ">=1.9.2 <2.0.0"
|
"yarn": ">=1.10.1 <1.13.0"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.9.0 <11.0.0",
|
"node": ">=10.9.0 <11.0.0",
|
||||||
"yarn": ">=1.9.2 <2.0.0"
|
"yarn": ">=1.10.1 <1.13.0"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|
|
@ -36,7 +36,7 @@ load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_reposi
|
||||||
check_bazel_version("0.17.0")
|
check_bazel_version("0.17.0")
|
||||||
node_repositories(
|
node_repositories(
|
||||||
node_version = "10.9.0",
|
node_version = "10.9.0",
|
||||||
yarn_version = "1.9.2",
|
yarn_version = "1.12.1",
|
||||||
)
|
)
|
||||||
|
|
||||||
yarn_install(
|
yarn_install(
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.9.0 <11.0.0",
|
"node": ">=10.9.0 <11.0.0",
|
||||||
"yarn": ">=1.9.2 <2.0.0"
|
"yarn": ">=1.10.1 <1.13.0"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -25,8 +25,8 @@ def rules_angular_dependencies():
|
||||||
_maybe(
|
_maybe(
|
||||||
http_archive,
|
http_archive,
|
||||||
name = "build_bazel_rules_nodejs",
|
name = "build_bazel_rules_nodejs",
|
||||||
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.15.3.zip",
|
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip",
|
||||||
strip_prefix = "rules_nodejs-0.15.3",
|
strip_prefix = "rules_nodejs-0.16.2",
|
||||||
)
|
)
|
||||||
|
|
||||||
_maybe(
|
_maybe(
|
||||||
|
|
|
@ -35,7 +35,7 @@ fi
|
||||||
#######################
|
#######################
|
||||||
|
|
||||||
setEnvVar NODE_VERSION 10.9.0
|
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 CHROMIUM_VERSION 561733 # Chrome 68 linux stable, see https://www.chromium.org/developers/calendar
|
||||||
setEnvVar CHROMEDRIVER_VERSION_ARG "--versions.chrome 2.41"
|
setEnvVar CHROMEDRIVER_VERSION_ARG "--versions.chrome 2.41"
|
||||||
setEnvVar SAUCE_CONNECT_VERSION 4.4.9
|
setEnvVar SAUCE_CONNECT_VERSION 4.4.9
|
||||||
|
|
Loading…
Reference in New Issue