jfrog / bower-art-resolver

Apache License 2.0
15 stars 17 forks source link

Run local without installing globally #13

Closed royts closed 8 years ago

royts commented 8 years ago

Hi,

Is there a way to run the resolver locally without installing globally? Usually I'm just running the binary files directly, and it works perfectly with gulp, bower, etc.

In bower-art-resolver case I don't see a binary file, and trying the following fails:

{
    "registry": "http://some.artifactory.repo",
    "resolvers": [
        "../node_modules/bower-art-resolver/lib/index"
    ]
}

All works good when installing bower-art-resolver globally.

Any idea?

thanks.

eyalbe4 commented 8 years ago

Hi @royts , Installing the resolver locally is not supported, but you can configure the resolver for specific projects only, by placing a private .bowerrc file it in the current working directory as mentioned in the Bower Configuration page.

royts commented 8 years ago

Thanks @eyalbe4 . I forgot to update here - I found some answer in bower github issues list (can't find a link now), that simply pointed that bower will look for the resolver globally and then locally.

It is working great now.

Thanks!