Skip to content

Commit

Permalink
fix(nx-dev): fix project config reference headlines
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav authored and juristr committed Jul 19, 2023
1 parent 29a9f8e commit 2dc12ac
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/shared/reference/project-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ You can add Nx-specific configuration as follows:
The `inputs` array tells Nx what to consider to determine whether a particular invocation of a script should be a cache
hit or not. There are three types of inputs:

_Filesets_
#### Filesets

Examples:

Expand All @@ -142,23 +142,23 @@ The `inputs` and `namedInputs` are parsed with the following rules:

{% /callout %}

_Runtime Inputs_
#### Runtime Inputs

Examples:

- `{runtime: "node -v"}`

Note the result value is hashed, so it is never displayed.

_Env Variables_
#### Env Variables

Examples:

- `{env: "MY_ENV_VAR"}`

Note the result value is hashed, so it is never displayed.

_External Dependencies_
#### External Dependencies

For official plugins, Nx intelligently finds a set of external dependencies which it hashes for the target. `nx:run-commands` is an exception to this.
Because you may specify any command to be run, it is not possible to determine which, if any, external dependencies are used by the target.
Expand Down Expand Up @@ -204,7 +204,7 @@ If a target uses a command from an npm package, that package should be listed.
}
```

_Dependent tasks output_
#### Dependent tasks output

This input allows us to depend on the output, rather than the input of the dependent tasks. We can specify the glob pattern to match only the subset of the output files.
The `transitive` parameter defines whether the check and the pattern should be recursively applied to the dependent tasks of the child tasks.
Expand All @@ -227,7 +227,7 @@ Examples:
}
```

_Named Inputs_
#### Named Inputs

Examples:

Expand Down Expand Up @@ -266,7 +266,7 @@ sources (non-test sources) of its dependencies. In other words, it treats test s
{% card title="Customizing inputs and namedInputs" type="documentation" description="This guide walks through a few examples of how to customize inputs and namedInputs" url="/more-concepts/customizing-inputs" /%}
{% /cards %}

### outputs
### Outputs

Targets may define outputs to tell Nx where the target is going to create file artifacts that Nx should cache. `"outputs": ["{workspaceRoot}/dist/libs/mylib"]` tells Nx where the `build` target is going to create file artifacts.

Expand Down

1 comment on commit 2dc12ac

@vercel
Copy link

@vercel vercel bot commented on 2dc12ac Jul 19, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-five.vercel.app
nx-dev-nrwl.vercel.app

Please sign in to comment.