docs: update typedoc to use src/index.ts as entry

# What's changed?

* use src/index.ts as entry for typedocs instead of dist/index.d.ts (otherwise crashes with new vue-tsc version)
* update tsconfigs
* update turbo config and skip building d.ts files for typedocs
This commit is contained in:
bcakmakoglu
2022-06-10 15:54:40 +02:00
committed by Braks
parent 77b441b1c6
commit c289e7e3cc
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
"prepare": "ts-patch install -s",
"build": "vite build",
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && pnpm lint:dist",
"typedoc": "typedoc --tsconfig tsconfig.docs.json dist/index.d.ts --out typedocs",
"typedoc": "typedoc --tsconfig tsconfig.docs.json src/index.ts --out typedocs",
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path ../../.gitignore .",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",