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
This issue has been automatically marked as stale because more information has not been provided within 7 days.
It will be closed in 21 days if no information is provided.
If information has been provided, please reply to keep it active.
Thanks for being a part of the Nx community! 🙏
Current Behavior
Following the steps here: https://nx.dev/recipes/running-tasks/root-level-scripts
Adding a script and nx config to the root level package.json (in a package-based monorepo) no longer makes the script available as a task in Nx 18.
In root package.json:
nx show projects
does not show root projectnx run root-name:test
errors (cannot find project)Expected Behavior
What happens in v17:
nx show projects
shows root projectnx run root-project-name:test
runsGitHub Repo
https://github.com/Ambroos/nx-root-target-bug-v18
Steps to Reproduce
npm install
nx run workspace-level-test:test
-> errorsnx show projects
-> empty, does not pick up root packageWorking repo in v17: https://github.com/Ambroos/nx-root-target-bug-v17
npm install
nx run workspace-level-test-17:test
-> worksNx Report
Failure Logs
No response
Package Manager Version
npm 10.5.0
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: