Détail du package

check-peer-deps

Arcanemagus1kMIT1.1.3

Verifies that the peerDependency requirements of all top level dependencies are satisfied.

peerDependencies

readme

check-peer-deps

Greenkeeper badge

Verifies that the peerDependency requirements of all top level dependencies are satisfied.

Installation

You can install this on your system with:

npm i -g check-peer-deps

Please note that this utility requires npm to be available.

Usage

Simply change into the directory of the project you wish to check the peerDependencies of and run the program.

> cd foobar
> check-peer-deps

If the minimum versions of all your top level peerDependencies are satisfied then there will be no output, otherwise you will see something similar to this:

  > check-peer-deps
  A dependency satisfying eslint-config-airbnb-base's peerDependency of 'eslint@^4.9.0' was not found!
  Current: eslint@^4.6.0
  Package dependencies can satisfy the peerDependency? Yes

This tells you that eslint-config-airbnb-base is requiring eslint@^4.9.0 as a peerDependency, but the project currently only specifies eslint@^4.6.0, allowing a potential issue to arise if eslint@4.6.0 was installed and not updated before installing. The output also tells you that although the minimum allowed version is too low, the maximum allowed version does satisfy the peerDependencies requirement.

changelog

Change Log

v1.1.0 (2017-12-09)

Full Changelog

Implemented enhancements:

v1.0.2 (2017-10-18)

Full Changelog

Fixed bugs:

  • Check peerDeps for latest version #7
  • Handle npm view failures #6
  • Reword "Required version is allowed" #5
  • Allow retries of npm commands #10 (Arcanemagus)
  • Clarify required/allowed wording #9 (Arcanemagus)
  • Ensure latest peerDependencies are checked #8 (Arcanemagus)

v1.0.1 (2017-10-18)

Full Changelog

Fixed bugs:

  • Fix installation instructions #1

v1.0.0 (2017-10-18)

Full Changelog

* This Change Log was automatically generated by github_changelog_generator