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

WordPress Trac noreply at wordpress.org
Fri Mar 28 11:56:29 UTC 2014


#27340: Update Grunt devDependencies in package.json
------------------------------+------------------------------
 Reporter:  mjbanks           |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------------------

Comment (by netweb):

 In [https://core.trac.wordpress.org/attachment/ticket/27340/27340.2.diff
 27340.2.diff​]
 Update the following packages:
 * "grunt-contrib-cssmin":   "~0.7.0"  -> "~0.9.0"
 * "grunt-contrib-uglify":   "~0.3.0"  -> "~0.4.0"
 * "grunt-contrib-watch":    "~0.5.3"  -> "~0.6.1"
 * "grunt-contrib-compress": "~0.6.0"  -> "~0.7.0"
 * "grunt-contrib-jshint":   "~0.8.0"  -> "~0.9.2"
 * "grunt-sass":             "~0.10.0" -> "~0.12.0"
 * "grunt-autoprefixer":     "~0.7.1"  -> "~0.7.2"
 * "grunt-patch-wordpress" : "~0.2.0"  -> "~0.2.1"

 ----

 Using the above with WordPress Revision: r27810 and `npm install` the
 following tests work as expected:

 * `grunt`/`grunt build`
  * (`clean:all`, `copy:all`, `cssmin:core`, `colors`, `rtl`, `cssmin:rtl`,
 `cssmin:colors`, `uglify:core`, `concat:tinymce`, `compress:tinymce`,
 `clean:tinymce`, `jsvalidate:build`)

 * `grunt precommit`
  * (`autoprefixer:core`, `imagemin:core`, `jshint`, `qunit:compiled`)

 * `grunt test`
  * (`qunit:compiled`, `phpunit`)

 * `grunt patch`

 * `grunt watch`

 ''(I am pretty sure all of the above grunt tasks include all available
 grunt tasks)''
 ----

 Detailed Changelog:


 https://www.npmjs.org/package/grunt-contrib-cssmin
 * grunt-contrib-cssmin v0.7.0 -> v0.8.0
  * update clean-css v2.1.0
 * grunt-contrib-cssmin v0.8.0 -> v0.9.0
  * refactor. remove grunt-lib-contrib dependency. backwards-compatibly
 remove false choice from report.

 https://www.npmjs.org/package/grunt-contrib-uglify
 * grunt-contrib-uglify v0.3.0 -> v0.3.1
  * fix relative path issue in sourcemaps
 * grunt-contrib-uglify v0.3.1 -> v0.3.2
  * fix handling of sourceMapIncludeSources option.
 * grunt-contrib-uglify v0.3.2 -> v0.3.3
  * remove unnecessary calls to grunt.template.process
 * grunt-contrib-uglify v0.3.3 -> v0.4.0
  * remove grunt-lib-contrib dependency and add more colors


 https://www.npmjs.org/package/grunt-contrib-compress
 * grunt-contrib-compress v0.6.0 -> v0.7.0
  * Update archiver to v0.6.0


 https://www.npmjs.org/package/grunt-contrib-watch
 * grunt-contrib-watch v0.5.3 -> v0.6.0
  * Clear changed files after triggering live reload to ensure they're only
 triggered once.
  * cwd option now accepts separate settings for files and spawn.
  * Fix to make interrupt work more than once.
  * Enable live reload over HTTPS.
  * Print newline after initial 'Waiting...'
  * Remove deprecated grunt.util libs
  * Add reload option to specify files other than Gruntfile files to
 reload.
  * Update to gaze at 0.5.1
  * Use fork of tiny-lr (which has quiter operation, support for HTTPS and
 windows path fixes)
  * Add livereloadOnError, which if set to false will not trigger live
 reload if there is an error.
 * grunt-contrib-watch v0.6.0 -> v0.6.1
  * Fix for watch targets named "default"


 https://www.npmjs.org/package/grunt-contrib-jshint
 * grunt-contrib-jshint v0.8.0 -> v0.9.0
  * Replace deprecated grunt.util._.clone with Object.create()
  * Replace deprecated grunt.util.hooker with hooker lib
  * Enhancing the readability of the output.
  * Reporter output is relative to the output file.
  * Pass jshint options to the external reporter.
 * grunt-contrib-jshint v0.9.0 -> v0.9.1
  * Don't pass reporterOutput option to jshint.
 * grunt-contrib-jshint v0.9.1 -> v0.9.2
  * Fixes a bug where reporterOutput was still passed to jshint.


 https://www.npmjs.org/package/grunt-sass (No changelog, based on GitHub
 repo commits)
 * grunt-sass v0.10.0 -> v0.11.0
  * add sourcemap option set up logic.
  * use each-asyn
 * grunt-sass v0.11.0 -> v0.12.0
  * Updating source map testing.
  * add `imagePath` option
  * various tweaks


 https://www.npmjs.org/package/grunt-autoprefixer (No changelog, based on
 GitHub repo commits)
 * grunt-autoprefixer v0.7.1 -> v0.7.2
  * Use chalk module to colorize terminal output
  * Log source map and patch files

 https://www.npmjs.org/package/grunt-patch-wordpress
 * grunt-patch-wordpress v0.2.0 -> v0.2.1
  * Add a new function for if we are in an a/b patch and adjust the patch
 level accordingly.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27340#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list