feat(cli): export vitest in /test sub path#205
Merged
Brooooooklyn merged 1 commit intomainfrom Sep 25, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds vitest export capability through a /test sub path in the CLI package, allowing users to import vitest testing utilities directly from @voidzero-dev/vite-plus/test.
- Moves test resolution logic from
test.tstoresolve-test.tsand replacestest.tswith vitest re-exports - Updates package.json to include a new
/testexport path - Updates build configuration to include the new test module and exclude vitest from bundling
Reviewed Changes
Copilot reviewed 7 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-workspace.yaml | Updates oxfmt version from 0.2.0 to 0.3.0 |
| packages/tools/src/tests/utils.spec.ts | Changes vitest import to use the new /test sub path |
| packages/cli/src/test.ts | Replaces test resolution function with vitest re-exports |
| packages/cli/src/resolve-test.ts | New file containing the moved test resolution logic |
| packages/cli/src/bin.ts | Updates imports to use new resolve-* file names |
| packages/cli/package.json | Adds /test export configuration |
| packages/cli/build.ts | Updates build to include test.ts and mark vitest as external |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ 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 👍.
58b04e5 to
ad52f67
Compare
fengmk2
approved these changes
Sep 25, 2025
Member
Author
Merge activity
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.