mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-24 07:38:12 -05:00
fix: auto-install-peers
This commit is contained in:
6
.changeset/poor-maps-help.md
Normal file
6
.changeset/poor-maps-help.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@pnpm/config": patch
|
||||
"pnpm": patch
|
||||
---
|
||||
|
||||
Setting the `auto-install-peers` to `true` should work.
|
||||
@@ -32,6 +32,7 @@ async function which (cmd: string) {
|
||||
}
|
||||
|
||||
export const types = Object.assign({
|
||||
'auto-install-peers': Boolean,
|
||||
bail: Boolean,
|
||||
'cache-dir': String,
|
||||
'child-concurrency': Number,
|
||||
@@ -164,6 +165,7 @@ export default async (
|
||||
}
|
||||
const rcOptionsTypes = { ...types, ...opts.rcOptionsTypes }
|
||||
const npmConfig = loadNpmConf(cliOptions, rcOptionsTypes, {
|
||||
'auto-install-peers': false,
|
||||
bail: true,
|
||||
color: 'auto',
|
||||
'enable-modules-dir': true,
|
||||
|
||||
Reference in New Issue
Block a user