Files
docs/decisions/0002-standardize-pnpm-turborepo.md
2026-02-09 21:51:46 -08:00

46 lines
927 B
Markdown

# ADR-0002: Standardize on pnpm and Turborepo
**Status**: Accepted
**Date**: 2025-01-27
**Deciders**: Workspace maintainers
---
## Context
Different projects use different package managers (npm, yarn, pnpm) and build tools. This creates:
- Inconsistent workflows
- Duplicate dependency installations
- Different caching strategies
- Learning curve for developers
---
## Decision
We will standardize on:
- **Package Manager**: pnpm workspaces
- **Build Tool**: Turborepo
- **Rationale**:
- pnpm: Faster installs, better disk efficiency, strict dependency resolution
- Turborepo: Excellent caching, task orchestration, incremental builds
---
## Consequences
### Positive
- ✅ Consistent developer experience
- ✅ Faster builds and installs
- ✅ Better caching
- ✅ Simplified CI/CD
### Negative
- ⚠️ Migration effort for existing projects
- ⚠️ Team needs to learn new tools
---
**Status**: Accepted