dependency-checker-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

npm node npm size

Dependency Checker Webpack Plugin

Plugin that simplifies checke of dependencies version and notify about new version.

Install

Webpack 5

  npm i --save-dev dependency-checker-webpack-plugin
  yarn add --dev dependency-checker-webpack-plugin

Use

The plugin will output information in the console and toast of Windows, MacOS or Linux, for this you need to add it as below and add the package names to the dependency list for checking:

webpack.config.js

import DependencyCheckerPlugin from 'dependency-checker-webpack-plugin';

module.exports = {
  ...
  plugins: [new DependencyCheckerPlugin({
    depNames: ['dependency-checker-webpack-plugin']
  })],
  ...
};

It will create a notification for dependencies that have new versions.

Demo

Settings

new DependencyCheckerPlugin({
  depNames: array,
  options?: object
})
Name Type Default Description
depNames {Array.<string>} [''] Names of packages to be checked
options.showToast {Boolean} true Enable toast of Windows, MacOS or Linux
options.showConsole {Boolean} true Enable notify in console
options.devServerOnly {Boolean} true For DevServer only
options.disableCertValid {Boolean} false NODE_TLS_REJECT_UNAUTHORIZED = 0 or 1

Package Sidebar

Install

npm i dependency-checker-webpack-plugin

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

74.6 kB

Total Files

9

Last publish

Collaborators

  • avs.doom