Files
calendar/packages/trpc/package.json
T
Volnei MunhozGitHubDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
40883386f0 fix: address peer dependency issues across the monorepo (#26105)
MOVE:
- Move @next/third-parties from root to apps/web (only used there)
- Remove date-fns-tz from root, add date-fns and date-fns-tz to root deps

REMOVE:
- Remove sonner from packages/lib (not used there, already in apps/web)
- Remove next-seo from packages/ui (not used there, already in apps/web)
- Remove next-auth from apps/api/v2 (only used for User type in tests)

ADD peerDependencies:
- packages/ui: add react-dom
- packages/features: add react, react-dom, react-is, date-fns-tz, stripe, zod
- packages/platform/atoms: add react-dom
- packages/trpc: add next, react, react-dom

ADD dependencies:
- apps/web: add @next/third-parties, i18next, react-i18next
- apps/api/v2: add axios (required by @nestjs/axios)

FIX:
- apps/api/v2: replace next-auth User type with @calcom/prisma/client User

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-12-21 23:20:49 +00:00

35 lines
957 B
JSON

{
"name": "@calcom/trpc",
"sideEffects": false,
"private": true,
"description": "Shared tRPC library for Cal.com",
"authors": "zomars",
"version": "1.0.0",
"main": "index.ts",
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . ",
"build": "yarn build:server && yarn build:react",
"build:server": "yarn tsc --project tsconfig.server.json",
"build:react": "yarn tsc --project tsconfig.react.json"
},
"dependencies": {
"@tanstack/react-query": "^5.17.15",
"@trpc/client": "11.0.0-next-beta.222",
"@trpc/next": "11.0.0-next-beta.222",
"@trpc/react-query": "11.0.0-next-beta.222",
"@trpc/server": "11.0.0-next-beta.222",
"superjson": "1.9.1",
"zod": "3.25.76"
},
"peerDependencies": {
"next": ">=14.0.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@calcom/eslint-config": "workspace:*",
"typescript": "5.9.2"
}
}