#35104 closed task (blessed) (fixed)
Update package.json devDependencies for WordPress 4.5
Reported by: | jorbin | Owned by: | jorbin |
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | |
Focuses: | Cc: |
Description
This is a tracking ticket for all package.json version updates that will need to take place in WordPress 4.5. New packages or swapping of packages should go in seperate tickets.
Attachments (1)
Change History (23)
This ticket was mentioned in Slack in #core by chriscct7. View the logs.
9 years ago
#11
@
9 years ago
Per trac discussion, there's a few more updates needed
"git-or-svn" can be updated from ~0.1.0 to ~0.1.1 (Installed: 0.1.1, Latest: 0.1.1) "grunt-contrib-compress" can be updated from ~1.1.0 to ~1.1.1 (Installed: 1.1.0, Latest: 1.1.1) "grunt-contrib-jshint" can be updated from ~0.11.3 to ~1.0.0 (Installed: 0.11.3, Latest: 1.0.0) "grunt-contrib-qunit" can be updated from ~0.7.0 to ~1.0.1 (Installed: 0.7.0, Latest: 1.0.1) "grunt-contrib-uglify" can be updated from ~0.10.0 to ~1.0.0 (Installed: 0.10.1, Latest: 1.0.0) "grunt-includes" can be updated from ~0.5.1 to ~0.5.4 (Installed: 0.5.3, Latest: 0.5.4) "grunt-postcss" can be updated from ~0.7.1 to ~0.8.0 (Installed: 0.7.1, Latest: 0.8.0) "grunt-rtlcss" can be updated from ~1.6.0 to ~2.0.1 (Installed: 1.6.0, Latest: 2.0.1) "matchdep" can be updated from ~1.0.0 to ~1.0.1 (Installed: 1.0.0, Latest: 1.0.1)
https://wordpress.slack.com/archives/core/p1457560541004535
#12
@
9 years ago
Replying to chriscct7:
Per trac discussion, there's a few more updates needed
"git-or-svn" can be updated from ~0.1.0 to ~0.1.1 (Installed: 0.1.1, Latest: 0.1.1) "grunt-contrib-compress" can be updated from ~1.1.0 to ~1.1.1 (Installed: 1.1.0, Latest: 1.1.1) "grunt-contrib-jshint" can be updated from ~0.11.3 to ~1.0.0 (Installed: 0.11.3, Latest: 1.0.0) "grunt-contrib-qunit" can be updated from ~0.7.0 to ~1.0.1 (Installed: 0.7.0, Latest: 1.0.1) "grunt-contrib-uglify" can be updated from ~0.10.0 to ~1.0.0 (Installed: 0.10.1, Latest: 1.0.0) "grunt-includes" can be updated from ~0.5.1 to ~0.5.4 (Installed: 0.5.3, Latest: 0.5.4) "grunt-postcss" can be updated from ~0.7.1 to ~0.8.0 (Installed: 0.7.1, Latest: 0.8.0) "grunt-rtlcss" can be updated from ~1.6.0 to ~2.0.1 (Installed: 1.6.0, Latest: 2.0.1) "matchdep" can be updated from ~1.0.0 to ~1.0.1 (Installed: 1.0.0, Latest: 1.0.1)https://wordpress.slack.com/archives/core/p1457560541004535
These 4 do not need updating as they are already covered by the semantic versioning in place in package.json
"git-or-svn" can be updated from ~0.1.0 to ~0.1.1 (Installed: 0.1.1, Latest: 0.1.1)
"grunt-contrib-compress" can be updated from ~1.1.0 to ~1.1.1 (Installed: 1.1.0, Latest: 1.1.1)
"grunt-includes" can be updated from ~0.5.1 to ~0.5.4 (Installed: 0.5.3, Latest: 0.5.4)
"matchdep" can be updated from ~1.0.0 to ~1.0.1 (Installed: 1.0.0, Latest: 1.0.1)
These 4 can be upgraded safely without issue and are included in 35104.diff
JSHint https://github.com/gruntjs/grunt-contrib-jshint/compare/v0.11.3...v1.0.0
Uglify https://github.com/gruntjs/grunt-contrib-uglify/compare/v0.10.0...v1.0.0
QUnit https://github.com/gruntjs/grunt-contrib-qunit/compare/v0.7.0...v1.0.1
PostCSS https://github.com/nDmitry/grunt-postcss/compare/v0.7.0...v0.8.0
"grunt-contrib-jshint" can be updated from ~0.11.3 to ~1.0.0 (Installed: 0.11.3, Latest: 1.0.0)
"grunt-contrib-uglify" can be updated from ~0.10.0 to ~1.0.0 (Installed: 0.10.1, Latest: 1.0.0)
"grunt-contrib-qunit" can be updated from ~0.7.0 to ~1.0.1 (Installed: 0.7.0, Latest: 1.0.1)
"grunt-postcss" can be updated from ~0.7.1 to ~0.8.0 (Installed: 0.7.1, Latest: 0.8.0)
The last one on the list is RTLCSS
"grunt-rtlcss" can be updated from ~1.6.0 to ~2.0.1 (Installed: 1.6.0, Latest: 2.0.1)
This requires a bit of work to convert the existing dashicons properties
option of the task to an RTLCSS Plugin
- https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md#upgrading-from-version-10
- https://github.com/MohammadYounes/rtlcss/blob/master/docs/writing-a-plugin.mdgrunt prerelease
I believe @ocean90 your somewhat familiar with these RTLCSS v2.x.x changes per Slack here?
This ticket was mentioned in Slack in #core by chriscct7. View the logs.
9 years ago
#21
@
9 years ago
- Resolution set to fixed
- Status changed from assigned to closed
Skipping a few packages:
grunt-postcss - requrires a new version of node than we currently require. see https://core.trac.wordpress.org/ticket/35104#comment:16
grunt-contrib-uglify - Changes all minified JS files. Would prefer this happening earlier in a cycle so it gets enough testing.
If we notice any major issues with dependencies, we should create tickets. Otherwise, let's consider our dev dependencies locked for 4.5
@jorbin When do we want, rather need to do this? Should it be done for beta 1 this week?
If so, does
/build
need anpm-shrinkwrap.json
file to coincide with the beta release? (See r36165)