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 thewebsiteweb appui: a stub Svelte component library (Bits UI) shared with thewebsiteweb apputils: a utility package for helper functions and common utilitieseslint-config:eslintconfigurations (includeseslint-plugin-svelteandeslint-config-prettier)typescript-config:typescriptconfigurations
Each package/app is 100% TypeScript.
Create a new folder within the apps folder and run:
pnpm dlx sv createRefer 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