Skip to content

Commit dafc2db

Browse files
committed
fix: yarn binary is now run from separate @Yarn repo
fixes #3530
1 parent 475657c commit dafc2db

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/Built-ins.md

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/npm_install/npm_install.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ def _yarn_install_impl(repository_ctx):
881881
elif yarn_version == "classic":
882882
# Set frozen lockfile as default install to install the exact version from the yarn.lock
883883
# file. To perform an yarn install use the vendord yarn binary with:
884-
# `bazel run @nodejs_host//:yarn install` or `bazel run @nodejs_host//:yarn install -- -D <dep-name>`
884+
# `bazel run @yarn//:yarn install` or `bazel run @yarn//:yarn install -- -D <dep-name>`
885885
if repository_ctx.attr.frozen_lockfile:
886886
yarn_args.append("--frozen-lockfile")
887887

@@ -1025,8 +1025,8 @@ This flag enables an exact install of the version that is specified in the `yarn
10251025
file. This helps to have reproducible builds across builds.
10261026
10271027
To update a dependency or install a new one run the `yarn install` command with the
1028-
vendored yarn binary. `bazel run @nodejs_host//:yarn install`. You can pass the options like
1029-
`bazel run @nodejs_host//:yarn install -- -D <dep-name>`.
1028+
vendored yarn binary. `bazel run @yarn//:yarn install`. You can pass the options like
1029+
`bazel run @yarn//:yarn install -- -D <dep-name>`.
10301030
""",
10311031
),
10321032
"use_global_yarn_cache": attr.bool(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy