monorepo-dependencies-check
v1.1.0
Published
[![Build Status](https://travis-ci.org/Slashgear/monorepo-dependencies-check.svg?branch=master)](https://travis-ci.org/Slashgear/monorepo-dependencies-check)
Downloads
10
Readme
monorepo-dependencies-check
In a monorepo architecture you often want to keep your dependencies synchronized between packages. This CLI tool will help you check the versions.
Install
npm install monorepo-dependencies-check
Usage
monorepo-dependencies-check -p react
Will look in all your workspace packages to compare react
version with the root
package.json file.
It will use semver to compare versions.
monorepo-dependencies-check -p react ..
With ..
, it will look in package.json in relative path.
You could also check for as many packages as you want.
monorepo-dependencies-check -p react styled-components babel eslint
You could also pass --all
to check for all dependencies listed in the root package.json file.
monorepo-dependencies-check --all