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
personally, I never saw a project with a different configuration file other than nest-cli.json. And there is no mention in the docs site about the others.
and so I'm suggesting to remove the support for the following configuration file names:
.nestcli.json
nest.json
The .nest-cli.json seems fine to me because users might want to hide the configuration file (??)
since the others names are not mentioned in the current version of the docs, I think that we should just add a minor note on the migration guide (from v10 to v11)
What is the motivation / use case for changing the behavior?
avoid name collisions with other framework/tooling. If we search for the nest.json one, for example, we can see a bunch of files on GitHub that are not related with NestJS: see here
avoid confusion for when we have multiple config files in the project
keep a more standard setup across different nestjs projects
avoid the need of introducing more notes in the docs pages where we are mentioning "nest-cli.json" but not the others
The text was updated successfully, but these errors were encountered:
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
as of now the CLI supports the following configuration files:
nest-cli/lib/configuration/nest-configuration.loader.ts
Lines 28 to 33 in 26fc598
personally, I never saw a project with a different configuration file other than
nest-cli.json
. And there is no mention in the docs site about the others.and so I'm suggesting to remove the support for the following configuration file names:
.nestcli.json
nest.json
The
.nest-cli.json
seems fine to me because users might want to hide the configuration file (??)For the
.nestcli.json
one there are few really old occurrences on public GitHub: https://github.com/search?q=path%3A%2F%5E%5C.nestcli%5C.json%24%2F&type=codeDescribe the solution you'd like
only supports
nest-cli.json
and.nest-cli.json
as NestJS's CLI configuration files.Teachability, documentation, adoption, migration strategy
What is the motivation / use case for changing the behavior?
nest.json
one, for example, we can see a bunch of files on GitHub that are not related with NestJS: see hereThe text was updated successfully, but these errors were encountered: