collapse-yarn-lockfile
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

collapse-yarn-lockfile

Collapse redundant dependencies in yarn lockfile.

oclif Version Downloads/week License

This package analyzes a yarn lockfile for dependencies that could be met by a pre-existing resolution and outputs a new lockfile which uses that dependency.

Usage

QUICK START
  $ npx collapse-yarn-lockfile yarn.lock
 
  # remove orphaned dependencies
  $ yarn
 
USAGE
  $ collapse-yarn-lockfile [FILE]
 
OPTIONS
  -d, --allowDowngrade               Allow resolutions to be downgraded to a pre-existing resolution
  -f, --packageFilter=packageFilter  Regex filter for packages to be modified
  -h, --help                         show CLI help
  -i, --interactive                  Prompt for each collapsed library
  -v, --verbose
  --version                          show CLI version

Readme

Keywords

Package Sidebar

Install

npm i collapse-yarn-lockfile

Weekly Downloads

1

Version

0.1.4

License

MIT

Unpacked Size

9.36 kB

Total Files

9

Last publish

Collaborators

  • mbrewerdavis