File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 "init" : " supabase login" ,
1212 "dev" : " supabase start" ,
1313 "stop" : " supabase stop" ,
14+ "build" : " npm run lint && npm run gentypes:local && npm run dbdiff" ,
1415 "lint" : " sqruff lint supabase/schemas" ,
1516 "lint:fix" : " sqruff fix supabase/schemas" ,
16- "local-types" : " supabase start && supabase gen types typescript --local --schema public > types.gen.ts" ,
17- "active-types" : " supabase start && supabase gen types typescript --project-id \" $PRODUCTION_PROJECT_ID\" --schema public > types.gen.ts" ,
18- "new-migration" : " supabase stop && supabase db diff -f " ,
17+ "gentypes:local" : " supabase start && supabase gen types typescript --local --schema public > types.gen.ts" ,
18+ "gentypes:production" : " supabase start && supabase gen types typescript --project-id \" $PRODUCTION_PROJECT_ID\" --schema public > types.gen.ts" ,
19+ "dbdiff" : " supabase stop && supabase db diff" ,
20+ "dbdiff:save" : " supabase stop && supabase db diff -f " ,
1921 "deploy" : " supabase db push --project-id \" $PRODUCTION_PROJECT_ID\" "
2022 },
2123 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments