docs: move typedoc to docs deps
This commit is contained in:
+7
-3
@@ -3,11 +3,12 @@
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "pnpm run typedoc && vitepress dev src",
|
||||
"build": "pnpm run typedoc && vitepress build src",
|
||||
"dev": "pnpm run typedoc:md && vitepress dev src",
|
||||
"build": "pnpm run typedoc:md && vitepress build src",
|
||||
"serve": "vitepress serve src",
|
||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
|
||||
"typedoc": "typedoc --options ./typedoc.json"
|
||||
"typedoc:md": "typedoc --options ./typedoc.md.json",
|
||||
"typedocs": "typedoc --options ./typedoc.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"@algolia/client-search": "^4.14.2",
|
||||
@@ -28,6 +29,9 @@
|
||||
"@windicss/plugin-scrollbar": "^1.2.3",
|
||||
"dotenv": "^16.0.1",
|
||||
"ohmyfetch": "^0.4.18",
|
||||
"typedoc": "^0.22.18",
|
||||
"typedoc-plugin-markdown": "^3.13.4",
|
||||
"typedoc-plugin-merge-modules": "^4.0.1",
|
||||
"unplugin-auto-import": "^0.10.3",
|
||||
"unplugin-icons": "^0.14.8",
|
||||
"unplugin-vue-components": "^0.21.2",
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"module": "ESNext",
|
||||
"target": "es2017",
|
||||
"lib": ["DOM", "ESNext"],
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"incremental": false,
|
||||
"skipLibCheck": true,
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"noUnusedLocals": false,
|
||||
"strictNullChecks": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"paths": {
|
||||
"~/*": ["../packages/vue-flow/src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["../packages/vue-flow", "../packages/additional-components"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
+3
-7
@@ -2,21 +2,17 @@
|
||||
"$schema": "https://typedoc.org/schema.json",
|
||||
"readme": "none",
|
||||
"plugin": [
|
||||
"typedoc-plugin-merge-modules",
|
||||
"typedoc-plugin-markdown"
|
||||
"typedoc-plugin-merge-modules"
|
||||
],
|
||||
"entryPoints": [
|
||||
"../packages/vue-flow/src/index.ts",
|
||||
"../packages/additional-components/src/index.ts"
|
||||
],
|
||||
"allReflectionsHaveOwnDocument": true,
|
||||
"categorizeByGroup": true,
|
||||
"darkHighlightTheme": "vitesse-dark",
|
||||
"lightHighlightTheme": "vitesse-light",
|
||||
"hideBreadcrumbs": true,
|
||||
"disableSources": true,
|
||||
"cleanOutputDir": true,
|
||||
"out": "src/typedocs",
|
||||
"tsconfig": "../tsconfig.docs.json",
|
||||
"entryDocument": "index.md"
|
||||
"out": "typedocs",
|
||||
"tsconfig": "tsconfig.docs.json"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "https://typedoc.org/schema.json",
|
||||
"readme": "none",
|
||||
"plugin": [
|
||||
"typedoc-plugin-merge-modules",
|
||||
"typedoc-plugin-markdown"
|
||||
],
|
||||
"entryPoints": [
|
||||
"../packages/vue-flow/src/index.ts",
|
||||
"../packages/additional-components/src/index.ts"
|
||||
],
|
||||
"allReflectionsHaveOwnDocument": true,
|
||||
"categorizeByGroup": true,
|
||||
"darkHighlightTheme": "vitesse-dark",
|
||||
"lightHighlightTheme": "vitesse-light",
|
||||
"hideBreadcrumbs": true,
|
||||
"disableSources": true,
|
||||
"cleanOutputDir": true,
|
||||
"out": "src/typedocs",
|
||||
"tsconfig": "tsconfig.docs.json",
|
||||
"entryDocument": "index.md"
|
||||
}
|
||||
Reference in New Issue
Block a user