devinekask / generator-devine-boilerplate

⚙ the one and only devine.be boilerplate generator
23 stars 3 forks source link

✨ Add update mechanism #27

Closed thibmaek closed 7 years ago

thibmaek commented 7 years ago

Base fix for #26 I chose to notify before prompting the user for scaffold settings, since this is what you want I think? 😄

Optionally you could pass the following to the options to customize the message:

string: `Update with yarn global add generator-devine-boilerplate`

Small note on why I kept the message on update with npm: I found that yarn would not recognize generators as globally installed modules since they have no bin field. yarn global ls won't show them and global yarn modules can't be migrated if you update node versions with npm resolving in conflicting duplicates or legacy versions.

thibmaek commented 7 years ago

PS: sorry for the merge commits was a bit behind on upstream 😶

geoffreydhuyvetters commented 7 years ago

perfect 👍 merci