Skip to content

Commit f6f067d

Browse files
committed
copy generated types where they are needed
1 parent 7451ecf commit f6f067d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/database/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"init": "supabase login",
1212
"dev": "supabase start",
1313
"stop": "supabase stop",
14-
"build": "npm run lint && npm run gentypes:local && npm run dbdiff",
14+
"build": "npm run lint && npm run gentypes:local && cp ./types.gen.ts ../../apps/website/app/utils/supabase && npm run dbdiff",
1515
"lint": "sqruff lint supabase/schemas",
1616
"lint:fix": "sqruff fix supabase/schemas",
1717
"gentypes:local": "supabase start && supabase gen types typescript --local --schema public > types.gen.ts",

0 commit comments

Comments
 (0)