Skip to content

A TypeScript turborepo monorepo starter for personal development. NextJS, tRPC, jest, msw, msw-trpc, VSCode, GitHub Actions

Notifications You must be signed in to change notification settings

estepanov/my-turbo-stack

Repository files navigation

My Turborepo Stack

lint-test-build-check

My Turborepo Stack Sleeping Sloth logo

This is an my customized starter Turborepo with multiple started from kitchen sink official turborepo example. With tRPC client and NextJS app directory configuration setup via wpcodevo's nextjs13-trpc-setup example.

Using this example

This repo is setup using pnpm, so once you are in the project run pnpm i to install everything and then you can get started with

pnpm dev

What's inside?

This Turborepo includes the following packages and apps:

Apps and Packages

apps/

  • trpc-api: a tRPC server app (backend server agnostic, but currently runs in main-app nextjs server)
  • main-app: a Next.js app
    • msw/msw-trpc configured for testing
  • doc-site: a docusaurus markdown based documenation website

packages/

  • auth: a placeholder package to handle auth. no real logic here for now.
  • logger: isomorphic logger (a small wrapper around console.log) no real logic here for now.
  • ui: a dummy React UI library (which contains a single <CounterButton> component)
  • scripts: Jest and ESLint configurations
  • tsconfig: tsconfig.json's used throughout the monorepo

Each package and app is:

  • 100% TypeScript
  • ESLint configured
  • Jest configured

Utilities

This Turborepo has some additional tools already setup for you:

  • TypeScript for static type checking
  • ESLint for code linting
  • Jest test runner for all things JavaScript
  • Prettier for code formatting
  • VSCode shared settings with recommended extensions
  • GitHub action that runs pnpm test

About

A TypeScript turborepo monorepo starter for personal development. NextJS, tRPC, jest, msw, msw-trpc, VSCode, GitHub Actions

Resources

Stars

Watchers

Forks