Skip to content

Commit 9bc4619

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 f5dc745 commit 9bc4619

File tree

3 files changed

+296
-259
lines changed

3 files changed

+296
-259
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=52016778
66
packages/angular/cli/package.json=-1878910022
77
packages/angular/pwa/package.json=1108903917
@@ -13,6 +13,6 @@ packages/angular_devkit/schematics/package.json=673943597
1313
packages/angular_devkit/schematics_cli/package.json=-1663529211
1414
packages/ngtools/webpack/package.json=1463215526
1515
packages/schematics/angular/package.json=251715148
16-
pnpm-lock.yaml=569014751
16+
pnpm-lock.yaml=836728353
1717
pnpm-workspace.yaml=1732591250
1818
yarn.lock=1005429013

.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)