nystudio107 / generator-craftplugin

generator-craftplugin is a Yeoman generator for Craft CMS plugins
MIT License
73 stars 30 forks source link

extra.name getting set to StudlyCase in composer.json #19

Closed brandonkelly closed 7 years ago

brandonkelly commented 7 years ago

the extra.name property is getting set to a StudlyCase version of the plugin name in the generated composer.json:

"extra": {
  "name": "ElementApi",

should be:

"extra": {
  "name": "Element API",
khalwat commented 7 years ago

Yeah it uses the StudlyCase handle, which is probably wrong. Easy enough to switch it.

khalwat commented 7 years ago

Fixed in 1.2.7: https://github.com/nystudio107/generator-craftplugin/releases/tag/1.2.7

Live on https://pluginfactory.io/