-
Notifications
You must be signed in to change notification settings - Fork 2.5k
docs: clarify that gitignored files are excluded from inputs #31594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
View your CI Pipeline Execution ↗ for commit 7a40035.
☁️ Nx Cloud last updated this comment at |
docs/shared/reference/inputs.md
Outdated
@@ -54,6 +54,10 @@ Prefixing a source file input with `^` means this entry applies to the project d | |||
By default, Nx will use all files in a project as well as all files in the project's dependencies when computing a hash for tasks belonging to the project. | |||
This may cause Nx to rerun some tasks even when files irrelevant to the task have changed but it ensures that by default, Nx always re-runs the task when it should. | |||
|
|||
{% callout type="info" title="Gitignored Files Are Excluded" %} | |||
Files that are listed in `.gitignore` are automatically excluded from inputs. Nx will not consider gitignored files when computing the hash for tasks, so changes to ignored files will not invalidate the cache. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@claude I think this makes more sense by line 51
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Claude finished @FrozenPandaz's task —— View job
Todo List
- Read the current inputs.md file to understand content structure
- Move the callout box from line 58 to line 51 as requested
- Commit the change to the PR branch
- Update comment with completion status
Summary
I've successfully moved the "Gitignored Files Are Excluded" callout box from its original position (lines 57-59) to a more logical location right after the "Token Behavior with Nested Projects" callout (now at lines 51-53). This placement makes more contextual sense as it appears earlier in the source files section where users are learning about file patterns and input behavior.
The change has been committed to the PR branch: f78c9c2
@claude fix the commit messages to match the commit lint and force push. You can squash too |
Claude finished @FrozenPandaz's task —— View job Todo List
SummaryFixed the commit message format to pass commit lint validation: Before:
After:
Changes made:
The commit now follows the repository's commit lint rules and should pass CI validation. |
Add callout box to the inputs documentation explaining that .gitignored files are automatically excluded from inputs and won't affect task hash computation, and move it to a better location in the documentation. Co-authored-by: Jason Jean <FrozenPandaz@users.noreply.github.com>
f78c9c2
to
3dc85d3
Compare
Jason said i could
Add callout box to the inputs documentation explaining that .gitignored files are automatically excluded from inputs and won't affect task hash computation.
Fixes #31574
Generated with Claude Code