chore(repo): fix pre-existing svelte-check errors blocking pre-push
Some checks are pending
CD Mac Mini / Detect Changes (push) Waiting to run
CD Mac Mini / Deploy (push) Blocked by required conditions
CI / Detect Changes (push) Waiting to run
CI / Validate (push) Waiting to run
CI / Build mana-search (push) Blocked by required conditions
CI / Build mana-sync (push) Blocked by required conditions
CI / Build mana-api-gateway (push) Blocked by required conditions
CI / Build mana-crawler (push) Blocked by required conditions
Docker Validate / Validate Dockerfiles (push) Waiting to run
Docker Validate / Build calendar-web (push) Blocked by required conditions
Docker Validate / Build quotes-web (push) Blocked by required conditions
Docker Validate / Build todo-backend (push) Blocked by required conditions
Docker Validate / Build todo-web (push) Blocked by required conditions
Docker Validate / Build mana-auth (push) Blocked by required conditions
Docker Validate / Build mana-sync (push) Blocked by required conditions
Docker Validate / Build mana-media (push) Blocked by required conditions
Mirror to Forgejo / Push to Forgejo (push) Waiting to run

Drei Root-Causes für die 8 pre-existing svelte-check errors auf main
(blockierten den pre-push-Hook seit längerem):

1. `dexie` fehlte als devDep in packages/shared-stores — 4 Files
   importieren `type { Table } from 'dexie'`. Type-only-Import, daher
   devDep reicht.

2. `vite-plugin-pwa` fehlte als devDep in apps/mana/apps/web. Wird
   nur transitiv via `@vite-pwa/sveltekit` gezogen, aber die
   `/// <reference types="vite-plugin-pwa/info" />`-Direktiven in
   src/app.d.ts brauchen das Package direkt im Tree.

3. packages/shared-auth/tsconfig.json baut `src/**/*` inklusive
   `*.spec.ts` — Spec-Files sollen aber nicht in den prepare-Build.
   exclude erweitert um `*.spec.ts` + `*.test.ts`.

Verifikation: `pnpm check` von apps/mana/apps/web läuft jetzt mit
0 ERRORS / 0 WARNINGS / 0 FILES_WITH_PROBLEMS (vorher 8 Errors).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-05-19 15:34:21 +02:00
parent f9159741a0
commit 1b637b9aa7
4 changed files with 185 additions and 232 deletions

View file

@ -28,6 +28,7 @@
"@tailwindcss/vite": "^4.1.7",
"@types/node": "^22.10.5",
"@vite-pwa/sveltekit": "^1.1.0",
"vite-plugin-pwa": "^1.0.0",
"@vitest/coverage-v8": "^4.1.2",
"@vitest/ui": "^4.1.2",
"autoprefixer": "^10.4.20",