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

WebJar classic request: htmx #1978

Open
vpavic opened this issue Aug 5, 2022 · 6 comments
Open

WebJar classic request: htmx #1978

vpavic opened this issue Aug 5, 2022 · 6 comments

Comments

@vpavic
Copy link

vpavic commented Aug 5, 2022

Could you publish a classic WebJar of htmx?

This is the GitHub repo:
https://github.com/bigskysoftware/htmx

Thanks!

@jamesward
Copy link
Member

Did the NPM WebJar not work for what you needed? (I prefer NPM WebJars over Classic since they are user-maintainable.)

@vpavic
Copy link
Author

vpavic commented Aug 8, 2022

Generally I tend to avoid the NPM variants if possible since they expose quite a few more assets than really needed (basically dist dir contents) and I'm not quite comfortable with that.

Can you clarify what exactly means NPM WebJars are user-maintainable? It doesn't seems as they're published automatically. I searched but couldn't find any docs on that matter.

@jamesward
Copy link
Member

Anyone can deploy NPM WebJars via https://webjars.org so I don't need to do anything. It isn't automatic but if you need something you can deploy it yourself.

Let me know what you prefer.

@vpavic
Copy link
Author

vpavic commented Aug 8, 2022

Ahh, I was so focused on the documentation that I missed Add a WebJar button. 🤦

I don't want to bug you too much with publishing these classic WebJars so at some point I'll likely put together PRs for ones that I use frequently. Also, I'd be interested in helping out with improvements/automation of classic WebJar publishing as discussed in #1977 but we can continue that discussion over there.

@wimdeblauwe
Copy link

htmx is deployed as webjar:
image

You can use it in Maven as:

<dependency>
            <groupId>org.webjars.npm</groupId>
            <artifactId>htmx.org</artifactId>
            <version>1.8.0</version>
        </dependency>

@vpavic
Copy link
Author

vpavic commented Sep 8, 2022

Note that this issue is specifically about the classic variant.

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

3 participants