You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The native findImports() (of nx-darwin-arm64 in my case) seems to include .gitignore-files outside of the repository from the parent folder when determining which files to exclude from the dependency computation. This can lead to incorrect project-dependencies and failing builds.
Expected Behavior
Only .gitignore-files within the current repository are taken into account and, of course, applied downstream.
rene-leanix
changed the title
findImports() excludes files based on .gitignore files _outside_ of the repository
findImports() excludes files based on .gitignore files outside of the repository
Dec 19, 2024
Current Behavior
The native findImports() (of
nx-darwin-arm64
in my case) seems to include.gitignore
-files outside of the repository from the parent folder when determining which files to exclude from the dependency computation. This can lead to incorrect project-dependencies and failing builds.Expected Behavior
Only
.gitignore
-files within the current repository are taken into account and, of course, applied downstream.GitHub Repo
https://github.com/rene-leanix/nx-20.2.2-dependency-bug
Steps to Reproduce
.gitignore
file with the lineclasses
to the parent folder of the example repository.npm run build
now fails.npm run graph
does not show any more that lib1 depends on lib2.Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: