What's Changed
- Add support for
--only
flag that matches lerna/pnpm run behavior by @jaredpalmer in #174 The--only
flag is to support restricting task execution to only the tasks specified inrun
. This makes it easier to adopt Turbo in a Lerna codebase since--only
behavior is effectively an exact match.
For this Turbo pipeline:
"turbo": {
"pipeline": {
"build": {
"outputs": [
"dist/**/*"
],
"dependsOn": [
"^build"
]
},
"test": {
"dependsOn": [
"^build"
]
}
}
turbo run test
turbo run test --only --graph
Full Changelog: v1.0.5...v1.0.6