Skip to content

Scaffold pnpm monorepo + web app (Vite 8, React 19, TanStack Router, TS7, Tailwind v4)#15

Merged
ankitsejwal merged 2 commits into
mainfrom
feat/scaffold-monorepo
Jun 28, 2026
Merged

Scaffold pnpm monorepo + web app (Vite 8, React 19, TanStack Router, TS7, Tailwind v4)#15
ankitsejwal merged 2 commits into
mainfrom
feat/scaffold-monorepo

Conversation

@ankitsejwal

Copy link
Copy Markdown
Member

What

Scaffolds the project as a pnpm + Turborepo monorepo with the web app in apps/web, per #1. Everything builds, typechecks, and lints clean locally.

Stack

  • Vite 8.1 (Rolldown) · React 19.2 SPA · TanStack Router 1.170 (file-based, type-safe) · TypeScript 7.0-rc · Tailwind v4.3 + shadcn/ui
  • Lint: oxlint (see notes) · CI: GitHub Actions — install → lint → typecheck → build

Layout

apps/web/     React SPA (the app)
packages/     reserved for shared code

Room for apps/mobile later (the reason for going monorepo now).

Notes / decisions

  • oxlint instead of ESLint. typescript-eslint can't load TypeScript 7 yet — TS7 restructured its package exports and the parser fails to resolve it. Rather than pin TS back, switched the linter to oxlint (Oxc's Rust linter): it parses TS/TSX natively, needs no typescript package, and is consistent with the Oxc-based stack (Vite 8/Rolldown already use Oxc). Result: 0 warnings / 0 errors across 7 files, 90 rules.
  • TanStack Router, not Start. This is a client-only tool (image + PDF in the browser); Start's SSR/server runtime is unnecessary.
  • routeTree.gen.ts is committed so fresh clones typecheck without a pre-generate step; the Vite router plugin keeps it updated on dev/build.
  • No backend, no auth — fully client-side by design (the privacy differentiator).

Verification

Check Result
pnpm lint ✅ oxlint 0/0
pnpm typecheck ✅ tsc 7.0.1-rc
pnpm build ✅ Vite 8, ~90ms

Closes #1

@ankitsejwal ankitsejwal merged commit 0d6c67b into main Jun 28, 2026
1 check passed
@ankitsejwal ankitsejwal deleted the feat/scaffold-monorepo branch June 28, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scaffold app — Vite 8 (Rolldown) + React 19 + TanStack Router + TS7 + Tailwind v4 + shadcn/ui

1 participant