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

Migrate to JSR.io #634

Open
wants to merge 104 commits into
base: master
Choose a base branch
from
Open

Migrate to JSR.io #634

wants to merge 104 commits into from

Conversation

MasterKale
Copy link
Owner

@MasterKale MasterKale commented Nov 5, 2024

This PR massively refactors the monorepo to use Deno for pretty much everything, including workspaces, formatting, linting, and testing.

As an added benefit, all three SimpleWebAuthn packages can now be published to the following package repositories:

This means @simplewebauthn/browser too can be installed in projects like Nuxt and Fresh that can perform server-side rendering using front end libraries.

Fixes #571.

@MasterKale
Copy link
Owner Author

MasterKale commented Nov 5, 2024

Quick check-in, I managed to get @simplewebauthn/[email protected] published:

https://jsr.io/@simplewebauthn/[email protected]

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

@MasterKale
Copy link
Owner Author

Checkpoint: I've got @simplewebauthn/browser ready to publish to NPM, including with (a slightly larger) UMD bundle that still works as far back as IE10, to JSR, and to deno.land/x too because why not?

All three packages have had standardized test / build / publish scripts established. Tasks have been defined at the root deno.jsonc to enable running these from the project root.

@MasterKale
Copy link
Owner Author

Checkpoint: I've finalized a versioning script (deno task version) and updated publishing flow that I've successfully run to deploy the following packages to NPM and JSR:

This is looking almost good to go.

@MasterKale MasterKale marked this pull request as ready for review November 23, 2024 23:00
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

Successfully merging this pull request may close these issues.

Investigate impact of Deno moving its std library to JSR
1 participant