★ latest · 14 min
Importing a package in a monorepo, behind the scenes
One import line, and three things decide whether it works — a rule you write down about which package may depend on which, a TypeScript resolver climbing to a file, and whatever has to turn that file into something that runs. They read the same manifests and none of them reads another's verdict, and the last one answers differently depending on who is asking.
#monorepo#typescript#architecture