chore(deps-dev): Move typedoc to package

* Move typedoc script to package
* Add typedoc pipeline
This commit is contained in:
Braks
2022-04-11 11:30:10 +02:00
parent 82fd35c315
commit e558ad5bc5
2 changed files with 3 additions and 4 deletions
+1 -4
View File
@@ -12,12 +12,10 @@
"dev": "yarn --cwd examples dev",
"docs": "yarn --cwd docs dev",
"build": "yarn turbo run build",
"postbuild": "yarn typedoc",
"prerelease": "git-cliff --output CHANGELOG.md && git add CHANGELOG.md && git commit -m \"chore: Update CHANGELOG.md\"",
"release": "yarn turbo run release",
"test": "yarn turbo run test",
"lint": "yarn turbo run lint",
"typedoc": "typedoc --tsconfig ./package/tsconfig.docs.json ./package/dist/index.d.ts --out typedocs"
"lint": "yarn turbo run lint"
},
"devDependencies": {
"@antfu/eslint-config": "^0.9.0",
@@ -28,7 +26,6 @@
"prettier": "^2.4.1",
"shx": "^0.3.4",
"turbo": "^1.2.1",
"typedoc": "^0.22.13",
"typescript": "^4.5.5"
}
}
+2
View File
@@ -25,6 +25,7 @@
"prepare": "ts-patch install -s",
"build": "vite build",
"types": "vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && yarn lint:dist",
"typedoc": "typedoc --tsconfig tsconfig.docs.json dist/index.d.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",
@@ -49,6 +50,7 @@
"postcss-cli": "^9.1.0",
"postcss-nested": "^5.0.6",
"ts-patch": "^2.0.1",
"typedoc": "^0.22.13",
"typescript-transform-paths": "^3.3.1",
"unplugin-auto-import": "^0.6.9",
"vite": "2.5.x",