Juri Strumpflohner b51676a89a
docs(core): restructure guides into technologies sections (#31288)
Updates the docs structure, navigation etc to be easier + better suited
for showing Nx technology support beyond just TS.

**Notes:**

- API (`/nx-api`) tab is removed from the navigation (i.e. menu bar),
but pages still remain for now until we update references in `*.md`
files.
- Redirects are set up `/nx-api` to go to their respect new location
e.g. `/technologies` or `/reference/core-api`
- Old URLs still exist in the sitemap for now, but majority of them will
be redirected -- a follow-up PR can remove them.

**Preview:**
https://nx-dev-git-nx-dev-polyglot-docs-restructure-nrwl.vercel.app/docs

---------

Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2025-05-29 14:55:34 -04:00

3.3 KiB

Interface: Task

A representation of the invocation of an Executor

Table of contents

Properties

Properties

cache

Optional cache: boolean

Determines if a given task should be cacheable.


continuous

Optional continuous: boolean

This denotes if the task runs continuously


endTime

Optional endTime: number

Unix timestamp of when a Batch Task ends


hash

Optional hash: string

Hash of the task which is used for caching.


hashDetails

Optional hashDetails: Object

Details about the composition of the hash

Type declaration

Name Type Description
command string Command of the task
implicitDeps? { [fileName: string]: string; } Hashes of implicit dependencies which are included in the hash
nodes { [name: string]: string; } Hashes of inputs used in the hash
runtime? { [input: string]: string; } Hash of the runtime environment which the task was executed

id

id: string

Unique ID


outputs

outputs: string[]

The outputs the task may produce


overrides

overrides: any

Overrides for the configured options of the target


parallelism

parallelism: boolean

Determines if a given task should be parallelizable.


projectRoot

Optional projectRoot: string

Root of the project the task belongs to


startTime

Optional startTime: number

Unix timestamp of when a Batch Task starts


target

target: Object

Details about which project, target, and configuration to run.

Type declaration

Name Type Description
configuration? string The configuration of the target which the task invokes
project string The project for which the task belongs to
target string The target name which the task should invoke