Add danger check for duplicate yarn dependencies
This danger check utilises `yarn-deduplicate` in order to show duplicate dependencies in the yarn.lock dependency tree. Often when introducing new dependencies or updating existing ones, yarn does not seem to build the most optimal dependency tree. In order to prevent those unnecessary dependency updates we are nudging developers and maintainers to resolve these issues in MRs. Automating this with danger especially helps, as yarn.lock files are not that easy to review.
Showing
... | @@ -158,7 +158,8 @@ | ... | @@ -158,7 +158,8 @@ |
"nodemon": "^1.18.4", | "nodemon": "^1.18.4", | ||
"prettier": "1.15.2", | "prettier": "1.15.2", | ||
"vue-jest": "^3.0.1", | "vue-jest": "^3.0.1", | ||
"webpack-dev-server": "^3.1.10" | "webpack-dev-server": "^3.1.10", | ||
"yarn-deduplicate": "^1.0.5" | |||
}, | }, | ||
"engines": { | "engines": { | ||
"yarn": "^1.10.0" | "yarn": "^1.10.0" | ||
... | ... |
Please register or sign in to comment