Configure options below — the preview updates in real time.
Root-level settings that define the overarching behavior of the Turborepo build system.
Enables IDE autocompletion and validation using JSON Schema.
Used in Package Configurations to inherit from root turbo.json. Must begin with '//'.
File globs relative to the workspace root that impact the hash of all tasks. Changes to these files cause all tasks to miss the cache.
Environment variables that impact the cache hash of all tasks. Supports wildcards and negations.
Environment variables made available to tasks without impacting the global hash. Enables Strict Environment Variable Mode.
Controls which environment variables are exposed at runtime. 'strict' filters to explicitly listed variables only.
The directory where Turborepo writes and reads its local filesystem cache.
Set the maximum concurrency for task execution. Must be an integer >= 1 or a percentage value like '50%'. Use '1' for serial execution.
Specifies the UI layout for terminal output.
Configuration for connecting to a Remote Cache provider like Vercel.
Endpoint for API calls to the remote cache.
Endpoint for requesting tokens during the turbo login flow.
The ID of the Remote Cache team. Must start with 'team_'.
The slug of the Remote Cache team.
Timeout for remote cache operations in whole seconds. Set to 0 for no timeout.
Timeout for remote cache upload operations in whole seconds. Set to 0 for no timeout.
Configuration for the 'build' task pipeline.
Tasks that must complete before build begins. Use '^build' for workspace dependency builds.
Files and directories to cache once build completes. Empty means no artifacts are cached.
Files to include in the build task hash. $TURBO_DEFAULT$ tracks all git-tracked files.
Environment variables that specifically impact this task's hash.
Environment variables available to the task without impacting its hash.
Controls the verbosity of log output for cached builds.
Configuration for the 'dev' task pipeline (development servers).
Tasks that must complete before dev begins.
Files to cache for the dev task. Typically empty since dev servers produce no cacheable output.
Environment variables impacting the dev task hash.
Controls the verbosity of log output for the dev task.
Configuration for the 'lint' task pipeline.
Tasks that must complete before lint begins.
Files to cache for the lint task.
Files to include in the lint task hash.
Environment variables impacting the lint task hash.
Controls lint log verbosity.
Configuration for the 'test' task pipeline.
Tasks that must complete before test begins.
Files to cache for the test task (e.g. coverage reports).
Files to include in the test task hash.
Environment variables impacting the test task hash.
Controls test log verbosity.
Configuration for a 'typecheck' or 'check-types' task pipeline.
Tasks that must complete before typecheck begins.
Files to cache for the typecheck task.
Files to include in the typecheck task hash.
Environment variables impacting the typecheck hash.
Controls typecheck log verbosity.
Get started
1{}