Update plugin.mustache and plugin-packages.mustache

Currently if you scaffold a child theme and a plugin, the plugin headers
are formatted differently than the child theme headers. The plugin also
uses a different version number `0.1-alpha`), which is itself different
than the version used in the plugin's `package.json` (`0.0.0`). This
commit normalizes the header formatting and updates the version numbers.
This commit is contained in:
Wes Moberly 2016-04-10 15:50:49 -04:00
parent 3b059f19d8
commit b7bc86f4e4
2 changed files with 11 additions and 10 deletions

View file

@ -1,7 +1,7 @@

{
"name": "{{plugin_slug}}",
"version": "0.0.0",
"version": "0.1.0",
"main": "Gruntfile.js",
"author": "{{plugin_author}}",
"devDependencies": {

View file

@ -1,12 +1,13 @@
<?php
/**
* Plugin Name: {{plugin_name}}
* Version: 0.1-alpha
* Description: {{plugin_description}}
* Author: {{plugin_author}}
* Author URI: {{plugin_author_uri}}
* Plugin URI: {{plugin_uri}}
* Text Domain: {{textdomain}}
* Domain Path: /languages
* @package {{plugin_package}}
* Plugin Name: {{plugin_name}}
* Plugin URI: {{plugin_uri}}
* Description: {{plugin_description}}
* Author: {{plugin_author}}
* Author URI: {{plugin_author_uri}}
* Text Domain: {{textdomain}}
* Domain Path: /languages
* Version: 0.1.0
*
* @package {{plugin_package}}
*/