Closed Bug 1206670 Opened 9 years ago Closed 9 years ago

Update node packages to latest versions

Categories

(Tree Management :: Treeherder, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

Before I run `npm shrinkwrap`, we might as well update to the latest version of the node packages we're using, to avoid further churn. [~/src/treeherder]$ npm outdated Package Current Wanted Latest Location grunt-contrib-cssmin 0.12.3 0.12.3 0.14.0 grunt-contrib-cssmin grunt-contrib-copy 0.8.0 0.8.0 0.8.1 grunt-contrib-copy karma-cli 0.0.4 0.0.4 0.1.0 karma-cli grunt-eslint 16.0.0 16.0.0 17.1.0 grunt-eslint karma-jasmine 0.1.0 0.1.0 0.3.6 karma-jasmine grunt-contrib-uglify 0.9.1 0.9.1 0.9.2 grunt-contrib-uglify grunt-html-angular-validate 0.4.1 0.4.1 0.5.2 grunt-html-angular-validate grunt-usemin 3.0.0 3.0.0 3.1.1 grunt-usemin karma 0.12.37 0.12.37 0.13.10 karma In addition, we should stop specifying versions in package.json using the tilde notation.
Attachment #8663643 - Flags: review?(cdawson)
grunt-eslint has not been updated, since the newer version switches to using eslint v1.x, which is not backwards compatible, so tests fail. Bug 1183749 will handle updating to it later.
Attachment #8663643 - Flags: review?(cdawson) → review+
Commits pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/9ce4794d0ebe890c8704a69fd8acd7d8fb8d2769 Bug 1206670 - Update dependencies for grunt build to latest versions Package Current Latest grunt-contrib-cssmin 0.12.3 0.14.0 grunt-contrib-copy 0.8.0 0.8.1 grunt-contrib-uglify 0.9.1 0.9.2 grunt-usemin 3.0.0 3.1.1 https://github.com/mozilla/treeherder/commit/973576256879100afab2bb57a177b8183eab6be6 Bug 1206670 - Remove karma-cli from devDependencies The karma package already comes with a wrapper script, so there's no need to install another locally. The intended use for karma-cli is to install it globally, which cannot be done from package.json. https://github.com/mozilla/treeherder/commit/32e3e908eb536280d0799b80a16645160d90838b Bug 1206670 - Pin packages in devDependencies to explicit versions To avoid Travis failing if new package authors don't follow semver and break things in a point release. This is effectively a no-op, compared to a clean install using the prior package.json. https://github.com/mozilla/treeherder/commit/415c343b8067cf7c29475cd7bf86a451812a73eb Bug 1206670 - Update grunt-html-angular-validate to v0.5.2 It's not yet used in Travis, but we'll hopefully start using it in the future. https://github.com/mozilla/treeherder/commit/440e929916b46587f54787ff745ddbbd721448ff Bug 1206670 - Update karma to v0.13.10 and karma-jasmine to v0.3.6 As of karma-jasmine 0.3.0, the jasmine library is not bundled with karma-jasmine, and so jasmine-core has to be installed separately. jasmine-jquery also has to be updated, since the old version was not compatible. A duplicate jasmine-jquery file that was outside of the tests vendor directory has also been removed.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: