1
0
mirror of https://github.com/angular/angular-cli.git synced 2025-06-02 03:12:30 +08:00
Paul Gschwendtner 9bc46197a8 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.
2025-01-23 15:27:55 +01:00

13 lines
670 B
Plaintext

# Yarn Berry doesn't check engines at all, so pnpm shouldn't either.
engine-strict = false
# Disabling pnpm [hoisting](https://pnpm.io/npmrc#hoist) by setting `hoist=false` is recommended on
# projects using rules_js so that pnpm outside of Bazel lays out a node_modules tree similar to what
# rules_js lays out under Bazel (without a hidden node_modules/.pnpm/node_modules)
hoist=false
# 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.
auto-install-peers=false