Upgrade Vite to v8 and Rollup to v4, remove vite-plugin-inspect#9
Merged
philippminder merged 7 commits intomainfrom Mar 16, 2026
Merged
Upgrade Vite to v8 and Rollup to v4, remove vite-plugin-inspect#9philippminder merged 7 commits intomainfrom
philippminder merged 7 commits intomainfrom
Conversation
- Bump vite devDependency from ^6.4.0 to ^8.0.0 - Bump playground vite from ^6.4.1 to ^8.0.0 - Add esbuild ^0.27.0 as devDependency (required by Vite 8) - Remove vite-plugin-inspect from playground (no Vite 8 support yet) - Update pnpm lockfile https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
Vite 8 replaced esbuild with Oxc for transforms and Rolldown for bundling. Since the plugin does not use transformWithEsbuild, no esbuild dependency is needed. Also update rollup peer dep range to ^3 || ^4 for Rolldown compatibility. https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
- src/index.ts: import process from 'node:process', add return type to log() - src/core/generator.ts: fix regex backtracking (remove redundant \s* around [^}]+), remove semicolons from generated output, add trailing newline - playground/src/interfaces/task.ts: prefix unused TaskCategory with _ - playground/src/types/interfaces.d.ts: remove semicolons, add trailing newline https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
- unplugin 2.x → 3.0.0 (ESM-only, Node 20+) - chokidar 4 → 5.0.0 (ESM-only, Node 20.19+) - @antfu/eslint-config 6 → 7.7.2 - eslint 9 → 10.0.3 - vitest 3 → 4.1.0 - tsdown 0.15 → 0.21.3 - bumpp 10 → 11.0.1 - @nuxt/kit + @nuxt/schema 4.1 → 4.4.2 - @types/node 22 → 25.5.0 - rollup, tsx, nodemon, webpack: patch/minor bumps Fix new lint rules from @antfu/eslint-config v7: - Move regex literals to module scope (e18e/prefer-static-regex) - Add pnpm-workspace.yaml settings: shellEmulator, trustPolicy https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
- Remove eslint and @antfu/eslint-config - Add oxlint (linter) and oxfmt (formatter) - Create .oxlintrc.json with project-appropriate rule config - Create .oxfmtrc.json with single quotes, semi, sorted imports - Add format / format:check scripts in package.json - oxfmt reformats all source files (semi, import order, trailing commas) - Fix code issues found by oxlint: - Rename short param names m/i/f to match/iface/filename - Add curly braces to bare if statement - Merge duplicate unplugin imports into single statement - utf-8 -> utf8 encoding identifier - Remove useless empty array in new Set() https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
Vite 8 declares esbuild@^0.27.0 as optional peer dependency. npm 7+ enforces optional peers, causing ERESOLVE errors when esbuild is missing or at the wrong version. - Add esbuild@^0.27.0 as devDependency - Add npm overrides to pin esbuild@^0.27.0 and vite@^8.0.0, preventing peer conflict with transitive deps (e.g. vitest) Note: project still uses pnpm as primary package manager. https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
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.
Summary
This PR upgrades the project's Vite dependency to v8.0.0 and updates Rollup to support both v3 and v4, while removing the unused vite-plugin-inspect dependency from the playground.
Key Changes
Implementation Details
The vite-plugin-inspect was only used in the playground configuration and has been removed as it's no longer needed. The main package.json now supports both Rollup v3 and v4, providing flexibility for downstream consumers during their upgrade process.
https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4