Skip to content

Add dependency graph inspection - #18

Merged
LunaStev merged 1 commit into
wavefnd:masterfrom
LunaStev:feat/dependency-tree
Sep 18, 2026
Merged

LunaStev merged 1 commit into
wavefnd:masterfrom
LunaStev:feat/dependency-tree

Conversation

@LunaStev

Copy link
Copy Markdown
Member

Summary

  • add vex tree [--locked] [--offline]
  • show direct and transitive dependencies with path or Git source details
  • show short locked Git SHAs and collapse repeated subtrees with (*)
  • document the command and cover locked/offline graph output with integration tests

Why

Wave now has a complete package module contract and a broader target/tooling surface. Before building more package-manager workflows, Vex needs a reliable way for users and tools to inspect the exact dependency graph selected by vex.ws and vex.lock.

Behavior

  • resolves through the existing reproducible resolver policy
  • preserves the existing meanings of --locked and --offline
  • prints dependencies deterministically by package name
  • expands shared transitive dependencies once
  • does not expose raw wavec options

Validation

  • cargo fmt --check
  • cargo test --locked
  • cargo clippy --locked --all-targets -- -D warnings
  • cargo build --locked
  • python3 x.py check
  • cargo run --quiet -- tree --help

@LunaStev
LunaStev marked this pull request as ready for review September 18, 2026 03:44
@LunaStev
LunaStev merged commit 8c2d93a into wavefnd:master Sep 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant