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", "@windicss/plugin-scrollbar": "^1.2.3",
"dotenv": "^16.0.1", "dotenv": "^16.0.1",
"ohmyfetch": "^0.4.18", "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-auto-import": "^0.10.3",
"unplugin-icons": "^0.14.8", "unplugin-icons": "^0.14.8",
"unplugin-vue-components": "^0.21.2", "unplugin-vue-components": "^0.21.2",
+1 -1
View File
@@ -17,6 +17,6 @@
"disableSources": true, "disableSources": true,
"cleanOutputDir": true, "cleanOutputDir": true,
"out": "src/typedocs", "out": "src/typedocs",
"tsconfig": "./tsconfig.docs.json", "tsconfig": "../tsconfig.docs.json",
"entryDocument": "index.md" "entryDocument": "index.md"
} }
+4 -1
View File
@@ -10,7 +10,7 @@
"build": "turbo run build", "build": "turbo run build",
"test": "turbo run test", "test": "turbo run test",
"lint": "turbo run lint", "lint": "turbo run lint",
"typedocs": "turbo run typedoc" "typedocs": "typedoc --options ./typedoc.json"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^0.27.0", "@antfu/eslint-config": "^0.27.0",
@@ -22,6 +22,9 @@
"prettier": "^2.7.1", "prettier": "^2.7.1",
"shx": "^0.3.4", "shx": "^0.3.4",
"turbo": "^1.5.5", "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" "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, "strictNullChecks": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"paths": { "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"] "exclude": ["node_modules"]
} }
-4
View File
@@ -1,6 +1,5 @@
{ {
"$schema": "https://turborepo.org/schema.json", "$schema": "https://turborepo.org/schema.json",
"baseBranch": "origin/master",
"pipeline": { "pipeline": {
"build": { "build": {
"dependsOn": ["^build", "types", "theme"], "dependsOn": ["^build", "types", "theme"],
@@ -11,9 +10,6 @@
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": ["dist/**"] "outputs": ["dist/**"]
}, },
"typedoc": {
"outputs": ["typedocs/**"]
},
"theme": { "theme": {
"outputs": ["dist/**"] "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"
}