NationalCentreTruthReconciliation / Secure-Record-Transfer

A transfer portal incorporating CAAIS and BagIt Specifications
https://secure-record-transfer.readthedocs.io/en/latest/
4 stars 2 forks source link

Migrate from NodeJS to Deno #244

Closed danloveg closed 2 days ago

danloveg commented 4 days ago

The deno runtime has a built-in compile tool that can be used to compile NPM dependencies. This would remove the need to require the @yao-pkg/pkg package in package.json to build the yuglify binary.

We should migrate our small dependency on NodeJS to the Deno runtime to get the native compile ability.

A few things need to change:

The compile command would look like this, which outputs a binary file in the current directory:

deno compile -A npm:yuglify
danloveg commented 2 days ago

Closing in favour of #247