mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-07-14 18:15:56 -04:00
fix: remove @sofa/core and @sofa/api deps from public-api to fix Vercel runtime compatibility
- Drop `@sofa/core` and `@sofa/api` from `apps/public-api` — importing workspace packages with DB/Node dependencies broke the Vercel edge runtime - `fetchUserData` on Trakt and Simkl importers now returns raw `unknown` API responses; parsing is deferred to the self-hosted server - Add `source` + `rawPayload` fields to `ParsePayloadInput`; `parsePayload` procedure now dispatches to `parseTraktPayload`/`parseSimklPayload` and returns full warnings + diagnostics - Export `ProviderEnum` from `apps/public-api/src/importers/index.ts` instead of defining it inline in `app.ts`
This commit is contained in:
+6
-6
@@ -23,13 +23,13 @@
|
||||
"@orpc/server": "1.13.9",
|
||||
"@orpc/tanstack-query": "1.13.9",
|
||||
"@orpc/zod": "1.13.9",
|
||||
"@tanstack/react-query": "5.95.0",
|
||||
"@tanstack/react-query": "5.95.2",
|
||||
"@types/bun": "1.3.11",
|
||||
"@types/node": "25.5.0",
|
||||
"@types/react": "19.2.14",
|
||||
"@vitest/browser": "4.1.0",
|
||||
"@vitest/browser-playwright": "4.1.0",
|
||||
"@vitest/coverage-v8": "4.1.0",
|
||||
"@vitest/browser": "4.1.1",
|
||||
"@vitest/browser-playwright": "4.1.1",
|
||||
"@vitest/coverage-v8": "4.1.1",
|
||||
"better-auth": "1.5.6",
|
||||
"drizzle-kit": "1.0.0-beta.18-7eb39f0",
|
||||
"drizzle-orm": "1.0.0-beta.18-7eb39f0",
|
||||
@@ -39,7 +39,7 @@
|
||||
"tailwindcss": "4.2.2",
|
||||
"thumbhash": "0.1.1",
|
||||
"typescript": "5.9.3",
|
||||
"vitest": "4.1.0",
|
||||
"vitest": "4.1.1",
|
||||
"zod": "4.3.6"
|
||||
}
|
||||
},
|
||||
@@ -64,7 +64,7 @@
|
||||
"@lingui/cli": "catalog:",
|
||||
"@lingui/conf": "catalog:",
|
||||
"@lingui/format-po": "catalog:",
|
||||
"@tanstack/eslint-plugin-query": "5.95.0",
|
||||
"@tanstack/eslint-plugin-query": "5.95.2",
|
||||
"@tanstack/eslint-plugin-router": "1.161.6",
|
||||
"@vitest/browser": "catalog:",
|
||||
"@vitest/browser-playwright": "catalog:",
|
||||
|
||||
Reference in New Issue
Block a user