mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
5edd102f3f
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
20 lines
571 B
Rust
20 lines
571 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::NpmCache;
|
|
pub use cache::NpmCacheDir;
|
|
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::InnerCliNpmResolverRef;
|
|
pub use resolvers::ManagedCliNpmResolver;
|
|
pub use resolvers::NpmPackageFsResolver;
|
|
pub use resolvers::NpmProcessState;
|