Adds apps/cms/instrumentation.ts (server-only — Payload admin client DSN is out-of-scope per spec §8). Wraps the Payload-wrapped next config with withSentryConfig. Adds the R38 PII scrubber test. Required adding @repo/core-shared as a direct dep of cms (was only transitive before). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"name": "@repo/cms",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "echo 'CMS build requires database — use docker compose or pnpm dev'",
|
|
"dev": "next dev --port 3001",
|
|
"lint": "eslint .",
|
|
"test": "vitest run --passWithNoTests",
|
|
"typecheck": "tsc --noEmit",
|
|
"generate:types": "payload generate:types"
|
|
},
|
|
"dependencies": {
|
|
"@payloadcms/next": "^3.14.0",
|
|
"@payloadcms/richtext-lexical": "^3.14.0",
|
|
"@payloadcms/ui": "^3.14.0",
|
|
"@repo/core-cms": "workspace:*",
|
|
"@repo/core-shared": "workspace:*",
|
|
"@sentry/nextjs": "^10.51.0",
|
|
"next": "^15.3.0",
|
|
"payload": "^3.14.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"sass": "^1.99.0",
|
|
"sharp": "^0.33.0"
|
|
},
|
|
"devDependencies": {
|
|
"@repo/core-eslint": "workspace:*",
|
|
"@repo/core-testing": "workspace:*",
|
|
"@repo/core-typescript": "workspace:*",
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"vitest": "^3.0.0"
|
|
}
|
|
}
|