build: switch ui workflow to pnpm
This commit is contained in:
@@ -535,10 +535,14 @@ Run the SQL migrations against a local database with:
|
||||
|
||||
The web UI now lives in the top-level `ui/` module and is embedded into the Go binary at build time with `go:embed`.
|
||||
|
||||
- `make build` — builds the Svelte/Tailwind frontend, then compiles the Go server
|
||||
**Use `pnpm` for all UI work in this repo.**
|
||||
|
||||
- `make build` — runs the real UI build first, then compiles the Go server
|
||||
- `make test` — runs `svelte-check` for the frontend and `go test ./...` for the backend
|
||||
- `make ui-build` — builds only the frontend into `internal/app/ui/dist`
|
||||
- `make ui-install` — installs frontend dependencies with `pnpm install --frozen-lockfile`
|
||||
- `make ui-build` — builds only the frontend bundle
|
||||
- `make ui-dev` — starts the Vite dev server with hot reload on `http://localhost:5173`
|
||||
- `make ui-check` — runs the frontend type and Svelte checks
|
||||
|
||||
### Local UI workflow
|
||||
|
||||
|
||||
Reference in New Issue
Block a user