The TypeScript 5 beta removed an unused 26.3 MB of JS making it smaller than TypeScript 3 🤯
Pro tip: you can track bloat over time using Package Phobia 💚
packagephobia.com/result?p=types…
TypeScript 4.4 finally figured out how to narrow types, even when the type guard is not defined inside the `if` statement!
For example, this works now:
- XML is too verbose
- JSON doesn’t have comments
- YAML thinks Norway is False
- TOML has 10 ways to represent 1 thing
- INI is not standardized
I think we can conclude that configuration is just bad.
If you have scripts in your package.json that call other scripts, make sure they are package agnostic by using "$npm_execpath"
This ensures the package manager you used to start the script is used to run the nested scripts.
This is particularly important for "postinstall"!
In 2010, I bought a domain to host my web apps and get a custom email address.
Back then, GApps was free for 5 users (renamed to GSuite and now Google Workspace) but today its $6/user/mo.
Instead of paying $30/mo for vanity email, I now pay $1/mo with iCloud+ forwarding.