fix: don't extend NODE_PATH in command shims (#5290)

close #5285
close #5176
This commit is contained in:
Zoltan Kochan
2023-03-14 03:38:56 +02:00
committed by GitHub
parent 5c16743a4d
commit e505b58e33
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
---
"@pnpm/config": major
"pnpm": patch
---
Don't extend NODE_PATH in command shims [#5176](https://github.com/pnpm/pnpm/issues/5176).

View File

@@ -186,7 +186,7 @@ export async function getConfig (
color: 'auto',
'dedupe-peer-dependents': false,
'enable-modules-dir': true,
'extend-node-path': true,
'extend-node-path': false,
'fetch-retries': 2,
'fetch-retry-factor': 10,
'fetch-retry-maxtimeout': 60000,