infra: base stack config (Next 16 + React 19 + TS strict, Tailwind v4, sql.js/Drizzle deps)

Copied/adapted from Flight-Ops (../flight): tsconfig/next/vitest configs verbatim,
Dockerfile two-stage node:22-slim with node_modules in build context (zero outbound
network at image-build time), .dockerignore/.gitignore adapted. package.json renamed
to space-wanderer v0.1.0; dropped maplibre-gl + assets:download; added Tailwind v4,
Radix slot, cva/clsx/tailwind-merge for the scificn-ui component layer.
This commit is contained in:
2026-09-28 15:56:10 +00:00
parent 0944ef66f0
commit 1aba7958b3
10 changed files with 588 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
// sql.js loads its SQLite WASM blob relative to its own dist/ dir at runtime;
// bundling it into a .next chunk would break that resolution. Keeping it
// external means require('sql.js') hits node_modules (kept in the image).
serverExternalPackages: ['sql.js'],
};
export default nextConfig;