mirror of
https://github.com/bitbaum/skif.git
synced 2026-12-06 04:58:30 +01:00
Fleet identity contract: a product site renders its roadmap and changelog, it does not author them. Both pages read Skif's entry on the Loki fleet map (loki.orangecat.ch/api/fleet/map) at request time, validate it with zod at the boundary, and render it with bip-kit's shared DevelopmentPage, themed by mapping --bp-* onto Skif's tokens (dark follows the .dark flip). - The map fetch revalidates every 5 minutes with an 8s timeout; the pages call connection(), so next build never depends on Loki being up. - Unreachable, non-2xx, non-JSON or invalid payloads render "temporarily unavailable"; there is no stored fallback copy. An empty roadmap says so. - A small site footer in the root layout links Roadmap and Changelog and states "Beta - running, not released"; page.tsx is untouched. Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"name": "skif",
|
|
"version": "0.1.0",
|
|
"packageManager": "pnpm@11.25.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"type-check": "tsc --noEmit",
|
|
"lint": "eslint .",
|
|
"test": "vitest run",
|
|
"verify": "pnpm type-check && pnpm lint && pnpm test && pnpm build",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "tsx scripts/migrate.mts",
|
|
"db:local": "pglite-server --db=.data/pglite --port=5433"
|
|
},
|
|
"dependencies": {
|
|
"@bitbaum/design-tokens": "1.1.0",
|
|
"@bitbaum/mail-kit": "^0.1.1",
|
|
"bip-kit": "^0.3.1",
|
|
"drizzle-orm": "^0.45.3",
|
|
"limitkit": "^0.2.0",
|
|
"next": "16.3.4",
|
|
"next-auth": "5.0.0-beta.32",
|
|
"pg": "^8.23.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"server-only": "^0.0.1",
|
|
"zod": "^4.6.5"
|
|
},
|
|
"devDependencies": {
|
|
"@electric-sql/pglite": "^0.5.8",
|
|
"@electric-sql/pglite-socket": "^0.2.11",
|
|
"@tailwindcss/postcss": "^4.0.0",
|
|
"@types/node": "^22.20.4",
|
|
"@types/pg": "^8.23.1",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"drizzle-kit": "^0.31.11",
|
|
"eslint": "^9.39.5",
|
|
"eslint-config-next": "^16.3.6",
|
|
"tailwindcss": "^4.0.0",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^5",
|
|
"vitest": "^5.0.1"
|
|
}
|
|
}
|