Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
webpack-build-notifier
Advanced tools
A Webpack plugin that generates OS notifications for build steps using node-notifier.
A Webpack plugin that uses the node-notifier module to display OS-level notifications for Webpack build errors and warnings.
Are you tired of having to constantly switch between your IDE and terminal window to see whether your latest edits resulted in a failed build? Why didn't your latest changes get hot-loaded? Was there a syntax error or failed unit test? With this plugin, you will always be apprised of build problems without having to keep an eye on your terminal window.
To use, install the webpack-build-notifier package npm install webpack-build-notifier --save-dev
and add the plugin to your Webpack configuration file:
// webpack.config.js
var WebpackBuildNotifierPlugin = require('webpack-build-notifier');
module.exports = {
// ... snip ...
plugins: [
new WebpackBuildNotifierPlugin()
],
// ... snip ...
}
The notification title. Defaults to Webpack Build.
The absolute path to the project logo to be displayed as a content image in the notification. Optional.
The sound to play for notifications. Set to false to play no sound. Valid sounds are listedin the node-notifier project, here. Defaults to Submarine.
The sound to play for success notifications. Defaults to the value of the sound configuration option. Set to false to play no sound for success notifications. Takes precedence over the sound configuration option.
The sound to play for failure and warning notifications. Defaults to the value of the sound configuration option. Set to false to play no sound for failure and warning notifications. Takes precedence over the sound configuration option.
True to suppress the success notifications, otherwise false (default). Note that the success notification will always be shown following a failed build regardless of this setting.
True to suppress the warning notifications, otherwise false (default).
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.
The absolute path to the icon to be displayed for success notifications. Defaults to the included ./icons/success.png.
The absolute path to the icon to be displayed for warning notifications. Defaults to the included ./icons/warning.png.
The absolute path to the icon to be displayed for failure notifications. Defaults to the included ./icons/failure.png.
After publishing this package I discovered a couple other similar plugins that are worth looking into:
Given the purpose and similarities, this project probably should have been a fork of one of these.
0.1.8
FAQs
A Webpack plugin that generates OS notifications for build steps using node-notifier.
The npm package webpack-build-notifier receives a total of 20,910 weekly downloads. As such, webpack-build-notifier popularity was classified as popular.
We found that webpack-build-notifier demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.