Task runnerConfiguration

Configuration

Full reference for all task runner options

Configuration

All options are passed to defaultTaskRunner as the second argument.

Caching

OptionTypeDefaultDescription
cacheDirectorystring.task-runner-cacheCache storage directory
maxCacheSizestringunlimitedMax cache size (e.g., "1GB")
maxCacheAgenumber7 days (ms)Max cache entry age
skipNxCachebooleanfalseSkip reading from cache
dryRunbooleanfalseCompute hashes without executing
cacheDiagnosticsbooleanfalseLog cache miss reasons

Inputs

OptionTypeDefaultDescription
namedInputsNamedInputs{}Named input definitions
targetDefaultsRecord{}Default target configurations
envVarsstring[][]Env vars to include in hash
globalInputsstring[]lockfiles + tsconfig.base.json + tsconfig.json + .envFiles that bust all caches
globalEnvstring[][]Env vars that bust all caches
smartLockfileHashingbooleanfalsePer-package lockfile hashing
frameworkInferencebooleanfalseAuto-detect framework env vars

Auto-Fingerprinting

OptionTypeDefaultDescription
autoFingerprintbooleanfalseEnable auto-fingerprinting mode
fingerprintEnvPatternsstring[][]Env var patterns to fingerprint
untrackedEnvVarsstring[][]Env vars to exclude from fingerprint

Execution

OptionTypeDefaultDescription
parallelnumber | boolean3Max parallel tasks

Remote Cache

OptionTypeDefaultDescription
remoteCache.urlstring-Cache server URL
remoteCache.tokenstring-Auth token
remoteCache.teamIdstring-Team/namespace
remoteCache.readbooleantrueEnable remote reads
remoteCache.writebooleantrueEnable remote writes

Output

OptionTypeDefaultDescription
summarizebooleanfalseGenerate JSON run summary
Support

Contribute to our work and keep us going

Community is the heart of open source. The success of our packages wouldn't be possible without the incredible contributions of users, testers, and developers who collaborate with us every day.Want to get involved? Here are some tips on how you can make a meaningful impact on our open source projects.

Ready to help us out?

Be sure to check out the package's contribution guidelines first. They'll walk you through the process on how to properly submit an issue or pull request to our repositories.

Submit a pull request

Found something to improve? Fork the repo, make your changes, and open a PR. We review every contribution and provide feedback to help you get merged.

Good first issues

Simple issues suited for people new to open source development, and often a good place to start working on a package.
View good first issues