Skip to content

Publish compiled ASM/WASM packages on NPM #81

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

Open
Jaifroid opened this issue Apr 22, 2025 · 0 comments
Open

Publish compiled ASM/WASM packages on NPM #81

Jaifroid opened this issue Apr 22, 2025 · 0 comments
Labels
build Code relating to building or publishing assets downstream Problem may need fixing in apps that use this build enhancement New feature or request help wanted Extra attention is needed task

Comments

@Jaifroid
Copy link
Collaborator

Jaifroid commented Apr 22, 2025

This is a different issue from #8, though has some similarities.

@Kelson has suggested that we should publish the compiled javascript-libzim binaries so they can be added to Kiwix JS and Kiwix PWA during CI and also during developer setup through npm install. This would make a lot of sense and would prevent keeping back copies of the binaries in Git history in those repositories.

The steps needed to achieve this here are:

  1. Set up the npm package repository (I don't know the right terminology)
  2. Probably (I am guessing) add a signing stage to the script that builds the binaries -- I assume NPM would require some verification/security system
  3. Modify the workflow so that it will publish the npm package(s) (which should only be done on publishing a release, and also with a workflow dispatch option).
@Jaifroid Jaifroid added build Code relating to building or publishing assets downstream Problem may need fixing in apps that use this build enhancement New feature or request help wanted Extra attention is needed task labels Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Code relating to building or publishing assets downstream Problem may need fixing in apps that use this build enhancement New feature or request help wanted Extra attention is needed task
Projects
None yet
Development

No branches or pull requests

1 participant