Setting up db migrations

This commit is contained in:
Dominic Ferrando
2026-07-03 21:01:56 -04:00
parent f5a68f436b
commit 37ffaa282b
8 changed files with 142 additions and 35 deletions
+5 -3
View File
@@ -11,7 +11,8 @@
"scripts": {
"dev": "bun run --hot src/index.ts",
"start": "bun run src/index.ts",
"build": "bun build --compile --minify-whitespace --minify-syntax --target bun-linux-x64 --outfile dist/server src/index.ts"
"build": "bun build --compile --minify-whitespace --minify-syntax --target bun-linux-x64 --outfile dist/server src/index.ts",
"db:codegen": "bunx kysely-codegen --env-file .env.development --out-file ./src/database/types.d.ts"
},
"dependencies": {
"@blade-and-brawn/calculator": "workspace:*",
@@ -29,7 +30,8 @@
"zipcodes-us": "^1.1.3"
},
"devDependencies": {
"pino-pretty": "^13.1.3",
"kysely-codegen": "^0.20.0"
"kysely-codegen": "^0.20.0",
"kysely-ctl": "^0.21.0",
"pino-pretty": "^13.1.3"
}
}