What is starter-monorepo?
starter-monorepo is a modern TypeScript monorepo starter template designed for building and managing multiple packages efficiently.
Features
📦 Monorepo Management
Built on pnpm workspaces, allowing you to manage multiple packages in a single repository with shared dependencies.
🚀 Fast Development
- unbuild - Fast build tool for TypeScript libraries
- Vite - Next-generation frontend tooling
- Hot Module Replacement - Instant feedback during development
📝 TypeScript First
Full TypeScript support with:
- Strict type checking
- Type generation
- IntelliSense support
✅ Testing & Quality
- Vitest - Fast unit testing framework
- ESLint - Code linting with @antfu/eslint-config
- Git Hooks - Pre-commit checks with simple-git-hooks
📚 Documentation
- VitePress - Modern static site generator
- TypeDoc - Automatic API documentation from source code
- Live Preview - Real-time documentation development
Use Cases
- Building component libraries
- Creating utility packages
- Developing design systems
- Managing shared configurations
Why Monorepo?
Monorepo architecture offers several advantages:
- Code Sharing - Easy to share code between packages
- Atomic Changes - Change multiple packages in a single commit
- Unified Tooling - Single configuration for all packages
- Better Dependency Management - Avoid version conflicts
Next Steps
- Getting Started - Set up your first project
- Configuration - Customize your setup
- API Reference - Explore the API documentation