restructure

move to bun workspaces
bump zod
begin adding fluxer
This commit is contained in:
2026-02-17 18:04:32 +01:00
parent 6608bd6ee7
commit 6ce1fdf67d
79 changed files with 1106 additions and 79 deletions

17
core/drizzle.config.ts Normal file
View File

@@ -0,0 +1,17 @@
import "dotenv/config";
import { defineConfig } from "drizzle-kit";
const dbFileName = process.env.DB_FILE_NAME;
if (!dbFileName) {
throw new Error("Die Umgebungsvariable DB_FILE_NAME ist nicht gesetzt.");
}
export default defineConfig({
out: "./drizzle",
schema: "./src/db/schema.ts",
dialect: "sqlite",
dbCredentials: {
url: dbFileName,
},
});