sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Add .tfignore file to the yo spfx generator

Open Sartor87 opened this issue 9 years ago • 4 comments

Category

  • [ ] Question
  • [ ] Typo
  • [ ] Bug
  • [x] Enhancement / Suggestion
  • [ ] Additional article idea

Suggestion

Add to the Yo generator a .tfignore file. I believe the most of the developers are coming with a TFS instance as a code repo.

EDIT (kudos to @andrewconnell for the input): Add additional step in the generator for choosing a code repository which should generate the respective file, i.e. .gitignore, .tfignore, none, etc.

Sartor87 avatar Mar 02 '17 12:03 Sartor87

Please don't muddy up the generated projects with this stuff. There's already too much stuff in the root that's not necessary to have in every single project such as:

  • .npmignore
  • .yo-rc.json
  • .gitattributes
  • .editorconfig

If anything, add flags to include these in the generator. PLEASE don't force a .tfignore file on us. The OP's assumption that "most of the developers are coming with a TFS instance as a code repo" is a HUGE (and IMHO flawed) assumption.

andrewconnell avatar Mar 05 '17 13:03 andrewconnell

@andrewconnell

If anything, add flags to include these in the generator.

This will be much better - thanks for the input. I will update my original suggestion.

Sartor87 avatar Mar 06 '17 07:03 Sartor87

We've added this to our backlog. Thanks for the suggestion.

iclanton avatar May 15 '17 22:05 iclanton

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 29 '20 18:01 msft-github-bot