Skip to content

chore: upgrade to Vite 7 or possibly 8#966

Draft
davedbase wants to merge 4 commits into
solidjs-community:nextfrom
davedbase:vite-7-upgrade
Draft

chore: upgrade to Vite 7 or possibly 8#966
davedbase wants to merge 4 commits into
solidjs-community:nextfrom
davedbase:vite-7-upgrade

Conversation

@davedbase

@davedbase davedbase commented Jul 4, 2026

Copy link
Copy Markdown
Member

This is an early attempt at bumping the Vite version. 8 definitely is not compatible for a number of reasons. 7 is working however it's causing a number of tests to fail which need to be investigated.

Warning

This is not to be merged yet. There's an issue with Storybook and Typescript compiling ts. pnpm storybook/build-storybookremains broken — pre-existing onnext, caused by TypeScript 7.0's Go rewrite not yet exposing the classic Compiler API (ts.JsxEmitetc.) thatstorybook-solidjs-vite's docgen needs. No viable workaround exists via pnpm overrides since it's a peer-dep edge, not a regular one. The only real fixes are: wait for TS 7.1 (official fix, ~3-4 months out), or downgrade the workspace's real typescriptto^6.x` (which you said you don't want to do right now).

@changeset-bot

changeset-bot Bot commented Jul 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 40d95e4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Jul 4, 2026

Copy link
Copy Markdown
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: upgrading Vite, with the implementation landing on Vite 7.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@davedbase
davedbase changed the base branch from main to next July 5, 2026 22:10

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
package.json (1)

70-72: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Inconsistent version pinning style.

vite is pinned exactly (7.1.11) while vitest retains a caret range (^3.2.6). Given the PR itself is exploratory (Vite 7 known to break tests), pinning vite exactly makes sense to avoid an unexpected minor/patch bump masking further regressions, but consider applying the same exact-pin discipline to vitest for consistency, or restoring the caret on vite once compatibility is confirmed.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` around lines 70 - 72, The dependency versions in package.json
use mixed pinning styles, with vite exact-pinned and vitest still using a caret
range. Update the version entries for vite and vitest to follow the same pinning
policy, using the package names in package.json as the reference points, so the
test/runtime toolchain stays consistent and does not drift unexpectedly.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@package.json`:
- Around line 70-72: The dependency versions in package.json use mixed pinning
styles, with vite exact-pinned and vitest still using a caret range. Update the
version entries for vite and vitest to follow the same pinning policy, using the
package names in package.json as the reference points, so the test/runtime
toolchain stays consistent and does not drift unexpectedly.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8673839b-d48b-4d6d-b295-edf37b43216d

📥 Commits

Reviewing files that changed from the base of the PR and between a896536 and 44ff333.

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

@davedbase
davedbase marked this pull request as draft July 20, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant