gulp-notify
Advanced tools
Comparing version 2.2.0 to 3.0.0
Changelog | ||
=== | ||
#### `v3.0.0` | ||
##### Breaking Changes | ||
1. Updates to `node-notifier@v5.0.0` and the the [breaking changes from that](https://github.com/mikaelbr/node-notifier/blob/master/CHANGELOG.md#v500) applies to gulp-notify. | ||
#### `v2.2.0` | ||
@@ -5,0 +11,0 @@ 1. Adds support for changing host, port and appName for Growl. |
@@ -42,2 +42,9 @@ var through = require("through2"); | ||
} else { | ||
if (options.host || options.appName || options.port) { | ||
notifier = new notifier.Notification({ | ||
host: options.host || 'localhost', | ||
appName: options.appName || 'gulp-notify', | ||
port: options.port || '23053' | ||
}); | ||
} | ||
reporter = notifier.notify.bind(notifier); | ||
@@ -44,0 +51,0 @@ } |
@@ -20,5 +20,5 @@ "use strict"; | ||
notifier = new notifier.Notification({ | ||
host: options.host, | ||
appName: options.appName, | ||
port: options.port | ||
host: options.host || 'localhost', | ||
appName: options.appName || 'gulp-notify', | ||
port: options.port || '23053' | ||
}); | ||
@@ -25,0 +25,0 @@ } |
{ | ||
"name": "gulp-notify", | ||
"version": "2.2.0", | ||
"version": "3.0.0", | ||
"description": "gulp plugin to send messages based on Vinyl Files or Errors to Mac OS X, Linux or Windows using the node-notifier module. Fallbacks to Growl or simply logging", | ||
@@ -30,16 +30,17 @@ "keywords": [ | ||
"scripts": { | ||
"test": "mocha -R spec" | ||
"test": "mocha -R spec", | ||
"gulp": "gulp --gulpfile ./examples/gulpfile.js" | ||
}, | ||
"dependencies": { | ||
"gulp-util": "^3.0.2", | ||
"lodash.template": "^3.0.0", | ||
"node-notifier": "^4.1.0", | ||
"node.extend": "^1.1.3", | ||
"through2": "^0.6.3" | ||
"gulp-util": "^3.0.8", | ||
"lodash.template": "^4.4.0", | ||
"node-notifier": "^5.0.1", | ||
"node.extend": "^1.1.6", | ||
"through2": "^2.0.3" | ||
}, | ||
"devDependencies": { | ||
"gulp": "^3.8.10", | ||
"gulp-plumber": "^0.6.6", | ||
"mocha": "^2.1.0", | ||
"should": "^4.6.1" | ||
"gulp-plumber": "^1.1.0", | ||
"mocha": "^3.2.0", | ||
"should": "^11.2.0" | ||
}, | ||
@@ -50,7 +51,3 @@ "engines": { | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT" | ||
} | ||
] | ||
"license": "MIT" | ||
} |
@@ -49,2 +49,8 @@ # gulp-notify [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url] | ||
**Windows 10 Note:** You might have to activate banner notification for the toast to show. | ||
From [#90 (comment)](https://github.com/mikaelbr/gulp-notify/issues/90#issuecomment-129333034) | ||
> You can make it work by going to System > Notifications & Actions. The 'toast' app needs to have Banners enabled. (You can activate banners by clicking on the 'toast' app and setting the 'Show notification banners' to On) | ||
## Usage | ||
@@ -77,3 +83,3 @@ | ||
See [examples](examples/gulpfile.js) for more og the API section for various inputs. | ||
See [examples](examples/gulpfile.js) for more or the [API](#api) section for various inputs. | ||
@@ -216,3 +222,3 @@ ## Notes/tip | ||
**If the `wait` option is set to `true`**, the notifier will tigger | ||
**If the `wait` option is set to `true`**, the notifier will trigger | ||
events `click` or `timeout`, whether the user clicks the notification or it | ||
@@ -219,0 +225,0 @@ times out. You listen to these events on the main notify object, not the |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
95397
1106
435
+ Addedis-wsl@1.1.0(transitive)
+ Addedlodash.template@4.5.0(transitive)
+ Addedlodash.templatesettings@4.2.0(transitive)
+ Addednode-notifier@5.4.5(transitive)
- Removedansi-escapes@3.2.0(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedansicolors@0.3.2(transitive)
- Removedcardinal@2.1.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcli-table@0.3.11(transitive)
- Removedcli-usage@0.1.10(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcolors@1.0.3(transitive)
- Removedesprima@4.0.1(transitive)
- Removedhas-flag@2.0.03.0.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlodash._arraycopy@3.0.0(transitive)
- Removedlodash._arrayeach@3.0.0(transitive)
- Removedlodash._baseassign@3.2.0(transitive)
- Removedlodash._baseclone@3.3.0(transitive)
- Removedlodash._basefor@3.0.3(transitive)
- Removedlodash._bindcallback@3.0.1(transitive)
- Removedlodash.clonedeep@3.0.2(transitive)
- Removedmarked@0.7.0(transitive)
- Removedmarked-terminal@3.3.0(transitive)
- Removednode-emoji@1.11.0(transitive)
- Removednode-notifier@4.6.1(transitive)
- Removedreadable-stream@1.0.34(transitive)
- Removedredeyed@2.1.1(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedsupports-hyperlinks@1.0.1(transitive)
- Removedthrough2@0.6.5(transitive)
Updatedgulp-util@^3.0.8
Updatedlodash.template@^4.4.0
Updatednode-notifier@^5.0.1
Updatednode.extend@^1.1.6
Updatedthrough2@^2.0.3