Skip to content

Commit

Permalink
chore(v8/deps): Upgrade to Vitest 2.1.8 and Vite 5.4.11 (#15038)
Browse files Browse the repository at this point in the history
Backport of #14971 to v8. This is a prerequisite for an eventual
backport of #14968, which will itself will make applying/backporting
#14967 much easier.

I ran `yarn build` and `yarn test` locally. Building succeeded, and all
but 2 test suites passed. The two that failed also failed for me on `v8`
(without any of my changes), so I'm assuming it's something to do with
my environment.
  • Loading branch information
nwalters512 authored Jan 17, 2025
1 parent 2bc3584 commit dd2201e
Show file tree
Hide file tree
Showing 17 changed files with 410 additions and 2,136 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"typescript": "^5.1.6",
"vite": "^5.4.10",
"vite": "^5.4.11",
"vite-tsconfig-paths": "^4.2.1"
},
"volta": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"postcss": "^8.4.33",
"solid-devtools": "^0.29.2",
"tailwindcss": "^3.4.1",
"vite": "^5.4.10",
"vite": "^5.4.11",
"vite-plugin-solid": "^2.8.2"
},
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"postcss": "^8.4.33",
"solid-devtools": "^0.29.2",
"tailwindcss": "^3.4.1",
"vite": "^5.4.10",
"vite": "^5.4.11",
"vite-plugin-solid": "^2.8.2"
},
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"solid-js": "1.8.17",
"typescript": "^5.4.5",
"vinxi": "^0.4.0",
"vite": "^5.2.8",
"vite": "^5.4.11",
"vite-plugin-solid": "^2.10.2",
"vitest": "^1.5.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"solid-js": "1.8.17",
"typescript": "^5.4.5",
"vinxi": "^0.4.0",
"vite": "^5.4.10",
"vite": "^5.4.11",
"vite-plugin-solid": "^2.10.2",
"vitest": "^1.5.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"svelte-check": "^3.6.7",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^5.4.10"
"vite": "^5.4.11"
},
"dependencies": {
"@sentry/svelte": "latest || *"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"svelte-check": "^3.6.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^5.4.10"
"vite": "^5.4.11"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"svelte-check": "^3.6.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^5.4.10"
"vite": "^5.4.11"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"svelte": "^4.2.8",
"svelte-check": "^3.6.0",
"typescript": "^5.0.0",
"vite": "^5.4.10"
"vite": "^5.4.11"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"typescript": "^5.2.2",
"vite": "^5.4.10",
"vite": "^5.4.11",
"@playwright/test": "^1.44.1",
"@sentry-internal/test-utils": "link:../../../test-utils"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"http-server": "^14.1.1",
"npm-run-all2": "^6.2.0",
"typescript": "~5.3.0",
"vite": "^5.4.10",
"vite": "^5.4.11",
"vue-tsc": "^1.8.27"
},
"volta": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"@types/jest": "^27.4.1",
"@types/jsdom": "^21.1.6",
"@types/node": "^14.18.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/coverage-v8": "^2.1.8",
"deepmerge": "^4.2.2",
"downlevel-dts": "~0.11.0",
"eslint": "7.32.0",
Expand All @@ -134,7 +134,7 @@
"ts-jest": "^27.1.4",
"ts-node": "10.9.1",
"typescript": "4.9.5",
"vitest": "^1.6.0",
"vitest": "^2.1.8",
"yalc": "^1.0.0-pre.53"
},
"//_resolutions_comment": [
Expand Down
3 changes: 1 addition & 2 deletions packages/angular/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import type { UserConfig } from 'vitest';
import { defineConfig } from 'vitest/config';
import baseConfig from '../../vite/vite.config';

export default defineConfig({
test: {
...(baseConfig as UserConfig & { test: any }).test,
...baseConfig.test,
coverage: {},
globals: true,
setupFiles: ['./setup-test.ts'],
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
},
"devDependencies": {
"astro": "^3.5.0",
"vite": "^5.4.10"
"vite": "^5.4.11"
},
"scripts": {
"build": "run-p build:transpile build:types",
Expand Down
3 changes: 1 addition & 2 deletions packages/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@
"@remix-run/node": "^1.4.3",
"@remix-run/react": "^1.4.3",
"@types/express": "^4.17.14",
"vite": "^5.4.10",
"vitest": "^1.6.0"
"vite": "^5.4.11"
},
"peerDependencies": {
"@remix-run/node": "1.x || 2.x",
Expand Down
4 changes: 2 additions & 2 deletions packages/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
"sorcery": "1.0.0"
},
"devDependencies": {
"@babel/types": "7.20.7",
"@babel/types": "^7.26.3",
"@sveltejs/kit": "^2.0.2",
"svelte": "^4.2.8",
"vite": "^5.4.10"
"vite": "^5.4.11"
},
"scripts": {
"build": "run-p build:transpile build:types",
Expand Down
Loading

0 comments on commit dd2201e

Please sign in to comment.