Skip to content

chore: vite-plus 0.1.13#704

Merged
fengmk2 merged 1 commit intomasterfrom
upgrade-vite-plus
Mar 20, 2026
Merged

chore: vite-plus 0.1.13#704
fengmk2 merged 1 commit intomasterfrom
upgrade-vite-plus

Conversation

@fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Mar 20, 2026

Summary

  • Update vite-plus and related packages from 0.1.12 to 0.1.13
  • Update @voidzero-dev/vite-plus-core and @voidzero-dev/vite-plus-test overrides to 0.1.13
  • CLAUDE.md refreshed by vp config

Test plan

  • vp install succeeds
  • vp --version confirms 0.1.13
  • CI passes

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation

    • Updated CLI command references and reorganized command groups for improved clarity
    • Revised common pitfalls section with updated usage guidance and examples
  • Chores

    • Updated development dependencies

Copilot AI review requested due to automatic review settings March 20, 2026 05:31
@coderabbitai
Copy link

coderabbitai bot commented Mar 20, 2026

📝 Walkthrough

Walkthrough

This PR updates documentation to reflect the vp CLI naming convention instead of vite, reorganizes command groups, and bumps vite-plus and vitest dependency versions from 0.1.12 to 0.1.13 with corresponding override alignment across package.json.

Changes

Cohort / File(s) Summary
CLI and Command Documentation
CLAUDE.md
Updated all command references from vite to vp CLI, reorganized command groups (removed lib/new, added check, exec, cache, pack, preview, upgrade), expanded dependency management sections, and refreshed "Common Pitfalls" guidance with vp-prefixed examples.
Dependency Version Updates
package.json
Bumped vite-plus and its vitest alias from ^0.1.12 to ^0.1.13, with aligned version updates in both root and pnpm.overrides sections.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

  • node-modules/urllib#680: Replaces vite with vp CLI in CLAUDE.md and bumps vite-plus/vitest versions and overrides in package.json
  • node-modules/urllib#689: Updates CLAUDE.md documentation for vp CLI usage and bumps vite-plus/vitest dependency versions
  • node-modules/urllib#659: Renames CLI usage from vite to vp and upgrades vite-plus version pinning

Poem

🐰 Hops with glee, the vp arrives,
No more vite in our CLI guides,
Versions bump from twelve to three,
Plus bumps its overrides with glee!
~Bunny 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: vite-plus 0.1.13' directly and specifically summarizes the main change: a dependency update to vite-plus version 0.1.13.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch upgrade-vite-plus
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs a routine version bump for the vite-plus toolchain to 0.1.13, along with its associated core and test packages. It also includes a significant update to the project's documentation, reflecting the change in the primary CLI command from vite to vp and introducing a more structured overview of available commands. This ensures the project remains current with the latest vite-plus features and provides up-to-date guidance for developers.

Highlights

  • Vite+ Version Update: Updated vite-plus and its core components (@voidzero-dev/vite-plus-core, @voidzero-dev/vite-plus-test) to version 0.1.13.
  • Documentation Refresh: Refreshed the CLAUDE.md documentation, transitioning the CLI command from vite to vp and reorganizing command categories.
  • Dependency Upgrade: Upgraded the cac dependency to version 7.0.0, which includes an updated Node.js engine requirement.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 20, 2026

Open in StackBlitz

npm i https://pkg.pr.new/node-modules/urllib@704

commit: 6dc7432

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​voidzero-dev/​vite-plus-test@​0.1.12 ⏵ 0.1.1377 +11007799 +1100
Updatedvite-plus@​0.1.12 ⏵ 0.1.1381 +1100100 +1100 +1100

View full report

@codecov
Copy link

codecov bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.77%. Comparing base (6083dc6) to head (6dc7432).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #704   +/-   ##
=======================================
  Coverage   92.77%   92.77%           
=======================================
  Files          10       10           
  Lines         747      747           
  Branches      233      233           
=======================================
  Hits          693      693           
  Misses         51       51           
  Partials        3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repository’s Vite+ toolchain dependencies to vite-plus 0.1.13 (including the @voidzero-dev/vite-plus-core / @voidzero-dev/vite-plus-test override pins) and refreshes the Vite+ contributor guidance in CLAUDE.md.

