Question about a custom resolver

11 views
Skip to first unread message

Mickael Jeanroy

unread,
May 10, 2016, 3:53:47 PM5/10/16
to bower
Hi,

I implemented a bower resolver that can be used to fetch dependencies on npm repository.
Currently, this npm resolver will be used for dependencies defined such as:

{
  "dependencies": {
    "npm+jquery": "~1.11.0"
  }
}

It works fine, except that this pattern cause some problems with some tools like bower-requirejs.
I would like to use a different solution:

{
  "dependencies": {
    "jquery": "npm://jquery#~1.11.0"
  }
}

Before implementing this, I just would like to hear bower maintainers opinion about that:
- Do you think it can cause some other problems ?
- Does it break bower specifications (see: https://github.com/bower/spec/blob/master/json.md) ?

Do not hesitate to comment on the github issue here: https://github.com/mjeanroy/bower-npm-resolver/issues/3

Thanks.

Reply all
Reply to author
Forward
0 new messages