mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
refactor(npm): push npm struct creation to a higher level (#18139)
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.
This commit is contained in:
parent
8db853514c
commit
bcb6ee9d08
15 changed files with 178 additions and 136 deletions
|
@ -19,5 +19,6 @@ 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue