* fix(org): serve OG images from CDN for Discord embeds Discord times out on slow dynamic OG generation (~3-5s). Persist generated images to R2, point meta tags at the media CDN, and warm the API endpoint on org-site page loads so crawlers get a fast static PNG URL. Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com> * docs: add org-site Open Graph and favicon guides Document user-facing sharing behavior and contributor architecture for dynamic OG images, favicon fallback, R2/CDN caching, and embed cache invalidation. Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com> * fix(org-site): address PR review on OG CDN fallback and docs - Fall back to API OG URL when CDN object is not yet available (HEAD check) - Cancel warm-fetch response body to avoid connection pool exhaustion - Align tenant-router OG edge cache TTL with one-hour API revalidation - Fix favicon docs navigation and add Custom Domain tab screenshot - Replace Chiberry Artistry example with AI Academy Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com> * fix(org-site): accept docker hostnames for OG warm URL Use isValidHttpUrl for PRIVATE_SERVER_URL so internal values like http://api:3081 work for SSR warm fetches in Docker Compose. 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>
88 lines
2.3 KiB
JSON
88 lines
2.3 KiB
JSON
{
|
|
"name": "@cio/utils",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./constants": {
|
|
"types": "./dist/constants/index.d.ts",
|
|
"default": "./dist/constants/index.js"
|
|
},
|
|
"./constants/*": {
|
|
"types": "./dist/constants/*.d.ts",
|
|
"default": "./dist/constants/*.js"
|
|
},
|
|
"./plans": {
|
|
"types": "./dist/plans/index.d.ts",
|
|
"default": "./dist/plans/index.js"
|
|
},
|
|
"./senja": {
|
|
"types": "./dist/senja/index.d.ts",
|
|
"default": "./dist/senja/index.js"
|
|
},
|
|
"./agent-models": {
|
|
"types": "./dist/agent-models/index.d.ts",
|
|
"default": "./dist/agent-models/index.js"
|
|
},
|
|
"./validation": {
|
|
"types": "./dist/validation/index.d.ts",
|
|
"default": "./dist/validation/index.js"
|
|
},
|
|
"./validation/constants": {
|
|
"types": "./dist/validation/constants.d.ts",
|
|
"default": "./dist/validation/constants.js"
|
|
},
|
|
"./validation/*": {
|
|
"types": "./dist/validation/*/index.d.ts",
|
|
"default": "./dist/validation/*/index.js"
|
|
},
|
|
"./functions": {
|
|
"types": "./dist/functions/index.d.ts",
|
|
"default": "./dist/functions/index.js"
|
|
},
|
|
"./functions/*": {
|
|
"types": "./dist/functions/*.d.ts",
|
|
"default": "./dist/functions/*.js"
|
|
},
|
|
"./errors": {
|
|
"types": "./dist/errors/index.d.ts",
|
|
"default": "./dist/errors/index.js"
|
|
},
|
|
"./config/upload-limits": {
|
|
"types": "./dist/config/upload-limits.d.ts",
|
|
"default": "./dist/config/upload-limits.js"
|
|
},
|
|
"./openapi/public-api": {
|
|
"types": "./dist/openapi/public-api.d.ts",
|
|
"default": "./dist/openapi/public-api.js"
|
|
},
|
|
"./org-site/og-public-url": {
|
|
"types": "./dist/org-site/og-public-url.d.ts",
|
|
"default": "./dist/org-site/og-public-url.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc && tsc-alias",
|
|
"dev": "tsc --watch",
|
|
"format": "prettier --write ."
|
|
},
|
|
"peerDependencies": {
|
|
"zod": "^4.1.8"
|
|
},
|
|
"dependencies": {
|
|
"@cio/question-types": "workspace:*",
|
|
"@cio/tsconfig": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"tsc-alias": "^1.8.16",
|
|
"tsx": "^4.7.1",
|
|
"typescript": "^5.5.2",
|
|
"zod": "^4.1.8"
|
|
}
|
|
}
|