A full-featured CRM built with React, shadcn/ui, and Supabase.
[no ci] improve comments
François Zaninotto5043182eb107
diff --git a/.claude/scripts/e2e-smoke.sh b/.claude/scripts/e2e-smoke.shindex 836f4f64..92d1edb8 100755--- a/.claude/scripts/e2e-smoke.sh+++ b/.claude/scripts/e2e-smoke.sh@@ -86,7 +86,9 @@ donefor f in seed.sql signing_keys.json; do[ -f "$SRC/supabase/$f" ] && cp "$SRC/supabase/$f" "$workdir/supabase/$f"done-# Edge functions validate the JWT issuer, which is this slot's API port.+# Edge functions reject JWTs whose issuer differs from SB_JWT_ISSUER. functions/.env sets it+# for the dev instance (port 54321), but this slot's JWTs are issued by its own API (port+# $api_port, offset above), so rewrite it to that port.[ -f "$SRC/supabase/functions/.env" ] && sed "s|^SB_JWT_ISSUER=.*|SB_JWT_ISSUER=http://127.0.0.1:$api_port/auth/v1|" \"$SRC/supabase/functions/.env" > "$workdir/supabase/functions/.env"diff --git a/makefile b/makefileindex 39c08691..f32320ef 100644--- a/makefile+++ b/makefile@@ -68,7 +68,9 @@ start-supabase-e2e: ## start a separate supabase instance for e2e (fresh DB evercp -r supabase/migrations .supabase-e2e/supabase/migrationscp -r supabase/schemas .supabase-e2e/supabase/schemascp -r supabase/functions .supabase-e2e/supabase/functions- # edge functions validate the JWT issuer, which is the e2e API port here+ # Edge functions reject JWTs whose issuer differs from SB_JWT_ISSUER. functions/.env sets it+ # for the dev instance (port 54321), but e2e JWTs are issued by the e2e API (port 54341, see+ # config.e2e.toml), so rewrite it to that port. Keep both ports in sync.sed 's|^SB_JWT_ISSUER=.*|SB_JWT_ISSUER=http://127.0.0.1:54341/auth/v1|' supabase/functions/.env > .supabase-e2e/supabase/functions/.envcp -r supabase/templates .supabase-e2e/supabase/templatescp supabase/seed.sql .supabase-e2e/supabase/seed.sql