examples/with-svelte/README.md
This Turborepo starter is maintained by the Turborepo core team on GitHub.
Run the following command:
npx create-turbo@latest -e with-svelte
To verify that everything works, change into the new project directory:
pnpm install && pnpm exec turbo run build check-types lint
This Turborepo includes the following packages/apps:
eslint-configESLint configurations (includes eslint-plugin-svelte, eslint-config-turbo, and eslint-config-prettier).
typescript-configA package containing a shared tsconfig file.
uiA stub Svelte component library shared by both web and docs applications. The package supports Svelte components and
runes in .svelte.ts files, which are not supported in the SvelteKit-generated tsconfig.
See the Svelte documentation's packaging page for more information about Svelte component libraries.
Each package/app is 100% TypeScript.
The following tasks are provided:
build: Building packagescheck-types: Running TypeScript checks in Svelte apps and packages.
buildlint: Running eslint.test:unit: Running unit and component tests.
buildThis Turborepo has tools already set up for you: