Adam Shaw
30 posts

Adam Shaw
@arshaw_dev
📅 Creator of fullcalendar (https://t.co/cTbVHhAhNx) ⏳ Creator of temporal-polyfill (https://t.co/2av1hJnxyz)
New York, NY Katılım Mart 2010
169 Takip Edilen133 Takipçiler

@adamrshaw @robpalmer2 Great work 🎉
I have seen quite a bit of feedback about the polyfill not being tree shakable.
Is that still in the works?
English

To put this in perspective - Temporal is coming to a JS runtime near you and will be 0 bytes to install, but even using the temporal-polyfill npm package is only 736KB.
That means date-fns is 30x larger install size than temporal-polyfill 🤯
You can improve your CI install time by switching because those 5526 files become 34 files.
@0.3.0" target="_blank" rel="nofollow noopener">packagephobia.com/result?p=tempo…
Steven ⬢@styfle
date-fns 3.6.0 increased install size from 4.7MB to 21.1MB github.com/date-fns/date-…
English

Btw, this is what was blocking FullCalendar v7, available now 🎉. More info to come...
Adam Shaw@arshaw_dev
temporal-polyfill 🕒 1.0 is out! Smaller and with a tree-shakeable API that can be codemodded away. Great for component lib authors: tiny footprint now, zero footprint later, and shared internals with the host app's polyfill (if they choose to install it).
English

Also in 1.0: compliant with the latest Temporal spec, plus the everyday helpers it omits — startOfMonth, diffDays, roundToWeek — both in the tree-shakeable API and a companion temporal-utils package. Learn how it all fits together:
#readme" target="_blank" rel="nofollow noopener">github.com/fullcalendar/t…
English

@arshaw_dev Let me know if you end up using it!
I used it for my taxes 😆
English

github.com/privatenumber/… 🪄📜
A CLI that lets you embed JS in Markdown files to make them dynamic
This is useful if you generate markdown files and don't want to decouple the generation script
English

Temporal is finally here, "8 yrs, 11 mos" in the making! Congrats @therealptomato and and the champions! Humbled to be invited to the @TC39 meeting where it moved to Stage 4. During my work on temporal-polyfill, I collaborated with the champions to improve datetime arithmetics and duration rounding.


English
Adam Shaw retweetledi

@jeffpoulton @sedatcanyalcin @trq212 Pencil currently supports auth via existing Claude Code subscription. You just need to use the desktop app (not vscode extension)
English

@sedatcanyalcin @trq212 I desperately wanted pencil to be the thing, but honestly can’t justify paying for their credit system on top of all my other subs and api tokens. I get it but something that can tap into my existing Claude / Codex subscriptions is much more viable.
English

@styfle @robpalmer2 Ya, still planned. It'll require you to write things as fns rather than class methods, and then theoretically a codemod could transform it to proper Temporal API later. Preview of syntax here: #tree-shakable-api" target="_blank" rel="nofollow noopener">github.com/fullcalendar/t…
English

Yes @adamrshaw it's faster!
(I don't know why, RN I can't push on GitHub my small experiment, will try later...)

English

@VenlafaxineHoe @sbisson @americanwombat I use this one. It’s much smaller. I’m also the author :) npmjs.com/package/tempor…
English

Some nice prints here if you have any walls empty :D
etsy.com/shop/CozyFrame…
English
Adam Shaw retweetledi
Adam Shaw retweetledi

📦🍣 Pkgroll is a zero-config package bundler that auto-infers configuration from package.json and bundles with Rollup and esbuild
Great for TypeScript + ESM libraries that want to support ESM, CommonJS, & .d.ts!
⚡️ Try it out: `npx pkgroll`
github.com/privatenumber/…
English









