docs(core): point runner docs to default runner (#9106)

This commit is contained in:
Rares Matei 2022-03-15 20:13:10 +00:00 committed by GitHub
parent 48d32acca3
commit a667a21065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ The following is an expanded version showing all options. Your `nx.json` will li
}, },
"tasksRunnerOptions": { "tasksRunnerOptions": {
"default": { "default": {
"runner": "@nrwl/workspace/tasks-runners", "runner": "@nrwl/workspace/tasks-runners/default",
"options": { "options": {
"cacheableOperations": ["build", "lint", "test", "e2e"] "cacheableOperations": ["build", "lint", "test", "e2e"]
} }
@ -327,7 +327,7 @@ Tasks runners are invoked when you run `nx test`, `nx build`, `nx run-many`, `nx
named "default" is used by default. Specify a different one like this `nx run-many --target=build --all --runner=another`. named "default" is used by default. Specify a different one like this `nx run-many --target=build --all --runner=another`.
Tasks runners can accept different options. The following are the options supported Tasks runners can accept different options. The following are the options supported
by `"@nrwl/workspace/tasks-runners"` and `"@nrwl/nx-cloud"`. by `"@nrwl/workspace/tasks-runners/default"` and `"@nrwl/nx-cloud"`.
- `cacheableOperations` defines the list of targets/operations that are cached by Nx. - `cacheableOperations` defines the list of targets/operations that are cached by Nx.
- `parallel` defines the max number of targets ran in parallel (in older versions of Nx you had to - `parallel` defines the max number of targets ran in parallel (in older versions of Nx you had to
@ -349,7 +349,7 @@ by `"@nrwl/workspace/tasks-runners"` and `"@nrwl/nx-cloud"`.
{ {
"tasksRunnerOptions": { "tasksRunnerOptions": {
"default": { "default": {
"runner": "@nrwl/workspace/tasks-runners", "runner": "@nrwl/workspace/tasks-runners/default",
"options": { "options": {
"cacheableOperations": ["build", "lint", "test", "e2e"], "cacheableOperations": ["build", "lint", "test", "e2e"],
"runtimeCacheInputs": ["node -v"] "runtimeCacheInputs": ["node -v"]