chore(deps): bump @vitejs/plugin-react 4.7.0 to 5.2.0 (replaces #16)#41
Merged
Merged
Conversation
Supersedes #16 — Dependabot PR blocked by branch-name governance. Re-created on a codex-compliant branch per docs/SECURITY.md. v5 is a major release but our usage is vanilla: vite.config.ts line 12 is a bare `plugins: [react()]` with no babel options, no include/ exclude patterns, no jsxImportSource override. The project already satisfies every v5 requirement: - Vite 7 (v5 requires >= 5) - React 19 (v5 supports 18/19) - Node 20 (v5 requires >= 20) - tsconfig uses the standard "react-jsx" transform Validated locally: - pnpm install resolves to @vitejs/plugin-react 5.2.0 - pnpm build: 638ms, dist/ produced with expected shape - pnpm test: 127/127 pass (Fast Refresh behavior unchanged) - pnpm typecheck: clean Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
What
Bump
@vitejs/plugin-reactfrom4.7.0to5.2.0inpackage.json+pnpm-lock.yaml.Why
Supersedes #16 — blocked by branch-name governance. Re-created on a codex-compliant branch per docs/SECURITY.md.
Major version bump (v4 → v5), but our usage surface is vanilla: vite.config.ts:12 is a bare
plugins: [react()]with no babel options, no include/exclude, no jsxImportSource override. The project already satisfies every v5 requirement:"react-jsx"transform"jsx": "react-jsx"Wave 4 (remainder, pre-Wave 5) of the audit remediation plan.
How
Single
package.jsonline change (^4.6.0→^5.2.0),pnpm installto re-resolve.Testing
pnpm install,pnpm build,pnpm test,pnpm typecheckpnpm installresolved cleanly to@vitejs/plugin-react 5.2.0; only dep that moved (per pnpm's devDependencies diff output)pnpm build→ 638ms, dist/ shape identical (same entry points, same chunk names/sizes)pnpm test→ 127/127 passpnpm typecheck→ cleanPerformance impact
Risk / Notes
@commitlint/cz-commitlint→inquireris pre-existing and unrelatedScreenshots (UI only)
Lockfile rationale (if lockfile changed)
pnpm-lock.yamlregenerated for the dep bump. 90 insertions / 53 deletions reflects only plugin-react's own resolution + a handful of its internal transitive updates; no other top-level deps moved.🤖 Generated with Claude Code