-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
developmentStandard developmentStandard developmentopsOperations and administrationOperations and administration
Milestone
Description
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:
- I've done some reading on native modules and vercel/pkg.
- cloned the TypeScript-Demo-Lib, built and ran it to see it working.
- built TypeScript-Demo-Lib with pkg and ran it in linux to check it is working.
- Written a hello world test for level.
- written a hello world test for utp-native.
- pkg with level and test it works.
- pkg with utp-native and test it works.
- create a test for worker threads.
- pkg with worker threads and test it works
Relevant upstream PR vercel/pkg#1273
Metadata
Metadata
Assignees
Labels
developmentStandard developmentStandard developmentopsOperations and administrationOperations and administration