refactor: remove docs from build process and use separate script
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -24,6 +24,10 @@
|
||||
"dev": {
|
||||
"dependsOn": ["^build"],
|
||||
"cache": false
|
||||
},
|
||||
"docs": {
|
||||
"dependsOn": ["^build"],
|
||||
"outputs": ["dist/**"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user