Build Pipeline
apps/docs/src/content/docs/architecture/build-pipeline Click to copy Copied!
apps/docs/src/content/docs/architecture/build-pipeline The WC-2026 build pipeline uses Turborepo for local development and CI/CD, ensuring fast, reproducible builds.
Local Development
Section titled “Local Development”# Start all appsturbo run dev
# Start only docsturbo run dev --filter=docs
# Build everythingturbo run build
# Type-check all packagesturbo run type-checkBuild Order
Section titled “Build Order”Turborepo automatically resolves the build order based on dependsOn relationships:
packages/wc-librarybuilds first (upstream dependency)apps/storybookbuilds after library (depends on^build)apps/docsbuilds after library (depends on^build)
Output Caching
Section titled “Output Caching”Turborepo caches build outputs by default:
- Local cache:
.turbo/directory (gitignored) - Remote cache: Available via Vercel or self-hosted (CI/CD)
- Cache keys: Hashed from source files, config, and environment
CI/CD Pipeline (Planned)
Section titled “CI/CD Pipeline (Planned)”The CI/CD pipeline will include:
- TypeScript type checking
- Unit tests (Vitest)
- Visual regression tests (Chromatic)
- Accessibility audits (axe-core)
- Documentation build verification
- Deployment to CDN
See the Pre-Planning Architecture document for the complete pipeline design.