mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
refactor: extract out sloppy imports resolution from CLI crate (#25920)
This is slow progress towards creating a `deno_resolver` crate. Waiting on: * https://github.com/denoland/deno/pull/25918 * https://github.com/denoland/deno/pull/25916
This commit is contained in:
parent
3138478f66
commit
5faf769ac6
28 changed files with 665 additions and 527 deletions
27
resolvers/node/lib.rs
Normal file
27
resolvers/node/lib.rs
Normal file
|
@ -0,0 +1,27 @@
|
|||
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
#![deny(clippy::print_stderr)]
|
||||
#![deny(clippy::print_stdout)]
|
||||
|
||||
pub mod analyze;
|
||||
pub mod env;
|
||||
pub mod errors;
|
||||
mod npm;
|
||||
mod package_json;
|
||||
mod path;
|
||||
mod resolution;
|
||||
mod sync;
|
||||
|
||||
pub use deno_package_json::PackageJson;
|
||||
pub use npm::NpmResolver;
|
||||
pub use npm::NpmResolverRc;
|
||||
pub use package_json::load_pkg_json;
|
||||
pub use package_json::PackageJsonThreadLocalCache;
|
||||
pub use path::PathClean;
|
||||
pub use resolution::parse_npm_pkg_name;
|
||||
pub use resolution::NodeModuleKind;
|
||||
pub use resolution::NodeResolution;
|
||||
pub use resolution::NodeResolutionMode;
|
||||
pub use resolution::NodeResolver;
|
||||
pub use resolution::DEFAULT_CONDITIONS;
|
||||
pub use resolution::REQUIRE_CONDITIONS;
|
Loading…
Add table
Add a link
Reference in a new issue