@sveltepress/create 0.43.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,22 +0,0 @@
1
- {
2
- "name": "sveltepress-ts-starter",
3
- "type": "module",
4
- "version": "0.0.0",
5
- "private": true,
6
- "license": "MIT",
7
- "scripts": {
8
- "dev": "vite dev",
9
- "build": "vite build"
10
- },
11
- "devDependencies": {
12
- "@sveltejs/adapter-static": "^3.0.1",
13
- "@sveltejs/kit": "^2.5.1",
14
- "@sveltejs/vite-plugin-svelte": "^3.1.2",
15
- "@sveltepress/theme-default": "^3.0.1",
16
- "@sveltepress/vite": "^0.34.1",
17
- "@types/node": "^20.11.20",
18
- "svelte": "^4.2.12",
19
- "typescript": "^5.3.3",
20
- "vite": "^5.1.4"
21
- }
22
- }
@@ -1,14 +0,0 @@
1
- // This help your get the type tips for sveltepress virtual modules
2
- /// <reference types="@sveltepress/theme-default/types" />
3
- /// <reference types="@sveltepress/vite/types" />
4
-
5
- // See https://kit.svelte.dev/docs/types#app
6
- // for information about these interfaces
7
-
8
- // and what to do when importing types
9
- declare namespace App {
10
- // interface Error {}
11
- // interface Locals {}
12
- // interface PageData {}
13
- // interface Platform {}
14
- }
@@ -1,12 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <link rel="icon" href="%sveltekit.assets%/sveltepress.svg" />
6
- <meta name="viewport" content="width=device-width" />
7
- %sveltekit.head%
8
- </head>
9
- <body data-sveltekit-preload-data="hover">
10
- <div style="display: contents">%sveltekit.body%</div>
11
- </body>
12
- </html>
@@ -1,2 +0,0 @@
1
- <!-- Leave this. Or you can add more content for your custom layout -->
2
- <slot />
@@ -1 +0,0 @@
1
- export const prerender = true
@@ -1,17 +0,0 @@
1
- ---
2
- title: Welcome to Sveltepress
3
- heroImage: /sveltepress@3x.png
4
- tagline: A simple, easy to use content centered site build tool with the full power of Sveltekit.
5
- actions:
6
- - label: View on github
7
- type: primary
8
- to: https://github.com/Blackman99/sveltepress
9
- external: true
10
- features:
11
- - title: Markdown centered
12
- description: To help you can start writing with minimal configuration
13
- - title: Build with Sveltekit
14
- description: Preserve the full power of Sveltekit. So that you can do more than SSG
15
- - title: Svelte in Markdown
16
- description: Feel free to use svelte in markdown. Explore infinite possibilities.
17
- ---
@@ -1,9 +0,0 @@
1
- <svg width="81" height="83" viewBox="0 0 81 83" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M74.8301 17.6124H46.1221C43.4462 17.6124 41.2026 19.5037 40.5919 22.0527C39.9813 19.5037 37.7376 17.6124 35.0618 17.6124H6.35376C3.20837 17.6124 0.658447 20.2252 0.658447 23.4483V66.3517C0.658447 69.5747 3.20837 72.1876 6.35376 72.1876H35.0618C35.0936 72.1876 35.1247 72.1857 35.1564 72.1852C36.4924 73.6563 38.4241 74.5812 40.5728 74.5812C42.7221 74.5812 44.6541 73.656 45.9901 72.1844C46.0341 72.1854 46.0778 72.1878 46.1221 72.1878H74.8301C77.9755 72.1878 80.5254 69.5749 80.5254 66.3518V23.4483C80.5254 20.2252 77.9755 17.6124 74.8301 17.6124V17.6124Z" fill="#FF473E"/>
3
- <path d="M41.223 61.3312L41.3342 61.5881L41.6381 62.2656L42.086 63.2233C42.2486 63.5736 42.4372 63.9475 42.6179 64.3213L42.8901 64.8789C42.9783 65.0645 43.0766 65.2449 43.1845 65.4191C43.2937 65.5875 43.4029 65.7559 43.5122 65.9242C43.6095 66.0849 43.6927 66.2366 43.7506 66.3768C43.8106 66.517 43.8525 66.6454 43.8716 66.7594C43.8896 66.8566 43.8935 66.9559 43.8832 67.0543C43.865 67.2178 43.8038 67.3112 43.8038 67.3112C42.6049 69.1397 40.1866 69.626 38.4024 68.3977C37.9844 68.1083 37.6245 67.7395 37.3421 67.3112C37.3421 67.3112 37.2809 67.2178 37.2627 67.0543C37.2524 66.9559 37.2562 66.8566 37.2742 66.7594C37.2934 66.6456 37.3353 66.517 37.3953 66.3768C37.4532 66.2366 37.5362 66.0849 37.6337 65.9242L37.9612 65.4191C38.0691 65.2448 38.1674 65.0645 38.2556 64.8789L38.5278 64.3213C38.7085 63.9475 38.8971 63.5738 39.0597 63.2233L39.5077 62.2656L39.8117 61.5881L39.9229 61.3312C39.9786 61.2022 40.0697 61.0925 40.1851 61.0156C40.3005 60.9386 40.4352 60.8977 40.5729 60.8977C40.7106 60.8977 40.8453 60.9386 40.9607 61.0156C41.0761 61.0925 41.1672 61.2022 41.223 61.3312V61.3312Z" fill="#445056"/>
4
- <path d="M72.0698 14.074H46.1335C43.4399 14.074 41.1847 15.9906 40.5919 18.5651C39.999 15.9906 37.7438 14.074 35.0504 14.074H9.11395C5.96856 14.074 3.41864 16.6869 3.41864 19.9099V62.3349C3.41864 65.558 5.96856 68.1709 9.11395 68.1709H35.0502C37.7438 68.1709 39.999 66.2543 40.5918 63.6798C41.1847 66.2543 43.4399 68.1709 46.1333 68.1709H72.0696C75.215 68.1709 77.7649 65.558 77.7649 62.3349V19.9099C77.7651 16.6867 75.2153 14.074 72.0698 14.074Z" fill="#A9B8C2"/>
5
- <path d="M39.396 9.98642C29.1704 3.7029 19.487 18.7619 9.26119 12.4784C8.324 11.8972 7.56415 12.2632 7.56415 13.5668V61.2157C7.56415 62.3272 8.15266 63.3149 8.95618 63.4316C9.05505 63.446 9.1571 63.4828 9.26119 63.5474C19.4868 69.8309 29.7124 54.7719 39.938 61.0554C40.0975 61.1543 40.3296 61.3318 40.5155 61.474C40.9037 61.7708 41.6351 61.1783 41.6351 60.2852L40.4272 13.3273C40.4272 12.0523 40.3332 10.5677 39.396 9.98642Z" fill="#DCE2E2"/>
6
- <path d="M41.977 9.98642C52.2026 3.7029 62.4282 18.7619 72.6538 12.4784C73.591 11.8972 74.3509 12.2632 74.3509 13.5668V60.4636C74.3509 61.8543 73.6828 63.0328 72.7315 63.5041C72.705 63.5173 72.6791 63.5318 72.6538 63.5474C62.4282 69.8309 52.1983 54.7589 41.977 61.0554C40.7398 61.8175 40.2799 61.609 40.2799 60.8943V12.2919C40.2799 11.0169 41.0398 10.5677 41.977 9.98642Z" fill="#F9F9F7"/>
7
- <path d="M56.3594 16.9062C54.3108 14.0953 51.2904 12.1462 47.8851 11.4376C44.4798 10.729 40.9327 11.3114 37.9328 13.0719L27.4375 19.5625C26.0307 20.4103 24.8189 21.5458 23.8816 22.8945C22.9443 24.2433 22.3025 25.775 21.9984 27.3891C21.4995 30.0889 21.9406 32.8781 23.2484 35.2922C22.3522 36.6101 21.7398 38.1 21.45 39.6672C21.1517 41.3033 21.192 42.9832 21.5682 44.6031C21.9444 46.2231 22.6487 47.7487 23.6375 49.0859C25.6861 51.8972 28.7063 53.8469 32.1116 54.5566C35.517 55.2663 39.0645 54.6854 42.0656 52.9266L52.5625 46.4375C53.9689 45.5892 55.1803 44.4535 56.1176 43.1049C57.0548 41.7562 57.6968 40.2248 58.0016 38.6109C58.5037 35.9091 58.0624 33.1168 56.7516 30.7016C57.6488 29.384 58.2618 27.894 58.5516 26.3266C58.8498 24.6899 58.8091 23.0095 58.432 21.3892C58.055 19.7688 57.3495 18.2431 56.3594 16.9062" fill="#FF3E00"/>
8
- <path d="M36.9094 49.625C35.2683 50.0459 33.5387 49.9642 31.9446 49.3906C30.3505 48.817 28.9654 47.7778 27.9688 46.4078C27.372 45.6047 26.9465 44.6876 26.7185 43.7133C26.4906 42.739 26.4652 41.7283 26.6438 40.7438C26.7032 40.4204 26.7862 40.1019 26.8922 39.7906L27.0906 39.2047L27.6281 39.5766C28.8759 40.4652 30.2639 41.1381 31.7344 41.5672L32.1172 41.6813L32.0781 42.0516C32.0332 42.5902 32.1835 43.1271 32.5016 43.5641C32.8006 43.987 33.2215 44.3087 33.7081 44.4863C34.1947 44.6638 34.7239 44.6888 35.225 44.5578C35.4514 44.499 35.6679 44.4068 35.8672 44.2844L46.3359 37.7938C46.5909 37.6392 46.8106 37.433 46.9809 37.1884C47.1513 36.9437 47.2685 36.6661 47.325 36.3735C47.3813 36.0783 47.3765 35.7748 47.311 35.4816C47.2454 35.1884 47.1204 34.9118 46.9438 34.6688C46.6431 34.2555 46.2254 33.9419 45.7446 33.7686C45.2638 33.5953 44.742 33.5703 44.2469 33.6969C44.0193 33.7559 43.8018 33.8486 43.6016 33.9719L39.5828 36.4469C38.9223 36.8557 38.2037 37.1622 37.4516 37.3563C35.8092 37.7782 34.078 37.697 32.4824 37.123C30.8867 36.5491 29.5004 35.5089 28.5031 34.1375C27.9103 33.3318 27.4892 32.4129 27.2659 31.4378C27.0425 30.4628 27.0217 29.4522 27.2047 28.4688C27.3891 27.5 27.775 26.5807 28.3373 25.7706C28.8995 24.9604 29.6257 24.2773 30.4688 23.7656L40.95 17.275C41.6106 16.8668 42.3292 16.5607 43.0813 16.3672C44.7237 15.9443 46.4553 16.0249 48.0513 16.5986C49.6473 17.1723 51.034 18.2126 52.0313 19.5844C52.628 20.3876 53.0534 21.3047 53.2813 22.279C53.5092 23.2532 53.5348 24.2639 53.3563 25.2485C53.297 25.5718 53.214 25.8904 53.1078 26.2016L52.9094 26.7875L52.3719 26.4172C51.1249 25.5274 49.7366 24.8544 48.2656 24.4266L47.8828 24.311L47.9219 23.9406C47.9668 23.4018 47.8159 22.8647 47.4969 22.4281C47.1971 22.0143 46.7797 21.7003 46.299 21.5269C45.8182 21.3536 45.2965 21.329 44.8016 21.4563C44.5749 21.515 44.3583 21.6077 44.1594 21.7313L33.6563 28.2C33.4013 28.3537 33.1816 28.5596 33.0117 28.8041C32.8418 29.0486 32.7255 29.3262 32.6703 29.6188C32.6126 29.9141 32.6166 30.2182 32.6822 30.5118C32.7479 30.8055 32.8736 31.0824 33.0516 31.325C33.3524 31.738 33.7702 32.0513 34.251 32.2243C34.7318 32.3973 35.2534 32.422 35.7484 32.2953C35.9758 32.2362 36.1932 32.1441 36.3938 32.0219L40.3969 29.5453C41.0571 29.1364 41.7758 28.8303 42.5281 28.6375C44.1706 28.2155 45.9019 28.2965 47.4977 28.8702C49.0935 29.4438 50.4803 30.4836 51.4781 31.8547C52.0733 32.6586 52.4973 33.576 52.7238 34.5502C52.9504 35.5244 52.9747 36.5348 52.7953 37.5188C52.6122 38.4886 52.2269 39.409 51.6645 40.2202C51.1021 41.0313 50.3753 41.7149 49.5313 42.2266L39.0516 48.7172C38.3913 49.1262 37.6727 49.4323 36.9203 49.625" fill="white"/>
9
- </svg>
@@ -1,17 +0,0 @@
1
- import adapter from '@sveltejs/adapter-static'
2
- import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
3
-
4
- /**
5
- * @type {import('@sveltejs/kit').Config}
6
- */
7
- const config = {
8
- extensions: ['.svelte', '.md'],
9
- preprocess: [vitePreprocess()],
10
- kit: {
11
- adapter: adapter({
12
- pages: 'dist',
13
- }),
14
- },
15
- }
16
-
17
- export default config
@@ -1,16 +0,0 @@
1
- {
2
- "extends": "./.svelte-kit/tsconfig.json",
3
- "compilerOptions": {
4
- "moduleResolution": "node",
5
- "allowJs": true,
6
- "checkJs": true,
7
- "esModuleInterop": true,
8
- "forceConsistentCasingInFileNames": true,
9
- "resolveJsonModule": true,
10
- "skipLibCheck": true,
11
- "sourceMap": true,
12
- "strict": true,
13
- "lib": ["ESNext"],
14
- "module": "ESNext"
15
- }
16
- }
@@ -1,26 +0,0 @@
1
- import { defineConfig } from 'vite'
2
- import { sveltepress } from '@sveltepress/vite'
3
- import { defaultTheme } from '@sveltepress/theme-default'
4
-
5
- const config = defineConfig({
6
- plugins: [
7
- sveltepress({
8
- theme: defaultTheme({
9
- navbar: [
10
- // Add your navbar configs here
11
- ],
12
- sidebar: {
13
- // Add your sidebar configs here
14
- },
15
- github: 'https://github.com/Blackman99/sveltepress',
16
- logo: '/sveltepress.svg',
17
- }),
18
- siteConfig: {
19
- title: 'Sveltepress',
20
- description: 'A content centered site build tool',
21
- },
22
- }),
23
- ],
24
- })
25
-
26
- export default config