Skip to content

Commit ece1191

Browse files
committed
Upgrade to Vite 6
1 parent 1e2ca04 commit ece1191

File tree

4 files changed

+529
-567
lines changed

4 files changed

+529
-567
lines changed

.tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 21.4.0
1+
nodejs 22.11.0

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@
145145
"stringz": "^2.0.0",
146146
"type-fest": "^4.0.0",
147147
"typescript": "^5.6.2",
148-
"vite": "^5.4.8",
149-
"vite-plugin-compile-time": "^0.2.1",
148+
"vite": "^6.0.2",
149+
"vite-plugin-compile-time": "^0.3.2",
150150
"vite-plugin-html": "^3.2.2",
151-
"vite-plugin-static-copy": "^1.0.6",
151+
"vite-plugin-static-copy": "^2.2.0",
152152
"websocket-ts": "^2.1.5",
153153
"zod": "^3.23.5",
154154
"zustand": "^5.0.0"
@@ -163,7 +163,7 @@
163163
"@testing-library/user-event": "^14.5.1",
164164
"@typescript-eslint/eslint-plugin": "^7.0.0",
165165
"@typescript-eslint/parser": "^7.0.0",
166-
"@vitejs/plugin-react-swc": "^3.7.1",
166+
"@vitejs/plugin-react-swc": "^3.7.2",
167167
"eslint": "^8.49.0",
168168
"eslint-import-resolver-typescript": "^3.6.0",
169169
"eslint-plugin-compat": "^4.2.0",
@@ -183,7 +183,7 @@
183183
"stylelint-config-standard-scss": "^13.1.0",
184184
"tailwindcss": "^3.4.13",
185185
"vite-plugin-checker": "^0.8.0",
186-
"vite-plugin-pwa": "^0.20.5",
187-
"vitest": "^2.1.1"
186+
"vite-plugin-pwa": "^0.21.1",
187+
"vitest": "^2.1.8"
188188
}
189189
}

vite.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export default defineConfig(() => {
103103
{ find: 'soapbox', replacement: fileURLToPath(new URL('./src', import.meta.url)) },
104104
],
105105
},
106+
// @ts-ignore
106107
test: {
107108
globals: true,
108109
environment: 'jsdom',

0 commit comments

Comments
 (0)