feat(api-client): add tRPC React Query provider and shared hooks

This commit is contained in:
2026-04-06 14:49:10 +02:00
parent a870b9e0e5
commit 8da107a446
6 changed files with 127 additions and 3 deletions

View File

@@ -10,8 +10,16 @@
"lint": "eslint .",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@repo/api": "workspace:*",
"@trpc/client": "^11.1.0",
"@trpc/tanstack-react-query": "^11.1.0",
"@tanstack/react-query": "^5.75.0",
"react": "^19.0.0"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*"
"@repo/typescript-config": "workspace:*",
"@types/react": "^19.0.0"
}
}