OJ Kwon retweeted
Rspack has tons of complex tests. We just migrated from Jest to Rstest and saw about a 30% speed boost. ⚡️
If you’ve been thinking about trying Rstest, now might be a good time to give it a shot.
Rstest is one the few (or only?) test framework integrates swc's istanbul coverage instrumentation plugin instead of re-transpiling with babel+istanbul.
OJ Kwon retweeted
Happy weekend everyone! We have a new moon release for you, v1.37!
📚 RFC: Task input improvements
🦀 Rust toolchain via WASM
🤖 MCP/AI support
moonrepo.dev/blog/moon-v1.37
OJ Kwon retweeted
This is not a joke (we're not funny)... moon v1.34 is now available, packed full of experiments and improvements.
moonrepo.dev/blog/moon-v1.34
OJ Kwon retweeted
We're stoked to announce moon v1.33, with alpha support for toolchain plugins! To showcase this, our TypeScript integration is now powered by WASM.
moonrepo.dev/blog/moon-v1.33
Highly recommend @rspack_dev if your codes are based on legacy webpack and would like to migrate seamlessly. Completed my work's replacement - prod ~1000% faster, HMR avg > 300% and up to 1000%. The bigger thing is we had 0 regressions, configuration migration was seamless.
Feeling surreal this is really happening.
OJ Kwon retweeted
moon v1.32 is now available, including many improvements to remote caching, and our built-in toolchains.
🛰️ Remote caching: ByteStream, HTTP, and more
🏭 Depot Cache support
🧰 @bunjavascript @deno_land @rustlang @ThePSF improvements
moonrepo.dev/blog/moon-v1.32
👏🏻 to @rspack_dev team for the work to support seamless webpack migration + performance boost. Launched dev beta for the internal app with rapack 1.1 and HMR gots more than 2x faster at minimum. (If anyone asks why no Turbopack, this isn't next.js app)
Dust off swc-plugin-coverage-instrument (npmjs.com/package/swc-plugin…), published a new version. This pkg prpvides instanbuljs-compatible coverage with @swc_rs . The latest version have a new `unstableExclude` option to allow glob pattern to exclude certain file from instrumentation.
Published a new version of woodpile (npmjs.com/package/woodpile), @swc_rs ast visitor in javascript. Fixed ast mutation, now `visit` returns mutated ast as js object.
Wrapping up my journey at Vercel and trying to go back to writing some more Typescript-y things. Still love Rust and hope to get back to some SWC work too.
Got the port of VS code's Blanché to @zeddotdev , if anyone want to minimal monochrome editor experience:
gist.github.com/kwonoj/96abc…
Having a reliable, isolated repro to bug report is one of the greatest way to help OSS maintainer for the OSS you use / like. Also, it'll help you as well as maintainers are likely can pick up the issue easier / faster.
This is the first time I tried to use node.js's built in test runner, not a bad out of the box experience. I'd use other runners still for the complicated setups, but for the small things this would be useful. Not able to use @wallabyjs is one bad thing.
OJ Kwon retweeted
Folks... this is a BIG DEAL. Things to know:
1. This is NOT "adding RxJS to the browser". There's a limited but solid set of functionality here. Not operator hell.
2. Adding observables to the platform means that many, many frameworks and libraries can leverage them instead of rolling their own. See the README on the repo for examples there.
3. If this is added, and becomes ubiquitous, RxJS will pivot to support these observables, ultimately becoming just some helper/utilities for native observables.
Hey reactive JS folks! I'm working to bring Observables to the web platform by reviving a @thedomstandard proposal that got some attention a while ago. @BenLesh and I would love your feedback, so check out github.com/domfarolino/obser… if you want to do things like this soon:
OJ Kwon retweeted
Added few small updates to woodpile:
- adds `visitWithPath` , passes parent node types paths array to the callback
- initial typescript definition allows to list all visit_* callbacks for the node types.
npmjs.com/package/woodpile















