wp-cli / scaffold-command

Generates code for post types, taxonomies, blocks, plugins, child themes, etc.
MIT License
165 stars 87 forks source link

(Partly) remove Grunt tasks #140

Open swissspidy opened 6 years ago

swissspidy commented 6 years ago

A scaffolded plugin contains a bunch of Grunt tasks which I think are unnecessary and can be removed or replaced.

Finally, I don't see why Grunt is needed for these simple tasks. Why can't these just be simple scripts in package.json (e.g. "makepot": "wp i18n make-pot ." would be one such script)? One dependency less to worry about.

schlessera commented 6 years ago

I agree, we should look into getting rid of Grunt altogether. The tool itself is already pretty dated, and just including it for such simple stuff is a bad practice.

ernilambar commented 6 months ago

I am trying to make PR for this. Would this be considered breaking to be included in the future 3.0.0 or we can include this now?

danielbachhuber commented 6 months ago

We can include it now.

ernilambar commented 6 months ago

PR - Remove grunt from plugin scaffolding