Add @repo/core-dsr and @repo/core-consent as dependencies and wire dsrRouter + consentRouter into appRouter via the existing router composition pattern. Integration tests cover all eight procedures (dsr.export, dsr.delete, dsr.rectify, dsr.restrict, consent.grant, consent.withdraw, consent.isGranted, consent.getCategories) with auth and response-shape assertions. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
35 lines
886 B
JSON
35 lines
886 B
JSON
{
|
|
"name": "@repo/core-api",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc --noEmit",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run --passWithNoTests"
|
|
},
|
|
"dependencies": {
|
|
"@repo/auth": "workspace:*",
|
|
"@repo/blog": "workspace:*",
|
|
"@repo/core-consent": "workspace:*",
|
|
"@repo/core-dsr": "workspace:*",
|
|
"@repo/core-shared": "workspace:*",
|
|
"@repo/marketing-pages": "workspace:*",
|
|
"@repo/media": "workspace:*",
|
|
"@repo/navigation": "workspace:*",
|
|
"@trpc/server": "^11.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@repo/core-eslint": "workspace:*",
|
|
"@repo/core-testing": "workspace:*",
|
|
"@repo/core-typescript": "workspace:*",
|
|
"@types/node": "^22.0.0",
|
|
"@vitest/coverage-v8": "^3.0.0",
|
|
"vitest": "^3.0.0"
|
|
}
|
|
}
|