- createTRPCContext + useTRPC hook for typed client access - NextTrpcProvider with SSR-safe absolute URL resolution - TanstackTrpcProvider for TanStack Start apps - /api/trpc catch-all route handler in web-next - Wire NextTrpcProvider into app providers - Add @repo/core-trpc to transpilePackages
55 lines
1.7 KiB
JSON
55 lines
1.7 KiB
JSON
{
|
|
"name": "@repo/web-next",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "echo 'Next.js build requires full environment — use pnpm dev or docker'",
|
|
"dev": "TSX_TSCONFIG_PATH=../../tsconfig.json tsx server.ts",
|
|
"start": "node --import tsx server.ts",
|
|
"lint": "eslint .",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:install": "playwright install --with-deps chromium",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@repo/auth": "workspace:*",
|
|
"@repo/blog": "workspace:*",
|
|
"@repo/core-api": "workspace:*",
|
|
"@repo/core-cms": "workspace:*",
|
|
"@repo/core-shared": "workspace:*",
|
|
"@repo/core-trpc": "workspace:^",
|
|
"@repo/marketing-pages": "workspace:*",
|
|
"@repo/media": "workspace:*",
|
|
"@repo/navigation": "workspace:*",
|
|
"@sentry/nextjs": "^10.51.0",
|
|
"@tailwindcss/postcss": "^4.3.0",
|
|
"@tanstack/react-query": "^5.96.2",
|
|
"@trpc/server": "^11.17.0",
|
|
"inversify": "^6.2.0",
|
|
"next": "^15.3.0",
|
|
"payload": "^3.14.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"reflect-metadata": "^0.2.2",
|
|
"superjson": "^2.2.1",
|
|
"tailwindcss": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.50.0",
|
|
"@repo/core-eslint": "workspace:*",
|
|
"@repo/core-testing": "workspace:*",
|
|
"@repo/core-typescript": "workspace:*",
|
|
"@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",
|
|
"tsx": "^4.0.0",
|
|
"vitest": "^3.0.0"
|
|
}
|
|
}
|