Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brisklemonade/turbosvelte
A SvelteKit monorepo starter project powered by Turborepo!
https://github.com/brisklemonade/turbosvelte
svelte sveltekit sveltekit-template turborepo vercel
Last synced: 3 months ago
JSON representation
A SvelteKit monorepo starter project powered by Turborepo!
- Host: GitHub
- URL: https://github.com/brisklemonade/turbosvelte
- Owner: Brisklemonade
- License: mit
- Created: 2022-01-25T22:59:37.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-02T17:34:41.000Z (almost 3 years ago)
- Last Synced: 2024-10-11T19:20:09.573Z (3 months ago)
- Topics: svelte, sveltekit, sveltekit-template, turborepo, vercel
- Language: Svelte
- Homepage:
- Size: 213 KB
- Stars: 85
- Watchers: 6
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Turborepo SvelteKit System starter
This is an unofficial SvelteKit monorepo starter powered by Turborepo.
# What's inside?
This Turborepo includes the following packages and apps:
### Apps and Packages
- `docs`: [Sveleton](https://github.com/Brisklemonade/sveleton) placeholder documentation site
- `rename-core`: core components
- `rename-tsconfig`: shared `tsconfig.json`s used throughout the monorepo
- `eslint-preset-rename`: ESLint presetEach package and app is 100% [Typescript](https://www.typescriptlang.org/).
# Installation
Run the following command:
```bash
npx create-turbosvelte app-name
```# Project Configuration
### **Modify the root `package.json`**
Make sure to modify the contents in the project's root package json to fit your needs.
### **Running concurrent dev enviornments**
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:
```bash
"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.
### **Changing the NPM organization scope**
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 replace `rename` with your desired scope
- Search and replace `rename` with your desired scope
- Re-run `npm install`# Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
# License
[MIT](https://choosealicense.com/licenses/mit/)