MasterKale / SimpleWebAuthn

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.
https://simplewebauthn.dev
MIT License
1.62k stars 137 forks source link

Migrate to JSR.io #634

Open MasterKale opened 2 weeks ago

MasterKale commented 2 weeks ago

A PR to track work required to support hosting the project on jsr.io.

Related to #571.

TODO

Updates

11/9: I've got v11 of everything hosted on JSR as "11.0.0-alpha2" releases while I'm still testing things out:

Screenshot 2024-11-08 at 10 50 16 PM

MasterKale commented 2 weeks ago

Quick check-in, I managed to get @simplewebauthn/types@11.0.0-alpha1 published:

https://jsr.io/@simplewebauthn/types@11.0.0-alpha1

This includes functional DOM types extraction just as I had before, except pulling from Deno's cache.

MasterKale commented 1 week ago

Checking in: all three packages have been been published to JSR as v11.0.0-alpha2 🎉

https://jsr.io/@simplewebauthn

Screenshot 2024-11-08 at 10 50 16 PM

All browser and server tests have been migrated to use Deno testing, and DNT has been removed from server.

Rollup is not being used right now to bundle browser. The UMD build is also not available with what's on JSR.io afaict. I still want to be able to offer it if I decide to migrate package hosting to JSR.io, though. I'm going to investigate this now that I feel reasonably certain that everything can exist as a Deno codebase.

MasterKale commented 1 week ago

I requested some assistance testing all this out over here:

https://github.com/MasterKale/SimpleWebAuthn/discussions/542#discussioncomment-11195351