Skip to content

Commit 57a5c7e

Browse files
committed
Update vitejs/plugin-react to latest
1 parent d5dbcd7 commit 57a5c7e

File tree

4 files changed

+345
-378
lines changed

4 files changed

+345
-378
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ updates:
3232
# @cloudflare/vitest-pool-workers only works with Vitest v3
3333
- dependency-name: "vitest"
3434
versions: [ ">3" ]
35-
# Vite plugin for React projects
36-
- dependency-name: "@vitejs/plugin-react"
37-
versions: [ ">5" ]
3835
patterns: ["*"]
3936
multi-ecosystem-group: "dependencies"
4037

apps/mold-inventory-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@types/node": "^22.19.15",
5858
"@types/react": "^19.2.14",
5959
"@types/react-dom": "^19.2.3",
60-
"@vitejs/plugin-react": "^5.2.0",
60+
"@vitejs/plugin-react": "^6.0.1",
6161
"baseline-browser-mapping": "^2.10.13",
6262
"eslint": "^10.1.0",
6363
"eslint-config-prettier": "^10.1.8",
@@ -67,7 +67,7 @@
6767
"prettier": "^3.8.1",
6868
"tailwindcss": "^4.2.2",
6969
"typescript": "^6.0.2",
70-
"vite-tsconfig-paths": "^6.1.1",
70+
"vite": "^8.0.3",
7171
"vitest": "^4.1.2",
7272
"vitest-mock-extended": "^3.1.1",
7373
"wrangler": "^4.77.0"

apps/mold-inventory-app/vitest.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import { defineConfig, defineProject } from 'vitest/config'
2-
import tsconfigPaths from 'vite-tsconfig-paths'
32
import react from '@vitejs/plugin-react'
43

54
export default defineConfig({
65
test: {
76
// "test.workspace" is now "test.projects"
87
projects: [
98
defineProject({
10-
plugins: [tsconfigPaths(), react()],
9+
plugins: [react()],
10+
resolve: {
11+
tsconfigPaths: true,
12+
},
1113
test: {
1214
name: 'Components',
1315
environment: 'jsdom',

0 commit comments

Comments
 (0)