refactor: rename planta → plants, clean up codebase

- Rename planta module to plants everywhere (routes, modules, API,
  branding, i18n, docker, docs, shared packages)
- Fix package name collisions: @mana/credits-service, @mana/subscriptions-service
  (unblocks turbo)
- Extract layout composables: use-ai-tier-items, use-sync-status-items,
  RouteTierGate (layout 1345→1015 lines)
- Create shared DB pool for apps/api (lib/db.ts), migrate 5 modules
- Add automations module queries.ts with useAllAutomations/useEnabledAutomations
- Remove debug console.log statements from production code
- Rename storage display name: Ablage → Speicher

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-12 18:59:44 +02:00
parent c6c19dbc77
commit a91a6076cc
110 changed files with 831 additions and 707 deletions

View file

@ -122,7 +122,7 @@ const PROJECT_META: Record<string, { name: string; icon: string }> = {
presi: { name: 'Presi', icon: '📊' },
inventory: { name: 'Inventar', icon: '📦' },
nutriphi: { name: 'Nutriphi', icon: '🥗' },
planta: { name: 'Planta', icon: '🌱' },
plants: { name: 'Plants', icon: '🌱' },
storage: { name: 'Storage', icon: '☁️' },
questions: { name: 'Questions', icon: '❓' },
music: { name: 'Music', icon: '🎵' },

View file

@ -1,5 +1,5 @@
{
"name": "@mana/credits",
"name": "@mana/credits-service",
"version": "0.1.0",
"private": true,
"type": "module",

View file

@ -1,5 +1,5 @@
{
"name": "@mana/subscriptions",
"name": "@mana/subscriptions-service",
"version": "0.1.0",
"private": true,
"type": "module",