docs: update typedocs config to support new module structure

This commit is contained in:
braks
2022-10-08 23:25:34 +02:00
committed by Braks
parent c1bcc02797
commit afb3fc7b49
8 changed files with 47 additions and 53 deletions
+4 -4
View File
@@ -12,11 +12,11 @@
"bugs": {
"url": "https://github.com/bcakmakoglu/vue-flow/issues"
},
"main": "./dist/vue-flow-additional-components.cjs.js",
"module": "./dist/vue-flow-additional-components.es.js",
"main": "./dist/additional-components.cjs.js",
"module": "./dist/additional-components.es.js",
"types": "./dist/index.d.ts",
"unpkg": "./dist/vue-flow-additional-components.iife.js",
"jsdelivr": "./dist/vue-flow-additional-components.iife.js",
"unpkg": "./dist/additional-components.iife.js",
"jsdelivr": "./dist/additional-components.iife.js",
"files": [
"dist"
],
@@ -1,3 +1,8 @@
/**
* Additional components
* @module additional-components
*/
export * from './background'
export * from './controls'
export * from './minimap'
+5
View File
@@ -1,3 +1,8 @@
/**
* Vue Flow
* @module vue-flow
*/
export { default as VueFlow } from './container/VueFlow/VueFlow.vue'
export { default as Handle } from './components/Handle/Handle.vue'
-28
View File
@@ -1,28 +0,0 @@
{
"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,
"types": ["vite/client"],
"jsx": "preserve",
"paths": {
"~/*": ["src/*"]
},
"plugins": [
// Transform paths in output .d.ts files (Include this line if you output declarations files)
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
]
},
"include": ["dist", "src"],
"exclude": ["node_modules"]
}