Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

TypeScript Project References: 11-Minute Builds Down to 3

DEV Community·Gabriel Anhaia·30 days ago
#yXihYFX3
Reading 0:00
15s threshold

Book: TypeScript in Production Also by me: The TypeScript Library — the 5-book collection My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub Picture a typical 22-package TypeScript monorepo. One web app, two Node services, a CLI, and the rest are shared libraries: core , auth , db , http , events , validators , plus a thin domain layer per business area. The build runs tsc -p tsconfig.json from the root with a single config that pulls every package's src/** into one compilation. Cold build on CI: in the 10-minute range. Warm build on a developer laptop after git pull : nearly as long, because the cache holds nothing useful when files moved. The frustrating part is that most PRs touch two or three packages. The compiler does not know that. Every build re-checks the entire graph from scratch, every time. Watch mode helps a little on a single laptop, but CI cold-starts every run, and CI is what gates the merge.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More