CLI bundle of yarn-deduplicate, a deduplication tool for yarn.lock files
npm install yarn-deduplicate-cli
Bundled package of yarn-deduplicate CLI with some patches;
To clean up yarn.lock by removing duplicates.
- Bundle yarn-deduplicate CLI with webpack and babel for Node 6 compatibility
- Now we can guess duplicatable packages with --scopes option special values: '^', '~', and '\*'
Guess duplicatable packages with:
``bash``
yarn-deduplicate -l --scopes "^" path/to/yarn.lock
This will list all duplicatable packages then we can deduplicate them manually.
Apache 2.0 licensed, see LICENSE.txt file.