jamdesk 1.1.77 → 1.1.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamdesk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.78",
|
|
4
4
|
"description": "CLI for Jamdesk — build, preview, and deploy documentation sites from MDX. Dev server with hot reload, 50+ components, OpenAPI support, AI search, and Mintlify migration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jamdesk",
|
|
@@ -451,13 +451,20 @@ export async function renderDocPage(input: RenderInput): Promise<ReactElement> {
|
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
454
|
+
// Gate on VERCEL_REGION so the telemetry only fires in Vercel runtime
|
|
455
|
+
// (production + preview). In `jamdesk dev` the structured JSON would
|
|
456
|
+
// pollute the user's terminal on every page render. `[r2-timing]` logs
|
|
457
|
+
// are kept out of CLI dev by stubbing `lib/r2-content.ts`; this is the
|
|
458
|
+
// equivalent guard for `[render-timing]`, which has no R2 dependency.
|
|
459
|
+
if (process.env.VERCEL_REGION) {
|
|
460
|
+
logger.info('[render-timing]', {
|
|
461
|
+
region: process.env.VERCEL_REGION,
|
|
462
|
+
pagePath,
|
|
463
|
+
snippetInlineMs,
|
|
464
|
+
openApiMs,
|
|
465
|
+
openApiCandidates,
|
|
466
|
+
});
|
|
467
|
+
}
|
|
461
468
|
|
|
462
469
|
let mdxApiMethod: HttpMethod | null = null;
|
|
463
470
|
let mdxApiPath: string | null = null;
|