From e77996b101d65c7a78e6e3002d128c2083b0c73f Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Thu, 28 Aug 2025 12:47:47 -0600 Subject: [PATCH] Fix API docs generation The recent addition of `web3` as a development dependency broke `yarn build:docs`, which generates API docs via TypeDoc and is run when a new version of the package is published. Curiously, `yarn build` continues to work. It seems that TypeDoc is using the development variant of the TypeScript configuration file instead of the build variant, which `yarn build` uses internally. The build variant limits the scope of TypeScript to just files within `src`, hiding dependencies. Correcting the TypeDoc config to use this file fixes the issue. --- typedoc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/typedoc.json b/typedoc.json index b527b6257..01f874fb4 100644 --- a/typedoc.json +++ b/typedoc.json @@ -2,5 +2,6 @@ "entryPoints": ["./src/index.ts"], "excludePrivate": true, "hideGenerator": true, - "out": "docs" + "out": "docs", + "tsconfig": "tsconfig.build.json" }