quaertym / ember-cli-dependency-checker

Ember CLI addon for checking missing node and bower dependencies before running ember commands
MIT License
40 stars 37 forks source link

Unrecognized version that doesn't follow semantic version #40

Closed mistahenry closed 9 years ago

mistahenry commented 9 years ago

I just installed Block UI via bower. There version it specifies in its bower.json is 2.70 without a patch version. This causes the cli to tell me:

Invalid Version: 2.70
TypeError: Invalid Version: 2.70
    at new SemVer (/Users/will.henry/Desktop/unikitty/core/smallbiz/node_modules/ember-cli-dependency-checker/node_modules/semver/semver.js:295:11)

If I manually change it to 2.70.0 all is well. But I don't want to do that. How do I ignore this check for blockUI? The "whitelist" issue only checked if a dependency didn't have a bower.json?

quaertym commented 9 years ago

In your bower.json you can specify version as '*' but it is best to fix it upstream.

mistahenry commented 9 years ago

was that fix added post "ember-cli-dependency-checker": "0.0.7",? Because it didn't work with a * in my bower.json, which was the value I got when I bower install blockui

quaertym commented 9 years ago

It is available since 0.0.8.