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 — `vp why -g` and `vp outdated -g` should check global packages managed by Vite+ · Issue #1656 · voidzero-dev/vite-plus

vp why -g and vp outdated -g should check global packages managed by Vite+ #1656

New issue
Copy link
New issue
Copy link
Closed
Bug
#1720
Closed
vp why -g and vp outdated -g should check global packages managed by Vite+#1656
Bug
#1720
Copy link
Assignees
liangmiQwQ
Labels
pending triage
Milestone
Beta

Description

@liangmiQwQ
liangmiQwQ
opened on May 21, 2026
Issue body actions

Describe the bug

Ideally, all global pm commands in Vite+ like vp outdated -g, vp update -g, vp install -g, vp uninstall -g should be used to control packages inside ~/.vite-plus/packages.

However, vp outdated -g and vp why -g here just delegate the command to npm with a --global field, makes it show packages managed by the corresponding pm, not Vite+'s global packages.

It needs Vite+ to implement vp outdated -g and vp why -g here.

Reproduction

https://github.com/liang-demos/vp-global-outdated.git

Steps to reproduce

vp outdated -g

Validations

  • Read the Contributing Guidelines.
  • Check that there isn't already an issue for the same bug.
  • Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
  • The provided reproduction is a minimal reproducible example.
Reacted by Adrian-Baran-GY

Activity

  1. liangmiQwQ
    added
    pending triage
    on May 21, 2026
  2. liangmiQwQ
    added the
    Bug
    issue type on May 21, 2026
  3. fengmk2 commented on May 21, 2026

    @fengmk2
    fengmk2
    on May 21, 2026
    Member
    More actions

    @liangmiQwQ Are you willing to continue fixing such problems?

  4. liangmiQwQ commented on May 21, 2026

    @liangmiQwQ
    liangmiQwQ
    on May 21, 2026
    CollaboratorAuthor
    More actions

    Yeah

    Reacted by MK (fengmk2)
  5. fengmk2
    assigned
    liangmiQwQ
    on May 21, 2026
  6. liangmiQwQ commented on May 23, 2026

    @liangmiQwQ
    liangmiQwQ
    on May 23, 2026
    CollaboratorAuthor
    More actions

    vp outdated -g is implemented in #1659.

    However, I am a little hesitate about whether to add vp why -g. Semantically speaking, Vite+'s global packages are isolated under $VP_HOME/packages, means they won't share dependency graph. why normally explains why a dependency exists in a workspace or shared structure.

    What's more, I found that npm itself does not support global why commands, and neither does yarn. This can help reflect why -g doesn't seem to have much meaning. The missing npm why -g also makes implementation more difficult (we have to direct to package's node_module and let npm to analyze it as a workspace, then merge and modify npm's result into a big json and finally print it in a certain struct.)

    Based on that, I personally would prefer just remove vp why -g, or add a unsupported flag.

    What do you think of it? @fengmk2

    Reacted by Adrian Baran
  7. fengmk2
    added a commit that references this issue on May 26, 2026

    feat(cli): check managed global outdated packages (#1659)

    5b3a50f
  8. liangmiQwQ
    added a commit that references this issue on May 26, 2026

    feat(cli): check managed global outdated packages (voidzero-dev#1659)

    daa6bf3
  9. liangmiQwQ commented on May 30, 2026

    @liangmiQwQ
    liangmiQwQ
    on May 30, 2026
    CollaboratorAuthor
    More actions

    vp outdated -g is implemented in #1659.

    However, I am a little hesitate about whether to add vp why -g. Semantically speaking, Vite+'s global packages are isolated under $VP_HOME/packages, means they won't share dependency graph. why normally explains why a dependency exists in a workspace or shared structure.

    What's more, I found that npm itself does not support global why commands, and neither does yarn. This can help reflect why -g doesn't seem to have much meaning. The missing npm why -g also makes implementation more difficult (we have to direct to package's node_module and let npm to analyze it as a workspace, then merge and modify npm's result into a big json and finally print it in a certain struct.)

    Based on that, I personally would prefer just remove vp why -g, or add a unsupported flag.

    What do you think of it? @fengmk2

    @fengmk2 Sorry for pinging, but please take a look there when you are free, thanks a lot.

  10. fengmk2 commented on May 30, 2026

    @fengmk2
    fengmk2
    on May 30, 2026
    Member
    More actions

    @liangmiQwQ Agreed, vp why doesn't need to support the -g flag.

    Reacted by Liang and JongKyung Lee
  11. fengmk2
    added this to the Beta milestone on May 30, 2026
  12. fengmk2
    closed this as completedin #1720on May 31, 2026
  13. fengmk2
    added a commit that references this issue on May 31, 2026

    fix(cli): remove global why flag (#1720)

    This issue will close once commit d64f82f is merged into the 'main' branch.
    d64f82f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @liangmiQwQ
    liangmiQwQ

Labels

pending triage

Type

Bug

Fields

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

    Milestone

    • Beta

    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.