Monorepo — Status
Section titled “Monorepo — Status”Last Updated: 2026-03-10 (v2.1 KB upgrade complete) Phase: sd-app Mini-Apps (ongoing) Overall: 🟡 In Progress
Foundation ✅
Section titled “Foundation ✅”- Astro monorepo: Template site + sdc.com
- Design tokens package (Vitest tests)
- Playwright E2E: 7 projects (chromium, firefox, webkit, iPad Pro, iPad Air, iPhone 14 Pro, Samsung Galaxy S21)
- Accessibility (axe-core), visual regression, dark mode tests
- Component library in
sites/Template/src/components/ui/ - Testing Infrastructure (pre-commit lint, pre-push E2E)
- World-class foundation refactor + docs
sd-app: SvelteKit PWA ✅
Section titled “sd-app: SvelteKit PWA ✅”- Workspace architecture in
apps/sd-app/ - SvelteKit PWA scaffold
- Restructured sd-demo → sd-app (dashboard + RRSP gross-up)
- i18n/l10n: Paraglide-SvelteKit +
/[country]/[lang]/routing - Gross-up calculator (localized: CA/US, en/fr)
- shadcn-svelte UI components
sd-app: Mini-Apps 🟡 (Current)
Section titled “sd-app: Mini-Apps 🟡 (Current)”- Mini-Apps showcase with iframe embed pattern
- Additional mini-apps (beyond gross-up)
- Mini-app #2: [TBD]
- Mini-app #3: [TBD]
sdc.com Integration ⬜
Section titled “sdc.com Integration ⬜”- Embed sd-app mini-apps into sdc.com pages
- Ensure iframe embed pattern works in production
- Cross-site token sharing
Deploy & Polish ⬜
Section titled “Deploy & Polish ⬜”- Cloudflare Pages production deploy for sd-app
- Performance audit (Lighthouse)
- Final accessibility pass
- Session log + project close
Notes / Blockers
Section titled “Notes / Blockers”- Svelte 5 has build friction — prefer Astro/Alpine for new Template components
- i18n compile step required:
pnpm buildbefore testing i18n routes src/paraglide/is generated at build (gitignored) — run build if missing
Key Files
Section titled “Key Files”apps/sd-app/src/lib/— main logic + formatterspackages/i18n/messages/— translations (en.json, fr.json)sites/Template/src/components/ui/— shared component librarysites/Template/tests/— all Playwright tests