jamdesk 1.1.21 → 1.1.22
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.22",
|
|
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",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"vendored/schema/",
|
|
75
75
|
"vendored/next.config.js",
|
|
76
76
|
"vendored/tailwind.config.ts",
|
|
77
|
-
"vendored/postcss.config.
|
|
77
|
+
"vendored/postcss.config.mjs",
|
|
78
78
|
"vendored/tsconfig.json",
|
|
79
79
|
"README.md",
|
|
80
80
|
"LICENSE",
|
package/vendored/app/globals.css
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
@import "tailwindcss";
|
|
2
2
|
|
|
3
|
+
/* Import base shared styles */
|
|
4
|
+
@import "../themes/base.css";
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
* Theme loading strategy:
|
|
8
|
+
* - Jam theme (default): loaded here via @import
|
|
9
|
+
* - Other themes: loaded dynamically via <style> tag in layout.tsx
|
|
10
|
+
*
|
|
11
|
+
* This means jam's CSS is always present, but jam-specific styles (like the
|
|
12
|
+
* background gradient) are scoped to body[data-theme="jam"] so they don't
|
|
13
|
+
* affect other themes.
|
|
14
|
+
*/
|
|
15
|
+
@import "../themes/jam/variables.css";
|
|
16
|
+
|
|
3
17
|
/*
|
|
4
18
|
* Light/Dark mode image utilities
|
|
5
19
|
* These utilities enable showing different images based on theme.
|
|
@@ -21,17 +35,3 @@ img.inline-block { display: inline-block !important; }
|
|
|
21
35
|
.dark img.dark\:inline-block, .dark .dark\:inline-block { display: inline-block !important; }
|
|
22
36
|
|
|
23
37
|
/* Shiki handles syntax highlighting via CSS variables - no theme import needed */
|
|
24
|
-
|
|
25
|
-
/* Import base shared styles */
|
|
26
|
-
@import "../themes/base.css";
|
|
27
|
-
|
|
28
|
-
/*
|
|
29
|
-
* Theme loading strategy:
|
|
30
|
-
* - Jam theme (default): loaded here via @import
|
|
31
|
-
* - Other themes: loaded dynamically via <style> tag in layout.tsx
|
|
32
|
-
*
|
|
33
|
-
* This means jam's CSS is always present, but jam-specific styles (like the
|
|
34
|
-
* background gradient) are scoped to body[data-theme="jam"] so they don't
|
|
35
|
-
* affect other themes.
|
|
36
|
-
*/
|
|
37
|
-
@import "../themes/jam/variables.css";
|
package/vendored/app/layout.tsx
CHANGED
|
@@ -389,7 +389,7 @@ export default async function RootLayout({
|
|
|
389
389
|
{config.integrations?.posthog && (
|
|
390
390
|
<link rel="dns-prefetch" href={config.integrations.posthog.apiHost || "https://app.posthog.com"} />
|
|
391
391
|
)}
|
|
392
|
-
{(config.integrations?.plausible?.domain || config.integrations?.plausible?.scriptUrl) && (
|
|
392
|
+
{process.env.NODE_ENV === 'production' && (config.integrations?.plausible?.domain || config.integrations?.plausible?.scriptUrl) && (
|
|
393
393
|
<link rel="dns-prefetch" href={(() => {
|
|
394
394
|
try {
|
|
395
395
|
return config.integrations!.plausible!.scriptUrl
|
|
@@ -504,8 +504,8 @@ export default async function RootLayout({
|
|
|
504
504
|
{customCss && (
|
|
505
505
|
<style dangerouslySetInnerHTML={{ __html: customCss }} />
|
|
506
506
|
)}
|
|
507
|
-
{/* Plausible Analytics */}
|
|
508
|
-
{(config.integrations?.plausible?.domain || config.integrations?.plausible?.scriptUrl) && (
|
|
507
|
+
{/* Plausible Analytics — production only; dev injection would spam "Ignoring Event: localhost" */}
|
|
508
|
+
{process.env.NODE_ENV === 'production' && (config.integrations?.plausible?.domain || config.integrations?.plausible?.scriptUrl) && (
|
|
509
509
|
<PlausibleScript
|
|
510
510
|
domain={config.integrations.plausible.domain}
|
|
511
511
|
server={config.integrations.plausible.server}
|