feat(core-*): add Vitest configs + composition tests

core-api: appRouter exposes all 4 feature routers + blog procedure shape.
core-cms: payloadConfig registers all collections + globals.
core-trpc: client + provider exports verified.

Spec: §6.1, §6.6
This commit is contained in:
2026-05-05 16:27:26 +02:00
parent 11b5b15105
commit 3ff1f4a6a3
13 changed files with 135 additions and 12 deletions

View File

@@ -2,8 +2,12 @@
"extends": "@repo/core-typescript/base.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"lib": ["ES2022", "DOM"]
"rootDir": ".",
"lib": ["ES2022", "DOM"],
"types": ["vitest/globals"],
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]