[buddypress-trac] [BuddyPress Trac] #6756: npm check-dependencies
buddypress-trac
noreply at wordpress.org
Tue Dec 1 02:15:05 UTC 2015
#6756: npm check-dependencies
-----------------------------------+------------------
Reporter: DJPaul | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.5
Component: Tools - Build Process | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------------+------------------
Comment (by netweb):
Patch [attachment:6756.diff] gets this up and running, I chose not to
install the missing/outdated packages automatically, I think this should
be left for users do themselves as they may be running a dev or custom
version of a package for testing etc.
This task `grunt checkDependencies:src` runs before any other Grunt tasks
including the `default` task
Here's the output from running `grunt`:
{{{
#!sh
$ grunt
Running "checkDependencies:src" (checkDependencies) task
>> grunt-contrib-uglify: installed: 0.9.1, expected: 0.10.1
>> Invoke npm install to install missing packages
Warning: Task "checkDependencies:src" failed. Use --force to continue.
Aborted due to warnings.
}}}
FYI: I did a bunch of other semver tests and all worked great :)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6756#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list