Update features and dependencies

This commit is contained in:
Arnaud
2026-07-01 11:10:37 +02:00
parent 9d9dfb46c6
commit 8b57a3fd87
107 changed files with 14654 additions and 458 deletions
+42
View File
@@ -0,0 +1,42 @@
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
import path from "path";
export default defineConfig({
plugins: [react()],
test: {
environment: "node",
globals: true,
setupFiles: ["./vitest.setup.ts"],
coverage: {
provider: "v8",
reporter: ["text", "lcov", "html"],
include: ["lib/**/*.ts"],
exclude: [
"lib/auth/**",
"lib/i18n/**",
"lib/ai/features/**",
"lib/openapi.ts",
"lib/push.ts",
"lib/redis.ts",
"lib/storage.ts",
"lib/utils.ts",
"lib/email.ts",
"**/*.d.ts",
"**/__tests__/**",
],
thresholds: {
lines: 60,
functions: 60,
branches: 55,
statements: 60,
},
},
},
resolve: {
alias: {
"@": path.resolve(__dirname, "."),
"@epicure/db": path.resolve(__dirname, "../../packages/db/src/index.ts"),
},
},
});