Skip to content

build: turbo migration#14698

Open
soberm wants to merge 32 commits intomainfrom
feat/turbo-migration
Open

build: turbo migration#14698
soberm wants to merge 32 commits intomainfrom
feat/turbo-migration

Conversation

@soberm
Copy link
Contributor

@soberm soberm commented Jan 30, 2026

Description of changes

This PR migrates the monorepo build system from Lerna to Turborepo for improved build performance and caching capabilities.

Key Changes:

  • Replaced Lerna with Turborepo as the primary task orchestration tool
  • Added turbo.json configuration defining build pipelines with proper task dependencies and caching strategies
  • Updated all package.json scripts to use turbo run instead of lerna run
  • Removed lerna.json and related Lerna dependencies
  • Updated GitHub Actions workflows to use native Yarn workspace commands instead of Lerna
  • Modified CONTRIBUTING.md to reflect the new Turborepo-based workflow
  • Configured task-level caching for build, test, lint, and ts-coverage tasks
  • Set up proper task dependencies (e.g., test depends on ^build)

Benefits:

  • Faster builds through intelligent caching and parallelization
  • Better task dependency management with explicit dependsOn declarations
  • Reduced complexity by leveraging Yarn workspaces directly

Migration Notes:

  • yarn bootstrap is no longer needed - just yarn is sufficient
  • Watch mode now uses turbo run build:watch instead of Lerna's watch
  • Package linking uses yarn workspace <package> link instead of lerna exec

Issue #, if available

N/A - Internal tooling improvement

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes
  • Unit Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

Checklist for repo maintainers

  • Verify E2E tests for existing workflows are working as expected or add E2E tests for newly added workflows
  • New source file paths included in this PR have been added to CODEOWNERS, if appropriate

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@soberm soberm changed the title feat: turbo migration build: turbo migration Jan 30, 2026
@soberm soberm marked this pull request as ready for review February 2, 2026 17:28
@soberm soberm requested review from a team as code owners February 2, 2026 17:28
Base automatically changed from feat/changesets-migration to main February 11, 2026 16:54
@changeset-bot
Copy link

changeset-bot bot commented Feb 12, 2026

⚠️ No Changeset found

Latest commit: 586a74b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant

Comments