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-ignoreon 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
turboentry in rootpackage.json#devDependenciesorpackage.json#dependencies. If a version is found there, it will be used. - If no
entryis found inpackage.json,turbo.jsonwill be read for its schema. If thetaskskey is found, useturbo@^2. If thepipelinefrom Turborepo v1 is found, useturbo@^1.