https://github.com/rodrigogs/ts-monorepo-template
https://github.com/rodrigogs/ts-monorepo-template
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/rodrigogs/ts-monorepo-template
- Owner: rodrigogs
- Created: 2025-06-09T18:13:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-09T19:54:05.000Z (about 1 year ago)
- Last Synced: 2025-06-09T20:33:45.717Z (about 1 year ago)
- Language: TypeScript
- Size: 233 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TypeScript Monorepo Template
[](https://github.com/rodrigogs/ts-monorepo-template/actions)
[](https://codecov.io/gh/rodrigogs/ts-monorepo-template)
Modern TypeScript monorepo with Turbo for high-performance builds.
## Structure
```
├── apps/
│ └── example/ # CLI app with AI capabilities
├── packages/
│ ├── ai/ # AI agents with LangChain
│ ├── cache/ # Caching system (memory/filesystem)
│ ├── logger/ # Structured logging
│ ├── utils/ # File and time utilities
│ ├── template/ # Package template
│ ├── eslint-config/ # Shared ESLint configs
│ ├── typescript-config/ # Shared TypeScript configs
│ └── test/ # Shared Vitest config
```
## Stack
- **Turbo** - Monorepo orchestration
- **TypeScript** - Dual ESM/CJS builds
- **Vitest** - Testing with coverage
- **ESLint** - Linting with shared configs
- **LangChain** - AI capabilities
## Quick Start
```bash
git clone https://github.com/rodrigogs/ts-monorepo-template.git
cd ts-monorepo-template
npm install
npm run build
```
## Commands
```bash
npm run build # Build all packages
npm run dev # Development mode
npm test # Run tests
npm run lint # Lint code
```
## Environment
```bash
OPENAI_API_KEY= # For AI functionality
DEEPSEEK_API_URL= # DeepSeek API
DEEPSEEK_API_KEY= # DeepSeek key
```
## Packages
| Package | Description |
| ------------------------- | ------------------------------------ |
| `@repo/ai` | AI agents with LangChain integration |
| `@repo/cache` | Memory and filesystem caching |
| `@repo/logger` | Structured logging with debug |
| `@repo/utils` | File and time utilities |
| `@repo/template` | Package creation template |
| `@repo/eslint-config` | Shared ESLint configurations |
| `@repo/typescript-config` | Shared TypeScript configurations |
| `@repo/test` | Shared Vitest testing utilities |