1.0.24 • Published 3 years ago

package-version-plugin v1.0.24

Weekly downloads
25
License
MIT
Repository
github
Last release
3 years ago

package-version-plugin

Sometimes you want to know project dependencies exact versions on production environment.

Install

npm install --save-dev package-version-plugin

Usage

webpackConfig
var PackageVersionPlugin = require('package-version-plugin');

var webpackConfig = {
    plugins: [
        new PackageVersionPlugin({
            registry: "https://registry.npmjs.org/",
            outputFile: "test-version.html",
            name: "test",
            showDevDependencies:true,
            showDependencies:true,
            depFilterRegExp:/^test/,
            devDepFilterRegExp:/^\test/
        })
    ]
}
chainWebpack
const PackageVersionPlugin = require('package-version-plugin');

...
chainWebpack:config =>{
    config.plugin("PackageVersionPlugin").use(PackageVersionPlugin, [
        {
            registry: "https://registry.npmjs.org/",
            outputFile: "test-version.html",
            name: "test",
            showDevDependencies:true,
            showDependencies:true,
            depFilterRegExp:/^test/,
            devDepFilterRegExp:/^\test/
        }
    ]);
}
...

Feature

Plugin will collect dependencies version list and output version.json in the webpack bundle path

1.0.24

3 years ago

1.0.23

3 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.11

5 years ago

1.0.12

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago