See GitHub - gohugoio/hugo-mod-alpinejs: Hugo Modules for AlpineJS + plugins + alpine-ajax · GitHub
I have created a new tool (GitHub - gohugoio/npmtohugomod: Convert NPM modules from package.json to Hugo Modules. · GitHub) that should help me (and others) get to a better situation when it comes to at least JS libraries packaged as Hugo Modules.
AlpineJS is a great match for use in Hugo. The Alpine core and all the core plugins are added to the registry above. I have also included https://alpine-ajax.js.org/ – which should provide you all the JS tools you really need …