docs: move typedoc to docs deps
This commit is contained in:
+7
-3
@@ -3,11 +3,12 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "pnpm run typedoc && vitepress dev src",
|
"dev": "pnpm run typedoc:md && vitepress dev src",
|
||||||
"build": "pnpm run typedoc && vitepress build src",
|
"build": "pnpm run typedoc:md && vitepress build src",
|
||||||
"serve": "vitepress serve src",
|
"serve": "vitepress serve src",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
|
"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": {
|
"dependencies": {
|
||||||
"@algolia/client-search": "^4.14.2",
|
"@algolia/client-search": "^4.14.2",
|
||||||
@@ -28,6 +29,9 @@
|
|||||||
"@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",
|
||||||
|
|||||||
@@ -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"]
|
||||||
}
|
}
|
||||||
+3
-7
@@ -2,21 +2,17 @@
|
|||||||
"$schema": "https://typedoc.org/schema.json",
|
"$schema": "https://typedoc.org/schema.json",
|
||||||
"readme": "none",
|
"readme": "none",
|
||||||
"plugin": [
|
"plugin": [
|
||||||
"typedoc-plugin-merge-modules",
|
"typedoc-plugin-merge-modules"
|
||||||
"typedoc-plugin-markdown"
|
|
||||||
],
|
],
|
||||||
"entryPoints": [
|
"entryPoints": [
|
||||||
"../packages/vue-flow/src/index.ts",
|
"../packages/vue-flow/src/index.ts",
|
||||||
"../packages/additional-components/src/index.ts"
|
"../packages/additional-components/src/index.ts"
|
||||||
],
|
],
|
||||||
"allReflectionsHaveOwnDocument": true,
|
|
||||||
"categorizeByGroup": true,
|
"categorizeByGroup": true,
|
||||||
"darkHighlightTheme": "vitesse-dark",
|
"darkHighlightTheme": "vitesse-dark",
|
||||||
"lightHighlightTheme": "vitesse-light",
|
"lightHighlightTheme": "vitesse-light",
|
||||||
"hideBreadcrumbs": true,
|
|
||||||
"disableSources": true,
|
"disableSources": true,
|
||||||
"cleanOutputDir": true,
|
"cleanOutputDir": true,
|
||||||
"out": "src/typedocs",
|
"out": "typedocs",
|
||||||
"tsconfig": "../tsconfig.docs.json",
|
"tsconfig": "tsconfig.docs.json"
|
||||||
"entryDocument": "index.md"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
|
}
|
||||||
+1
-5
@@ -9,8 +9,7 @@
|
|||||||
"release": "turbo run release",
|
"release": "turbo run release",
|
||||||
"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": "typedoc --options ./typedoc.json"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^0.27.0",
|
"@antfu/eslint-config": "^0.27.0",
|
||||||
@@ -22,9 +21,6 @@
|
|||||||
"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.7.4"
|
"typescript": "4.7.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+7
-7
@@ -13,9 +13,6 @@ importers:
|
|||||||
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.7.4
|
typescript: 4.7.4
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@antfu/eslint-config': 0.27.0_yv3nvntfnealqm77uomj2fi4ki
|
'@antfu/eslint-config': 0.27.0_yv3nvntfnealqm77uomj2fi4ki
|
||||||
@@ -27,9 +24,6 @@ importers:
|
|||||||
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_typescript@4.7.4
|
|
||||||
typedoc-plugin-markdown: 3.13.4_typedoc@0.22.18
|
|
||||||
typedoc-plugin-merge-modules: 4.0.1_typedoc@0.22.18
|
|
||||||
typescript: 4.7.4
|
typescript: 4.7.4
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
@@ -49,11 +43,14 @@ importers:
|
|||||||
canvas-confetti: ^1.5.1
|
canvas-confetti: ^1.5.1
|
||||||
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
|
||||||
vite-plugin-windicss: ^1.8.7
|
vite-plugin-windicss: ^1.8.7
|
||||||
vitepress: 1.0.0-alpha.4
|
vitepress: ^1.0.0-alpha.4
|
||||||
vue: ^3.2.37
|
vue: ^3.2.37
|
||||||
windicss: ^3.5.6
|
windicss: ^3.5.6
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -74,6 +71,9 @@ importers:
|
|||||||
'@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_typescript@4.7.4
|
||||||
|
typedoc-plugin-markdown: 3.13.4_typedoc@0.22.18
|
||||||
|
typedoc-plugin-merge-modules: 4.0.1_typedoc@0.22.18
|
||||||
unplugin-auto-import: 0.10.3_vite@2.9.15
|
unplugin-auto-import: 0.10.3_vite@2.9.15
|
||||||
unplugin-icons: 0.14.8_vite@2.9.15
|
unplugin-icons: 0.14.8_vite@2.9.15
|
||||||
unplugin-vue-components: 0.21.2_vite@2.9.15+vue@3.2.37
|
unplugin-vue-components: 0.21.2_vite@2.9.15+vue@3.2.37
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"$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