ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

Bun 1.1.5: cross-compile executables, new crash reporter, import files as text, and more
https://bun.sh/blog/bun-v1.1.5

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

Bun 1.1: support for Windows and more
https://bun.sh/blog/bun-v1.1

lil5, to random
@lil5@fosstodon.org avatar

I added a template import/export tool for react-invoice-generator

Repo: https://github.com/lil5/react-invoice-generator

Website: https://lil5.github.io/react-invoice-generator/

Let me know what you think 💭

aral, to SmallWeb
@aral@mastodon.ar.al avatar

Minor Kitten¹ update: Even if your page routes now return nothing (e.g., null, undefined, empty string), a proper page will be rendered that includes the development-time WebSocket that powers hot reloads.

So the shortest valid page route is now:

export default () => ''  

And, more importantly, e.g.,

export default () => kitten.html`  
 <page css>  
`

Will also render.

:kitten:💕

¹ <https://codeberg.org/kitten/app>

#Kitten #SmallWeb #HTML #CSS #JavaScript #htmx #hypermedia #web #dev
lil5,
@lil5@fosstodon.org avatar

@aral does kitten run on ?

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

Bun v1.0.31: bun --print, piping into bun, and more
https://bun.sh/blog/bun-v1.0.31

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

Bun v1.0.23: importing & embedding SQLite databases and more
https://bun.sh/blog/bun-v1.0.23

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

Bun Shell: Bun’s built-in library for cross-platform shell scripting
https://bun.sh/blog/the-bun-shell

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
toxi, to opensource
@toxi@mastodon.thi.ng avatar

Current status: Refactoring thousands of tests cases in ~320 files to use Bun's test runner (vs my homegrown one). Nothing wrong with the latter, in fact going to miss some features, but gladly cutting some weight...

How the saying goes: "Everyone wants to build, nobody wants to maintain..."

Well, I do believe in maintenance and #ThingUmbrella wouldn't have made it to almost 6 years (in its current shape & form) and growing to this size without occasional grand house keeping sessions like this...

#OpenSource #SoftwareMaintenance

toxi,
@toxi@mastodon.thi.ng avatar

Phew! An update of my past 2 days: 964 changed files with 23,240 additions and 24,273 deletions (~6600 individual cases in ~1220 tests)...

https://github.com/thi-ng/umbrella/commit/a5324f5ff6587fa42f619aa0762632d22415c4c4

Almost all tests are now using https://bun.sh and its test runner which executes everything in 23 seconds now vs. the previous 10-15 mins on GitHub CI. Only a small 25-35x(!) speed up... 🤯🤩

This is also great (if small fry for now) for saving energy! Right now, the main build step for all 184 packages is still using Yarn & Typescript and still taking ~23 mins on the Github CI (vs. ~4 mins on my MBA M1). This is because for each package Yarn also launches a new TS instance, which has huge overhead... Once this issue[1] with Bun will be fixed, I'm sure I can get this time drastically down too!

[1] https://github.com/oven-sh/bun/issues/5206

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

JS Party podcast: Reflecting on Bun’s big launch with Jarred Sumner [54-minute audio]
@jerod @jsparty
https://changelog.com/jsparty/295

kaiserkiwi, to webdev German
@kaiserkiwi@corteximplant.com avatar

This is actually a pretty awesome (but lengthy) post about Bun and why you probably shouldn't jump on the train already.

Bun hype. How we learned nothing from Yarn
https://dev.to/thejaredwilcurt/bun-hype-how-we-learned-nothing-from-yarn-2n3j

nosherwan, to programming
@nosherwan@fosstodon.org avatar

:nodejs: 🥟
A realistic approach to the Bun vs Node.js comparison hype.

https://youtu.be/EVMMoDWN79E?si=UlnURElpkU6Nd9bB



ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

Bun v0.7.0: experimental Vite support and more
https://bun.sh/blog/bun-v0.7.0

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • cisconetworking
  • DreamBathrooms
  • InstantRegret
  • ethstaker
  • magazineikmin
  • Youngstown
  • thenastyranch
  • mdbf
  • slotface
  • rosin
  • modclub
  • kavyap
  • GTA5RPClips
  • provamag3
  • osvaldo12
  • khanakhh
  • cubers
  • Durango
  • everett
  • ngwrru68w68
  • tester
  • normalnudes
  • tacticalgear
  • anitta
  • megavids
  • Leos
  • lostlight
  • All magazines