Skip to content

Commit

Permalink
Merge pull request #21 from rabbitholegg/sam/typedoc
Browse files Browse the repository at this point in the history
feat(sdk): set up docs tasks on main
  • Loading branch information
sammccord authored Jul 11, 2024
2 parents f75e6a6 + fdfb7af commit a7517f7
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ coverage
.cache
tsconfig.tsbuildinfo
.DS_Store
docs
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"lefthook": "^1.6.15",
"prettier": "^3.2.5",
"turbo": "^2.0.0",
"typedoc": "^0.26.4",
"typescript": "^5.3.3",
"vite": "^5.2.13",
"vitest": "^1.6.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"bench:ci": "CI=true vitest bench",
"clean": "rm -rf dist",
"test": "vitest dev",
"test:ci": "CI=true vitest --coverage"
"test:ci": "CI=true vitest --coverage",
"typedoc": "npx typedoc"
},
"devDependencies": {
"@boostxyz/evm": "workspace:*"
Expand Down
6 changes: 6 additions & 0 deletions packages/sdk/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
// Comments are supported, like tsconfig.json
"entryPoints": ["./src/index.ts"],
"exclude": ["./test", "./src/**/*.test.ts"],
"out": "docs"
}
89 changes: 88 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"test:ci": {
"outputs": ["coverage/**"]
},
"typedoc": {
"inputs": ["src"],
"outputs": ["docs/**"]
},
"dev": {
"cache": false,
"persistent": true
Expand Down

0 comments on commit a7517f7

Please sign in to comment.