docs: add api doc

This commit is contained in:
2023-07-05 11:16:46 +02:00
parent 11c9d742cd
commit 16a039a16e
12 changed files with 115 additions and 1707 deletions

View File

@@ -12,7 +12,7 @@
"changeset:status": "changeset status",
"deploy": "dotenv -c -- turbo run deploy --concurrency=1",
"dev": "dotenv -c -- turbo run dev",
"docs": "dotenv -c -- turbo run docs && typedoc",
"docs": "dotenv -c -- turbo run docs && typedoc && mkdir docs/api && cp packages/core/lib/api-doc.html docs/api/index.html && cp packages/core/lib/openapi.json docs/api/openapi.json && cp -r packages/core/lib/schema docs/api/schema",
"format": "dotenv -c -- turbo run format",
"format:fix": "dotenv -c -- turbo run format:fix",
"lint": "dotenv -c -- turbo run lint",