mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 03:55:38 -04:00
- Add `apps/public-api` (`@sofa/public-api`) — minimal Hono app
deployable to Vercel; `GET /v1/version` fetches the latest GitHub
release and returns `{ version, releaseUrl }` with a 15-minute
CDN cache (`s-maxage=900, stale-while-revalidate=3600`)
- Update `packages/core/src/update-check.ts` to call
`PUBLIC_API_URL/v1/version` instead of the GitHub API directly;
`PUBLIC_API_URL` defaults to `https://public-api.sofa.watch`
16 lines
318 B
JSON
16 lines
318 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2017",
|
|
"lib": ["esnext"],
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"isolatedModules": true,
|
|
"skipLibCheck": true,
|
|
"types": ["bun"]
|
|
},
|
|
"include": ["**/*.ts"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|