Skip to content

ts-monorepo/basic

Repository files navigation

Basic TypeScript monorepo

  • ✅ typescript
  • ✅ turborepo
  • ✅ pnpm

How to use

git clone https://github.com/ts-monorepo/basic.git basic-monorepo
cd basic-monorepo
pnpm install
pnpm ready # install git hooks
pnpm dev
pnpm test
pnpm build
# update all depencenies
pnpm up --latest && pnpm up -r --workspace

Structure

apps:

  • apps/hello

Common config packages:

  • config/ts-config
  • config/eslint-config
  • config/test-config for pure ts testing, support decorators
  • config/vitest-config for react testing

TODOs

  • Make it easy to sync the template