- Vite 5 + React 18 + TypeScript 5 + Tailwind 3 scaffold in web/ - ClickHouse design tokens (volt, forest, canvas, charcoal, near-black) in tailwind.config.ts - TanStack Router v1 with placeholder routes for /, /item/$id, /intake, /scan - TanStack Query v5 QueryClientProvider + Zustand uiStore - shadcn/ui Button (neon/forest/secondary/outline/ghost), Card, Badge with ClickHouse variants - Vite proxy: /api -> http://localhost:8080 - Makefile: added frontend and dev-frontend targets - Fixed: @typescript-eslint v8 for ESLint v9 compatibility; @types/node for vite.config.ts
19 lines
242 B
Makefile
19 lines
242 B
Makefile
.PHONY: build dev dev-frontend frontend test clean
|
|
|
|
build:
|
|
go build -o bin/hwlab ./cmd/hwlab/...
|
|
|
|
dev:
|
|
air -c .air.toml
|
|
|
|
frontend:
|
|
cd web && npm run build
|
|
|
|
dev-frontend:
|
|
cd web && npm run dev
|
|
|
|
test:
|
|
go test ./... -v
|
|
|
|
clean:
|
|
rm -rf bin/
|