-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
base: master
Are you sure you want to change the base?
Migrate to JSR.io #634
Conversation
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. |
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. |
JSON imports as per https://docs.deno.com/examples/importing-json/ won't recognize .jsonc files. There's an issue at denoland/deno#20374 about supporting importing .jsonc/.json5 files as well but doesn't seem to have much momentum. Feels best not to fight this battle right now.
Checkpoint: I've finalized a versioning script (
This is looking almost good to go. |
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.