From de75e257a5fca746e287c974584b98ac2ec10047 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Mon, 11 Apr 2022 00:26:47 +0200 Subject: [PATCH] chore: change destination dir for docs output --- docs/src/.vuepress/config.ts | 1 + package.json | 3 ++- turbo.json | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/src/.vuepress/config.ts b/docs/src/.vuepress/config.ts index ab3c014a..e8012ba5 100644 --- a/docs/src/.vuepress/config.ts +++ b/docs/src/.vuepress/config.ts @@ -19,6 +19,7 @@ export default defineUserConfig({ description: 'Visualize your ideas with Vue Flow, a highly customizable Vue3 Flowchart library.', head: head as HeadConfig[], + dest: resolve(__dirname, '../../dist'), bundler: '@vuepress/bundler-vite', bundlerConfig: { viteOptions: { diff --git a/package.json b/package.json index e9125ad2..c0f53c40 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "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" + "lint": "yarn turbo run lint", + "typedocs": "yarn turbo run typedoc" }, "devDependencies": { "@antfu/eslint-config": "^0.9.0", diff --git a/turbo.json b/turbo.json index 18959f88..2087479e 100644 --- a/turbo.json +++ b/turbo.json @@ -4,17 +4,17 @@ "pipeline": { "build": { "dependsOn": ["^build", "types", "theme"], - "outputs": ["dist/**", ".vuepress/dist/**"] + "outputs": ["dist/**"] }, "types": { - "outputs": [] + "outputs": ["dist/**"] }, "typedoc": { "dependsOn": ["types"] }, "theme": { - "outputs": [] + "outputs": ["dist/**"] }, "test": {