Skip to content

Commit

Permalink
chore: update defaults to latest node/yarn versions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Aug 13, 2021
1 parent 211c404 commit 804e55f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/Built-ins.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Defaults to `["https://nodejs.org/dist/v{version}/{filename}"]`

(*String*): the specific version of NodeJS to install or, if vendored_node is specified, the vendored version of node

Defaults to `"14.17.1"`
Defaults to `"14.17.5"`

<h4 id="node_repositories-package_json">package_json</h4>

Expand Down Expand Up @@ -240,7 +240,7 @@ Defaults to `["https://github.com/yarnpkg/yarn/releases/download/v{version}/{fil

(*String*): the specific version of Yarn to install

Defaults to `"1.19.1"`
Defaults to `"1.22.11"`


## nodejs_binary
Expand Down
6 changes: 3 additions & 3 deletions internal/node/node_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ load("//internal/node:node_versions.bzl", "NODE_VERSIONS")
load("//third_party/github.com/bazelbuild/bazel-skylib:lib/paths.bzl", "paths")
load("//toolchains/node:node_toolchain_configure.bzl", "node_toolchain_configure")

_DEFAULT_NODE_VERSION = "14.17.1"
_DEFAULT_NODE_VERSION = "14.17.5"

# @unsorted-dict-items
_YARN_VERSIONS = {
Expand All @@ -39,7 +39,7 @@ _YARN_VERSIONS = {
"1.19.1": ("yarn-v1.19.1.tar.gz", "yarn-v1.19.1", "34293da6266f2aae9690d59c2d764056053ff7eebc56b80b8df05010c3da9343"),
"1.22.4": ("yarn-v1.22.4.tar.gz", "yarn-v1.22.4", "bc5316aa110b2f564a71a3d6e235be55b98714660870c5b6b2d2d3f12587fb58"),
"1.22.10": ("yarn-v1.22.10.tar.gz", "yarn-v1.22.10", "7e433d4a77e2c79e6a7ae4866782608a8e8bcad3ec6783580577c59538381a6e"),
# When adding a new version. please update /docs/install.md
"1.22.11": ("yarn-v1.22.11.tar.gz", "yarn-v1.22.11", "2c320de14a6014f62d29c34fec78fdbb0bc71c9ccba48ed0668de452c1f5fe6c"),
}

_DOC = """To be run in user's WORKSPACE to install rules_nodejs dependencies.
Expand Down Expand Up @@ -231,7 +231,7 @@ If this list is empty, we won't download yarn at all.
),
"yarn_version": attr.string(
doc = "the specific version of Yarn to install",
default = "1.19.1",
default = "1.22.11",
),
}

Expand Down

0 comments on commit 804e55f

Please sign in to comment.