Add Drizzle ORM with shared db package (#10)

This commit is contained in:
Ullrich Schäfer 2026-03-22 23:35:50 +01:00 committed by GitHub
parent 6a3e566438
commit 9deda5f125
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 783 additions and 109 deletions

16
packages/db/package.json Normal file
View file

@ -0,0 +1,16 @@
{
"name": "@trails-cool/db",
"version": "0.0.1",
"type": "module",
"exports": {
".": "./src/index.ts",
"./schema/planner": "./src/schema/planner.ts",
"./schema/journal": "./src/schema/journal.ts"
},
"main": "./src/index.ts",
"types": "./src/index.ts",
"dependencies": {
"drizzle-orm": "catalog:",
"postgres": "catalog:"
}
}