Replaces the legacy Bureau CMS stack (@bureaudouble/bureau, deno-sqlite-blob, Fresh-style RSC) with the fleet layout: a defineProgram schema over the legacy tables (rows carry over by id), the timeline-selected blob database (autokit.sqlite), the operator CLI and mf predeploy, the package-shipped admin with a plugin per table, and the /api rpc/mcp/openapi door. The pages still render as server components, wired like wtfutures: one Autokit session per process, the request's db minted once in a createStart request middleware, read as context.db by each page's server function and handed to the server components as a db prop; the rsc graph never imports the session module (tests/one-session.test.ts). French stays at / and English at /en, now through Autokit's locales: the *_en columns became the translationsJson bag beside their French base text. The integer order columns of persons, roles and resources became order keys (drag-to-reorder in the admin); media columns are stored-media lists resolved through autokit-media. The age gate is the same shared page for every visitor: a head script marks a visitor who already answered, before the first paint.
38 lines
1,022 B
JSON
38 lines
1,022 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx",
|
|
"vite.config.ts",
|
|
"tests/**/*.ts",
|
|
"playwright.config.ts"
|
|
],
|
|
"exclude": ["node_modules", "dist", ".generated"],
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
"jsx": "react-jsx",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"resolveJsonModule": true,
|
|
"strict": true,
|
|
"strictNullChecks": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"paths": {
|
|
"#/*": ["./src/*"],
|
|
"@/*": ["./*"]
|
|
},
|
|
"types": ["node", "vite/client"]
|
|
}
|
|
}
|