wesleytodd / YeoPress

A Yeoman generator for WordPress
Other
1.08k stars 163 forks source link

Add option to create a composer.json #196

Open JordanKnott opened 5 years ago

JordanKnott commented 5 years ago

While there is a generator wordpress:plugins for installing WordPress plugins, some users (me included) might prefer to manage their WordPress plugins through composer.

This PR adds a prompt that asks if a user wants to create a composer.json or not. If they do, then one is created based off a template.

The template used can be found in app/template/composer.json.tmpl.