fix: --modules-dir option should be allowed

close #2567
This commit is contained in:
Zoltan Kochan
2020-05-20 21:56:03 +03:00
parent 29d5cf93fc
commit 6cbf186769
3 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/plugin-commands-installation": patch
---
The add and install commands should accept setting the `modules-dir` setting.

View File

@@ -27,6 +27,7 @@ export function rcOptionsTypes () {
'lockfile-directory',
'lockfile-only',
'lockfile',
'modules-dir',
'network-concurrency',
'npmPath',
'package-import-method',

View File

@@ -28,6 +28,7 @@ export function rcOptionsTypes () {
'lockfile-directory',
'lockfile-only',
'lockfile',
'modules-dir',
'network-concurrency',
'package-import-method',
'pnpmfile',