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

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

No files matched your search

+6
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).
+1 -1
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,