Skip to content

deps upgrade v3: upgrade vite to 8 and the Svelte toolchain - #6422

Merged
qxprakash merged 2 commits into
mainfrom
chore/deps-vite-8
Jul 28, 2026
Merged

deps upgrade v3: upgrade vite to 8 and the Svelte toolchain#6422
qxprakash merged 2 commits into
mainfrom
chore/deps-vite-8

Conversation

@qxprakash

@qxprakash qxprakash commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

Stacked PR: should be merged after #6421

AI disclaimer : AI used

  • vite ^6.2/^6.3/^7.1/^8.0 -> ^8.1.5 (14 workspaces)
  • @sveltejs/vite-plugin-svelte ^5/^7.1 -> ^7.2.0
  • @sveltejs/kit ^2.49/^2.60 -> ^2.69.3
  • @sveltejs/adapter-auto ^4 -> ^7.0.1
  • svelte ^5.55.8 -> ^5.56.5
  • vitest-browser-svelte ^2.1.1 -> ^3.0.0

These move together: vite-plugin-svelte 7 requires vite 7 or newer, and @uppy/svelte was already on vite ^8.0.13.

One source change: examples/xhr-node/main.js imported two stylesheets from dist/style.css while the neighbouring line already used css/style.css. vite 8 resolves the stale paths strictly, so both are corrected.

svelte-check now logs "Loading Svelte config from Vite config failed" in @uppy/svelte before falling back to svelte.config.js. It is noise from @sveltejs/kit's config loader reacting to a hoisted install; all 235 files are still checked (0 errors, 1 pre-existing warning).

- vite ^6.2/^6.3/^7.1/^8.0 -> ^8.1.5 (14 workspaces)
- @sveltejs/vite-plugin-svelte ^5/^7.1 -> ^7.2.0
- @sveltejs/kit ^2.49/^2.60 -> ^2.69.3
- @sveltejs/adapter-auto ^4 -> ^7.0.1
- svelte ^5.55.8 -> ^5.56.5
- vitest-browser-svelte ^2.1.1 -> ^3.0.0

These move together: vite-plugin-svelte 7 requires vite 7 or newer, and
@uppy/svelte was already on vite ^8.0.13.

One source change: examples/xhr-node/main.js imported two stylesheets from
`dist/style.css` while the neighbouring line already used `css/style.css`.
vite 8 resolves the stale paths strictly, so both are corrected.

svelte-check now logs "Loading Svelte config from Vite config failed" in
@uppy/svelte before falling back to svelte.config.js. It is noise from
@sveltejs/kit's config loader reacting to a hoisted install; all 235 files
are still checked (0 errors, 1 pre-existing warning).

Supersedes #6340.

Verified: yarn build (54/54), yarn typecheck (75/75), yarn check:ci,
yarn test (19/19).
@changeset-bot

changeset-bot Bot commented Jul 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 133c5c6

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

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@socket-security

socket-security Bot commented Jul 25, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​sveltejs/​kit@​2.60.1 ⏵ 2.70.166 -33100 +381 +198 +1100
Updatednpm/​svelte@​5.27.0 ⏵ 5.56.788 -11100 +168798 +2100
Updatednpm/​vitest-browser-svelte@​2.1.1 ⏵ 3.0.010010089 +196 +8100

View full report

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Upgrades the repo’s Vite + Svelte/SvelteKit toolchain to newer major versions to keep the Uppy monorepo examples and the @uppy/svelte workspace compatible with the latest Vite/Svelte ecosystem, plus a small example import-path fix required by Vite 8’s stricter resolution.

Changes:

  • Bump Vite to ^8.1.5 across multiple workspaces/examples (and update the lockfile accordingly).
  • Upgrade SvelteKit-related dependencies (@sveltejs/kit, @sveltejs/adapter-auto, @sveltejs/vite-plugin-svelte, svelte, vitest-browser-svelte) for @uppy/svelte and the SvelteKit example.
  • Fix examples/xhr-node/main.js stylesheet imports to use .../css/style.css paths.

Reviewed changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated no comments.

Show a summary per file
File Description
yarn.lock Updates the resolved dependency graph for the Vite 8 + Svelte toolchain upgrades.
private/dev/package.json Bumps dev workspace Vite to ^8.1.5.
packages/@uppy/svelte/package.json Upgrades SvelteKit + related tooling and Vite for the @uppy/svelte workspace.
examples/xhr-python/package.json Bumps example Vite to ^8.1.5.
examples/xhr-php/package.json Bumps example Vite to ^8.1.5.
examples/xhr-node/package.json Bumps example Vite to ^8.1.5.
examples/xhr-node/main.js Updates Uppy stylesheet import paths to the css/style.css entrypoints.
examples/xhr-bundle/package.json Bumps example Vite to ^8.1.5.
examples/vue/package.json Bumps example Vite to ^8.1.5.
examples/transloadit/package.json Bumps example Vite to ^8.1.5.
examples/sveltekit/package.json Upgrades SvelteKit toolchain + Vite and vitest-browser-svelte for the SvelteKit example.
examples/reactrouter/package.json Bumps example Vite to ^8.1.5.
examples/react/package.json Bumps example Vite to ^8.1.5.
examples/companion-digitalocean-spaces/package.json Bumps example Vite to ^8.1.5.
examples/companion-custom-provider/package.json Bumps example Vite to ^8.1.5.
examples/aws-companion/package.json Bumps example Vite to ^8.1.5.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Base automatically changed from chore/deps-typescript-6 to main July 28, 2026 15:44
@qxprakash
qxprakash merged commit a7fc610 into main Jul 28, 2026
12 checks passed
@qxprakash
qxprakash deleted the chore/deps-vite-8 branch July 28, 2026 20:09
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.

3 participants