···11-# Turborepo Svelte starter
11+# Hyski
2233-This Turborepo starter is maintained by the Turborepo core team.
33+This an family management system built with SvelteKit and Turborepo.
4455-## Using this example
55+## Getting Started
6677-Run the following command:
88-99-```sh
1010-npx create-turbo@latest -e with-svelte
1111-```
127138## What's inside?
149···16111712### Apps and Packages
18131919-- `docs`: a [svelte-kit](https://kit.svelte.dev/) app
2020-- `web`: another [svelte-kit](https://kit.svelte.dev/) app
1414+- `web`: a consumer-facing website built with [Astro](https://astro.build/) and [Svelte](https://svelte.dev/)
1515+- `core`: Core of Hyski created with [svelte-kit](https://kit.svelte.dev/)
2116- `ui`: a stub Svelte component library shared by both `web` and `docs` applications
2217- `eslint-config-custom`: `eslint` configurations (includes `eslint-plugin-svelte` and `eslint-config-prettier`)
2318
···11-# create-svelte
22-33-Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
44-55-## Creating a project
66-77-If you're seeing this, you've probably already done this step. Congrats!
88-99-```bash
1010-# create a new project in the current directory
1111-npm create svelte@latest
1212-1313-# create a new project in my-app
1414-npm create svelte@latest my-app
1515-```
1616-1717-## Developing
1818-1919-Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
2020-2121-```bash
2222-npm run dev
2323-2424-# or start the server and open the app in a new browser tab
2525-npm run dev -- --open
2626-```
2727-2828-## Building
2929-3030-To create a production version of your app:
3131-3232-```bash
3333-npm run build
3434-```
3535-3636-You can preview the production build with `npm run preview`.
3737-3838-> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
···11-// place files you want to import through the `$lib` alias in this folder.
-7
apps/docs/src/routes/+page.svelte
···11-<script lang="ts">
22- import { MyCounterButton } from '@repo/ui';
33-</script>
44-55-<h1>Docs</h1>
66-<MyCounterButton />
77-<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
apps/docs/static/favicon.png
This is a binary file and will not be displayed.
-17
apps/docs/svelte.config.js
···11-import adapter from '@sveltejs/adapter-auto';
22-import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
33-44-/** @type {import('@sveltejs/kit').Config} */
55-const config = {
66- // Consult https://kit.svelte.dev/docs/integrations#preprocessors
77- // for more information about preprocessors
88- preprocess: vitePreprocess(),
99- kit: {
1010- // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
1111- // If your environment is not supported or you settled on a specific environment, switch out the adapter.
1212- // See https://kit.svelte.dev/docs/adapters for more information about adapters.
1313- adapter: adapter()
1414- }
1515-};
1616-1717-export default config;