Skip to content

Commit 82839d5

Browse files
committed
fix(ci): add missing _docs:api:html npm script
The workflow tried to run _docs:api:html defined in turbo.json, but the corresponding npm script was missing from package.json. This caused the docs build to fail silently with 'site/ directory not found' when upload-pages-artifact tried to archive the output. Added _docs:api:html script that runs typedoc (configured to output to site/ via typedoc.json).
1 parent 2b139a6 commit 82839d5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"schema": "turbo run _schema",
4646
"test": "turbo run _test",
4747
"test:coverage": "turbo run _test:coverage",
48-
"docs": "turbo run _docs:cli _docs:api",
48+
"docs": "turbo run _docs:cli _docs:api:html",
4949
"docs:serve": "typedoc --watch --serve",
5050
"lint": "turbo run _lint",
5151
"spm": "tsx src/cli/index.ts",
@@ -57,6 +57,7 @@
5757
"_test:coverage": "c8 --src src --exclude 'src/cli/**' --exclude 'src/generate-schema.ts' tsx --test tests/*.test.ts",
5858
"_docs:cli": "tsx scripts/generate-cli-docs.ts",
5959
"_docs:api": "typedoc",
60+
"_docs:api:html": "typedoc",
6061
"prepare": "husky"
6162
},
6263
"dependencies": {

0 commit comments

Comments
 (0)