Adds initSentryServerNode + initSentryClientReact to core-shared (Vite/non-Next variants of the existing init helpers — same R31/R32/R33 posture, R34/R35/R37 replay defaults). Extends no-sentry.ts to mock @sentry/node + @sentry/react. Wires the web-tanstack server/client instrumentation entry hooks and adds the R38 PII test. Spec deviation: web-tanstack has no vite.config.ts yet (placeholder app per its package.json). The @sentry/vite-plugin dep is added but unused until the TanStack Start build is wired in a later plan. A minimal src/vite-env.d.ts shims ImportMetaEnv for the client entry until the full Vite types land. @sentry/node and @sentry/react are added to core-shared as optional peerDependencies so feature packages don't transitively pull them in; they're also devDependencies of core-shared for typecheck/test runs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"name": "@repo/web-tanstack",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "echo 'placeholder — TanStack Start build configured in later plan'",
|
|
"dev": "echo 'placeholder'",
|
|
"lint": "eslint .",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:e2e": "playwright test",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@repo/blog": "workspace:*",
|
|
"@repo/core-api": "workspace:*",
|
|
"@repo/core-shared": "workspace:*",
|
|
"@repo/core-trpc": "workspace:*",
|
|
"@repo/core-ui": "workspace:*",
|
|
"@repo/marketing-pages": "workspace:*",
|
|
"@repo/navigation": "workspace:*",
|
|
"@sentry/node": "^10.52.0",
|
|
"@sentry/react": "^10.52.0",
|
|
"@tanstack/react-query": "^5.66.0",
|
|
"@tanstack/react-router": "^1.120.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.50.0",
|
|
"@repo/core-eslint": "workspace:*",
|
|
"@repo/core-testing": "workspace:*",
|
|
"@repo/core-typescript": "workspace:*",
|
|
"@sentry/vite-plugin": "^5.2.1",
|
|
"@testing-library/jest-dom": "^6.5.0",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@testing-library/user-event": "^14.5.0",
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"jsdom": "^25.0.0",
|
|
"vitest": "^3.0.0"
|
|
}
|
|
}
|