nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.64k stars 2.36k forks source link

NX workspace configuration files #4251

Closed pgerhard closed 3 years ago

pgerhard commented 3 years ago

Description

I use NX workspaces to develop multiple different applications using a variety of different frameworks (vanilla NodeJS, Angular and React). Thus when creating my initial workspace using npx create-nx-workspace@latest and when asked What to create in the new workspace I configured it to be empty. This results in a workspace which follows the overall structure mentioned here. If however I create an NX workspace and when asked What to create in the new workspace I select angular the overall structure is as described here.

In my eyes this leads to two problems

  1. It is confusing that when reading the docs there are two contradicting statements (both documents state that files are present in every NX workspace.
  2. It may lead some people to conclude that it is not possible to develop a React and Angular application within the same NX workspace

This is why I would suggest no longer generating the angular.json and instead use the workspace.json, even if the user configures the content of the workspace to be angular. This would mean

Frikki commented 3 years ago

Yes, this is definitely an issue that will also shy organizations away from adapting Nx as part of their tooling.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. If we missed this issue please reply to keep it active. Thanks for being a part of the Nx community! 🙏

pgerhard commented 3 years ago

Any feedback on this from the NX Team?

Auto closing tickets without any feedback is not helpful

github-actions[bot] commented 1 year ago

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.