nest-cli icon indicating copy to clipboard operation
nest-cli copied to clipboard

Add .gitignore when generate a new project by default

Open gustavorps opened this issue 8 years ago • 5 comments

Here is a reference: https://github.com/github/gitignore/blob/e68f3c0984f96ab262db7871f23a818ca0c097e2/Node.gitignore)

gustavorps avatar Dec 15 '17 13:12 gustavorps

I don't get why .gitignore on ThomRick/nest-typescript-starter is not created when a execute te command nest new some-app

gustavorps avatar Dec 15 '17 14:12 gustavorps

Hey @GustavoRPS ! The purpose is to generate the project structure without subversion configuration. If you use SVN / Mercurial or CVS (why not) you don't want to have a .gitignore generated, isn't it ? Can we close the issue or you want to open the discussion on https://gitter.im/nestjs/nest-cli ?

thomrick avatar Dec 20 '17 07:12 thomrick

@ThomRick I understand your point. It is possible to handle different types of versioning system? Just asking.

gustavorps avatar Jan 24 '18 20:01 gustavorps

Will manage .gitgnore by default and add different kind of subversion systems by asking user input should be the best for this feature. Will mark as a feature !

thomrick avatar Apr 17 '18 20:04 thomrick

+1

janckerchen avatar Apr 28 '18 06:04 janckerchen