mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -05:00

The `NpmPackageId` struct is being renamed to `NpmPackageNodeId`. In a future PR it will be moved down into only npm dependency resolution and a `NpmPackageId` struct will be introduced in `deno_graph` that only has the name and version of the package (no peer dependency identifier information). So a `NpmPackageReq` will map to an `NpmPackageId`, which will map to an `NpmPackageNodeId` in the npm resolution.
18 lines
507 B
Rust
18 lines
507 B
Rust
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
|
|
mod cache;
|
|
mod registry;
|
|
mod resolution;
|
|
mod resolvers;
|
|
mod tarball;
|
|
|
|
pub use cache::NpmCache;
|
|
#[cfg(test)]
|
|
pub use registry::NpmPackageVersionDistInfo;
|
|
pub use registry::NpmRegistryApi;
|
|
pub use registry::RealNpmRegistryApi;
|
|
pub use resolution::resolve_graph_npm_info;
|
|
pub use resolution::NpmPackageNodeId;
|
|
pub use resolution::NpmResolutionPackage;
|
|
pub use resolution::NpmResolutionSnapshot;
|
|
pub use resolvers::NpmPackageResolver;
|