8000 [Utoo PM] Support ls for Dependency Analysis (similar to npm ls) · Issue #1934 · umijs/mako · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Utoo PM] Support ls for Dependency Analysis (similar to npm ls) #1934
@elrrrrrrr

Description

@elrrrrrrr

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0