* fix(automation): align public API plan gating across cloud and self-hosted Add shared canUsePublicApi helper so cloud allows Early Adopter and Enterprise while self-hosted requires Enterprise. Update the API key dashboard page and backend key creation checks to use the same rules. Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com> * docs(api): document bearer auth on public API reference Add shared OpenAPI enrichment with bearerAuth security scheme and authentication instructions. The interactive reference now loads an enriched spec with Authorize support, and the API guide explains how to create and use org API keys. Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com> * feat(dashboard): add API quick-start code snippets on automation page Mirror the MCP client setup section with cURL, JavaScript, and Python examples that show how to authenticate public API requests with org keys. Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com> * ci(openapi): republish spec when public API OpenAPI helpers change Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com> * feat(dashboard): add Go snippet to API quick-start examples Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com> * docs(api): use /org/*/api and clarify dashboard key generation path Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com> * fix(api): escape backticks in OpenAPI description template literal Greptile flagged that unescaped backticks around * in PUBLIC_API_OPENAPI_DESCRIPTION evaluated to NaN and dropped auth docs from the Scalar spec. Also use plan-specific snackbar message on upgrade. Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com>
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"name": "@cio/docs",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "react-router dev",
|
|
"build": "react-router build",
|
|
"preview": "wrangler dev --port 4173",
|
|
"start": "wrangler dev --port 3000",
|
|
"deploy": "pnpm run build && wrangler deploy",
|
|
"cf-typegen": "wrangler types && react-router typegen",
|
|
"types:check": "fumadocs-mdx && wrangler types && react-router typegen && tsc --noEmit",
|
|
"postinstall": "fumadocs-mdx"
|
|
},
|
|
"dependencies": {
|
|
"@cio/utils": "workspace:*",
|
|
"@scalar/core": "^0.3.28",
|
|
"@react-router/dev": "^7.9.4",
|
|
"fumadocs-core": "16.2.1",
|
|
"fumadocs-mdx": "14.0.4",
|
|
"fumadocs-ui": "16.2.1",
|
|
"isbot": "^5.1.30",
|
|
"lucide-react": "^0.562.0",
|
|
"lucide-static": "^0.552.0",
|
|
"react": "^19.2.0",
|
|
"react-router": "^7.9.4",
|
|
"react-dom": "^19.2.0",
|
|
"tailwind-merge": "^3.3.1",
|
|
"vite": "^7.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vite-plugin": "1.15.3",
|
|
"@tailwindcss/vite": "^4.1.16",
|
|
"@types/mdx": "^2.0.13",
|
|
"@types/node": "^24.10.0",
|
|
"@types/react": "^19.2.2",
|
|
"@types/react-dom": "^19.2.2",
|
|
"tailwindcss": "^4.1.16",
|
|
"typescript": "^5.9.3",
|
|
"vite-tsconfig-paths": "^5.1.4",
|
|
"wrangler": "4.86.0"
|
|
},
|
|
"engines": {
|
|
"node": "^20.19.3"
|
|
}
|
|
}
|