feat: db init
This commit is contained in:
parent
0b1cbef59e
commit
a6fc74e851
23 changed files with 1536 additions and 5553 deletions
38
packages/db/package.json
Normal file
38
packages/db/package.json
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"name": "@repo/db",
|
||||
"version": "0.0.0",
|
||||
"author": "Afiq Zudin Hadi",
|
||||
"private": true,
|
||||
"main": "index.ts",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"./index.ts": "./src/index.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"db:check": "npx drizzle-kit check",
|
||||
"db:generate": "npx drizzle-kit generate",
|
||||
"db:migrate": "npx drizzle-kit migrate",
|
||||
"db:pull": "npx drizzle-kit pull",
|
||||
"db:push": "npx drizzle-kit push",
|
||||
"db:init": "npx supabase init",
|
||||
"db:login": "npx supabase login",
|
||||
"db:link": "npx supabase link",
|
||||
"db:start": "npx supabase start",
|
||||
"db:stop": "npx supabase stop",
|
||||
"db:reset": "npx supabase db reset --linked",
|
||||
"db:reset-local": "npx supabase db reset",
|
||||
"db:seed": "tsx --env-file=.env ./src/seeders/seed.tsx"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@faker-js/faker": "^9.8.0",
|
||||
"@types/react": ">=18",
|
||||
"drizzle-kit": "^0.31.2",
|
||||
"tsx": "^4.20.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"drizzle-orm": "^0.44.2",
|
||||
"postgres": "^3.4.7",
|
||||
"typescript": "^5.8.2"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue