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

Investigate impact of Deno moving its std library to JSR #571

Open
MasterKale opened this issue May 14, 2024 · 4 comments
Open

Investigate impact of Deno moving its std library to JSR #571

MasterKale opened this issue May 14, 2024 · 4 comments

Comments

@MasterKale
Copy link
Owner

Describe the issue

See https://deno.com/blog/std-on-jsr, this part makes me wonder if I have to start using JSR in here, which would have an impact on the rest of the project:

deno.land/std will still be available indefinitely. All programs that depend on deno.land/std will keep working. Don’t worry!

However, going forward new features will be published to jsr.io/@std. deno.land/std will receive only critical updates, such as security patches.

@sachaw
Copy link

sachaw commented May 30, 2024

For those of us using Deno, it would be good if all of the packages could be published on JSR.
Would be nice in the future to see this project use JSR as the package source for NPM (using JSR's automatic transpiling)
This could possibly remove the need to use DNT.

@MasterKale
Copy link
Owner Author

Would be nice in the future to see this project use JSR as the package source for NPM (using JSR's automatic transpiling)
This could possibly remove the need to use DNT.

I am with you on this, JSR stands to greatly simplify my work of deploying this project to support as many runtimes as I target. The one thing that seems a little suboptimal for me right now is the need to use npx jsr add to install something, and remember to commit the generated .npmrc to help future npm install commands know where to pull in SimpleWebAuthn.

Is anyone on the NPM side of JS runtimes working to add first-class support for JSR package installations?

@MasterKale
Copy link
Owner Author

I'm going to add this conversation to this issue:

#542

tl;dr: Technically @simplewebauthn/browser is available via https://deno.land/x/simplewebauthn@v11.0.0/packages/browser, but its code is not in a shape that Deno recognizes (no file extensions on relative imports, etc...) Could migrating/deploying this project to JSR make @simplewebauthn/browser available in Deno projects too?

@MasterKale MasterKale mentioned this issue Nov 9, 2024
4 tasks
@MasterKale
Copy link
Owner Author

If anyone's following this issue and is interested in testing out Deno support via JSR-hosted versions of v11.0.0, check out this discussion comment for more info:

#542 (comment)

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

No branches or pull requests

2 participants