Status: Pre-activation referenceDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
Canonical runbook: MICROFRONTENDS_RUNBOOK.md
PWA: ADR-017 Use this checklist immediately before and after owner-side Vercel steps. Do not treat
microfrontends.json as documentation — keep narrative notes in this file or the runbook.
Preconditions
-
microfrontends.jsonat repo root matches Vercel project names (encoreos-app,encoreos-public). -
npm run audit:microfrontendspasses in CI and locally (strict keys; no unknown top-level fields). -
npm run audit:turbo-configpasses (guards//#root tasks — badmicrofrontends.jsonbreaksturbo run).
Vercel (project owner)
- Vercel project
encoreos-publiccreated (Framework: Vite, root., outputdist, installnpm ci --legacy-peer-deps). - Microfrontends group created; default app = main project;
encoreos-publicadded; fallback environment agreed. -
VERCEL_PROJECT_IDfor both dev/prod public projects added tovite.config.ts→VERCEL_PROJECT_TO_SUPABASE(same Supabase target as sibling environment per runbook).
Wiring PR (engineer)
-
npm install --save @vercel/microfrontends --legacy-peer-deps -
import { microfrontends } from '@vercel/microfrontends/experimental/vite'and register beforelucidePreprocess()invite.config.ts(see runbook). -
package.jsonscripts:mf:proxy,mf:portper runbook. - PWA: disable
vite-plugin-pwaforencoreos-publicbuilds only (ADR-017 Option A). - CI:
MFE_DISABLE_LOCAL_PROXY_REWRITE=1for E2E if required by runbook.
Verification
-
npm run buildsucceeds for both project IDs (or both preview builds green). -
npm run mf:proxy+npm run dev— hit proxy URL;/,/auth,/portal/*smoke paths. - Preview soak ≥ 24h; Speed Insights / Sentry reviewed (runbook step 4).