charlierudolph / dependency-lint

Lints NPM dependencies and devDependencies
MIT License
14 stars 6 forks source link

Version checking breaks private modules #26

Closed mpalmer685 closed 8 years ago

mpalmer685 commented 8 years ago

Our project uses modules that we host in private Bitbucket repos. These dependencies appear in our package.json as

dependencies: {
    "api-entity": "git+ssh://git@bitbucket.org:username/repo-name.git#1.0.2"
}

When running dependency-lint for this project, the following error is thrown:

Error: The following modules listed in your `package.json` have issues:
  api-entity (installed: 1.0.2, listed: git+ssh://git@bitbucket.org:username/repo-name.git#1.0.2)
All modules need to be installed with the correct semantic version
to properly check for the usage of a module's executables.