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

WordPress Trac noreply at wordpress.org
Mon Jun 23 03:32:34 UTC 2014


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

Comment (by netweb):

 Refreshed patch and update of comment:4, in
 [https://core.trac.wordpress.org/attachment/ticket/27340/27340.5.diff
 27340.5.diff​] update the following packages:

 * "grunt":                  "~0.4.2"  -> "~0.4.5"
 * "grunt-autoprefixer":     "~0.7.1"  -> "~0.7.6"
 * "grunt-contrib-compress": "~0.6.0"  -> "~0.9.1"
 * "grunt-contrib-concat":   "~0.3.0"  -> "~0.4.0"
 * "grunt-contrib-cssmin":   "~0.7.0"  -> "~0.10.0"
 * "grunt-contrib-jshint":   "~0.8.0"  -> "~0.10.0"
 * "grunt-contrib-qunit":    "~0.4.0"  -> "~0.5.1"
 * "grunt-contrib-uglify":   "~0.3.0"  -> "~0.5.0"
 * "grunt-contrib-watch":    "~0.5.3"  -> "~0.6.1"
 * "grunt-sass":             "~0.10.0" -> "~0.14.0"


 Outstanding `grunt-contrib-imagemin` See comment:5 and comment:11

 ----

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

 * `jshint:plugins` is included in `grunt precommit` and `grunt travis:js`
 See #28464

 * `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`

 ----

 Detailed Changelog:

 > http://gruntjs.com/
 * grunt v0.4.2 -> v0.4.3
  * https://github.com/gruntjs/grunt/blob/v0.4.3/CHANGELOG
  * When devving Grunt, do "npm install && npm uninstall grunt"
 (isaacs/npm#3958)
  * Grunt is now tested on Node.js 0.11
  * Extracted internal "util" lib to "grunt-legacy-util" lib
  * task.normalizeMultiTaskFiles now flattens nested "files" arrays. Closes
 gh-1034.
  * Better error in renameTask if task doesn't exist. Closes gh-1058.
  * Update rimraf to latest version. Closes gh-1043.
  * Empty string "ext" should strip extension. Closes gh-1087.
  * Add expandMapping .extDot option. Can be 'first' or 'last' but defaults
 to 'first'. Closes gh-979.
  * Add default array for util.spawn optional args. Closes gh-1064.
  * util.spawn "grunt" option now uses proper Node, passes Node exec
 options. Closes gh-980, gh-981, gh-877.
  * Make all tasks asynchronous to reduce call stack. Closes gh-1026.
  * Fix <%= grunt.task.current.target %> in Multitask files. Closes gh-994.
  * Generalize cli tests, see gh-983, gh-991.
  * --debug option can optionally be Boolean. Closes Gh-983, gh-991.
 * grunt v0.4.3 -> v0.4.4
  * https://github.com/gruntjs/grunt/blob/v0.4.4/CHANGELOG
  * Only signal completion of tasks async if grunt.task.start is invoked
 with `{asyncDone:true}`.
 * grunt v0.4.4 -> v0.4.5
  * https://github.com/gruntjs/grunt/blob/v0.4.5/CHANGELOG
  * Updated rimraf to 2.2.8. Closes gh-1134.
  * Moved grunt.log into separate grunt-legacy-log module.
  * Updated grunt-legacy-util to 0.2.0. Closes gh-971, gh-1129, gh-1118.
  * Added grunt.task.exists method to check if a task exists. Closes
 gh-1131.
  * Added grunt.config.merge method to deep merge config data. See gh-1039.
  * Fixed symlink issues with 'file.isPathCwd' and 'file.doesPathContain'.
 Closes gh-1112.
  * Config and util.recurse no longer mangle Buffer instances. See gh-971.
  * Config and util.recurse now enumerate inherited object properties. See
 gh-1129.
  * Config and util.recurse now throw useful circular reference error. See
 gh-1118.
  * Warn instead of error when no new tasks found via '.loadTasks' method.
 Closes gh-1059.
  * Added Windows CI testing. Closes gh-1110.
  * Removed "CONTRIBUTING.md" from .npmignore. Closes gh-1093.


 https://www.npmjs.org/package/grunt-autoprefixer
 * grunt-autoprefixer v0.7.1 -> v0.7.2
  * cascade option support.
 * grunt-autoprefixer v0.7.2 -> v0.7.3
  * A warning message if no sources are found.
 * grunt-autoprefixer v0.7.3 -> v0.7.4
  * Let users have both grunt-autoprefixer and autoprefixer NPM packages
 installed.
 * grunt-autoprefixer v0.7.4 -> v0.7.5
  * Autoprefixer 1.2.
 * grunt-autoprefixer v0.7.5 -> v0.7.6
  * Autoprefixer 1.3.

 https://www.npmjs.org/package/grunt-contrib-compress
 * grunt-contrib-compress v0.6.0 -> v0.7.0
  * Update archiver to v0.6.0
 * grunt-contrib-compress v0.7.0 -> v0.8.0
  * Update archiver to v0.8.0
  * grunt-contrib-compress v0.8.0 -> v0.9.0
  * Update archiver to v0.9.0
  * grunt-contrib-compress v0.9.0 -> v0.9.1
  * allow directories to pass-through to archiver via filter

 https://www.npmjs.org/package/grunt-contrib-concat
 * grunt-contrib-concat v0.3.0 -> v0.4.0
  * Output updates.

 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.
 * grunt-contrib-cssmin v0.9.0 -> v0.10.0
  * update clean-css v2.2.0

 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.
 * grunt-contrib-jshint v0.9.2 -> v0.10.0
  * Update to JSHint 2.5.0

 https://www.npmjs.org/package/grunt-contrib-qunit
 * grunt-contrib-qunit v0.4.0 -> v0.5.0
  * Add ability to hide PhantomJS console output.
  * Add option for binding phantomjs console to grunt output.
  * Add httpBase option.
  * Only call jsDump.parse() if a test failed.
 * grunt-contrib-qunit v0.5.0 -> v0.5.1
  * Updates grunt-lib-phantomjs.

 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
 * grunt-contrib-uglify v0.4.0 -> v0.5.0
  * added option "expression" to uglify json and single functions. Removes
 unnecessary source map function. Simplify default source map naming
 function. Normalizes header and footer linefeeds. Source map names follow
 specs. Updates sourcemapin fixture.


 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-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
 * grunt-sass v0.12.0 -> v0.12.1
  * Updating source map testing.
  * add `imagePath` option
  * various tweaks
 * grunt-sass v0.12.1 -> v0.13.0
  * rewrite task and bump node-sass
 * grunt-sass v0.13.0 -> v0.13.1
  * don't modify the options object
 * grunt-sass v0.13.1 -> v0.14.0
  * add precision option

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


More information about the wp-trac mailing list