GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Dependency graph visualization for monorepos (like nx graph) · Issue #1182 · voidzero-dev/vite-plus

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

New issue
Copy link
New issue
Copy link
Open
Open
Dependency graph visualization for monorepos (like nx graph)#1182
Copy link
Assignees
wan9chi

Description

@alvarosabu
alvarosabu
opened on Mar 28, 2026
Issue body actions

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

  • Debugging missing/unrecognized packages in large monorepos is painful without this
  • Complements the existing topological task scheduling
  • Helps catch circular dependency issues early
  • Related to Consolidated output for recursive commands (like nx run-many) #1167 (consolidated output) and monorepo的情境下可以参考一下turborepo吗? #1098 (monorepo DX improvements)

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.
Reacted by Eli, CatBraaain, Filip Falcon, Patrick Ludewig and Bruno Antunes

Activity

  1. fengmk2
    assigned
    cpojer
    on Mar 28, 2026
  2. cpojer
    assigned
    wan9chi
    and unassigned
    cpojer
    on Mar 30, 2026
  3. cpojer commented on Mar 30, 2026

    @cpojer
    cpojer
    on Mar 30, 2026
    Member
    More actions

    cc @branchseer – I don't know what's the best solution like yet, but I do think we'll need this over time.

  4. wan9chi commented on Mar 31, 2026

    @wan9chi
    wan9chi
    on Mar 31, 2026
    Member
    More actions

    cc @branchseer – I don't know what's the best solution like yet, but I do think we'll need this over time.

    @cpojer I think both Interactive web UI and --json are useful: the first for humans and the second for AI (and also humans).

    We already have serialized graph in tests, so --json would be easy to implement. I suggest to start a RFC for --json first. Web UI still has a long way to go.

    Reacted by Christoph Nakazawa and Bruno Antunes
  5. fengmk2
    added this to the Beta milestone on May 18, 2026
  6. fengmk2
    modified the milestones: Beta, RC on Jul 6, 2026
  7. filipfalcon commented on Jul 26, 2026

    @filipfalcon
    filipfalcon
    on Jul 26, 2026
    More actions

    Replacing Nx with Vite+ in our monorepo, its package graph was the only capability with no Vite+ equivalent. Nothing in the CLI shows how workspace packages relate. Answering "what depends on what" in a Vite+ monorepo means reaching for another tool.

  8. fengmk2
    removed this from the RC milestone on Aug 10, 2026
  9. Crimson341 commented on Oct 12, 2026

    @Crimson341
    Crimson341
    on Oct 12, 2026
    Contributor
    More actions

    Prototype for the --json half: vp graph prints the workspace packages and the dependencies between them, using the same package graph vp run builds (vt_workspace). Text by default, --json for tools and agents. No web UI, filters or affected view yet.

    monorepo (.)
    @acme/web (apps/web)
      @acme/ui
      @acme/utils (dev)
    

    Global CLI only for now. Happy to change the JSON shape or fold this into vp run --plan (#2848) if you prefer. Branch: https://github.com/Crimson341/vite-plus/tree/feat/vp-graph

  10. wan9chi
    added 2 commits that reference this issue on Nov 5, 2026

    docs(rfc): JSON task graph, and dry-run plans with cache status (#933)

    56d38d2

    feat(run): print the task graph as JSON with `vp run --json` (#948)

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

Metadata

Metadata

Assignees

  • @wan9chi
    wan9chi

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.