webpack-build-notifier
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -39,2 +39,7 @@ /** | ||
/** | ||
* @cfg {Boolean} [suppressWarning=false] | ||
* True to suppress the warning notifications, otherwise false (default). | ||
*/ | ||
this.suppressWarning = cfg.suppressWarning || false; | ||
/** | ||
* @cfg {Boolean} [activateTerminalOnError=false] | ||
@@ -92,3 +97,3 @@ * True to activate (focus) the terminal window when a compilation error occurs. | ||
this.buildSuccessful = false; | ||
} else if (results.hasWarnings()) { | ||
} else if (!this.suppressWarning && results.hasWarnings()) { | ||
notify = true; | ||
@@ -95,0 +100,0 @@ title += 'Warning'; |
{ | ||
"name": "webpack-build-notifier", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "A Webpack plugin that generates OS notifications for build steps using node-notifier.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,3 +27,3 @@ # webpack-build-notifier | ||
#### title | ||
The notification title. Defaults to _Webpack Build_**. | ||
The notification title. Defaults to **_Webpack Build_**. | ||
@@ -39,2 +39,5 @@ #### logo | ||
#### suppressWarning | ||
True to suppress the warning notifications, otherwise false (default). | ||
#### activateTerminalOnError | ||
@@ -60,3 +63,3 @@ True to activate (focus) the terminal window when a compilation error occurs. Note that this only works on Mac OSX. Defaults to **_false_**. Regardless of the value of this config option, he terminal window can always be brought to the front by clicking on the notification. | ||
------------------- | ||
* Re-work the notification message to display more usefule information. At present, uses the error/warning's "message" text. Not very useful as it contains inline formatting and is quite verbose. Perhaps update to list file(s) with error(s)/warning(s)? | ||
* Re-work the notification message to display more useful information. At present, it shows the error/warning's "message" text which is not very useful as it contains inline formatting and is quite verbose. Perhaps update to instead show a list file(s) with error(s)/warning(s)? | ||
@@ -69,2 +72,9 @@ Notes | ||
Given the purpose and similarities, this project probably should have been a fork of one of these. | ||
Given the purpose and similarities, this project probably should have been a fork of one of these. | ||
Changelog | ||
--------- | ||
#### 1.0.6 | ||
###### _December 17, 2015_ | ||
- Added *suppressWarning* configuration option. |
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
101756
118
76