fix(cli): align local help with upstream tools - #2345
Conversation
- oxfmt: 0.61.0 -> 0.62.0 - oxlint: 1.76.0 -> 1.77.0 - @oxc-project/runtime: 0.142.0 -> 0.143.0 - @oxc-project/types: 0.142.0 -> 0.143.0 - oxc-minify: 0.142.0 -> 0.143.0 - oxc-parser: 0.142.0 -> 0.143.0 - oxc-transform: 0.142.0 -> 0.143.0 - @vitejs/devtools: 0.4.10 -> 0.4.12 Code changes: - packages/cli/rules/vite-tools.yml: collapse duplicate blank lines (formatter output)
✅ Deploy Preview for viteplus-preview canceled.
|
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5a1d89ab82
ℹ️ 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".
| { | ||
| label: '--coverage', | ||
| description: 'Enable coverage reporting', | ||
| description: "Enable coverage report. Use '--help --coverage' for more info.", |
There was a problem hiding this comment.
Remove unreachable Vitest deep-help hints
When users follow this new text with vp test --help --coverage, maybePrintCommandHelp treats any --help before -- as local help and returns before delegating, so Vitest never receives the option-specific help request; the command just reprints this static page. Please either pass --help --<topic> through for Vitest or remove these upstream deep-help hints from the Vite+ page.
Useful? React with 👍 / 👎.
Refs: #2330 (comment)
The local CLI tool-backed help paraphrases upstream option labels and descriptions, which can hide wording differences from the bundled tools.
This PR aligns every existing local help item with the wording rendered by the Vite, Vitest, Oxlint, Oxfmt, and tsdown versions bundled on
main. It also adds the upstream Oxlint “Allowing / Denying Multiple Lints” guidance requested in follow-up. It does not add command options or change the global CLI help.All existing items are still available in the underlying tools, so no outdated items were removed.
🤖 Generated with Codex