This is a modern typescript monorepo example
The full write up on how this monorepo works is and how to set it up here
interfaces
Typescript only interface repo, no build step, no testing, no javascript supportpackage-a
Package with build step, testing, dependance oninterfaces
, and with publish support for javascript. Usesesbuild
for building -> more configurable, better for complex packagespackage-b
React package with build step, dependance onpackage A
, and with publish support for javascript. Usesvite
for building, perfect for frontend packages.package-c
Package with build step and publish support for javascript. Usestsup
for building -> zero config, better for simpler packages
Both tsup
and vite
are built upon esbuild
so they are all insanely fast.
- Pnpm - more space efficent package manager
- Esbuild - blazing fast build tool
- Vite - Support for frontend ui packages
- Eslint
- Prettier
- Jest
- Typescript Project Reference - Incremental and composite typescript builds