{"product_id":"typescript-in-production-gabriel-anhaia-9798195173982","title":"TypeScript in Production: Tooling, Build, and Library Authoring Across Runtimes","description":"\u003cb\u003eThe moment a working TypeScript developer ships and discovers that TypeScript-as-shipped has its own vocabulary and failure modes. This book is the operational layer.\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003eYou know the language. You know most of the type system. Now you need the operational answers: which tsconfig flag, which build tool, how to publish a library that resolves on Node 24 and Bun 1.3 and Deno 2.7 and the browser, how to keep the CI pipeline under sixty seconds, how to make attw happy, how to tame tsc on a real monorepo. \u003ci\u003eTypeScript in Production\u003c\/i\u003e is the book for that wall. \u003cp\u003e\u003c\/p\u003eTwenty-eight chapters across seven parts. Pinned to \u003cb\u003eTypeScript 6.0\u003c\/b\u003e, \u003cb\u003eNode 24 LTS\u003c\/b\u003e, \u003cb\u003eBun 1.3.x\u003c\/b\u003e, \u003cb\u003eDeno 2.7.x\u003c\/b\u003e, \u003cb\u003eVite 8\u003c\/b\u003e, and \u003cb\u003eVitest 4\u003c\/b\u003e. Every example runnable in the public companion repository at github.com\/gabrielanhaia\/the-typescript-library-examples. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eWhat's inside: \u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e- \u003cb\u003ePart I - tsconfig in depth\u003c\/b\u003e. Every flag in the strict family walked deliberately, target\/lib per runtime, the moduleResolution decision matrix (bundler\/node16\/nodenext), project references, isolatedModules, isolatedDeclarations, verbatimModuleSyntax.\u003cbr\u003e- \u003cb\u003ePart II - build and transpile pipelines\u003c\/b\u003e. tsc as type-checker vs as builder; esbuild, swc, tsx, and sucrase compared honestly; tsup, unbuild, and tshy as opinionated library bundlers; Vite for apps; Rollup for libraries.\u003cbr\u003e- \u003cb\u003ePart III - each runtime first-class\u003c\/b\u003e. Node 24, Bun 1.3, Deno 2.7, the browser, and writing libraries that work in all four without surprises.\u003cbr\u003e- \u003cb\u003ePart IV - library authoring\u003c\/b\u003e. package.json done right (validated with attw), generating .d.ts, public API hygiene, semver for types, publishing to npm and JSR.\u003cbr\u003e- \u003cb\u003ePart V - monorepos\u003c\/b\u003e. pnpm + Turbo + project references, what each gives you, when each is the bottleneck.\u003cbr\u003e- \u003cb\u003ePart VI - performance\u003c\/b\u003e. TS Server diagnostics, type-perf patterns, the build-time vs check-time distinction, keeping a real CI pipeline under sixty seconds.\u003cbr\u003e- \u003cb\u003ePart VII - testing, observability, and migrations\u003c\/b\u003e. expect-type and tsd for type-level tests, source maps for Sentry and Datadog, three migration playbooks (CommonJS to ESM, node to bundler resolution, single-package to monorepo). \u003cp\u003e\u003c\/p\u003eEvery example is \u003cb\u003erunnable and CI-verified\u003c\/b\u003e. The companion repository pins TypeScript 6.0, Node 24 LTS, Bun 1.3.x, Deno 2.7.x, Vite 8, and Vitest 4 with a real monorepo and a real publishable library. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eWho this book is for: \u003c\/b\u003e senior TypeScript developers hardening services and libraries. The reader knows the language and most of the type system; what they need are the operational answers. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eThe TypeScript Library\u003c\/b\u003e (a five-book collection): \u003cbr\u003e- \u003ci\u003eTypeScript Essentials\u003c\/i\u003e (Book 1)\u003cbr\u003e- \u003ci\u003eThe TypeScript Type System: From Generics to DSL-Level Types\u003c\/i\u003e (Book 2)\u003cbr\u003e- \u003ci\u003eKotlin and Java to TypeScript: A Bridge for JVM Developers\u003c\/i\u003e (Book 3)\u003cbr\u003e- \u003ci\u003ePHP to TypeScript: A Bridge for Modern PHP 8+ Developers\u003c\/i\u003e (Book 4)\u003cbr\u003e- \u003cb\u003eThis book\u003c\/b\u003e - \u003ci\u003eTypeScript in Production: Tooling, Build, and Library Authoring Across Runtimes\u003c\/i\u003e (Book 5) \u003cp\u003e\u003c\/p\u003eLanding page: xgabriel.com\/the-typescript-library\/\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e Gabriel Anhaia\u003cbr\u003e\u003cb\u003eISBN-13:\u003c\/b\u003e 9798195173982\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Independently Published\u003cbr\u003e\u003cb\u003eLanguage:\u003c\/b\u003e English\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 05\/01\/2026\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 412\u003cbr\u003e\u003cb\u003eFormat:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 1.21lbs\u003cbr\u003e\u003cb\u003eSize:\u003c\/b\u003e 9.00h x 6.00w x 0.84d","brand":"Gabriel Anhaia","offers":[{"title":"Paperback","offer_id":48801469432063,"sku":"9798195173982","price":19.99,"currency_code":"USD","in_stock":true}],"url":"https:\/\/www.whiterainbookhouse.com\/products\/typescript-in-production-gabriel-anhaia-9798195173982","provider":"WR Book House","version":"1.0","type":"link"}