Open rosswintle opened 5 years ago
I'm not sure grunt is actually needed here anymore. The grunt-wp-i18n
dependency can be replaced with the new wp i18n
WP-CLI command, and I'm sure we can easily whip up a new command for turning Readme text files into Markdown...
So I'd suggest looking into getting rid of Grunt altogether for a base plugin. If you happen to need a better build system, then it should probably be assembled on-the-fly out of what Core is currently doing for Gutenberg. This way, it would keep current with Core.
Bug Report
Describe the current, buggy behavior
Running
wp scaffold plugin
generates apackage.json
which contains:Running
npm install
on this generates this output:Pushing a plugin with these dependencies to GitHub will send you a message:
The "bug" is that the plugin scaffold includes known high-severity security dependencies.
I'm not hugely familiar with the dependencies and why they might be at these versions but:
Describe how other contributors can replicate this bug
wp scaffold plugin
npm install
npm audit
Describe what you would expect as the correct outcome
Scaffolded plugin should have dependencies with known insecurities
Let us know what environment you are running this on
Provide a possible solution
Someone will need to analyse the dependencies and update them to appropriate versions