diff --git a/package.json b/package.json index c015f9b..4de6031 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "demo:detached": "npm run test:build && node dist/examples/detached-full.js", "demo:otel": "npm run test:build && node dist/examples/demo-otel.js", "docs": "npm run docs:typedoc && npm run docs:build", - "preversion": "npm run docs && git add docs/api/", + "preversion": "npm run docs:typedoc && git add docs/api/", "prepublishOnly": "npm run build", "prepare": "husky", "docs:typedoc": "node -e \"require('node:fs').rmSync('docs/api',{recursive:true,force:true})\" && typedoc",