📉 23s → 2s
☑️ eslint → oxlint
📉 88s → 45s
(both across 5446 files, ~800k lines)
🔎 Of course, 43 of those 45 seconds are running the 16 eslint plugins' 77 rules that we kept as is to keep the migration simple. There's a lot more to be gained here for sure.
🤝 @voidzero.dev
🥵 1275 test files, 2096 test suites, 14,000+ tests, 300,000+ lines
... It took about half a day of work. I must say this is a really positive aspect of this... era.
⚖️ Interestingly, the test run time is about the same as before, perhaps a bit slower!
🚀 build 51.6s -> 21.4s (2.4x)
🚀 dev 48.1s -> 19.4s (2.5x)
🚀 HMR 3.0s -> 1.4–1.7s (~2x)
✂️ build peak mem 5.8 GB -> 3.9 GB (-33%)
✂️ dev mem 4.4 GB -> 2.6 GB (−41%)
✂️ -25 deps (108 total)
🔪 Up to 35% less initial JS(!)
🍕 Dogfooding our own Vite plugin!
📉 23s → 2s
☑️ eslint → oxlint
📉 88s → 45s
(both across 5446 files, ~800k lines)
🔎 Of course, 43 of those 45 seconds are running the 16 eslint plugins' 77 rules that we kept as is to keep the migration simple. There's a lot more to be gained here for sure.
🤝 @voidzero.dev
- I'm surprised it does not come with Vite+ (and oxlint/oxfmt)
- Also, official docs mention Hono but not Nitro for the integrations (a bit disappointed)
- I think it should use more @unjs.io libraries for better DX
But overall good experience for the CF integration!
- I'm surprised it does not come with Vite+ (and oxlint/oxfmt)
- Also, official docs mention Hono but not Nitro for the integrations (a bit disappointed)
- I think it should use more @unjs.io libraries for better DX
But overall good experience for the CF integration!
✅ nx -> ∅
✅ webpack -> @vite.dev 8
⏳ jest -> @vitest.dev
🙈 redux 4 -> ?
??? tsgo, oxfmt, oxlint...
Everything is harder to refactor in an ~800k LoC codebase, but on the flip side every bit of painful DX is compounded as well, so it's worth it. Tell me it's worth it.
✅ nx -> ∅
✅ webpack -> @vite.dev 8
⏳ jest -> @vitest.dev
🙈 redux 4 -> ?
??? tsgo, oxfmt, oxlint...
Everything is harder to refactor in an ~800k LoC codebase, but on the flip side every bit of painful DX is compounded as well, so it's worth it. Tell me it's worth it.
> There was no explicit rules on what formatter do use, so I used prettier out of habit. Also (after wild grepping) this nonrelated app in the monorepo mentiones prettier.
FFS. Llms don't have habits. And […]
> There was no explicit rules on what formatter do use, so I used prettier out of habit. Also (after wild grepping) this nonrelated app in the monorepo mentiones prettier.
FFS. Llms don't have habits. And […]
Oxlint + Oxfmt で規約をコード化するモノレポ運用
Oxlint + Oxfmt で規約をコード化するモノレポ運用
· code-server v4.144.0 — Code updated
· Mend Renovate CLI 44.193.0 — Adds oxfmt to linters
· code-server v4.144.0 — Code updated
· Mend Renovate CLI 44.193.0 — Adds oxfmt to linters
It was checking if config files existed, even though directory traversal already had their names.
Removing them took a run from 6.1s to 2.8s!!
https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-13/
It was checking if config files existed, even though directory traversal already had their names.
Removing them took a run from 6.1s to 2.8s!!
https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-13/
結局typescriptで完結しているほうが色々楽という
結局typescriptで完結しているほうが色々楽という
https://agxsearch.ai/t/eea5yl
https://agxsearch.ai/t/eea5yl
https://zenn.dev/reality_tech/articles/oxc-monorepo-20261006
https://zenn.dev/reality_tech/articles/oxc-monorepo-20261006