Switch to vuepress
This commit is contained in:
parent
516c82d5c0
commit
7b82b88c5a
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -5,3 +5,5 @@ dist
|
|||
dist-ssr
|
||||
*.local
|
||||
tags
|
||||
.temp
|
||||
.cache
|
||||
|
|
1170
packages/core/package-lock.json
generated
1170
packages/core/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
|
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
1
packages/docs/docs/README.md
Normal file
1
packages/docs/docs/README.md
Normal file
|
@ -0,0 +1 @@
|
|||
# Hello VuePress
|
|
@ -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>
|
10310
packages/docs/package-lock.json
generated
10310
packages/docs/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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
|
@ -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',
|
||||
},
|
||||
});
|
1176
packages/heading/package-lock.json
generated
1176
packages/heading/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
1176
packages/image/package-lock.json
generated
1176
packages/image/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
1176
packages/layout/package-lock.json
generated
1176
packages/layout/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
1176
packages/paragraph/package-lock.json
generated
1176
packages/paragraph/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue