mirror of
https://github.com/angular/angular-cli.git
synced 2025-06-02 03:12:30 +08:00
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.
13 lines
670 B
Plaintext
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
|