Skip to content

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

@liangmiQwQ

Description

@liangmiQwQ

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

Metadata

Metadata

Assignees

Type

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions