[wp-trac] [WordPress Trac] #31700: Update Grunt devDependencies in package.json

WordPress Trac noreply at wordpress.org
Tue Jun 30 11:40:58 UTC 2015

#31700: Update Grunt devDependencies in package.json
 Reporter:  mjbanks           |       Owner:  jorbin
     Type:  task (blessed)    |      Status:  assigned
 Priority:  normal            |   Milestone:  4.3
Component:  Build/Test Tools  |     Version:  4.2
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:

Comment (by netweb):

 In [https://core.trac.wordpress.org/attachment/ticket/31700/31700.2.diff

 Switch to `grunt-postcss` ([https://github.com/nDmitry/grunt-postcss
 repo]) over deprecated `grunt-autoprefixer` ([https://github.com/nDmitry
 /grunt-autoprefixer/commit/e020f878d5fe1a3f9f15bc7533b31c12ffa74799 src])
 for CSS vendor prefixes

 * Switch to `grunt-postcss` using NPM package `autoprefixer-core` as a
 PostCSS processor plugin
 * Grunt task `grunt autoprefixer` is replaced with `grunt postcss`
 * Grunt task `autoprefixer:colors` and  `autoprefixer:core` renamed to
 `postcss:colors` and `postcss:core` respectively, updated tasks `grunt
 colors` and `grunt precommit` use the new tasks
 * New `grunt postcss` tasks continue to use the same settings as the
 previous `grunt autoprefixer` task configurations

 Resulting change results in no change to any CSS files in `/src` via
 `grunt precommit` (`postcss:core`) or `/build` via `grunt colors`,
 basically a seemless change for us which is awesome.

Ticket URL: <https://core.trac.wordpress.org/ticket/31700#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list