···43434444```bash
4545# Build commands
4646-pnpm build # Build frontend first, then backend
4747-pnpm build:appview # Build only the backend
4848-pnpm build:client # Build only the frontend
4646+pnpm build # Build in correct order: lexicon → client → appview
4747+pnpm build:lexicon # Build only the lexicon package (type definitions)
4848+pnpm build:client # Build only the frontend
4949+pnpm build:appview # Build only the backend
49505051# Start commands
5151-pnpm start # Start the server (serves API and frontend)
5252-pnpm start:client # Start frontend development server only
5353-pnpm start:dev # Start both backend and frontend separately (development only)
5252+pnpm start # Start the server (serves API and frontend)
5353+pnpm start:client # Start frontend development server only
5454+pnpm start:dev # Start both backend and frontend separately (development only)
54555556# Other utilities
5656-pnpm typecheck # Run type checking
5757-pnpm format # Format all code
5757+pnpm typecheck # Run type checking
5858+pnpm format # Format all code
5859```
59606061## Deployment
61626263For production deployment:
63646464-1. Build both packages:
6565+1. Build all packages in the correct order:
6566 ```bash
6667 pnpm build
6768 ```
68696970 This will:
7070- - Build the frontend (`packages/client`) first
7171- - Then build the backend (`packages/appview`)
7171+ - Build the lexicon package first (shared type definitions)
7272+ - Build the frontend (`packages/client`) next
7373+ - Finally build the backend (`packages/appview`)
727473752. Start the server:
7476 ```bash