AGENT SKILL

turborepo-config

暂无简介

License 许可
MIT
最近更新
2026-06-24
Stars
★ 67
Forks
24

03 SKILL.md 正文

Turborepo Config

pnpm-workspace.yaml

packages:
  - "apps/*"
  - "packages/*"

Shared Package

// packages/ui/package.json
{ "name": "@repo/ui", "exports": { ".": "./src/index.ts" } }

Consuming Shared Package

// apps/web/package.json
{ "dependencies": { "@repo/ui": "workspace:*" } }

Filtering

turbo build --filter=web           # Build only web
turbo build --filter=web...        # Web + its dependencies
turbo build --filter=...[HEAD~1]   # Changed since last commit

Remote Caching: turbo login && turbo link

Or self-hosted: TURBO_REMOTE_CACHE_SIGNATURE_KEY + custom server

04 同仓库更多 Skills