Blog: Technical
Technical Articles
Browse all our technical articles

How to Test Your Ansible Playbooks Locally
Testing your Ansible playbooks locally can save you time and effort. Here are some tips to help you get started.

Chris Taylor
10 min read

It's time to drop ts-node 🌇
Ts-node used to be the go to for running TypeScript in Node.js. However, its time to consider alternatives.

Chris Taylor
4 min read

GitHub Actions: Cache Chaos 🤯
How to configure GitHub Actions to use sane caching that shares caches between branches and evicts old caches. A deep dive into the gotchas and solutions for GitHub Actions caching.

George Oastler
10 min read

TypeScript: Branded Types 🔧
How to brand TypeScript types for norminal typing, providing an automated and easy-to-use way of making a type nominal.

George Oastler
10 min read

Using Vite To Rebuild Local Dependencies in an NPM Workspace
When we make changes to a package that our vite project depends on, Vite doesn't automatically rebuild the local package dependency as it's outside the module graph. This article explains how to get Vite to rebuild local dependencies in an NPM workspace.

Chris Taylor
6 min read

Vite: How to handle `.node` files
Work around for handling `.node` files in vite using a custom plugin. `.node` files are the nodejs way of providing platform specific code. This sounds great, until Vite enters the mix. Vite has no ability to handle native binaries whilst bundling, interpreting `.node` files as raw js. In this article we discuss how to handle `.node` files in Vite.

George Oastler
10 min read

TypeScript: Mapped Type Magic 🪄
Explore how TypeScript mapped types can create some perplexing paradoxes where Cat === Dog! An overview of how to brand identical types so that the TypeScript compiler can tell them apart from each other.

George Oastler
10 min read