finds.dev← search

// the find

NiGhTTraX/ts-monorepo

★ 1,624 · TypeScript · MIT · updated Jul 2026

Template for setting up a TypeScript monorepo

A pnpm-based TypeScript monorepo template focused on two specific problems: making IDE 'Go to definition' work across packages without a build step, and keeping published package outputs clean. Aimed at developers starting a new monorepo who want the tooling wired up correctly from day one rather than debugging tsconfig.paths interactions for three days.

The path aliases approach (using tsconfig paths + per-tool adapters) means you can navigate from an app into a library's source in your IDE immediately after cloning, no build required. Each integration — jest, webpack, Vite, NestJS, Storybook — has a minimal working example you can diff against your own config rather than reading docs. The packages/apps split with separate tsconfig.build.json files is the right call: it prevents monorepo internals from leaking into published npm output. Renovate is pre-configured, so you won't forget about dependency drift.

The template doesn't include any publishing pipeline — no changesets, no version coordination, nothing for actually shipping the packages it's set up to contain. Create-react-app support is listed but explicitly marked unsupported, which is a sign the template hasn't been fully pruned as the ecosystem moved on. There's no shared lint or format config wired at the root level, so each example app does its own thing or nothing at all. The NextJS integration hacks Babel's include/exclude directly, which breaks every major Next upgrade and will silently stop working when Next switches configs.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →