docs: move typedoc to root deps
This commit is contained in:
@@ -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
@@ -17,6 +17,6 @@
|
||||
"disableSources": true,
|
||||
"cleanOutputDir": true,
|
||||
"out": "src/typedocs",
|
||||
"tsconfig": "./tsconfig.docs.json",
|
||||
"tsconfig": "../tsconfig.docs.json",
|
||||
"entryDocument": "index.md"
|
||||
}
|
||||
|
||||
+4
-1
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"]
|
||||
}
|
||||
@@ -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/**"]
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user