mirror of
https://github.com/denoland/deno
synced 2024-08-27 12:00:17 +00:00
![David Sherret](/assets/img/avatar_default.png)
This has been bothering me for a while and it became more painful while working on #18136 because injecting the shared progress bar became very verbose. Basically we should move the creation of all these npm structs up to a higher level. This is a stepping stone for a future refactor where we can improve how we create all our structs.
25 lines
688 B
Rust
25 lines
688 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;
|
|
#[cfg(test)]
|
|
pub use registry::NpmPackageVersionDistInfo;
|
|
pub use registry::NpmRegistryApi;
|
|
#[cfg(test)]
|
|
pub use registry::TestNpmRegistryApiInner;
|
|
pub use resolution::NpmPackageId;
|
|
pub use resolution::NpmResolution;
|
|
pub use resolution::NpmResolutionPackage;
|
|
pub use resolution::NpmResolutionSnapshot;
|
|
pub use resolvers::create_npm_fs_resolver;
|
|
pub use resolvers::NpmPackageResolver;
|
|
pub use resolvers::NpmProcessState;
|