diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-08-21 15:23:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-21 15:23:32 -0700 |
commit | 48da3c17ea905f50b82948e6f94795e1589f852e (patch) | |
tree | e65d5da97ef0cd4b9f67972b8ba647420d39952e /cli/tools/registry/mod.rs | |
parent | 9aaad3064a412b24e88e308750e038d4e1df6f3c (diff) |
fix(add): Handle packages without root exports (#25102)
Fixes #24607.
This PR makes the logic that caches top level dependencies (things
present in import map) smarter, so we handle JSR dependencies without
root exports.
Diffstat (limited to 'cli/tools/registry/mod.rs')
-rw-r--r-- | cli/tools/registry/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tools/registry/mod.rs b/cli/tools/registry/mod.rs index d6e06fb58..ee3204dc7 100644 --- a/cli/tools/registry/mod.rs +++ b/cli/tools/registry/mod.rs @@ -52,6 +52,7 @@ use crate::util::display::human_size; mod api; mod auth; + mod diagnostics; mod graph; mod paths; @@ -64,6 +65,7 @@ mod unfurl; use auth::get_auth_method; use auth::AuthMethod; pub use pm::add; +pub use pm::cache_top_level_deps; pub use pm::remove; pub use pm::AddCommandName; use publish_order::PublishOrderGraph; |