diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-06-26 23:17:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-27 00:17:00 +0200 |
commit | 2a2ff96be13047cb50612fde0f12e5f6df374ad3 (patch) | |
tree | 655ec1d1308db13c1faa917fd02321ee30c85efe /cli/cache/mod.rs | |
parent | 0da01c0ca6b537f74be32126e567bdfc2c73ed16 (diff) |
fix(ext/node): discover .npmrc in user's homedir (#24021)
This commit adds discovery of `.npmrc` files in user's homedir.
This is not a perfect fix as it doesn't merge multiple `.npmrc` files
together as per https://github.com/denoland/deno/issues/23954
but allows to fallback if no `.npmrc` file is discovered in the project
root.
Diffstat (limited to 'cli/cache/mod.rs')
-rw-r--r-- | cli/cache/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/cache/mod.rs b/cli/cache/mod.rs index 64d046c15..3430f74f7 100644 --- a/cli/cache/mod.rs +++ b/cli/cache/mod.rs @@ -43,6 +43,7 @@ pub use caches::Caches; pub use check::TypeCheckCache; pub use code_cache::CodeCache; pub use common::FastInsecureHasher; +pub use deno_dir::dirs::home_dir; pub use deno_dir::DenoDir; pub use deno_dir::DenoDirProvider; pub use disk_cache::DiskCache; |