[wp-trac] [WordPress Trac] #24980: Use Matchdep module to load installed Grunt plugins

WordPress Trac noreply at wordpress.org
Wed Aug 7 17:18:12 UTC 2013


#24980: Use Matchdep module to load installed Grunt plugins
-------------------------+-----------------------------
 Reporter:  jorbin       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  trunk
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 This was originally reported by @kadamwhite over on
 [https://github.com/koop/develop/pull/4 github] for the temp install.  His
 quote is:

 "Calling loadNpmTasks for each Grunt plugin installed is duplicative, so
 Tyler Kellen created a matchdep package to allow Grunt to piggyback on the
 list of Grunt plugins saved in package.json. Using this module reduces
 boilerplate and makes it more obvious the package.json is the canonical
 list of installed plugins. Tyler's a Grunt team member and Ben's endorsed
 the syntax, so it's an officially-sanctioned approach.

 @aaronjorbin alerted me to this syntax, and it's been a huge help wherever
 I use Grunt. My devil's advocate response to this PR would be concern
 about adding yet another external module dependency vs using the more-
 verbose-but-honestly-what-are-ten-lines-among-friends Grunt-native syntax,
 but I think the clarity could be helpful."

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24980>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list