jozefizso / generator-license

Yeoman Generator - License
MIT License
59 stars 20 forks source link

Add the `publish` option #82

Closed BenjaminVanRyseghem closed 6 years ago

BenjaminVanRyseghem commented 6 years ago

Add the ability to not set the package private when the code is copyrighted.

My use case is when the code is copyrighted, but also published in a company-only repository. In this case, it's safe to publish the package.

SBoudrias commented 6 years ago

What about simply a publish option? Then if it's explicitly set to true, we do not turn off the publish capability.

BenjaminVanRyseghem commented 6 years ago

and what if it's set to false? I mean, for copyrighted we keep the same behavior, but should we extend this behavior to the other licenses then?

SBoudrias commented 6 years ago

Yeah, we'd need to respect receiving a false value.

SBoudrias commented 6 years ago

Sorry for leaving this PR hanging for so long. I hadn't realized new code had been pushed. Thanks for sending this out!

BenjaminVanRyseghem commented 6 years ago

no problemo :smile: