abac9dfe6c
- Add source code from apps/api - Add packages/db and packages/types workspace dependencies - Add GitHub Actions CI workflow (lint, typecheck, test, docker) - Generate pnpm-lock.yaml - Add .gitignore Co-Authored-By: Paperclip <noreply@paperclip.ing>
22 lines
484 B
TypeScript
22 lines
484 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import path from "path";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@groombook/db/factories": path.resolve(__dirname, "../../packages/db/src/factories.ts"),
|
|
"@groombook/db": path.resolve(__dirname, "../../packages/db/src/index.ts"),
|
|
},
|
|
},
|
|
test: {
|
|
coverage: {
|
|
provider: "v8",
|
|
include: ["src/lib/**"],
|
|
thresholds: {
|
|
lines: 80,
|
|
functions: 80,
|
|
},
|
|
},
|
|
},
|
|
});
|