Skip to content

Commit 2311b69

Browse files
committed
build: re-add yarn engines field with correct version
The omission of this field causes `yarn bazel run @npm2//:sync` to fail with ``` ERROR: An error occurred during the fetch of repository 'npm2': Traceback (most recent call last): File "/usr/local/google/home/alanagius/.cache/bazel/_bazel_alanagius/2fa837e4c5ce941f68b762e5f8e7dc4d/external/aspect_rules_js/npm/private/npm_translate_lock.bzl", line 112, column 21, in _npm_translate_lock_impl fail(msg) Error in fail: INFO: pnpm-lock.yaml file updated. Please run your build again. ```
1 parent 9b182bc commit 2311b69

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Input hashes for repository rule npm_translate_lock(name = "npm2", pnpm_lock = "@//:pnpm-lock.yaml").
33
# This file should be checked into version control along with the pnpm-lock.yaml file.
44
.npmrc=-2023857461
5-
package.json=1044460161
6-
pnpm-lock.yaml=451366521
5+
package.json=1627560638
6+
pnpm-lock.yaml=-1807446371
77
pnpm-workspace.yaml=1711114604
88
yarn.lock=-892267542

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
},
3333
"engines": {
3434
"node": "^18.19.1 || ^20.11.1 || >=22.0.0",
35+
"yarn": "^4.5",
3536
"npm": "Please use yarn instead of NPM to install dependencies"
3637
},
3738
"author": "Angular Authors",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)