Skip to content

Commit

Permalink
chore: run pnpm run build before typedoc to avoid type errors (#266)
Browse files Browse the repository at this point in the history
I noticed earlier today that running `pnpm run docs` fails with a bunch
of typescript errors unless you run `pnpm run build` first.

This just updates the `docs` npm script to `pnpm run build && typedoc
--out docs`, so we'll always have build output to make typedoc happy.
  • Loading branch information
yusefnapora committed Dec 9, 2022
1 parent 3d1779e commit 53bf826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "pnpm -r --if-present run test",
"check": "pnpm -r --if-present run check",
"build": "pnpm -r --if-present run build",
"docs": "typedoc --out docs"
"docs": "pnpm run build && typedoc --out docs"
},
"devDependencies": {
"lint-staged": "^13.0.4",
Expand Down

0 comments on commit 53bf826

Please sign in to comment.