feat(app): optional Supabase connection in runtime config + lazy typed client

- env.ts: supabase: SupabaseConnection | null resolved from env.js
  (supabaseUrl/supabaseAnonKey), VITE_SUPABASE_*, else null; half config refused
- lib/supabase.ts: getSupabaseClient() null when unconfigured, one client per URL
- entrypoint.sh writes the two public values; .env.example placeholders
- Dockerfile copies packages/supabase manifest for the install layer
- no UI change; 7 new tests (278 app)
This commit is contained in:
bchanot committed 2026-10-08 22:43:18 +02:00
1 parent ce76c6597a
commit d239374d81
9 files changed
+153 -23

No files matched your search

+3
View File
@@ -20,6 +20,9 @@ importers:
apps/app:
dependencies:
'@faunosteo/supabase':
specifier: workspace:*
version: link:../../packages/supabase
motion:
specifier: ^11.11.17
version: 11.18.2(react-dom@19.2.6(react@19.2.6))(react@19.2.6)