Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion: Extensibility - Who wants to extend LibMan? #73

Open
justcla opened this issue Apr 26, 2018 · 3 comments
Open

Discussion: Extensibility - Who wants to extend LibMan? #73

justcla opened this issue Apr 26, 2018 · 3 comments
Labels
discussion The issue is up for discussion with the community

Comments

@justcla
Copy link
Contributor

justcla commented Apr 26, 2018

Would you like to extend LibMan for your own purposes?
If so, what are your needs?

Do you want to create a new provider for serving library files?
If so:

  • Which provider/s are you looking to create?
  • What kind of properties would your provider need?

More generally, what are you looking for in an extensibility model?

@prafullbhosale prafullbhosale added the discussion The issue is up for discussion with the community label May 11, 2018
@xzegga
Copy link

xzegga commented May 20, 2018

In my case, I am interested in the ability to add git repository as a provider. There are several useful libraries that are not available on cdnjs but in GitHub repository.

@RobJohnston
Copy link
Contributor

RobJohnston commented Feb 2, 2020

I echo what @xzegga suggested about a git repo provider. However, there is a work-around for this via jsdelivr. See https://www.jsdelivr.com/features#gh

For example, WET-BOEW is not available on any provider:

{
  "version": "1.0",
  "defaultProvider": "jsdelivr",
  "libraries": [
    {
      "library": "wet-boew/[email protected]",
      "destination": "wwwroot/lib/wet-boew/dist/themes-gc-intranet"
    },
    {
      "library": "wet-boew/[email protected]",
      "destination": "wwwroot/lib/wet-boew/dist/wet-boew/"
    }
  ]
}

I think the same format, but replacing "jsdelivr" with "github", could be the way to go.

EDIT: Reference #67 (comment)

@pabrams
Copy link

pabrams commented Sep 3, 2020

How can wet-boew not be available on any provider? How do they expect us to use it, then? I can testify that it's not available via jsdelivr (not consistently, anyway).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion The issue is up for discussion with the community
Projects
None yet
Development

No branches or pull requests

5 participants