Merge pull request #1392 from shlinkio/dependabot/npm_and_yarn/vitest-4ff847a748

Bump the vitest group with 2 updates
This commit is contained in:
Alejandro Celaya 2025-01-02 20:01:21 +01:00 committed by GitHub
commit baa19b5c4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1498 additions and 157 deletions

1650
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.6",
"@vitest/coverage-v8": "^2.1.8",
"adm-zip": "^0.5.16",
"axe-core": "^4.10.2",
"chalk": "^5.4.1",

View file

@ -2,12 +2,13 @@ import react from '@vitejs/plugin-react';
import { VitePWA } from 'vite-plugin-pwa';
import { defineConfig } from 'vitest/config';
import { manifest } from './manifest';
import pack from './package.json';
import pack from './package.json' with { type: 'json' };
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',