diff --git a/docs/package.json b/docs/package.json index 8548d813..6b70572b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "pnpm run typedoc:md && vitepress dev src", - "build": "pnpm run typedoc:md && vitepress build src", + "docs": "pnpm run typedoc:md && vitepress build src", "serve": "vitepress serve src", "lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .", "typedoc:md": "typedoc --options ./typedoc.md.json", diff --git a/package.json b/package.json index fdffe17d..3452c6da 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,10 @@ "dev": "pnpm --dir examples/vite dev", "docs": "pnpm --dir docs dev", "changelog": "git-cliff --output CHANGELOG.md && git add CHANGELOG.md && git commit -m \"chore: Update CHANGELOG.md\"", - "build": "turbo run build", - "test": "turbo run test", - "lint": "turbo run lint", + "build:docs": "turbo docs", + "build": "turbo build", + "test": "turbo test", + "lint": "turbo lint", "typedocs": "turbo run build && pnpm --dir docs typedocs", "ci:version": "changeset version", "ci:publish": "turbo lint && turbo build && turbo test && changeset publish" diff --git a/turbo.json b/turbo.json index 2eadc965..1f355c73 100644 --- a/turbo.json +++ b/turbo.json @@ -24,6 +24,10 @@ "dev": { "dependsOn": ["^build"], "cache": false + }, + "docs": { + "dependsOn": ["^build"], + "outputs": ["dist/**"] } } }