This Turborepo includes the following packages and apps:
docs: Sveleton placeholder documentation siterename-core: core componentsrename-tsconfig: shared tsconfig.jsons used throughout the monorepoeslint-preset-rename: ESLint presetEach package and app is 100% Typescript.
Run the following command:
npx create-turbosvelte app-name
package.jsonMake 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:
packages/* to replace rename with your desired scoperename with your desired scopenpm installPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.