turbo-ignore
Use turbo
to determine if a package or its dependencies have changes. This can be useful for quickly skipping tasks in CI.
To learn more, visit:
- The introductory guide to skipping tasks
- The advanced guide for skipping tasks
- Documentation for
turbo-ignore
on npm
turbo-ignore versioning
Because turbo-ignore
is most often used before installing dependencies into the repository, there won't be a turbo
binary available when you run turbo-ignore
. Instead turbo-ignore
will search for the correct version to use with your repository with the following strategy:
- First, check for a
turbo
entry in rootpackage.json#devDependencies
orpackage.json#dependencies
. If a version is found there, it will be used. - If no
entry
is found inpackage.json
,turbo.json
will be read for its schema. If thetasks
key is found, useturbo@^2
. If thepipeline
from Turborepo v1 is found, useturbo@^1
.
Was this helpful?