uppy/examples/react/package.json
prakash e3f01a25f6
chore(deps): upgrade vite to 8 and the Svelte toolchain
- 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).
2026-07-26 02:46:30 +05:30

36 lines
927 B
JSON

{
"name": "example-react",
"private": true,
"type": "module",
"scripts": {
"build": "tsc && vite build",
"test": "vitest run",
"dev": "vite",
"serve": "vite preview"
},
"dependencies": {
"@tailwindcss/vite": "^4.3.0",
"@uppy/core": "workspace:*",
"@uppy/react": "workspace:*",
"@uppy/remote-sources": "workspace:*",
"@uppy/screen-capture": "workspace:*",
"@uppy/tus": "workspace:*",
"@uppy/webcam": "workspace:*",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwindcss": "^4.0.9"
},
"devDependencies": {
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react": "^6.0.2",
"@vitest/browser": "^4.1.6",
"@vitest/browser-playwright": "^4.1.6",
"msw": "^2.10.4",
"playwright": "1.61.1",
"typescript": "^6.0.3",
"vite": "^8.1.5",
"vitest": "^4.1.6",
"vitest-browser-react": "^2.2.0"
}
}