This Turborepo monorepository features my mono repo boilerplate based on turbo, svelte kit, TypeScript, ESLint, Prettier, and Playwright for e2e testing. This setup provides a complete development environment with shared packages, type safety, code quality tools, and testing capabilities to help you run and deploy apps as quickly as possible.
This repo shows Vercel deployment configuration with an example website hosted at turbo-svelte-starter.simonphum.in.
This Turborepo includes the following packages/apps:
cms
: a Sanity CMS appwebsite
: a Svelte-kit website app with e2e testing using Playwrightdata
: a TypeScript and Sanity data library shared with thewebsite
web appui
: a stub Svelte component library (Bits UI) shared with thewebsite
web apputils
: a utility package for helper functions and common utilitieseslint-config
:eslint
configurations (includeseslint-plugin-svelte
andeslint-config-prettier
)typescript-config
:typescript
configurations
Each package/app is 100% TypeScript.
Create a new folder within the apps folder and run:
pnpm dlx sv create
Refer to this guide by the Turborepo team:
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting