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
When a plugin includes a glob pattern with negation (e.g., !(*-e2e)), projects matching the negated pattern are removed from the project graph entirely. This issue occurs regardless of the actual logic of the plugin. Merely defining such a pattern is enough to trigger the problem.
Current Behavior
Reproduction repository: https://github.com/antoinepairet/nx-crystal-glob-pattern-issue
When a plugin includes a glob pattern with negation (e.g., !(*-e2e)), projects matching the negated pattern are removed from the project graph entirely. This issue occurs regardless of the actual logic of the plugin. Merely defining such a pattern is enough to trigger the problem.
npx nx show projects -t e2e
will not show any project if the plugin is loaded.19.8.14
and20.3.0
Expected Behavior
Projects should appear correctly in the output of
npx nx show projects -t e2e
when the plugin is loaded.GitHub Repo
https://github.com/antoinepairet/nx-crystal-glob-pattern-issue
Steps to Reproduce
npx create-nx-workspace@latest react-monorepo-crystal-plugin-bug --preset=react-monorepo
nx.json
npx nx show projects -t e2e
returns an empty listNx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: