From 243bd56f9db95a29deaec9ff093b2ff8d02f82ee Mon Sep 17 00:00:00 2001 From: Lukas Eipert Date: Fri, 7 Sep 2018 13:20:06 +0200 Subject: 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. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index cf7e43f14dd..44423c97722 100644 --- a/package.json +++ b/package.json @@ -158,7 +158,8 @@ "nodemon": "^1.18.4", "prettier": "1.15.2", "vue-jest": "^3.0.1", - "webpack-dev-server": "^3.1.10" + "webpack-dev-server": "^3.1.10", + "yarn-deduplicate": "^1.0.5" }, "engines": { "yarn": "^1.10.0" -- cgit v1.2.1