mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-07-14 18:15:56 -04:00
- 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`
37 lines
1020 B
JSON
37 lines
1020 B
JSON
{
|
|
"name": "@sofa/server",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun --env-file=../../.env --watch src/index.ts",
|
|
"start": "bun --env-file=../../.env src/index.ts",
|
|
"lint": "oxlint",
|
|
"format": "oxfmt --config ../../.oxfmtrc.json",
|
|
"format:check": "oxfmt --check --config ../../.oxfmtrc.json",
|
|
"check-types": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@orpc/contract": "catalog:",
|
|
"@orpc/json-schema": "catalog:",
|
|
"@orpc/openapi": "catalog:",
|
|
"@orpc/server": "catalog:",
|
|
"@orpc/zod": "catalog:",
|
|
"@sofa/api": "workspace:*",
|
|
"@sofa/auth": "workspace:*",
|
|
"@sofa/config": "workspace:*",
|
|
"@sofa/core": "workspace:*",
|
|
"@sofa/db": "workspace:*",
|
|
"@sofa/logger": "workspace:*",
|
|
"@sofa/tmdb": "workspace:*",
|
|
"croner": "10.0.2-dev.2",
|
|
"hono": "4.12.9",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@sofa/tsconfig": "workspace:*",
|
|
"@types/bun": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|