mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
cc406c8360
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
18 lines
495 B
Rust
18 lines
495 B
Rust
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
|
|
mod cache;
|
|
mod installer;
|
|
mod registry;
|
|
mod resolution;
|
|
mod resolvers;
|
|
mod tarball;
|
|
|
|
pub use cache::should_sync_download;
|
|
pub use cache::NpmCache;
|
|
pub use installer::PackageJsonDepsInstaller;
|
|
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;
|