managarten/apps/planta/apps/web
Till JS e7bcb230be refactor(auth): centralize auth stores — 21 apps use createManaAuthStore factory
Created createManaAuthStore in @manacore/shared-auth-stores that replaces
~350 lines of duplicated auth.svelte.ts per app with a ~10 line factory call.

The factory handles: SSO, passkeys, 2FA, magic links, token management,
password reset, sign up/in/out — everything the old stores did.

Each app only provides devBackendPort and optional onAuthenticated callback.

Before: 21 apps × ~350 lines = 6,800 lines of duplicated auth code
After:  21 apps × ~10 lines  = 182 lines total (97% reduction)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:04:27 +01:00
..
src refactor(auth): centralize auth stores — 21 apps use createManaAuthStore factory 2026-03-28 18:04:27 +01:00
package.json refactor(auth): centralize auth stores — 21 apps use createManaAuthStore factory 2026-03-28 18:04:27 +01:00
svelte.config.js fix(build): add handleHttpError for missing favicon.png in 4 apps 2026-03-28 16:03:19 +01:00
tsconfig.json feat(planta): add plant care tracking application 2026-01-18 14:57:16 +01:00
vite.config.ts feat: show build date/time on login screen across all apps 2026-03-21 12:40:57 +01:00