FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Dependency graph visualization for monorepos (like nx graph) · Issue #1182 · voidzero-dev/vite-plus · GitHub

Dependency graph visualization for monorepos (like nx graph) #1182

Description

Feature Request

Problem

While migrating TresJS (a monorepo with 15 workspace packages) to Vite+, running vp run build -r only picked up 9 of the 15 packages. There was no way to check which packages Vite+ actually sees in its dependency graph, making it hard to tell whether the missing packages were misconfigured, not recognized as part of the workspace, or just not connected in the dependency tree.

Without a way to visualize what Vite+ understands about the monorepo structure, debugging this kind of issue becomes trial and error.

Proposed Solution

Add a vp graph command (similar to nx graph) that shows the monorepo's dependency graph as Vite+ sees it.

Core features:

  1. Interactive web UI — opens a browser with a visual DAG of all workspace packages and their internal dependencies
  2. Filter by package — focus on a specific package to see its dependents/dependencies
  3. Affected view — highlight which packages are affected by changes
  4. Export options — JSON output for CI/tooling integration (vp graph --json)

Example (Nx reference)

nx graph opens an interactive browser UI showing:

  • All projects as nodes
  • Dependencies as directed edges
  • Filtering, searching, and grouping capabilities
  • "Affected" overlay showing what changed

Why

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL