add some info to claude and readme
This commit is contained in:
48
CLAUDE.md
Normal file
48
CLAUDE.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# Zendegi
|
||||
|
||||
Turborepo monorepo (pnpm) for a timeline web app. TanStack Start frontend with an embedded Flutter timeline widget.
|
||||
|
||||
## Stack
|
||||
|
||||
- **apps/web** — TanStack Start (React 19, Vite, Tailwind CSS v4)
|
||||
- **packages/auth** — better-auth wrapper
|
||||
- **packages/db** — Drizzle ORM + PostgreSQL (Docker)
|
||||
- **packages/env** — Type-safe env vars (t3-env + Zod)
|
||||
- **packages/config** — Shared TypeScript config
|
||||
- **packages/eslint-config** — Shared ESLint config (base + react)
|
||||
- **packages/z-timeline** — Flutter web app (embedded in the web page)
|
||||
|
||||
## Lint Commands
|
||||
|
||||
### Whole stack
|
||||
|
||||
```sh
|
||||
pnpm check # turbo lint + check-types + prettier --check
|
||||
pnpm fix # turbo lint --fix + prettier --write
|
||||
```
|
||||
|
||||
### Individual packages
|
||||
|
||||
```sh
|
||||
# ESLint
|
||||
pnpm --filter web lint # apps/web
|
||||
pnpm --filter @zendegi/auth lint # packages/auth
|
||||
pnpm --filter @zendegi/db lint # packages/db
|
||||
pnpm --filter @zendegi/env lint # packages/env
|
||||
|
||||
# Type checking
|
||||
pnpm --filter web check-types
|
||||
pnpm --filter @zendegi/auth check-types
|
||||
pnpm --filter @zendegi/db check-types
|
||||
pnpm --filter @zendegi/env check-types
|
||||
|
||||
# Flutter (packages/z-timeline)
|
||||
cd packages/z-timeline && dart analyze
|
||||
```
|
||||
|
||||
### Prettier (root-level)
|
||||
|
||||
```sh
|
||||
prettier --check . # check formatting
|
||||
prettier --write . # fix formatting
|
||||
```
|
||||
Reference in New Issue
Block a user