zuke.tools.turbo
@zuke/turbo 1.0.1: @zuke/turbo — typed TurboTasks wrappers for the [Turborepo](https://turbo.build) CLI, for use in Zuke builds.
zuke on PyPI ↗ 4 symbols
Symbols
class TurboPruneSettings(TurboSettings) Settings for turbo prune.
-
package(name: str) -> SelfThe package to prune the workspace down to (required).
-
docker() -> SelfProduce a Docker-friendly layout (
--docker). -
out_dir(path: str) -> SelfOutput directory (
--out-dir).
class TurboRunSettings(TurboSettings) Settings for turbo run.
-
tasks(*names: str) -> SelfThe package.json task(s) to run (positional; at least one required).
-
filter(pattern: str) -> SelfRestrict to matching packages (
--filter); repeatable. -
parallel() -> SelfRun tasks in parallel, ignoring dependencies (
--parallel). -
concurrency(value: str) -> SelfLimit concurrency, e.g.
10or50%(--concurrency). -
force() -> SelfIgnore cache hits and force execution (
--force). -
no_cache() -> SelfDisable reading and writing the cache (
--no-cache). -
continue_() -> SelfContinue running tasks even after one fails (
--continue). -
dry_run() -> SelfList what would run without executing (
--dry-run). -
output_logs(mode: str) -> SelfOutput-log mode, e.g.
full,hash-only,errors-only(--output-logs).
class TurboSettings(ToolSettings) Base for all turbo subcommand settings: the binary is turbo.
class TurboTasks Typed task functions for the turbo CLI.
-
static async run(ctx: ServiceContext, configure: Callable[[TurboRunSettings], TurboRunSettings] | None=None) -> ExecResultRun workspace tasks:
turbo run. -
static async prune(ctx: ServiceContext, configure: Callable[[TurboPruneSettings], TurboPruneSettings] | None=None) -> ExecResultPrune the workspace to a package:
turbo prune.