feat(cli): check managed global outdated packages#1659
Conversation
✅ Deploy Preview for viteplus-preview canceled.
|
…arallel-npm-view # Conflicts: # crates/vite_global_cli/src/shim/dispatch.rs
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f78fcfb73e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2f0959a422
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 48d693cdad
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Implemented the outdated part of #1656 by routing
vp outdated -gthrough Vite+'s managed global package metadata instead of delegating to the underlyingnpm outdated -gstore.This PR includes a refactor for global package commands. This is intentional, taking into account that commands like
outdatedandinstallhave many shared utils, putting all of them insideenvmodule will reduce maintainability.Also modify
vp update -gto reuse the utilities added in this PR.🤖 Generated with Codex