docs: move typedoc to root deps

This commit is contained in:
braks
2022-10-08 23:25:34 +02:00
committed by Braks
parent acc0526fdb
commit 6aaef2743d
7 changed files with 25 additions and 17 deletions
-3
View File
@@ -28,9 +28,6 @@
"@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",
+1 -1
View File
@@ -17,6 +17,6 @@
"disableSources": true,
"cleanOutputDir": true,
"out": "src/typedocs",
"tsconfig": "./tsconfig.docs.json",
"tsconfig": "../tsconfig.docs.json",
"entryDocument": "index.md"
}
+4 -1
View File
@@ -10,7 +10,7 @@
"build": "turbo run build",
"test": "turbo run test",
"lint": "turbo run lint",
"typedocs": "turbo run typedoc"
"typedocs": "typedoc --options ./typedoc.json"
},
"devDependencies": {
"@antfu/eslint-config": "^0.27.0",
@@ -22,6 +22,9 @@
"prettier": "^2.7.1",
"shx": "^0.3.4",
"turbo": "^1.5.5",
"typedoc": "^0.22.18",
"typedoc-plugin-markdown": "^3.13.4",
"typedoc-plugin-merge-modules": "^4.0.1",
"typescript": "^4.8.4"
}
}
-6
View File
@@ -1,6 +0,0 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": ["./src/index.ts"],
"out": "typedocs",
"tsconfig": "./tsconfig.docs.json"
}
@@ -14,9 +14,9 @@
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"paths": {
"~/*": ["../packages/vue-flow/src/*"]
"~/*": ["packages/vue-flow/src/*"]
}
},
"include": ["../packages/vue-flow", "../packages/additional-components"],
"include": ["packages/vue-flow", "packages/additional-components"],
"exclude": ["node_modules"]
}
-4
View File
@@ -1,6 +1,5 @@
{
"$schema": "https://turborepo.org/schema.json",
"baseBranch": "origin/master",
"pipeline": {
"build": {
"dependsOn": ["^build", "types", "theme"],
@@ -11,9 +10,6 @@
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"typedoc": {
"outputs": ["typedocs/**"]
},
"theme": {
"outputs": ["dist/**"]
},
+18
View File
@@ -0,0 +1,18 @@
{
"$schema": "https://typedoc.org/schema.json",
"readme": "none",
"plugin": [
"typedoc-plugin-merge-modules"
],
"entryPoints": [
"packages/vue-flow/src/index.ts",
"packages/additional-components/src/index.ts"
],
"categorizeByGroup": true,
"darkHighlightTheme": "vitesse-dark",
"lightHighlightTheme": "vitesse-light",
"disableSources": true,
"cleanOutputDir": true,
"out": "typedocs",
"tsconfig": "./tsconfig.docs.json"
}