101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

507
active users

#jsr

0 posts0 participants0 posts today
Continued thread

I'm definitely having fun hacking away at #silverbullet. 😄

Right now, getting used to using the #javascript import. Which can effectively pull almost any js module. And with #jsr being a thing... let's just say silverbullet instance is going to get weird. 😅

I'm honestly surprised it took this log to learn of this gem. Likely due to my still very much liking #logseq. Although... give me a few weeks... I'll likely build my own journaling system on this thing. 😇

silverbullet.md/API/js

silverbullet.mdAPI/jsAPI docs for Space Lua's js module, which provides JavaScript interoperability. js.import(url)Imports a JavaScript module from a URL. Returns the imported module.Example:-- Import lodash librarylocal lodashLib = js.import("https://esm.sh/lodash@4.17.

Heya TypeScript + WebAuthn fans, I just published v13 of SimpleWebAuthn! This one includes (opinionated) registration hints support, improved support for attestation trust anchors, and a surprise retirement of the types library (for baking-in the types instead into both the browser and server libraries.) Check out the release notes for more info!

github.com/MasterKale/SimpleWe

GitHubRelease v13.0.0 - The one where they share a type · MasterKale/SimpleWebAuthnHot on the heels of the last major release, v13 introduces support for registration hints! Refined types and improved attestation trust anchor verification are also included. Last but not least, we...
Continued thread

As a side note it's simply incredible how Deno has evolved since its debut in 2018. I was able to replace huge swathes of dependencies while working on v12.0.0 thanks to Deno's built-in functionality, including monorepo management, unit testing, linting, and formatting.

And JSR as a package registry stands to save many library maintainers like myself a lot of time. This is thanks to not needing to juggle a build step before publishing. Write in TypeScript, publish as-is, and let the registry negotiate building your code for both ESM JavaScript and TypeScript projects at install time. The fact that it lets you install packages in both Node and Deno projects is icing on the cake.

It's a good time to be an open source JS/TS library maintainer 😌

First it was cool to target just Node, even if TypeScript added some complexity to the bundling process! Worth it!

But then there arrived Deno, which was TypeScript-first and came with a ton of tools built in...but required rewriting to stop using Node-specific data types, to include extensions on every relative import across the entire code base, then finding and referencing deps by HTTPS addresses, and then finding and incorporating another build process for two of the three monorepo packages to maintain the ability to deploy to NPM. Okay, fine I guess...

But wait! Announcing "Web API runtimes" like Bun and Cloudflare workers, and Vercel, requiring test harnesses to try and test future releases in.

It's cool, though: everything still fetches packages from NPM!

Except now there's deno.land/x that can host packages for Deno?! Fine, I'll support that too for the packages that make sense to run server-side.

Except wait there are Deno frameworks with SSR support that can load browser packages from deno.land/x too! But my third, browser-centric package not rewritten for Deno is now suffering from its lack of Deno support!

Maybe rewriting these packages to deploy through JSR.io might eliminate the TypeScript build step, support Node, Deno, and everything else, and make this browser package available in Deno projects?

Well Deno 2.0 did just drop, with workspaces support to boot, so if I'm going to do this, do I also refactor my monorepo to use Deno's workspaces support instead of this working combination of pnpm and Lerna and NX? Except the VS Code Deno extension's "format on save" breaks when you enables workspaces...

...Oh, don't mind me. Just some reminiscing from the OSS maintainer trenches 🥹

Is there any way to track adoption of packages hosted on JSR.io?

As a library maintainer I currently deploy builds to NPM and Deno X package hosts. While the thought of moving everything over to JSR is very appealing (a single place to publish code to), I want to see people are moving to JSR before I invest in it as a third package host, before slowly deprecating the NPM and Deno X packages for just JSR instead.

Something else that's bugged me about JSR is until npm install gets first-class support for JSR it feels weird to ask people to run npx jsr ... install. That pulls down a copy of the JSR library from NPM any time they'd want to install my packages...

Replied in thread

@Patricia That’s one of the reasons I’m interested in #deno as they have a standard library and are preparing for it to go 1.0. Combined with #JSR many of the pain points of the JS/TS ecosystem might get addressed.

deno.com/blog/stabilize-std

Deno BlogThe stabilization process of the Standard Library has begunThe Deno Standard Library is going to reach 1.0.0 shortly. We hope you try RC versions of the packages and give us feedback!