Migrate app from Next.js to TanStack Start #35

Merged
miro merged 1 commit from claude/app2-tanstack-router-migration-c5da03 into main 2026-10-10 16:49:29 +00:00
Owner

Summary

  • Replaces the Next.js app with a TanStack Start (Router + Vite + Nitro) app in apps/app (on top of the new Turborepo layout).
  • Ports all routes (/, /d, /d/$slug, /view/$slug), the rename/trash server actions (now server functions), /api/upload-file and /api/raw/$path (GET/HEAD with range support).
  • Not ported: /api/events/fs (broken SSE stub) and /api/examples (placeholder).
  • Dockerfile builds with Vite and runs docker/bootstrap.mjs, which creates /storage and /.trash on the WebDAV volume (via MKCOL, with retries) before starting the server.
  • turbo.json, CI, e2e workflow, Playwright, ESLint, .gitignore/.dockerignore and VS Code launch config updated; the Next.js block removed from AGENTS.md.

Test plan

  • pnpm typecheck, pnpm lint (1 existing react-table warning), pnpm format:check, pnpm build
  • pnpm test:e2e (not-found test)
  • Docker image built and run against an empty WebDAV server: directories bootstrapped, directory listing, raw GET/HEAD and upload verified
  • Rename / move-to-trash / viewer not yet exercised in a browser
## Summary - Replaces the Next.js app with a TanStack Start (Router + Vite + Nitro) app in `apps/app` (on top of the new Turborepo layout). - Ports all routes (`/`, `/d`, `/d/$slug`, `/view/$slug`), the rename/trash server actions (now server functions), `/api/upload-file` and `/api/raw/$path` (GET/HEAD with range support). - Not ported: `/api/events/fs` (broken SSE stub) and `/api/examples` (placeholder). - Dockerfile builds with Vite and runs `docker/bootstrap.mjs`, which creates `/storage` and `/.trash` on the WebDAV volume (via `MKCOL`, with retries) before starting the server. - turbo.json, CI, e2e workflow, Playwright, ESLint, `.gitignore`/`.dockerignore` and VS Code launch config updated; the Next.js block removed from `AGENTS.md`. ## Test plan - [x] `pnpm typecheck`, `pnpm lint` (1 existing react-table warning), `pnpm format:check`, `pnpm build` - [x] `pnpm test:e2e` (not-found test) - [x] Docker image built and run against an empty WebDAV server: directories bootstrapped, directory listing, raw GET/HEAD and upload verified - [ ] Rename / move-to-trash / viewer not yet exercised in a browser
Migrate app from Next.js to TanStack Start
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / typecheck (pull_request) Has been cancelled
CI / format (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / docker (amd64, docker-amd64) (pull_request) Has been cancelled
CI / docker (arm64, docker-arm64) (pull_request) Has been cancelled
CI / manifest (pull_request) Has been cancelled
E2E / playwright (pull_request) Has been cancelled
4eea4c6b0a
Replace the Next.js app with a TanStack Start/Router app in packages/app.
Routes, server functions and API routes are ported; the Dockerfile, CI and
Playwright config are updated, and the image now creates /storage and
/.trash on the WebDAV volume at startup.
miro force-pushed claude/app2-tanstack-router-migration-c5da03 from 4eea4c6b0a
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / typecheck (pull_request) Has been cancelled
CI / format (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / docker (amd64, docker-amd64) (pull_request) Has been cancelled
CI / docker (arm64, docker-arm64) (pull_request) Has been cancelled
CI / manifest (pull_request) Has been cancelled
E2E / playwright (pull_request) Has been cancelled
to 187d54b916
All checks were successful
CI / lint (pull_request) Successful in 31s
CI / typecheck (pull_request) Successful in 36s
CI / format (pull_request) Successful in 33s
CI / build (pull_request) Successful in 37s
CI / docker (arm64, docker-arm64) (pull_request) Successful in 24s
E2E / playwright (pull_request) Successful in 41s
CI / docker (amd64, docker-amd64) (pull_request) Successful in 24s
CI / manifest (pull_request) Has been skipped
2026-10-10 16:23:32 +00:00
Compare
miro merged commit 4709d93b0e into main 2026-10-10 16:49:29 +00:00
miro deleted branch claude/app2-tanstack-router-migration-c5da03 2026-10-10 16:49:30 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miro/files!35
No description provided.