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

question on using mermaid cli with npm and gradle #213

Open
cstmgl opened this issue Dec 21, 2021 · 1 comment
Open

question on using mermaid cli with npm and gradle #213

cstmgl opened this issue Dec 21, 2021 · 1 comment

Comments

@cstmgl
Copy link

cstmgl commented Dec 21, 2021

I'm not sure if this is the best way but I'm trying to use mermaid cli (over npm) to generate some svgs and it's honestly easy.

My point comes now that I'm trying to automate this with gradle so that I have a task that just generates the svg.

My point that maybe seems very basic is that I can create a package JSON with the dependencies to the mermaid cli but I have no idea how to execute this. Anyone has any idea?

I want to use the NodeTask setup because it would allow me to manage the node installation and the node modules download because I don't have a docker deamon available.

@MindaugasLaganeckas
Copy link
Member

Have you found a way to use mermaid-cli with gradle? If so, can you share your solution?

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