Monorepo Build Skill
Build all packages in the Topographic Studio monorepo using Turborepo.
Task
You are helping the user build all packages in the monorepo.
Instructions
- •Navigate to the monorepo root directory
- •Run the build command with Turborepo
- •Report any build errors with specific package names and error messages
- •If successful, show a summary of built packages
Commands
bash
# Build all packages bun run build # Build with cache info turbo run build --summarize # Build specific package turbo run build --filter=@topographic-studio/ui
Success Criteria
- •All packages build without errors
- •No TypeScript errors
- •dist/ directories created for each package
- •Build artifacts are properly generated
Error Handling
If build fails:
- •Identify which package failed
- •Show the specific error message
- •Suggest fixes based on the error type:
- •TypeScript errors → Check type definitions
- •Import errors → Verify package dependencies
- •Missing files → Check file paths
Output Format
Provide a clear summary:
code
✅ Built 4 packages successfully: - @topographic-studio/ui - @topographic-studio/utils - @topographic-studio/config - @topographic-studio/types Build time: 3.2s