nx icon indicating copy to clipboard operation
nx copied to clipboard

Need to clarify how gitignore would affect nx inputs

Open ianzone opened this issue 6 months ago • 2 comments

Documentation issue

  • [ ] Reporting a typo
  • [ ] Reporting a documentation bug
  • [x] Documentation improvement
  • [ ] Documentation feedback

Is there a specific documentation page you are reporting?

https://nx.dev/reference/inputs

Additional context or description

will the inputs exclude items in gitignore automatically?

ianzone avatar Jun 13 '25 09:06 ianzone

@claude Clarify this in the docs that .gitiignored files are excluded from inputs.

FrozenPandaz avatar Jun 13 '25 14:06 FrozenPandaz

Claude finished @FrozenPandaz's task —— View jobclaude/issue-31574-20250613_141810Create PR ➔


Task: Clarify gitignore behavior in Nx inputs documentation

Successfully added clarification to the Nx inputs documentation that .gitignored files are excluded from inputs.

Todo List:

  • [x] Find the inputs documentation source file
  • [x] Read current documentation content for context
  • [x] Add clarification about gitignore exclusion behavior
  • [x] Commit changes to branch
  • [x] Provide PR creation link

Changes Made:

Added a callout box to the inputs documentation (docs/shared/reference/inputs.md) explaining that:

  • Files listed in .gitignore are automatically excluded from inputs
  • Nx won't consider gitignored files when computing task hashes
  • Changes to ignored files won't invalidate the cache

claude[bot] avatar Jun 13 '25 14:06 claude[bot]

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

github-actions[bot] avatar Jul 26 '25 00:07 github-actions[bot]