Skip to content

fix(global): prevent finding package.json for global outdated and why commands#1622

Open
liangmiQwQ wants to merge 9 commits into
voidzero-dev:mainfrom
liangmiQwQ:codex/fix-global-outdated-why-no-package-json
Open

fix(global): prevent finding package.json for global outdated and why commands#1622
liangmiQwQ wants to merge 9 commits into
voidzero-dev:mainfrom
liangmiQwQ:codex/fix-global-outdated-why-no-package-json

Conversation

@liangmiQwQ
Copy link
Copy Markdown
Contributor

@liangmiQwQ liangmiQwQ commented May 18, 2026

The current vp outdated -g and vp why -g use build_package_manager, which needs cwd to have a package.json file. Semantically speaking, global commands can run without local package.json

Similar to #1621, but for vp outdated -g and vp why -g commands

🤖 Generated with Codex

@netlify
Copy link
Copy Markdown

netlify Bot commented May 18, 2026

👷 Deploy Preview for viteplus-preview processing.

Name Link
🔨 Latest commit a2d616c
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a0cde9f6f6c850008b9961f

@liangmiQwQ liangmiQwQ changed the title fix global outdated and why without package json fix(global): prevent show errors for global outdated and why command May 18, 2026
@liangmiQwQ liangmiQwQ changed the title fix(global): prevent show errors for global outdated and why command fix(global): prevent show errors for global outdated and why commands May 18, 2026
@liangmiQwQ liangmiQwQ marked this pull request as ready for review May 18, 2026 22:36
@liangmiQwQ
Copy link
Copy Markdown
Contributor Author

@codex

@liangmiQwQ liangmiQwQ changed the title fix(global): prevent show errors for global outdated and why commands fix(global): prevent finding package.json for global outdated and why commands May 18, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 10a4c01b3a

ℹ️ 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".

Comment thread crates/vite_install/src/commands/why.rs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants