Switch to vuepress

This commit is contained in:
Benjamin Bädorf 2022-03-16 00:49:31 +01:00
parent 516c82d5c0
commit 7b82b88c5a
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
47 changed files with 8840 additions and 7510 deletions

2
.gitignore vendored
View file

@ -5,3 +5,5 @@ dist
dist-ssr
*.local
tags
.temp
.cache

File diff suppressed because it is too large Load diff

View file

@ -7,6 +7,7 @@
"license": "GPL-3.0-or-later",
"main": "lib/index.ts",
"scripts": {
"typecheck": "vuedx-typecheck --no-pretty ./lib",
"docgen": "docgen"
},
"directories": {
@ -31,6 +32,8 @@
"vue": "^3.0.7"
},
"devDependencies": {
"@vuedx/typecheck": "^0.6.3",
"@vuedx/typescript-plugin-vue": "^0.6.3",
"@schlechtenburg/docgen": "^0.0.0",
"@types/lodash-es": "^4.17.4",
"@types/uuid": "^8.3.0"

View file

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -0,0 +1 @@
# Hello VuePress

View file

@ -1,13 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/lib/main.ts"></script>
</body>
</html>

File diff suppressed because it is too large Load diff

View file

@ -21,33 +21,20 @@
"url": "git@git.b12f.io:b12f/schlechtenburg.git"
},
"scripts": {
"dev": "concurrently 'vuedx-typecheck --no-pretty --watch ./lib' 'vite'",
"build": "vuedx-typecheck --no-pretty ./lib && vite build",
"typecheck": "vuedx-typecheck --no-pretty ./lib"
"dev": "vuepress dev docs",
"build": "vuepress build docs"
},
"dependencies": {
"@schlechtenburg/core": "^0.0.0",
"@schlechtenburg/heading": "^0.0.0",
"@schlechtenburg/image": "^0.0.0",
"@schlechtenburg/layout": "^0.0.0",
"@schlechtenburg/paragraph": "^0.0.0",
"lodash-es": "^4.17.21",
"vue": "^3.0.7",
"vue-router": "4"
"@schlechtenburg/paragraph": "^0.0.0"
},
"devDependencies": {
"@types/pug": "^2.0.6",
"@vitejs/plugin-vue-jsx": "^1.1.2",
"@vue/compiler-sfc": "^3.0.7",
"@vuedx/typecheck": "^0.6.3",
"@vuedx/typescript-plugin-vue": "^0.6.3",
"concurrently": "^6.0.0",
"sass": "^1.32.8",
"typedoc": "^0.22.13",
"typescript": "^4.2.3",
"vite": "^2.0.5",
"vite-plugin-md2vue": "^1.1.1",
"vite-tsconfig-paths": "^3.4.1",
"vue-docgen-api": "^4.44.18"
"sass": "^1.49.9",
"vite": "^2.8.6",
"vue": "^3.2.31",
"vuepress": "^2.0.0-beta.36"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

File diff suppressed because one or more lines are too long

View file

@ -1,25 +0,0 @@
import { defineConfig } from 'vite';
import vueJsx from '@vitejs/plugin-vue-jsx';
import vitePluginMd2Vue from 'vite-plugin-md2vue';
import viteTSConfigPaths from 'vite-tsconfig-paths';
export default defineConfig({
root: './',
base: './',
resolve: {
dedupe: [ 'vue' ],
},
plugins: [
vueJsx({}),
vitePluginMd2Vue(),
viteTSConfigPaths(),
],
esbuild: {
jsxFactory: 'h',
jsxFragment: 'Fragment',
},
build: {
sourcemap: true,
outDir: 'docs',
},
});

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,7 @@
"url": "git@git.b12f.io:b12f/schlechtenburg.git"
},
"scripts": {
"typecheck": "vuedx-typecheck --no-pretty ./lib",
"docgen": "docgen",
"test": "echo \"Error: run tests from root\" && exit 1"
},
@ -31,6 +32,8 @@
"vue": "^3.0.7"
},
"devDependencies": {
"@vuedx/typecheck": "^0.6.3",
"@vuedx/typescript-plugin-vue": "^0.6.3",
"@schlechtenburg/docgen": "^0.0.0"
}
}

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,7 @@
"url": "git@git.b12f.io:b12f/schlechtenburg.git"
},
"scripts": {
"typecheck": "vuedx-typecheck --no-pretty ./lib",
"docgen": "docgen",
"test": "echo \"Error: run tests from root\" && exit 1"
},
@ -31,6 +32,8 @@
"vue": "^3.0.7"
},
"devDependencies": {
"@vuedx/typecheck": "^0.6.3",
"@vuedx/typescript-plugin-vue": "^0.6.3",
"@schlechtenburg/docgen": "^0.0.0"
}
}

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,7 @@
"url": "git@git.b12f.io:b12f/schlechtenburg.git"
},
"scripts": {
"typecheck": "vuedx-typecheck --no-pretty ./lib",
"docgen": "docgen",
"test": "echo \"Error: run tests from root\" && exit 1"
},
@ -30,6 +31,8 @@
"vue": "^3.0.7"
},
"devDependencies": {
"@vuedx/typecheck": "^0.6.3",
"@vuedx/typescript-plugin-vue": "^0.6.3",
"@schlechtenburg/docgen": "^0.0.0"
}
}

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,7 @@
"url": "git@git.b12f.io:b12f/schlechtenburg.git"
},
"scripts": {
"typecheck": "vuedx-typecheck --no-pretty ./lib",
"docgen": "docgen",
"test": "echo \"Error: run tests from root\" && exit 1"
},
@ -30,6 +31,8 @@
"vue": "^3.0.7"
},
"devDependencies": {
"@vuedx/typecheck": "^0.6.3",
"@vuedx/typescript-plugin-vue": "^0.6.3",
"@schlechtenburg/docgen": "^0.0.0"
}
}