-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (92 loc) · 4.93 KB
/
package.json
File metadata and controls
105 lines (92 loc) · 4.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "supabase-debug-playground",
"version": "1.0.0",
"description": "5-episode Supabase debugging video series — break, run, fix, verify",
"private": true,
"engines": {
"node": ">=20",
"pnpm": ">=9"
},
"scripts": {
"supabase:start": "supabase start",
"supabase:stop": "supabase stop",
"supabase:reset": "supabase db reset",
"supabase:seed": "supabase db reset",
"ep1:reset": "git checkout -- supabase/functions/echo/index.ts && echo 'EP1 reset: index.ts restored'",
"ep1:break": "tsx scripts/episodes/ep1/break.ts",
"ep1:fix": "tsx scripts/episodes/ep1/fix.ts",
"ep1:run": "tsx scripts/ep1_edge_function.ts run",
"ep1:verify": "tsx scripts/episodes/ep1/verify.ts",
"ep2:reset": "supabase db reset",
"ep2:break": "tsx scripts/episodes/ep2/break.ts",
"ep2:fix": "tsx scripts/episodes/ep2/fix.ts",
"ep2:run": "tsx scripts/ep2_rpc.ts run",
"ep2:verify": "tsx scripts/episodes/ep2/verify.ts",
"ep3:reset": "git checkout -- scripts/ep3_crud.ts && echo 'EP3 reset: ep3_crud.ts restored'",
"ep3:break": "tsx scripts/episodes/ep3/break.ts",
"ep3:fix": "tsx scripts/episodes/ep3/fix.ts",
"ep3:run": "tsx scripts/ep3_crud.ts run",
"ep3:verify": "tsx scripts/episodes/ep3/verify.ts",
"ep4:reset": "supabase db reset",
"ep4:break": "tsx scripts/episodes/ep4/break.ts",
"ep4:fix": "tsx scripts/episodes/ep4/fix.ts",
"ep4:run": "tsx scripts/ep4_rls.ts run",
"ep4:verify": "tsx scripts/episodes/ep4/verify.ts",
"ep5:reset": "git checkout -- supabase/types.gen.ts && docker exec supabase_db_supabase-debug-playground psql -U postgres -c 'alter table public.receipts drop column if exists notes;' && echo 'EP5 reset: column dropped, types restored'",
"ep5:break": "tsx scripts/episodes/ep5/break.ts",
"ep5:fix": "tsx scripts/episodes/ep5/fix.ts",
"ep5:run": "tsx scripts/ep5_schema_drift.ts run",
"ep5:verify": "tsx scripts/episodes/ep5/verify.ts",
"ep6:reset": "tsx scripts/episodes/ep6/reset.ts",
"ep6:break": "tsx scripts/episodes/ep6/break.ts",
"ep6:fix": "tsx scripts/episodes/ep6/fix.ts",
"ep6:run": "tsx scripts/ep6_deploy.ts run",
"ep6:verify": "tsx scripts/episodes/ep6/verify.ts",
"ep6:preflight": "tsx scripts/ep6_preflight.ts",
"setup:ep6:env": "tsx scripts/setup_ep6_env.ts",
"ep7:reset": "supabase db reset",
"ep7:break": "tsx scripts/episodes/ep7/break.ts",
"ep7:fix": "tsx scripts/episodes/ep7/fix.ts",
"ep7:run": "tsx scripts/ep7_auth.ts run",
"ep7:verify": "tsx scripts/episodes/ep7/verify.ts",
"ep8:reset": "supabase db reset",
"ep8:break": "tsx scripts/episodes/ep8/break.ts",
"ep8:fix": "tsx scripts/episodes/ep8/fix.ts",
"ep8:run": "tsx scripts/ep8_realtime.ts run",
"ep8:verify": "tsx scripts/episodes/ep8/verify.ts",
"ep9:reset": "supabase db reset",
"ep9:break": "tsx scripts/episodes/ep9/break.ts",
"ep9:fix": "tsx scripts/episodes/ep9/fix.ts",
"ep9:run": "tsx scripts/ep9_rpc_auth.ts run",
"ep9:verify": "tsx scripts/episodes/ep9/verify.ts",
"ep10:reset": "supabase db reset",
"ep10:break": "tsx scripts/episodes/ep10/break.ts",
"ep10:fix": "tsx scripts/episodes/ep10/fix.ts",
"ep10:run": "tsx scripts/ep10_perf.ts run",
"ep10:verify": "tsx scripts/episodes/ep10/verify.ts",
"ep1:prompt": "pbcopy < prompts/ep1.md && echo 'EP1 prompt copied to clipboard — paste into a new chat'",
"ep2:prompt": "pbcopy < prompts/ep2.md && echo 'EP2 prompt copied to clipboard — paste into a new chat'",
"ep3:prompt": "pbcopy < prompts/ep3.md && echo 'EP3 prompt copied to clipboard — paste into a new chat'",
"ep4:prompt": "pbcopy < prompts/ep4.md && echo 'EP4 prompt copied to clipboard — paste into a new chat'",
"ep5:prompt": "pbcopy < prompts/ep5.md && echo 'EP5 prompt copied to clipboard — paste into a new chat'",
"ep6:prompt": "pbcopy < prompts/ep6.md && echo 'EP6 prompt copied to clipboard — paste into a new chat'",
"ep7:prompt": "pbcopy < prompts/ep7.md && echo 'EP7 prompt copied to clipboard — paste into a new chat'",
"ep8:prompt": "pbcopy < prompts/ep8.md && echo 'EP8 prompt copied to clipboard — paste into a new chat'",
"ep9:prompt": "pbcopy < prompts/ep9.md && echo 'EP9 prompt copied to clipboard — paste into a new chat'",
"ep10:prompt": "pbcopy < prompts/ep10.md && echo 'EP10 prompt copied to clipboard — paste into a new chat'",
"ep:runbook": "tsx scripts/runbook.ts",
"reset:code": "git checkout -- . && git clean -fd && echo 'Code reset: all tracked file changes reverted'",
"reset:db": "supabase db reset",
"reset:all": "pnpm reset:code && pnpm reset:db",
"reset": "tsx scripts/reset.ts"
},
"dependencies": {
"@supabase/supabase-js": "^2.47.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"dotenv": "^16.4.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0"
}
}