feat(web): pnpm workspace with ticket, admin and partner apps (#5) #120
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/kws!120
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/5-web-workspace"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #5 (the issue stays open until you close it).
What
web/: pnpm workspace (Node 22, pnpm via corepack, exact versions) with three Vite + React + TS apps (apps/ticket|admin|partner), a shared@kws/uipackage (Page, with a test) and@kws/api-client, the generated TypeScript client moved fromapi/openapi/clients/typescript. Each app imports the client, so a spec change that breaks an app call failspnpm typecheck.webjob (install--frozen-lockfile, typecheck, test, build) added toci-gate.needs;detect-changes.shgets aweb=output (web/,api/openapi/, the client script, workflows) with tests.generate-clients.sh typescriptnow uses the workspace.mobile/ticket/README.mdplaceholder (PWA vs Flutter is #54). Docs:web/README.md, CLAUDE.md layout/CI lines.Review
Dual pass: ponytail (no must-fix; fixed: build/dev generate the client first, a needless flag, empty
VITE_API_URL) and correctness (no Critical/Important; clean-copy install, typecheck, test, build pass).Coverage
make cover: 91.3% total (minimum 80%). No Go code changed.Not verified
Forgejo runner behaviour (corepack/pnpm there), the Dart path of
generate-clients.sh(needs Docker), the TS client generated twice on spec changes (web + clients jobs; left as is).🤖 Generated with Claude Code