The vercel/pkg has successfully been implemented and is now producing pre-release packages in our release page.
However we have yet to test how it works when dealing with native modules like utp-native.
We need to add in utp-native and leveljs as demonstrations of building a CLI executable with native code.
This will be essential for js-polykey to be capable of producing release executables.
- Integrate leveldb into TypeScript-Demo-Lib
- Integrate utp-native into TypeScript-Demo-Lib
- Perform a hello world equivalent of using these 2 libraries, for leveldb that's CRUD on the database, for utp-native we would need to start a server, and close the server.
- Then use vercel/pkg to package up the program
- Sanity check the release
- Fix up any native module configuration required for vercel/pkg
Checklist:
Relevant upstream PR vercel/pkg#1273