From efb0050e5794c31ce6ef2d4e8f8a7e96b6941eba Mon Sep 17 00:00:00 2001 From: Jakob Schlanstedt Date: Wed, 11 Jun 2025 22:27:53 +0200 Subject: [PATCH] fix(build): ensure projects are discovered by ignoring parent .gitignore rules --- .gitignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ecb8c9edf..229b106e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,11 @@ # See https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files for more about ignoring files. +# Workaround for Nx bug: parent .gitignore files with '*' can cause +# `nx show projects` to return nothing by ignoring subprojects. +# See: https://github.com/nrwl/nx/issues/27368 +# Unignore everything to ensure Nx detects all projects +!* + # compiled output dist tmp @@ -45,4 +51,4 @@ upload .rollup.cache *.tsbuildinfo -/result \ No newline at end of file +/result