Skip to content

feat: setup turborepo for monorepo task orchestration#10726

Merged
timotheeguerin merged 2 commits into
microsoft:mainfrom
timotheeguerin:turbo-setup
May 20, 2026
Merged

feat: setup turborepo for monorepo task orchestration#10726
timotheeguerin merged 2 commits into
microsoft:mainfrom
timotheeguerin:turbo-setup

Conversation

@timotheeguerin
Copy link
Copy Markdown
Member

@timotheeguerin timotheeguerin commented May 19, 2026

Add turbo repo has it's been working well in typespec-azure and will improve performance here too

Summary

Sets up Turborepo for the TypeSpec monorepo, replacing raw pnpm -r calls with turbo for task orchestration. This brings:

  • Caching — incremental builds skip unchanged packages
  • Parallelism — turbo automatically parallelizes independent tasks respecting the dependency graph
  • Consistent pipeline — task dependencies (e.g. build before test) defined in one place (turbo.json)

Based on the equivalent setup done for typespec-azure: Azure/typespec-azure#4243

Changes

  • Added turbo.json with task pipeline configuration
  • Updated package.json scripts to use turbo instead of pnpm -r
  • Added turbo to devDependencies (via catalog)
  • Added .turbo to .gitignore

@azure-sdk-automation
Copy link
Copy Markdown

azure-sdk-automation Bot commented May 19, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@github-actions
Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@timotheeguerin timotheeguerin marked this pull request as ready for review May 19, 2026 15:57
@timotheeguerin timotheeguerin added this pull request to the merge queue May 20, 2026
Merged via the queue into microsoft:main with commit 2f6fc1d May 20, 2026
30 of 31 checks passed
@timotheeguerin timotheeguerin deleted the turbo-setup branch May 20, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants