Skip to content

Commit

Permalink
docs(core): update computation hashing image to clarify that runtime …
Browse files Browse the repository at this point in the history
…inputs are user defined (#10688)
  • Loading branch information
jaysoo committed Jun 10, 2022
1 parent 049435c commit 66846f7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/shared/mental-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ By default, the computation hash for say `nx test app1` includes:
- All the source files of `app1` and `lib`
- Relevant global configuration
- Versions of external dependencies
- Runtime values provisioned by the user such as the version of Node
- [Runtime values provisioned by the user](/using-nx/caching#runtime-hash-inputs)
- CLI Command flags

![computation-hashing](/shared/mental-model/computation-hashing.png)
![computation-hashing](/shared/mental-model/computation-hashing-v2.png)

This behavior is customizable. For instance, lint checks may only depend on the source code of the project and global
configs. Builds can depend on the dts files of the compiled libs instead of their source.
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/shared/mental-model/computation-hashing.png
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/shared/using-nx/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ By default, the computation hash for say `nx test app1` includes:
- [Runtime values provisioned by the user](#runtime-hash-inputs)
- CLI Command flags

![computation-hashing](/shared/mental-model/computation-hashing.png)
![computation-hashing](/shared/mental-model/computation-hashing-v2.png)

This behavior is customizable. For instance, lint checks may only depend on the source code of the project and global
configs. Builds can depend on the dts files of the compiled libs instead of their source.
Expand Down

1 comment on commit 66846f7

@vercel
Copy link

@vercel vercel bot commented on 66846f7 Jun 10, 2022

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-five.vercel.app
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.