Till-JS
d0d2855adb
🔧 chore: create @manacore/shared-tsconfig and migrate 13 backends
...
- Create shared TypeScript config package with:
- base.json: Common options (ES2021, skipLibCheck, etc.)
- nestjs.json: NestJS backend config (decorators, commonjs)
- sveltekit.json: SvelteKit web config
- expo.json: Expo mobile config
- astro.json: Astro landing config
- Migrate 13 NestJS backends to use shared config:
calendar, chat, clock, contacts, nutriphi, picture, planta,
presi, questions, skilltree, storage, todo, zitare
- Skip manadeck (uses nodenext module system)
Savings: ~280 LOC (13 backends × ~22 LOC each)
2026-01-29 16:38:57 +01:00
Till-JS
4681ba8c36
♻️ refactor: create createAppSettingsStore factory and migrate 3 apps
...
- Add createAppSettingsStore<T>() factory to @manacore/shared-stores
- Migrate todo, contacts, calendar settings stores to use factory
- Factory provides: localStorage persistence, type-safe set/update/reset
- Optional onSettingsChange callback for cloud sync (used by calendar)
- Reduces boilerplate by ~323 LOC across 3 apps
Savings:
- todo: 259 → 159 LOC (100 LOC)
- contacts: 278 → 173 LOC (105 LOC)
- calendar: 433 → 315 LOC (118 LOC)
2026-01-29 16:30:22 +01:00
Till-JS
0a6a1dcd1a
📝 docs: add consolidation opportunities analysis
...
Comprehensive analysis of code duplication across the monorepo:
- Backend patterns: ~2,300 LOC savings (metrics, main.ts, health)
- Frontend stores: ~700 LOC savings (settings, navigation)
- UI components: ~1,200 LOC savings (skeletons, duplicates)
- Configurations: ~900 LOC savings (tsconfig, vite, drizzle)
Total potential: ~5,200-6,500 LOC reduction
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 16:14:08 +01:00