fix: don't read the .npmrc file that is outside the workspace

This commit is contained in:
Zoltan Kochan
2020-08-08 14:54:08 +03:00
parent aa21a2df38
commit 3f6d35997b
3 changed files with 10 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/config": patch
---
Don't read the `.npmrc` files that are outside of the current workspace.

View File

@@ -35,7 +35,7 @@
"@pnpm/error": "workspace:1.2.0",
"@pnpm/global-bin-dir": "workspace:^1.2.0",
"@pnpm/types": "workspace:6.2.0",
"@zkochan/npm-conf": "2.0.0",
"@zkochan/npm-conf": "2.0.1",
"camelcase": "^6.0.0",
"is-subdir": "^1.1.1",
"ramda": "^0.27.1",

8
pnpm-lock.yaml generated
View File

@@ -210,7 +210,7 @@ importers:
'@pnpm/error': 'link:../error'
'@pnpm/global-bin-dir': 'link:../global-bin-dir'
'@pnpm/types': 'link:../types'
'@zkochan/npm-conf': 2.0.0
'@zkochan/npm-conf': 2.0.1
camelcase: 6.0.0
is-subdir: 1.1.1
ramda: 0.27.1
@@ -231,7 +231,7 @@ importers:
'@types/mz': ^2.7.1
'@types/ramda': ^0.27.14
'@types/which': ^1.3.2
'@zkochan/npm-conf': 2.0.0
'@zkochan/npm-conf': 2.0.1
camelcase: ^6.0.0
is-subdir: ^1.1.1
mz: ^2.7.0
@@ -3968,14 +3968,14 @@ packages:
node: '>=8.15'
resolution:
integrity: sha512-pkwTuA8Cd301zhg0Gz35nJ2sxKhGr5lFKFI6UT9ISEedGSYzxATsFlCF41+i/0kZcnZTG1nNlR5XknkZBGryuw==
/@zkochan/npm-conf/2.0.0:
/@zkochan/npm-conf/2.0.1:
dependencies:
config-chain: 1.1.12
dev: false
engines:
node: '>=10'
resolution:
integrity: sha512-RMFanFCfD7KSqokE8DZV9Vx/WCqxp5Zfvco2oIBPv9PPa01Z61Gy6VwFxTNmszUWQpaeNvdZBJFdjtFcXUq8GA==
integrity: sha512-XbeSEsvGcvtgsPt3WxC88vFFqLpAOz610LRf+ztvuXaeUn/IHE3Wkzji0jQJahDl1+bBIeOoQJdHL0QjHIMjjw==
/@zkochan/npm-lifecycle/4.0.0:
dependencies:
byline: 5.0.0