1.0.24 • Published 2 years ago

package-version-plugin v1.0.24

Weekly downloads
25
License
MIT
Repository
github
Last release
2 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

2 years ago

1.0.23

2 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.11

4 years ago

1.0.12

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago