feat: updates

This commit is contained in:
2024-08-02 14:03:47 +02:00
parent 68be013f8f
commit e89c62dde8
12 changed files with 9410 additions and 7711 deletions

View File

@@ -1,35 +1,24 @@
/// <reference types="vitest" />
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { defineConfig } from 'vite';
/// <reference types="vitest" />
import { defineConfig } from 'vite';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
export default defineConfig({
cacheDir: '../../../node_modules/.vite/_internal-directives',
plugins: [
nxViteTsPaths(),
],
// Uncomment this if you are using workers.
// worker: {
// plugins: [ nxViteTsPaths() ],
// },
test: {
export default defineConfig({
cacheDir: '../../../node_modules/.vite/_internal-directives',
plugins: [nxViteTsPaths()],
// Uncomment this if you are using workers.
// worker: {
// plugins: [ nxViteTsPaths() ],
// },
test: {
reporters: ['default'],
globals: true,
cache: {
dir: '../../../node_modules/.vitest'
dir: '../../../node_modules/.vitest',
},
environment: 'node',
include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
},
});
});