Skip to content

chore: upgrade vite-plus to 0.1.18-alpha.0#6

Draft
fengmk2 wants to merge 1 commit into
mainfrom
update-vite-plus-alpha-0.1.18-alpha.0
Draft

chore: upgrade vite-plus to 0.1.18-alpha.0#6
fengmk2 wants to merge 1 commit into
mainfrom
update-vite-plus-alpha-0.1.18-alpha.0

Conversation

@fengmk2
Copy link
Copy Markdown
Owner

@fengmk2 fengmk2 commented Apr 15, 2026

Upgrade vite-plus and related packages to 0.1.18-alpha.0 alpha version.

@fengmk2 fengmk2 self-assigned this Apr 15, 2026
Copy link
Copy Markdown

@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 the AGENTS.md documentation to clarify the usage of Vite+ built-in commands and adds a CI integration section, while also updating package versions in pnpm-workspace.yaml. Feedback suggests restoring the recommendation for vp check as a comprehensive validation tool and addresses a potential inconsistency regarding the oxlint-tsgolint configuration in the workspace.

Comment thread AGENTS.md
- **Use Vite+ wrappers for one-off binaries:** Use `vp dlx` instead of package-manager-specific `dlx`/`npx` commands.
- **Import JavaScript modules from `vite-plus`:** Instead of importing from `vite` or `vitest`, all modules should be imported from the project's `vite-plus` dependency. For example, `import { defineConfig } from 'vite-plus';` or `import { expect, test, vi } from 'vite-plus/test';`. You must not install `vitest` to import test utilities.
- **Static checks:** Prefer `vp check` as the default validation command. It runs formatting, linting, and type checks together, and `vp lint --type-aware` works when you need lint-only feedback.
- **Type-Aware Linting:** There is no need to install `oxlint-tsgolint`, `vp lint --type-aware` works out of the box.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The recommendation to prefer vp check as the default validation command was removed in this change. This command is valuable because it combines formatting, linting, and type checks into a single step, which is a best practice for agents to follow before submitting changes. Consider merging the new information about oxlint-tsgolint into the existing 'Static checks' section to preserve this guidance.

Suggested change
- **Type-Aware Linting:** There is no need to install `oxlint-tsgolint`, `vp lint --type-aware` works out of the box.
- **Static checks:** Prefer `vp check` as the default validation command. It runs formatting, linting, and type checks together. For type-aware linting, `vp lint --type-aware` works out of the box; there is no need to install `oxlint-tsgolint`.

Comment thread pnpm-workspace.yaml
Comment on lines +10 to +11
- oxlint-tsgolint
- "@oxlint-tsgolint/*"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

There is a potential inconsistency between the documentation in AGENTS.md (which states oxlint-tsgolint does not need to be installed) and its inclusion in the minimumReleaseAgeExclude list. If oxlint-tsgolint is not a direct dependency of any package in the workspace, it should be removed from this list to keep the configuration clean. If it is still required as a dependency, consider if it can be removed to align with the updated guidelines in AGENTS.md.

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.

1 participant