@reggi/lerna.utils

0.0.184 • Public • Published

monorepo.dep-lint

Within a monorepo you have many packages and those packages can tend to use the same dependencies and devDependencies. The issue is when packages/a and packages/b use different versions of a shared dependency for instance one uses ^4.5.0 and the other ^4.5.2 this spit is often unnecessay. This tool is used to check for these type of inconsistancies and provide a list of issues to fix. Another very important feature of this tool is the ability to check if all the devDependencies in your packages are included in the root package.json.

Example output

Here's an example output

packages using multiple versions of the devDep jest found ^22.4.2, ^22.4.3
root contains devDep jest at version 9.9.9 needs ^22.4.2, ^22.4.3
packages using multiple versions of the devDep sinon found ^4.5.0, ^5.0.8
root is missing devDep babel-cli
packages using multiple versions of the devDep babel-eslint found ^8.2.2, ^8.2.3
root contains devDep babel-eslint at version 9.0.0 needs ^8.2.2, ^8.2.3
packages using multiple versions of the devDep fs-extra found ^5.0.0, ^6.0.1
packages using multiple versions of the dep fs-extra found ^5.0.0, ^6.0.1
packages using multiple versions of the dep @reggi/help.set-entire found file:../help.set-entire, 0.0.8

Readme

Keywords

none

Package Sidebar

Install

npm i @reggi/lerna.utils

Weekly Downloads

169

Version

0.0.184

License

none

Unpacked Size

31.6 kB

Total Files

5

Last publish

Collaborators

  • reggi