This turborepo uses Yarn as a package manager. It includes the following packages/apps:
api
: a TRPC api hosted with Expressweb
: a Next.js app that demonstrates the functionality exported by the core TRPC routesopenapi
: a package that uses OpenAPI Generator to generate a Typescript request client for the REST APIeslint-config-custom
:eslint
configurations (includeseslint-config-next
,eslint-config-prettier
, andeslint-config-turbo
)tsconfig
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
This turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
To build all apps and packages, run the following command:
cd my-turborepo
yarn run build
To develop all apps and packages, run the following command:
cd my-turborepo
yarn run dev