Skip to content

Commit 9848dff

Browse files
massive checkpoint
1 parent f411adc commit 9848dff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2812
-813
lines changed

apps/docs/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# sv
2+
3+
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
4+
5+
## Creating a project
6+
7+
If you're seeing this, you've probably already done this step. Congrats!
8+
9+
```sh
10+
# create a new project in the current directory
11+
npx sv create
12+
13+
# create a new project in my-app
14+
npx sv create my-app
15+
```
16+
17+
## Developing
18+
19+
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20+
21+
```sh
22+
npm run dev
23+
24+
# or start the server and open the app in a new browser tab
25+
npm run dev -- --open
26+
```
27+
28+
## Building
29+
30+
To create a production version of your app:
31+
32+
```sh
33+
npm run build
34+
```
35+
36+
You can preview the production build with `npm run preview`.
37+
38+
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.

apps/docs/package.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "docs",
3+
"private": true,
4+
"version": "0.0.1",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite dev",
8+
"build": "vite build",
9+
"preview": "vite preview",
10+
"prepare": "svelte-kit sync || echo ''",
11+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
12+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
13+
},
14+
"devDependencies": {
15+
"@sejohnson/hardened-svelte-markdown": "workspace:*",
16+
"@sejohnson/svelte-markdown": "workspace:*",
17+
"@shikijs/langs": "catalog:",
18+
"@shikijs/rehype": "catalog:",
19+
"@shikijs/themes": "catalog:",
20+
"@sveltejs/adapter-vercel": "catalog:",
21+
"@sveltejs/kit": "catalog:",
22+
"@sveltejs/vite-plugin-svelte": "catalog:",
23+
"@types/node": "catalog:",
24+
"rehype-raw": "catalog:",
25+
"remark-gfm": "catalog:",
26+
"remark-toc": "catalog:",
27+
"shiki": "catalog:",
28+
"svelte": "catalog:",
29+
"svelte-check": "catalog:",
30+
"typescript": "catalog:",
31+
"vite": "catalog:"
32+
}
33+
}

apps/docs/src/app.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
body {
2+
margin: 0;
3+
padding: 0;
4+
font-family: 'Geist';
5+
font-weight: 400;
6+
font-style: normal;
7+
-webkit-font-smoothing: antialiased;
8+
-moz-osx-font-smoothing: grayscale;
9+
}
10+
11+
pre {
12+
margin: 0;
13+
font-family: 'GeistMono', monospace;
14+
}
15+
16+
code {
17+
font-family: 'GeistMono', monospace;
18+
}
19+
20+
@font-face {
21+
font-family: 'GeistMono';
22+
src: url('/fonts/GeistMono[wght].ttf') format('truetype-variations');
23+
font-weight: 100 900;
24+
font-style: normal;
25+
font-display: swap;
26+
}
27+
28+
@font-face {
29+
font-family: 'GeistMono';
30+
src: url('/fonts/GeistMono-Italic[wght].ttf') format('truetype-variations');
31+
font-weight: 100 900;
32+
font-style: italic;
33+
font-display: swap;
34+
}
35+
36+
@font-face {
37+
font-family: 'Geist';
38+
src: url('/fonts/Geist[wght].ttf') format('truetype-variations');
39+
font-weight: 100 900;
40+
font-style: normal;
41+
font-display: swap;
42+
}
43+
44+
@font-face {
45+
font-family: 'Geist';
46+
src: url('/fonts/Geist-Italic[wght].ttf') format('truetype-variations');
47+
font-weight: 100 900;
48+
font-style: italic;
49+
font-display: swap;
50+
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)