From 5edd102f3f912a53c7bcad3b0fa4feb672ada323 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 29 Sep 2023 09:26:25 -0400 Subject: refactor(cli): make `CliNpmResolver` a trait (#20732) This makes `CliNpmResolver` a trait. The terminology used is: - **managed** - Deno manages the node_modules folder and does an auto-install (ex. `ManagedCliNpmResolver`) - **byonm** - "Bring your own node_modules" (ex. `ByonmCliNpmResolver`, which is in this PR, but unimplemented at the moment) Part of #18967 --- cli/tsc/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tsc') diff --git a/cli/tsc/mod.rs b/cli/tsc/mod.rs index 50b7dc9e4..cd3d9ecae 100644 --- a/cli/tsc/mod.rs +++ b/cli/tsc/mod.rs @@ -297,7 +297,7 @@ pub struct EmittedFile { #[derive(Debug)] pub struct RequestNpmState { pub node_resolver: Arc, - pub npm_resolver: Arc, + pub npm_resolver: Arc, } /// A structure representing a request to be sent to the tsc runtime. -- cgit v1.2.3