This PR fixes some inconsistencies when generating a TS solution workspace (e.g. `npx create-nx-workspace --workspace`). If the user chooses `None` stack (or `--preset=ts`), then we continue to default to no Prettier (and ESLint, etc.). However, for React, Vue, and Node, we want the defaults to be useful for users to run lint, test, etc. Thus, they are now updated the default does not opt out of any tooling, but users can still choose no to any of them. <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior The defaults for React, Vue, Node are inconsistent (e2e runner is there by default, but not unit test runner, etc.) ## Expected Behavior Defaults are consistent and useful, especially for tutorials. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
{{links}}
> npx create-nx-workspace
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
What is It?
It's a command to create a new Nx workspace.
{{content}}