Skip to content

Commit fece30a

Browse files
committed
build: do not auto install peer dependencies
Avoid pnpm auto-installing peer dependencies. We want to be explicit about our versions used for peer dependencies, avoiding potential mismatches. In addition, it ensures we can continue to rely on peer dependency placeholders substituted via Bazel.
1 parent bbbc1eb commit fece30a

File tree

3 files changed

+296
-340
lines changed

3 files changed

+296
-340
lines changed

.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# @generated
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.
4-
.npmrc=-2023857461
4+
.npmrc=-1406867100
55
package.json=688000741
66
packages/angular/cli/package.json=349838588
77
packages/angular/pwa/package.json=-1352285148
@@ -13,6 +13,6 @@ packages/angular_devkit/schematics/package.json=673943597
1313
packages/angular_devkit/schematics_cli/package.json=-356386813
1414
packages/ngtools/webpack/package.json=-942726894
1515
packages/schematics/angular/package.json=251715148
16-
pnpm-lock.yaml=926343104
16+
pnpm-lock.yaml=604009520
1717
pnpm-workspace.yaml=1732591250
1818
yarn.lock=969972397

.npmrc

+5
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ engine-strict = false
55
# projects using rules_js so that pnpm outside of Bazel lays out a node_modules tree similar to what
66
# rules_js lays out under Bazel (without a hidden node_modules/.pnpm/node_modules)
77
hoist=false
8+
9+
# Avoid pnpm auto-installing peer dependencies. We want to be explicit about our versions used
10+
# for peer dependencies, avoiding potential mismatches. In addition, it ensures we can continue
11+
# to rely on peer dependency placeholders substituted via Bazel.
12+
auto-install-peers=false

0 commit comments

Comments
 (0)