Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit efb0050

Browse files
author
Jakob Schlanstedt
committed
fix(build): ensure projects are discovered by ignoring parent .gitignore rules
1 parent adbc906 commit efb0050

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# See https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
22

3+
# Workaround for Nx bug: parent .gitignore files with '*' can cause
4+
# `nx show projects` to return nothing by ignoring subprojects.
5+
# See: https://github.com/nrwl/nx/issues/27368
6+
# Unignore everything to ensure Nx detects all projects
7+
!*
8+
39
# compiled output
410
dist
511
tmp
@@ -45,4 +51,4 @@ upload
4551
.rollup.cache
4652
*.tsbuildinfo
4753

48-
/result
54+
/result

0 commit comments

Comments
 (0)