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
Is there an existing issue that is already proposing this?
I have searched the existing issues
Is your feature request related to a problem? Please describe it
Not related to a problem, just a suggestion to add more flexibility when creating new projects with the CLI.
Describe the solution you'd like
I would like to be able to use options in the CLI when creating a new project in order to not add features that are currently added to all projects.
The features would be testing (no Jest, no Supertest, no testing configuration, no automatic spec creation, no test scripts in package.json) and linting (no Eslint and no Eslint configuration).
Something like nest new --skip-testing --skip-linting to not install the packages and skip the configurations would be excellent.
It wouldn't change the default behavior of the CLI, adding just flags for an opt-in, more customized CLI experience.
What is the motivation / use case for changing the behavior?
Reduce "friction" to clean up the project of unused configurations/packages when using different tools such as Vitest/PactumJS for testing or Biome for linting
Make the CLI less opinionated when it comes to features not directly related to Nest (like it doesn't exactly push TypeORM out of the box, even presenting a help section for Prisma in the docs)
I know this isn't a big reason, but having the ability to prototype something without too many "extras" feels like a better experience to me
The text was updated successfully, but these errors were encountered:
The one thing I would like to suggest is to make it aware of pnpm, because, even though running pnpm create nest worked just fine, it installed dependencies with npm.
I would love to see this in nestjs, I use biome and have to delete prettier and biome on all my repositories, and it gets annoying quickly with large monorepos.
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
Not related to a problem, just a suggestion to add more flexibility when creating new projects with the CLI.
Describe the solution you'd like
I would like to be able to use options in the CLI when creating a new project in order to not add features that are currently added to all projects.
The features would be testing (no Jest, no Supertest, no testing configuration, no automatic spec creation, no test scripts in package.json) and linting (no Eslint and no Eslint configuration).
Teachability, documentation, adoption, migration strategy
Something like
nest new --skip-testing --skip-linting
to not install the packages and skip the configurations would be excellent.It wouldn't change the default behavior of the CLI, adding just flags for an opt-in, more customized CLI experience.
What is the motivation / use case for changing the behavior?
The text was updated successfully, but these errors were encountered: