Open
Description
Problem
Currently, utoo lacks a command to inspect and analyze dependency trees. Implementing a ls command (similar to npm ls) would help developers debug dependency-related issues.
Solution
Key Requirements:
Mark Resolved Dependency Paths
Clearly indicate actual installed versions and their locations (especially useful for detecting version conflicts or unexpected resolutions).
Showcases Hoisting Scenarios
Highlight dependencies that are hoisted (lifted to the root node_modules for deduplication).
Optionally display nested dependencies to analyze structure.
Filter Specific Dependencies
Support filtering (e.g., utoo ls [dependency-name]) to focus on relevant packages.
utoo ls lodash # Shows only lodash and its dependents
Alternatives
No response
Importance
nice to have
Additional Information
No response