Check `yarn.lock` for duplicate entries
Sometimes we end up with duplicate entries in the yarn.lock, even though it could resolve to the same version. See for example here:
- '@gitlab-org/gitlab-svgs': yarn.lock#L81-87
- 'bootstrap': yarn.lock#L1383-1389
While it should not make a too big difference for devDependencies, it can cause problems with duplicate included CSS / icons for example. Unfortunately yarn sometimes dedupes not correctly and provides no means to dedupe manually. There are several open issues:
The most boring solution would be checking the yarn.lock ourselves for duplicate entries.