2.1.0 • Published 3 years ago

sinamfe-webpack-module_dependency v2.1.0

Weekly downloads
6
License
ISC
Repository
github
Last release
3 years ago

npm node deps tests

webpack-module_dependency

webpack 依赖树插件

作用

收集组件依赖关系,用于数据分析,组件依赖分析,反向查找依赖工程

用于前端工程中严格的多版本问题排重终止打包操作。

一些说明

一、 按照entry的dependencies递归查找 但是找dependencies时被扁平化了 例如 依赖关系: entry -> test-npm-module-react -> react @15.6.2 -> react @16.2.0

找entry的dependencies时,数组顺序 test-npm-module-react, react (@15.6.2), react (@16.2.0)

加了一层依赖深度的检测

二、 忽略了工程化本身的依赖 例如在entry的dependencies中可以找到两类依赖,除了工程本身的依赖还可以获取是webpack-marauder相关的公有依赖,可以找到promise-polyfill@6.1.0 object-assign@4.1.1。这类忽略掉了

三、 webpack-marauder升级可能会导致依赖树变化,需要对应检查

更新流程

git add .
git cz

Run the npm version npm version [path|minor|major] command

//发小补丁
npm version patch -m 'commit message'

//发小版本
npm version minor -m 'commit message'

//发小版本
npm version major -m 'commit message'
cnpm publish

Push

git push
2.1.0

3 years ago

1.3.8

4 years ago

2.0.2

4 years ago

1.3.7

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4-test.1

5 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3-rc.1

6 years ago

1.2.3

6 years ago

1.2.2-rc.6

6 years ago

1.2.2-rc.5

6 years ago

1.2.2-rc.4

6 years ago

1.2.2-rc.3

6 years ago

1.2.2-rc.2

6 years ago

1.2.2-rc.1

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.0.1

7 years ago