Skip to content
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

Publish to JSR for better Deno usage #886

Open
coyotte508 opened this issue Sep 2, 2024 · 1 comment
Open

Publish to JSR for better Deno usage #886

coyotte508 opened this issue Sep 2, 2024 · 1 comment
Labels

Comments

@coyotte508
Copy link
Member

coyotte508 commented Sep 2, 2024

cc @lambtron

In addition to publishing to npm and github, publish to JSR: https://jsr.io/.

It should be easy, we can reuse the same publishing mechanism for now.

Maybe later publish directly in typescript (maybe ESM-only as well?) - without TSC or tsup, directly with JSR's builtin typescript handling. (Just wondering about ad-hoc loaded files in browser context, eg the wasm-sha cc @ngxson, if it will publish correctly)

Maybe related: #887 (TSC/monorepo)

@ngxson
Copy link
Member

ngxson commented Sep 2, 2024

AFAIK there is no need to publish TSC/tsup version, since jsr is not to suppose to be used by nodejs (plus, it has quite aggressive built-in lint which make publishing plain *.js almost impossible 😂 ). Also, jsr has a limit on file size, but I'm not sure if that will be a problem for wasm-hash or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants