chore(deps): upgrade to Vite 8 and @vitejs/plugin-react 6 - #13
Open
DevRyuki wants to merge 1 commit into
Open
Conversation
- vite ^7.3.6 -> ^8.2.2 - @vitejs/plugin-react ^4.6.0 -> ^6.1.0 Vite 8 replaces esbuild and Rollup with Rolldown and Oxc. This project is unaffected by the config-level breaking changes: vite.config.ts only sets `plugins: [react()]` plus the Tauri server options, and never touches build.rollupOptions, optimizeDeps.esbuildOptions or the esbuild option. plugin-react 6 drops Babel entirely, which is fine here since React Compiler is not in use — @babel/core leaves the tree along with 51 other packages. Restores the upgrade from the Dependabot PR that was auto-closed: asking it to rebase after #10 made it decide the deps were already up-to-date, so it closed the PR and deleted the branch. Verified: npm run build, npm run lint, and `npm run dev` serving on port 1420 with React Refresh injected (the port Tauri's devUrl expects). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WdXV2urCsuq2i4gRaT3W44
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.
Dependabot が自動クローズしてしまった vite 8 更新を、検証したうえで復活させる PR です。
vite^7.3.6 → ^8.2.2@vitejs/plugin-react^4.6.0 → ^6.1.0経緯
元は Dependabot の「Bump vite and @vitejs/plugin-react」でした。#10 のマージでコンフリクトしたため rebase を依頼したところ、Dependabot が「dependencies are up-to-date now」と誤判定して PR を自動クローズしブランチも削除しました。再オープンは API で拒否されるため、検証済みの同じ内容を手動ブランチとして起こし直しています。
破壊的変更とこのプロジェクトへの影響
Vite 8 は esbuild と Rollup を Rolldown / Oxc に置き換えるメジャー更新ですが、このプロジェクトは設定面の影響を受けません。
build.rollupOptions→build.rolldownOptionsvite.config.tsは未使用optimizeDeps.esbuildOptions→rolldownOptionsesbuildオプション →oxcshouldTransformCachedModule等)@babel/coreを含む 51 パッケージが依存ツリーから外れますvite.config.tsが持っているのはplugins: [react()]と Tauri 向けの server 設定(port 1420 固定、src-tauriの watch 除外、HMR)だけです。検証結果
npm run buildnpm run lintnpm run devdevUrlと一致)、App.tsxのトランスフォームも確認npm ciからの再現マージ前にご確認いただきたい点
npm run tauri devでの TipTap エディタや画面遷移の挙動はご確認ください。ビルドと dev サーバーまでは通っています。tauri.conf.jsonにminimumSystemVersionの指定が無いため、macOS 13.0〜13.2 を対象に含める場合はbuild.targetの明示をご検討ください。package.jsonにenginesの記載はありません)。🤖 Generated with Claude Code
https://claude.ai/code/session_01WdXV2urCsuq2i4gRaT3W44