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

https://github.com/mermaid-js/mermaid/ #8

Open
r1gm opened this issue Oct 1, 2024 · 5 comments
Open

https://github.com/mermaid-js/mermaid/ #8

r1gm opened this issue Oct 1, 2024 · 5 comments

Comments

@r1gm
Copy link

r1gm commented Oct 1, 2024

hi,

Please make mermaid.js available through webjar.

Best Regards

@jamesward
Copy link
Member

This is available as an NPM WebJar:

"org.webjars.npm" % "mermaid" % "11.1.0"

Does that work for you?

@r1gm
Copy link
Author

r1gm commented Oct 1, 2024

it's not working

No versions available for org.webjars.npm:khroma:jar:[2.1.0,3.0.0-0) within specified range
No versions available for org.webjars.npm:antfu__utils:jar:[0.7.10,0.8.0-0) within specified range

and to many dependency added to my project

@jamesward
Copy link
Member

Yeah, it looks like it has a lot of dependencies. I've deployed org.webjars.npm mermaid 11.2.1 which doesn't address the number of dependencies issue, but should work. So I'll see if I can create a Classic WebJar with no dependencies. I'll let you know how that goes.

@r1gm
Copy link
Author

r1gm commented Oct 2, 2024

thank you James

@jamesward
Copy link
Member

I looked into this and it appears that the only way they distribute built version of mermaid is via NPM. So I think that the NPM WebJar is the best option. Did 11.2.1 work for you? It does have a bunch of transitive dependencies but they should all resolve.

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

No branches or pull requests

2 participants