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

can't track master #44

Closed shaunc closed 9 years ago

shaunc commented 9 years ago

I have a dependency which I would like to track master branch on github:

"devDependencies": { ...
  "ember-cli-smenu": "shaunc/ember-smenu"
}

When I try to install another addon, I can't because dependency check fails.

Perhaps in this and similar cases, you could ignore (or warn) on check?

Alternatively (or in addition), in .ember-cli or in own config package, there could be a list of dependencies to skip.

quaertym commented 9 years ago

It will work if the target is in the following format:

{
  "ember-cli-smenu": "git://github.com/shaunc/ember-smenu.git#master"
}
shaunc commented 9 years ago

Ah -- thanks!

[NB .ember-ignore-dependencies would still be a good idea I think]

quaertym commented 9 years ago

@shaunc Please close if it is fixed. I feel the need for ignoring dep check but not sure what is the best way to do it.

shaunc commented 9 years ago

Sure ... closing. I'll happily create a tracking issue for ignoring if you want (though, the other case I need it for is for "npm link" and you already have an issue for that.)

PS -- my thoughts for ignoring:

.ember-ignore-dependencies with one dependency name per line. Just name ignores in both bower and npm. write:

npm:foo

to ignore foo in just npm; and bower:foo to ignore in just bower.