Back to Turborepo

turborepo-task-id

crates/turborepo-task-id/README.md

2.9.9815 B
Original Source

turborepo-task-id

Purpose

Identifiers for Turborepo tasks. Provides type-safe representations for task names and fully-qualified task IDs.

Architecture

Two main types:

TypeExampleDescription
TaskIdweb#buildFully qualified: package + task name
TaskNamebuild or web#buildUser input: may or may not include package
TaskName (user input)
    ├── "build" → applies to current/all packages
    └── "web#build" → specific package task

TaskId (internal)
    └── Always "package#task" format

All TaskIds are valid TaskNames, but not vice versa.

Notes

The # delimiter separates package name from task name. This crate is foundational - used throughout the codebase wherever tasks are referenced.