Changes:

  • Bump vite-plus and related Vite+ override packages from 0.1.12 to 0.1.13.
  • Regenerate pnpm-lock.yaml to reflect updated toolchain transitive dependencies.
  • Refresh the Vite+ workflow documentation in CLAUDE.md.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
pnpm-lock.yaml Updates lockfile to Vite+ 0.1.13 overrides and refreshed dependency graph.
package.json Bumps vite-plus + override pins to 0.1.13.
CLAUDE.md Updates Vite+ CLI and workflow guidance (now centered around vp).
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +159 to 163
- [ ] Run `vp install` after pulling remote changes and before getting started.
- [ ] Run `vp check` and `vp test` to validate changes.
<!--VITE PLUS END-->

<!--injected-by-vite-plus-v0.1.8-->
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

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

CLAUDE.md now has two Vite+ sections: one ending at <!--VITE PLUS END--> (line 161) and another injected section starting immediately after <!--injected-by-vite-plus-v0.1.8--> (line 163). The injected section contains different guidance (e.g. its “Running scripts” bullet differs), so readers may get conflicting instructions. Consider removing the duplicate section and keeping a single canonical Vite+ block (or ensure the injected block is the only one and is up to date).

Copilot uses AI. Check for mistakes.
Comment on lines 149 to +151
- **Using the package manager directly:** Do not use pnpm, npm, or Yarn directly. Vite+ can handle all package manager operations.
- **Always use Vite commands to run tools:** Don't attempt to run `vite vitest` or `vite oxlint`. They do not exist. Use `vite test` and `vite lint` instead.
- **Running scripts:** Vite+ commands take precedence over `package.json` scripts. If there is a `test` script defined in `scripts` that conflicts with the built-in `vite test` command, run it using `vite run test`.
- **Always use Vite commands to run tools:** Don't attempt to run `vp vitest` or `vp oxlint`. They do not exist. Use `vp test` and `vp lint` instead.
- **Running scripts:** Vite+ built-in commands (`vp dev`, `vp build`, `vp test`, etc.) always run the Vite+ built-in tool, not any `package.json` script of the same name. To run a custom script that shares a name with a built-in command, use `vp run <script>`. For example, if you have a custom `dev` script that runs multiple services concurrently, run it with `vp run dev`, not `vp dev` (which always starts Vite's dev server).
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

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

The updated “Common Pitfalls” guidance says not to use pnpm/npm/Yarn directly (line 149), but the earlier “Common Commands” section at the top of this document still instructs using pnpm install / pnpm test. Please align these sections (e.g., update the earlier commands to vp install / vp test, or clarify when direct pnpm usage is acceptable) to avoid contradictory contributor guidance.

Copilot uses AI. Check for mistakes.
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
CLAUDE.md (1)

86-161: ⚠️ Potential issue | 🟡 Minor

Consolidate to a single Vite+ guidance block.

The file contains two full Vite+ sections with overlapping content. Keeping one canonical section avoids drift and conflicting instructions for agents.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@CLAUDE.md` around lines 86 - 161, Remove the duplicate Vite+ guidance block
so only one canonical section remains: locate the two regions bounded by the
HTML markers <!--VITE PLUS START--> and <!--VITE PLUS END-->, keep the most
complete/correct block (preserving content like commands, pitfalls, import
examples and the Review Checklist), and delete the other redundant block so the
file contains a single Vite+ guidance section under those markers.
🧹 Nitpick comments (1)
package.json (1)

105-106: Consider adding a version-sync check in CI to prevent drift across these three locations.

These entries are currently aligned (^0.1.13), but since they appear in devDependencies (lines 105–106), overrides (lines 109–110), and pnpm.overrides (lines 124–125), a lightweight CI check will catch accidental desynchronization in future bumps.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` around lines 105 - 106, Add a lightweight CI check that
verifies the versions for "vite-plus" and "vitest"
(npm:`@voidzero-dev/vite-plus-test`) are identical across the three package.json
locations: devDependencies, overrides, and pnpm.overrides; implement this by
adding a small validation step (e.g., a Node/JS script or shell/JQ snippet
invoked in CI) that loads package.json, reads devDependencies["vite-plus"],
devDependencies["vitest" or alias], overrides[...] and pnpm.overrides[...] and
fails the job with a clear message if any of the three values differ so future
bumps cannot drift.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@CLAUDE.md`:
- Line 150: Replace the phrase "Always use Vite commands to run tools:" with
"Always use Vite+ commands to run tools:" to match the repo's `vp`/Vite+
terminology, and keep the examples that follow (`vp vitest`/`vp oxlint` -> `vp
test` and `vp lint`) unchanged; specifically edit the string "Always use Vite
commands to run tools:" so it reads "Always use Vite+ commands to run tools:"
wherever that sentence appears (the line that currently lists `vp vitest` and
`vp oxlint` should continue to be corrected to `vp test` and `vp lint` as
shown).

---

Outside diff comments:
In `@CLAUDE.md`:
- Around line 86-161: Remove the duplicate Vite+ guidance block so only one
canonical section remains: locate the two regions bounded by the HTML markers
<!--VITE PLUS START--> and <!--VITE PLUS END-->, keep the most complete/correct
block (preserving content like commands, pitfalls, import examples and the
Review Checklist), and delete the other redundant block so the file contains a
single Vite+ guidance section under those markers.

---

Nitpick comments:
In `@package.json`:
- Around line 105-106: Add a lightweight CI check that verifies the versions for
"vite-plus" and "vitest" (npm:`@voidzero-dev/vite-plus-test`) are identical across
the three package.json locations: devDependencies, overrides, and
pnpm.overrides; implement this by adding a small validation step (e.g., a
Node/JS script or shell/JQ snippet invoked in CI) that loads package.json, reads
devDependencies["vite-plus"], devDependencies["vitest" or alias], overrides[...]
and pnpm.overrides[...] and fails the job with a clear message if any of the
three values differ so future bumps cannot drift.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: fee31ed2-9072-4931-a8a5-99950d865d61

📥 Commits

Reviewing files that changed from the base of the PR and between 6083dc6 and 6dc7432.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • CLAUDE.md
  • package.json

- **Using the package manager directly:** Do not use pnpm, npm, or Yarn directly. Vite+ can handle all package manager operations.
- **Always use Vite commands to run tools:** Don't attempt to run `vite vitest` or `vite oxlint`. They do not exist. Use `vite test` and `vite lint` instead.
- **Running scripts:** Vite+ commands take precedence over `package.json` scripts. If there is a `test` script defined in `scripts` that conflicts with the built-in `vite test` command, run it using `vite run test`.
- **Always use Vite commands to run tools:** Don't attempt to run `vp vitest` or `vp oxlint`. They do not exist. Use `vp test` and `vp lint` instead.
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Use “Vite+ commands” wording for consistency.

“Always use Vite commands” conflicts with the rest of the page’s vp/Vite+ terminology.

Based on learnings, this repo standardizes on Vite+ (vp) workflows and commands.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@CLAUDE.md` at line 150, Replace the phrase "Always use Vite commands to run
tools:" with "Always use Vite+ commands to run tools:" to match the repo's
`vp`/Vite+ terminology, and keep the examples that follow (`vp vitest`/`vp
oxlint` -> `vp test` and `vp lint`) unchanged; specifically edit the string
"Always use Vite commands to run tools:" so it reads "Always use Vite+ commands
to run tools:" wherever that sentence appears (the line that currently lists `vp
vitest` and `vp oxlint` should continue to be corrected to `vp test` and `vp
lint` as shown).

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates vite-plus and its related packages to version 0.1.13. The changes in package.json and pnpm-lock.yaml are consistent and look correct. However, the automatic refresh of CLAUDE.md seems to have introduced duplicated content, which I've commented on.

- [ ] Run `vp check` and `vp test` to validate changes.
<!--VITE PLUS END-->

<!--injected-by-vite-plus-v0.1.8-->

Choose a reason for hiding this comment

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

medium

It appears the vp config command, which refreshed this file, has duplicated the 'Using Vite+' section. The duplicated content starts on the next line (164). Please remove the duplicated block from line 164 to 241 to keep the documentation clean.

@fengmk2 fengmk2 merged commit 5ba78e6 into master Mar 20, 2026
28 checks passed
@fengmk2 fengmk2 deleted the upgrade-vite-plus branch March 20, 2026 05:38
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