Align turborepo configuration with best practices#44
Merged
chris-c-thomas merged 2 commits intomainfrom Mar 15, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adjusts the repository’s Turborepo configuration and root scripts to better control task ordering and caching/outputs across the monorepo (including package-specific Turbo overrides for apps/web and packages/cli).
Changes:
- Updated root
turbo.jsontask graph (notablytestdependencies, newtransittask, andlintdependencies) and refinedbuild:weboutputs. - Added package-level Turbo configs for
packages/cli(test/build ordering) andapps/web(typecheck outputs). - Standardized root
package.jsonscripts to useturbo run <task>.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
turbo.json |
Refines task dependencies and outputs (adds transit, changes test deps, updates lint deps, adjusts Next outputs). |
packages/cli/turbo.json |
Adds CLI-specific override so test runs after build. |
apps/web/turbo.json |
Adds output tracking for incremental TS typecheck (tsconfig.tsbuildinfo). |
package.json |
Updates root scripts to use turbo run consistently. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This pull request updates the Turbo configuration and related scripts to improve task dependencies and output management across the project. The most important changes include refining Turbo task dependencies for more accurate build and linting flows, updating script commands in
package.jsonfor consistency, and adding new Turbo configuration files for specific packages.Task dependency improvements:
turbo.jsonto refine task dependencies:testnow depends on parent builds,transitand lint tasks depend on transit, andbuild:weboutputs exclude cache directories for better caching and build accuracy.packages/cli/turbo.jsonspecifying thattestdepends on both local and parentbuildtasks.Script command updates:
package.jsonto useturbo runfor consistency and compatibility with Turbo's latest CLI conventions.Configuration additions:
apps/web/turbo.jsonspecifying typecheck task outputs for improved type checking management.