base-runtimes
Advanced tools
Comparing version 0.1.9 to 0.1.10
19
index.js
@@ -20,3 +20,3 @@ /*! | ||
this.on('starting', function(build) { | ||
if (!silent(build)) { | ||
if (!silent(app, build, null)) { | ||
starting(namespace(build)); | ||
@@ -27,3 +27,3 @@ } | ||
this.on('finished', function(build) { | ||
if (!silent(build)) { | ||
if (!silent(app, build, null)) { | ||
finished(namespace(build)); | ||
@@ -34,3 +34,3 @@ } | ||
this.on('task:starting', function(task) { | ||
if (!silent(app, task)) { | ||
if (!silent(app, null, task)) { | ||
if (task.name === 'noop') return; | ||
@@ -42,3 +42,3 @@ starting(namespace(app), name(task) + ' task'); | ||
this.on('task:finished', function(task) { | ||
if (!silent(app, task)) { | ||
if (!silent(app, null, task)) { | ||
if (task.name === 'noop') return; | ||
@@ -65,3 +65,12 @@ finished(namespace(app), name(task) + ' task'); | ||
function silent(app, task) { | ||
function silent(app, build, task) { | ||
if (app.options.verbose === true) { | ||
return false; | ||
} | ||
if (task && app.options.verbose === 'tasks') { | ||
return false; | ||
} | ||
if (build && app.options.verbose === 'build') { | ||
return false; | ||
} | ||
if (app.options.silent === true) { | ||
@@ -68,0 +77,0 @@ return true; |
{ | ||
"name": "base-runtimes", | ||
"description": "Plugin for adding composer-runtimes to base applications, complementing the base-tasks and base-generators plugins.", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"homepage": "https://github.com/node-base/base-runtimes", | ||
@@ -25,5 +25,5 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"extend-shallow": "^2.0.1", | ||
"lazy-cache": "^1.0.4", | ||
"log-utils": "^0.1.2", | ||
"time-diff": "^0.3.0" | ||
"lazy-cache": "^2.0.1", | ||
"log-utils": "^0.1.3", | ||
"time-diff": "^0.3.1" | ||
}, | ||
@@ -66,3 +66,2 @@ "devDependencies": { | ||
"highlight": "base-task", | ||
"description": "You might also be interested in these projects:", | ||
"list": [ | ||
@@ -69,0 +68,0 @@ "base", |
@@ -94,2 +94,2 @@ # base-runtimes [![NPM version](https://img.shields.io/npm/v/base-runtimes.svg?style=flat)](https://www.npmjs.com/package/base-runtimes) [![NPM downloads](https://img.shields.io/npm/dm/base-runtimes.svg?style=flat)](https://npmjs.org/package/base-runtimes) [![Build Status](https://img.shields.io/travis/node-base/base-runtimes.svg?style=flat)](https://travis-ci.org/node-base/base-runtimes) | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on April 27, 2016._ | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 03, 2016._ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10374
134
+ Addedlazy-cache@2.0.2(transitive)
+ Addedset-getter@0.1.1(transitive)
+ Addedto-object-path@0.3.0(transitive)
- Removedlazy-cache@1.0.4(transitive)
Updatedlazy-cache@^2.0.1
Updatedlog-utils@^0.1.3
Updatedtime-diff@^0.3.1