From 959739f609dddacde3bbe9ecede2f409214fb34c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 23 May 2024 22:26:23 +0100 Subject: FUTURE: initial support for .npmrc file (#23560) This commit adds initial support for ".npmrc" files. Currently we only discover ".npmrc" files next to "package.json" files and discovering these files in user home dir is left for a follow up. This pass supports "_authToken" and "_auth" configuration for providing authentication. LSP support has been left for a follow up PR. Towards https://github.com/denoland/deno/issues/16105 --- cli/factory.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/factory.rs') diff --git a/cli/factory.rs b/cli/factory.rs index 8a9d20970..43486bca0 100644 --- a/cli/factory.rs +++ b/cli/factory.rs @@ -446,7 +446,7 @@ impl CliFactory { self.package_json_deps_provider().clone(), ), npm_system_info: self.options.npm_system_info(), - npm_registry_url: crate::args::npm_registry_url().to_owned(), + npmrc: self.options.npmrc().clone() }) }).await }.boxed_local()) -- cgit v1.2.3