From cc406c8360b4ba559d7f13e14d2a32e1ab761b0d Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 19 May 2023 18:39:27 -0400 Subject: feat(vendor): support for npm specifiers (#19186) We never properly added support for this. This fixes vendoring when it has npm or node specifiers. Vendoring occurs by adding a `"nodeModulesDir": true` property to deno.json then it uses a local node_modules directory. This can be opted out by setting `"nodeModulesDir": false` or running with `--node-modules-dir=false`. Closes #18090 Closes #17210 Closes #17619 Closes #16778 --- cli/npm/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/npm/mod.rs') diff --git a/cli/npm/mod.rs b/cli/npm/mod.rs index 488f8eae6..5f875c743 100644 --- a/cli/npm/mod.rs +++ b/cli/npm/mod.rs @@ -14,4 +14,5 @@ pub use registry::CliNpmRegistryApi; pub use resolution::NpmResolution; pub use resolvers::create_npm_fs_resolver; pub use resolvers::CliNpmResolver; +pub use resolvers::NpmPackageFsResolver; pub use resolvers::NpmProcessState; -- cgit v1.2.3