chore(uload): fix vite compat, clean deps, add DB setup

- Downgrade vite 7→6 to fix Plugin type mismatch (0 type errors now)
- Remove 20+ unused devDependencies (PocketBase, Stripe, Drizzle kit,
  Playwright, mdsvex, vitest-browser, gray-matter, etc.)
- Remove old config files (.env examples, Docker, prettierrc, eslint)
- Add uload to setup-databases.sh
- Remove shared-vite-config dep (not needed for simple config)
- Dev server starts successfully (725ms)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-29 14:50:14 +02:00
parent 9942a21b8e
commit 9d2c7ad954
18 changed files with 37 additions and 958 deletions

View file

@ -86,6 +86,7 @@ ALL_DATABASES=(
"traces"
"context"
"citycorners"
"uload"
# Hono service databases (extracted from former mana-core-auth)
"mana_credits"
"mana_user"
@ -217,9 +218,13 @@ setup_service() {
create_db_if_not_exists "citycorners"
# Schema managed by mana-sync (backend removed)
;;
uload)
create_db_if_not_exists "uload"
# Schema managed by mana-sync (local-first app)
;;
*)
echo -e "${RED}Unknown service: $service${NC}"
echo "Available services: auth, chat, zitare, contacts, calendar, clock, todo, manadeck, mail, moodlit, picture, photos, finance, voxel-lava, figgos, planta, nutriphi, presi, storage, projectdoc, zitare_bot, todo_bot, nutriphi_bot, questions, skilltree, mukke, traces, context, citycorners"
echo "Available services: auth, chat, zitare, contacts, calendar, clock, todo, manadeck, mail, moodlit, picture, photos, finance, voxel-lava, figgos, planta, nutriphi, presi, storage, projectdoc, zitare_bot, todo_bot, nutriphi_bot, questions, skilltree, mukke, traces, context, citycorners, uload"
exit 1
;;
esac