Skip to content

Commit 5460e38

Browse files
authoredJul 5, 2022
Bazel config maintenance (elastic#135442)
* Bazel config maintenance - Removes node.js s390x - not a supported platform - Updates the list of ignored bazel folders - Updates yarn to 1.22.19, we're on a 2.5 year old version * bump yarn in package.json
1 parent 97670ad commit 5460e38

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed
 

‎.bazelignore

+10
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,26 @@
22
# Issues are opened for to include that feature but not available yet
33
# https://github.com/bazelbuild/bazel/issues/7093
44
# https://github.com/bazelbuild/bazel/issues/8106
5+
.buildkite
56
.ci
7+
.chromium
68
.git
79
.github
810
.idea
11+
.native_modules
912
.teamcity
1013
.yarn-local-mirror
14+
.vscode
15+
api_docs
1116
bazel-bin
1217
bazel-kibana
1318
bazel-out
1419
bazel-testlogs
1520
build
21+
data
22+
dev_docs
23+
docs
24+
legacy_rfcs
1625
node_modules
1726
target
27+
vars

‎WORKSPACE.bazel

+2-7
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,11 @@ http_archive(
2020
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install")
2121

2222
# Setup the Node.js toolchain for the architectures we want to support
23-
#
24-
# NOTE: darwin-arm64 is not being installed because bazel is not yet available on that architecture.
25-
# The PR for it was merged and should be available in the next release of bazel and bazelisk. As soon as they have it
26-
# we can update that rule.
2723
node_repositories(
2824
node_repositories = {
2925
"16.14.2-darwin_amd64": ("node-v16.14.2-darwin-x64.tar.gz", "node-v16.14.2-darwin-x64", "d3076ca7fcc7269c8ff9b03fe7d1c277d913a7e84a46a14eff4af7791ff9d055"),
3026
"16.14.2-darwin_arm64": ("node-v16.14.2-darwin-arm64.tar.gz", "node-v16.14.2-darwin-arm64", "a66d9217d2003bd416d3dd06dfd2c7a044c4c9ff2e43a27865790bd0d59c682d"),
3127
"16.14.2-linux_arm64": ("node-v16.14.2-linux-arm64.tar.xz", "node-v16.14.2-linux-arm64", "f7c5a573c06a520d6c2318f6ae204141b8420386553a692fc359f8ae3d88df96"),
32-
"16.14.2-linux_s390x": ("node-v16.14.2-linux-s390x.tar.xz", "node-v16.14.2-linux-s390x", "3197925919ca357e17a31132dc6ef4e5afae819fa09905cfe9f7ff7924a00bf5"),
3328
"16.14.2-linux_amd64": ("node-v16.14.2-linux-x64.tar.xz", "node-v16.14.2-linux-x64", "e40c6f81bfd078976d85296b5e657be19e06862497741ad82902d0704b34bb1b"),
3429
"16.14.2-windows_amd64": ("node-v16.14.2-win-x64.zip", "node-v16.14.2-win-x64", "4731da4fbb2015d414e871fa9118cabb643bdb6dbdc8a69a3ed563266ac93229"),
3530
},
@@ -38,9 +33,9 @@ node_repositories(
3833
"https://nodejs.org/dist/v{version}/{filename}",
3934
],
4035
yarn_repositories = {
41-
"1.21.1": ("yarn-v1.21.1.tar.gz", "yarn-v1.21.1", "d1d9f4a0f16f5ed484e814afeb98f39b82d4728c6c8beaafb5abc99c02db6674"),
36+
"1.22.19": ("yarn-v1.22.19.tar.gz", "yarn-v1.22.19", "732620bac8b1690d507274f025f3c6cfdc3627a84d9642e38a07452cc00e0f2e"),
4237
},
43-
yarn_version = "1.21.1",
38+
yarn_version = "1.22.19",
4439
yarn_urls = [
4540
"https://github.com/yarnpkg/yarn/releases/download/v{version}/{filename}",
4641
],

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
},
7171
"engines": {
7272
"node": "16.14.2",
73-
"yarn": "^1.21.1"
73+
"yarn": "^1.22.19"
7474
},
7575
"resolutions": {
7676
"**/@babel/runtime": "^7.17.9",

0 commit comments

Comments
 (0)
Please sign in to comment.