Merge pull request #1423 from shlinkio/dependabot/npm_and_yarn/vitest-53642b8677

Bump the vitest group with 2 updates
This commit is contained in:
Alejandro Celaya
2025-01-18 10:02:29 +01:00
committed by GitHub
3 changed files with 236 additions and 1571 deletions

1802
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -67,7 +67,7 @@
"@types/react-dom": "^18.3.1",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/coverage-v8": "^3.0.2",
"adm-zip": "^0.5.16",
"axe-core": "^4.10.2",
"chalk": "^5.4.1",
@@ -84,7 +84,7 @@
"typescript-eslint": "^8.20.0",
"vite": "^6.0.7",
"vite-plugin-pwa": "^0.21.1",
"vitest": "^2.0.2"
"vitest": "^3.0.2"
},
"browserslist": [
">0.2%",

View File

@@ -8,7 +8,6 @@ const homepage = pack.homepage?.trim();
/* eslint-disable-next-line no-restricted-exports */
export default defineConfig({
// @ts-expect-error Error caused by vitest using vite 5 and the root using vite 6. To be fixed in vitest 3.
plugins: [react(), VitePWA({
mode: process.env.NODE_ENV === 'development' ? 'development' : 'production',
strategies: 'injectManifest',