Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Add "provides" to fulfill backbone dependencies for bower package manager #45

Open
HongPong opened this issue Aug 14, 2014 · 2 comments

Comments

@HongPong
Copy link
Contributor

It would help when I try to include bootstrap-dependent packages via bower if "provides" included Bootstrap so that the package manager doesn't try to generate a vanilla bootstrap to satisfy dependencies.

I ran into the problem trying to install https://github.com/msurguy/ladda-bootstrap/blob/master/bower.json

Similar to this:

// lodash.js — component.json
{
  "name": "lodash",
  "version": "1.0.x",
  "main": "lodash.js",
  "provides": {
    "underscore": "1.4.x"
  }
}

Re: bower/bower#291
I'm pretty new to using Bower and Bootstrap but I think this would help. Thanks, the framework is great.

@gfranko
Copy link
Contributor

gfranko commented Aug 29, 2014

So, we are not currently using bower to pull in any client-side dependencies. Are you proposing that we should?

@HongPong
Copy link
Contributor Author

I think what I should have said: when I use bower to add a backbone related library, bower doesn't see BoilerplateMVC as providing Backbone within it, so it tries to download backbone all over again. ( thinking adding http://jqueryvalidation.org/ for example via bower this problem would occur )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants