Skip to content

Commit

Permalink
docs(core): point runner docs to default runner (#9106)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarmatei committed Mar 15, 2022
1 parent 48d32ac commit a667a21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/shared/configuration/packagejson.md
Expand Up @@ -197,7 +197,7 @@ The following is an expanded version showing all options. Your `nx.json` will li
},
"tasksRunnerOptions": {
"default": {
"runner": "@nrwl/workspace/tasks-runners",
"runner": "@nrwl/workspace/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "lint", "test", "e2e"]
}
Expand Down Expand Up @@ -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`.

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.
- `parallel` defines the max number of targets ran in parallel (in older versions of Nx you had to
Expand All @@ -349,7 +349,7 @@ by `"@nrwl/workspace/tasks-runners"` and `"@nrwl/nx-cloud"`.
{
"tasksRunnerOptions": {
"default": {
"runner": "@nrwl/workspace/tasks-runners",
"runner": "@nrwl/workspace/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "lint", "test", "e2e"],
"runtimeCacheInputs": ["node -v"]
Expand Down

1 comment on commit a667a21

@vercel
Copy link

@vercel vercel bot commented on a667a21 Mar 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.