jamdesk 1.0.22 → 1.0.23

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.0.22",
3
+ "version": "1.0.23",
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",
@@ -39,8 +39,7 @@
39
39
  },
40
40
  "repository": {
41
41
  "type": "git",
42
- "url": "git+https://github.com/jamdesk/jamdesk.git",
43
- "directory": "builder/cli"
42
+ "url": "git+https://github.com/jamdesk/jamdesk-cli.git"
44
43
  },
45
44
  "license": "Apache-2.0",
46
45
  "author": {
@@ -377,6 +377,9 @@ export default async function RootLayout({
377
377
  }
378
378
  })()} />
379
379
  )}
380
+ {config.integrations?.crisp && (
381
+ <link rel="dns-prefetch" href="https://client.crisp.chat" />
382
+ )}
380
383
  {config.integrations?.intercom && (
381
384
  <link rel="dns-prefetch" href="https://widget.intercom.io" />
382
385
  )}
@@ -504,6 +507,14 @@ export default async function RootLayout({
504
507
  <CodeBlockCopyButton />
505
508
  <HeaderLinkCopy />
506
509
  </ThemeProvider>
510
+ {/* Crisp Chat */}
511
+ {config.integrations?.crisp?.websiteId && (
512
+ <script
513
+ dangerouslySetInnerHTML={{
514
+ __html: `window.$crisp=[];window.CRISP_WEBSITE_ID="${config.integrations.crisp.websiteId}";(function(){var d=document;var s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s)})();`,
515
+ }}
516
+ />
517
+ )}
507
518
  {/* Custom JavaScript - loaded at end of body */}
508
519
  {/* Custom JS comes from R2 via assets API with project context */}
509
520
  {config._hasCustomJs && (
@@ -588,6 +588,7 @@ export interface IntegrationsConfig {
588
588
  heap?: { appId: string };
589
589
  hightouch?: { writeKey: string; apiHost?: string };
590
590
  hotjar?: { hjid: string; hjsv: string };
591
+ crisp?: { websiteId: string };
591
592
  intercom?: { appId: string };
592
593
  koala?: { publicApiKey: string };
593
594
  logrocket?: { appId: string };
@@ -1040,6 +1040,19 @@
1040
1040
  ],
1041
1041
  "additionalProperties": false
1042
1042
  },
1043
+ "crisp": {
1044
+ "type": "object",
1045
+ "properties": {
1046
+ "websiteId": {
1047
+ "type": "string",
1048
+ "minLength": 8
1049
+ }
1050
+ },
1051
+ "required": [
1052
+ "websiteId"
1053
+ ],
1054
+ "additionalProperties": false
1055
+ },
1043
1056
  "intercom": {
1044
1057
  "type": "object",
1045
1058
  "properties": {