Skip to content

Publish compiled ASM/WASM packages on NPM #81

Open
@Jaifroid

Description

@Jaifroid

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildCode relating to building or publishing assetsdownstreamProblem may need fixing in apps that use this buildenhancementNew feature or requesthelp wantedExtra attention is neededtask

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions