Skip to content

Commit

Permalink
feat: auto generate api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Apr 11, 2023
1 parent 8238eb5 commit 70b9fbd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
"build": "turbo run build",
"preview": "turbo run preview",
"lint": "turbo run lint",
"doc":"turbo run doc",
"md":"turbo run md",
"apidev":"turbo run apidev",
"apibuild":"turbo run apibuild"
"doc": "turbo run doc",
"md": "turbo run md",
"apidev": "pnpm md && turbo run apidev --filter zhi-docs",
"apibuild": "pnpm md && turbo run apibuild --filter zhi-docs",
"vercelbuild": "pnpm apibuild"
},
"devDependencies": {
"turbo": "latest"
Expand Down
8 changes: 2 additions & 6 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@
"md": {
"dependsOn": ["^doc"]
},
"apidev": {
"dependsOn": ["^md"]
},
"apibuild": {
"dependsOn": ["^md"]
}
"apidev": {},
"apibuild": {}
}
}

0 comments on commit 70b9fbd

Please sign in to comment.