home.social

#jsr — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #jsr, aggregated by home.social.

  1. Reading #Deno v2.8 release notes:

    deno pack [...] builds a Deno or JSR project into an npm-publishable tarball. Given a deno.json, running deno pack produces a [tgz file] that’s ready for npm publish.

    Deno 2.8 drops the npm: prefix requirement at the CLI: deno add and deno install now treat unprefixed names as npm packages by default. [...] JSR packages keep the jsr: prefix.

    If that's not a eulogy for #JSR, I don't know what is.

    https://deno.com/blog/v2.8

  2. Reading #Deno v2.8 release notes:

    deno pack [...] builds a Deno or JSR project into an npm-publishable tarball. Given a deno.json, running deno pack produces a [tgz file] that’s ready for npm publish.

    Deno 2.8 drops the npm: prefix requirement at the CLI: deno add and deno install now treat unprefixed names as npm packages by default. [...] JSR packages keep the jsr: prefix.

    If that's not a eulogy for #JSR, I don't know what is.

    https://deno.com/blog/v2.8

  3. Reading #Deno v2.8 release notes:

    deno pack [...] builds a Deno or JSR project into an npm-publishable tarball. Given a deno.json, running deno pack produces a [tgz file] that’s ready for npm publish.

    Deno 2.8 drops the npm: prefix requirement at the CLI: deno add and deno install now treat unprefixed names as npm packages by default. [...] JSR packages keep the jsr: prefix.

    If that's not a eulogy for #JSR, I don't know what is.

    https://deno.com/blog/v2.8

  4. Reading #Deno v2.8 release notes:

    deno pack [...] builds a Deno or JSR project into an npm-publishable tarball. Given a deno.json, running deno pack produces a [tgz file] that’s ready for npm publish.

    Deno 2.8 drops the npm: prefix requirement at the CLI: deno add and deno install now treat unprefixed names as npm packages by default. [...] JSR packages keep the jsr: prefix.

    If that's not a eulogy for #JSR, I don't know what is.

    https://deno.com/blog/v2.8

  5. Reading #Deno v2.8 release notes:

    deno pack [...] builds a Deno or JSR project into an npm-publishable tarball. Given a deno.json, running deno pack produces a [tgz file] that’s ready for npm publish.

    Deno 2.8 drops the npm: prefix requirement at the CLI: deno add and deno install now treat unprefixed names as npm packages by default. [...] JSR packages keep the jsr: prefix.

    If that's not a eulogy for #JSR, I don't know what is.

    https://deno.com/blog/v2.8

  6. Holy shit.

    There are already 14700 packages on Jsr.io

    #jsr #deno

  7. B umge/ts-base là template thư viện TypeScript bắt đầu tích hợp many công cụ: Vitest, Biome, tsdown, CI, JSR, Deno... AngularJS migrated here? Th“对 hỗ trợ amis từ Reddit của @FutureIncrease. [Giải Parlamento] #TypeScript #Vitest #Biome #JSR #Deno #OpenSource #JavaScript

    reddit.com/r/opensource/commen

  8. Every time I try to publish a package to #JSR (JavaScript Registry), it frequently gets stuck in the “processing” state, so I'm seriously considering whether I should stop publishing my TypeScript packages there altogether. 🤔

  9. Why is publishing packages to #JSR so slow? A lot of the CI time for the Fedify project is spent waiting for the JSR server to process the packages we've uploaded.

  10. Introducing #Upyo!

    A simple, cross-runtime email library that works seamlessly on #Deno, #Node.js, #Bun, and edge functions. Zero dependencies, unified API, and excellent testability with built-in mock transport.

    Switch between #SMTP, #Mailgun, #SendGrid without changing your code. Available on #JSR & #npm!

    https://upyo.org/

  11. Introducing #Upyo!

    A simple, cross-runtime email library that works seamlessly on #Deno, #Node.js, #Bun, and edge functions. Zero dependencies, unified API, and excellent testability with built-in mock transport.

    Switch between #SMTP, #Mailgun, #SendGrid without changing your code. Available on #JSR & #npm!

    https://upyo.org/

  12. Introducing #Upyo!

    A simple, cross-runtime email library that works seamlessly on #Deno, #Node.js, #Bun, and edge functions. Zero dependencies, unified API, and excellent testability with built-in mock transport.

    Switch between #SMTP, #Mailgun, #SendGrid without changing your code. Available on #JSR & #npm!

    https://upyo.org/

  13. Introducing #Upyo!

    A simple, cross-runtime email library that works seamlessly on #Deno, #Node.js, #Bun, and edge functions. Zero dependencies, unified API, and excellent testability with built-in mock transport.

    Switch between #SMTP, #Mailgun, #SendGrid without changing your code. Available on #JSR & #npm!

    https://upyo.org/

  14. Introducing #Upyo!

    A simple, cross-runtime email library that works seamlessly on #Deno, #Node.js, #Bun, and edge functions. Zero dependencies, unified API, and excellent testability with built-in mock transport.

    Switch between #SMTP, #Mailgun, #SendGrid without changing your code. Available on #JSR & #npm!

    https://upyo.org/

  15. I'm definitely having fun hacking away at . 😄

    Right now, getting used to using the import. Which can effectively pull almost any js module. And with 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 . Although... give me a few weeks... I'll likely build my own journaling system on this thing. 😇

    silverbullet.md/API/js

  16. JSR nows shows download counts! Their team's (non-)handling of the community request for this feature is one of the reasons I'm uninterested in the project, but it's nice to see. And it's exciting to learn tailwind-fluid-font-size has been downloaded from JSR around 6000 times!

    tailwindcss-fluid-font-size.ol

    #tailwind #JSR #NPM

  17. This week on the pod Kamran and Erik unpack JSR, the new open alternative to the npm registry from the folks at @deno_land. They both published packages and discuss what JSR offers npm doesn't, when to use it, and how it works for both consumers and maintainers.

    typescript.fm/6

    **#typescript** **#javascript** **#jsr**

  18. I want to use #JSX for developing :botkit: #BotKit, but I can't because #JSR doesn't support JSX yet.

  19. Just put the first package on #JSR: jsr.io/@nrfcloud/wait-for-it

    It's nice that it removes all the tooling needs when publishing TypeScript libraries on NPM, and you basically only need TS source and a jsr.json to describe it.

    Very nice to get atomic packages.

    #TypeScript

  20. 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

    #simplewebauthn #webauthn #passkeys #typescript #javascript #node #deno #npm #jsr

  21. 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 😌

    #deno #jsr

  22. It took nearly three weeks of refactor and getting more comfortable with how Deno works, but I'm happy to announce that SimpleWebAuthn v12.0.0 is now also available to install from JSR 🎉

    jsr.io/@simplewebauthn

    Check out the CHANGELOG for more info:

    github.com/MasterKale/SimpleWe

    #webauthn #passkeys #typescript #deno #jsr

  23. Deno dévoile un packagé manager intégré à Deno lui-même qui gère aussi bien les packages npm que JSR.

    Introducing your new JavaScript package manager: Deno
    deno.com/blog/your-new-js-pack

    #npm #jsr #deno #javascript

  24. Deno is a JavaScript package manager with more flexibility:
    📦️ npm and JSR
    🛠️️ package.json and deno.json
    👟️ fast

    deno.com/blog/your-new-js-pack

  25. Hey, anyone wanna take this out for a spin and report back? It's just some types so nothing too fancy, but it's my first package published to JSR.io 👀

    jsr.io/@simplewebauthn/types@1

    #webauthn #passkeys #typescript #deno #node #jsr

  26. 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 🥹

    #javascript #typescript #deno #node #bun #npm #jsr #javascriptwasamistake

  27. 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 🥹

    #javascript #typescript #deno #node #bun #npm #jsr #javascriptwasamistake

  28. 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 🥹

    #javascript #typescript #deno #node #bun #npm #jsr #javascriptwasamistake

  29. 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 🥹

    #javascript #typescript #deno #node #bun #npm #jsr #javascriptwasamistake

  30. 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 🥹

    #javascript #typescript #deno #node #bun #npm #jsr #javascriptwasamistake

  31. I don't want to publish to #NPM because that organization has been shitty for a decade now.

    #JSR seems like more of the same.

    Why didn't #HTTP based #ESM #packageManagement catch on? #JSR says it's because you can't do #semvar, but I don't see why not; just use file paths ("example.com/package/major/minor/patch/")

    I don't see an advantage to publishing #modules to a #package #registry at this time.

    #webDev #javaScript #web #programming

  32. I don't want to publish to #NPM because that organization has been shitty for a decade now.

    #JSR seems like more of the same.

    Why didn't #HTTP based #ESM #packageManagement catch on? #JSR says it's because you can't do #semvar, but I don't see why not; just use file paths ("example.com/package/major/minor/patch/")

    I don't see an advantage to publishing #modules to a #package #registry at this time.

    #webDev #javaScript #web #programming