This Turborepo includes the following packages and apps:
docs
: Sveleton placeholder documentation siterename-core
: core componentsrename-tsconfig
: sharedtsconfig.json
s used throughout the monorepoeslint-preset-rename
: ESLint preset
Each package and app is 100% Typescript.
Run the following command:
npx create-turbosvelte app-name
Make sure to modify the contents in the project's root package json to fit your needs.
As of now if you want to run multiple dev enviornments in parallel, you will have to define different ports in your scripts.
So you will have to change each package.json
like such:
"scripts": {
"dev": "svelte-kit dev -p 3200",
"build": "svelte-kit build",
"preview": "svelte-kit preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"package": "svelte-kit package"
},
Each project's port will need to be different.
The NPM organization scope for this design system starter is @rename
. To change this, it's a bit manual at the moment, but you'll need to do the following:
- Rename folders in
packages/*
to replacerename
with your desired scope - Search and replace
rename
with your desired scope - Re-run
npm install
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.