summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2018-09-07 13:20:06 +0200
committerLukas Eipert <leipert@gitlab.com>2018-12-17 09:58:39 +0100
commit243bd56f9db95a29deaec9ff093b2ff8d02f82ee (patch)
tree437d20ccde414ff8e9650283276bca0b6279a494 /package.json
parent8b4602041cf2c4a8738a4796d78720017249249f (diff)
downloadgitlab-ce-243bd56f9db95a29deaec9ff093b2ff8d02f82ee.tar.gz
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.
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
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"