Skip to content

Commit d141800

Browse files
committed
WIP: supabase via npm
1 parent a181adb commit d141800

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

packages/database/package.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "@repo/database",
3+
"version": "0.0.0",
4+
"private": true,
5+
"license": "Apache-2.0",
6+
"type": "module",
7+
"exports": {
8+
"./types.gen.ts": "./types.gen.ts"
9+
},
10+
"scripts": {
11+
"init": "supabase login",
12+
"dev": "supabase start",
13+
"stop": "supabase stop",
14+
"local-types": "supabase start && supabase gen types typescript --local --schema public > types.gen.ts",
15+
"active-types": "supabase start && supabase gen types typescript --project-id \"$PRODUCTION_PROJECT_ID\" --schema public > types.gen.ts",
16+
"new-migration": "supabase stop && supabase db diff -f ",
17+
"deploy": "supabase db push --project-id \"$PRODUCTION_PROJECT_ID\""
18+
},
19+
"devDependencies": {
20+
"supabase": "^2.22.12",
21+
"tsx": "^4.19.2"
22+
},
23+
"dependencies": {}
24+
}

0 commit comments

Comments
 (0)