-
Notifications
You must be signed in to change notification settings - Fork 74
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
Denoland/x Publishing #2427
Comments
These are annoying constraints.
|
The easiest solution, I suppose, is to put the "release versions" of the smoldot light client in a separate branch that isn't |
We could also (A) create a
The other repo's workflow would tag in accordance with this repo's light client version and create the release, which would trigger the publish to denoland/x. |
I've published a version manually, to test: https://deno.land/x/[email protected] Trying to use the published version leads to:
|
Unfortunately, I believe you'll need to create a Deno-specific build (with the import and usage swapped out for that of Deno's crypto utils). A more radical solution may be to make this repo's JS Deno-first and then utilize DNT to create Node/Browser-specific versions (see dnt, a tool for generating Node/Browser packages from Deno projects). |
I'm reluctant to use tools that might be abandoned in the future. At this point, NodeJS/npm are technologies that we can assume will not disappear from one day to the next. When it comes to Deno and especially |
Dnt is the flagship packaging tool of Deno (which btw, just received $18.5+ funding from Sequoia). The Deno core team consists of the NodeJS creators and most expert members of the TypeScript community. TL;DR: definitely not going to disappear. Very low risk. |
Todo list:
Afterwards, we should be able to publish. |
Another problem which I didn't think of is the cc #1802 |
I'd recommend replacing with deno_lz4. |
The problem isn't finding a replacement, but the fact that my strategy of getting rid of all dependencies has an obstacle. I might just copy-paste https://github.com/dankogai/js-deflate/blob/master/rawinflate.js within the source tree and call it a day. EDIT: can't do that because it's GPLv2 and we're v3 |
I've published #2538 will make the publication automatic. |
I propose that––upon merging #2426––we release the Smoldot JS lib to the Denoland/x registry.
Assuming we want to do so, we should consider two changes:
src/worker/instance.ts
file points tosrc/worker/autogen/wasm.js
(which is gitignored). We'll need to commit files such as this.The text was updated successfully, but these errors were encountered: