Skip to content

FE-M0-07 · Clients, proxy.ts, sign-in and sign-out

ID FE-M0-07 · Level L0 · Run order row 25

apps/web has its Supabase clients (D22), proxy.ts checking every session with getClaims() (D13), the sign-in page and sign-out; it builds; committed.

FE-M0-06 is Done. You are on the branch web/auth.

Terminal window
cp -R ~/opleet-v2/packs/fe-pack-b/FE-M0-07/. .
git status --short
Terminal window
pnpm --filter web typecheck
pnpm lint
pnpm --filter web build
Terminal window
git add -A apps/web
git commit -m "feat(web): sign in and sign out with Supabase"
  • Block 1: M for apps/web/app/page.tsx and apps/web/components/opleet/Icon.tsx; ?? for apps/web/app/login/, apps/web/lib/auth/, apps/web/lib/supabase/ and apps/web/proxy.ts.
  • Block 2: no type errors; “No fixes applied.”; the build lists ƒ / and ○ /login, then “ƒ Proxy (Middleware)”.
  • Block 3: the commit line with 9 files changed.
Terminal window
git status --short

Expect: Prints nothing.

Anything in block 2 fails: stop and paste the first error.

Terminal window
git reset --hard
git clean -fd apps/web

Before the commit. After it: git reset --hard HEAD~1.

Not run yet.