Opened 9 years ago
Closed 9 years ago
#2893 closed enhancement (fixed)
npm check-dependencies
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Tools - Build | Keywords: | has-patch commit |
Cc: |
Description
Via #BuddyPress6756
I think we should introduce the check-dependencies
NPM package into our Grunt workflow. It checks if currently installed NPM dependencies are the same versions that are specified in the package.json
.
whether it's a version bump or a new package, one can forget to invoke npm install (or bower install) and continue using the application, possibly encountering errors caused by obsolete package versions. To avoid it, use the check-dependencies module at the top of the entry point of your application; it will inform about not up-to-date setup and optionally install the dependencies.
In 5964: