mirror of
https://github.com/denoland/deno
synced 2024-08-27 12:00:17 +00:00
![David Sherret](/assets/img/avatar_default.png)
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
21 lines
571 B
Rust
21 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;
|