@marlinjai/clearify 2.2.1 → 2.2.2

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.
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-TVDWHKQF.js";
13
13
  import {
14
14
  clearifyPlugin
15
- } from "./chunk-LVPVSOXK.js";
15
+ } from "./chunk-35M23K47.js";
16
16
  import {
17
17
  loadUserConfig,
18
18
  resolveConfig,
@@ -1,2 +1,2 @@
1
1
 
2
- export { }
2
+ export { };
@@ -9,9 +9,9 @@ declare const ClearifyDataSchema: z.ZodObject<{
9
9
  theme: z.ZodOptional<z.ZodObject<{
10
10
  primaryColor: z.ZodOptional<z.ZodString>;
11
11
  mode: z.ZodOptional<z.ZodEnum<{
12
- auto: "auto";
13
12
  light: "light";
14
13
  dark: "dark";
14
+ auto: "auto";
15
15
  }>>;
16
16
  }, z.core.$strip>>;
17
17
  logo: z.ZodOptional<z.ZodObject<{
@@ -51,4 +51,5 @@ declare function generateLlmsFullTxt(config: ClearifyConfig, docs: LlmsDocEntry[
51
51
  */
52
52
  declare function readMarkdownFile(filePath: string): string;
53
53
 
54
- export { type LlmsDocEntry, generateLlmsFullTxt, generateLlmsTxt, readMarkdownFile };
54
+ export { generateLlmsFullTxt, generateLlmsTxt, readMarkdownFile };
55
+ export type { LlmsDocEntry };
@@ -19,4 +19,5 @@ declare class MermaidRenderer {
19
19
  private static loadPuppeteer;
20
20
  }
21
21
 
22
- export { MermaidRenderer, type RenderedMermaid };
22
+ export { MermaidRenderer };
23
+ export type { RenderedMermaid };
@@ -22,7 +22,7 @@ var MermaidRenderer = class _MermaidRenderer {
22
22
  <html><head></head><body>
23
23
  <div id="container"></div>
24
24
  <script type="module">
25
- import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
25
+ import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@12/dist/mermaid.esm.min.mjs';
26
26
  window.__mermaid = mermaid;
27
27
  window.__mermaidReady = true;
28
28
  </script>
@@ -11,4 +11,5 @@ interface OpenAPITagGroup {
11
11
  }
12
12
  declare function parseOpenAPISpec(spec: Record<string, any>): OpenAPITagGroup[];
13
13
 
14
- export { type OpenAPIOperation, type OpenAPITagGroup, parseOpenAPISpec };
14
+ export { parseOpenAPISpec };
15
+ export type { OpenAPIOperation, OpenAPITagGroup };
@@ -40,4 +40,5 @@ interface RootFileOptions {
40
40
  }
41
41
  declare function buildSectionData(section: ResolvedSection, rootFiles?: RootFileOptions, customNavigation?: NavigationItem[] | null): SectionData;
42
42
 
43
- export { type DocFile as D, type RootFileOptions as R, type SectionData as S, type SearchEntry, buildRoutes as a, buildNavigation as b, buildSearchIndex, buildSectionData as c, inferDocType as i, scanDocs as s };
43
+ export { buildRoutes as a, buildNavigation as b, buildSearchIndex, buildSectionData as c, inferDocType as i, scanDocs as s };
44
+ export type { DocFile as D, RootFileOptions as R, SectionData as S, SearchEntry };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  buildSite
3
- } from "../chunk-XAX53RY5.js";
3
+ } from "../chunk-4QTRXPEL.js";
4
4
  import "../chunk-PRTER35L.js";
5
5
  import "../chunk-SCZZB7OE.js";
6
6
  import "../chunk-TVDWHKQF.js";
7
- import "../chunk-LVPVSOXK.js";
7
+ import "../chunk-35M23K47.js";
8
8
  import "../chunk-B2Q23JW3.js";
9
9
  import "../chunk-ZWF6VCSQ.js";
10
10
  import "../chunk-AJBCHKBP.js";
@@ -11,4 +11,5 @@ declare function checkFrontmatter(): Promise<{
11
11
  }>;
12
12
  declare function checkLinks(options?: CheckOptions): Promise<void>;
13
13
 
14
- export { type CheckOptions, VALID_STATUSES, VALID_TYPES, checkFrontmatter, checkLinks };
14
+ export { VALID_STATUSES, VALID_TYPES, checkFrontmatter, checkLinks };
15
+ export type { CheckOptions };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildSite
3
- } from "../chunk-XAX53RY5.js";
3
+ } from "../chunk-4QTRXPEL.js";
4
4
  import {
5
5
  remarkMermaidToComponent
6
6
  } from "../chunk-PRTER35L.js";
@@ -8,7 +8,7 @@ import "../chunk-SCZZB7OE.js";
8
8
  import "../chunk-TVDWHKQF.js";
9
9
  import {
10
10
  clearifyPlugin
11
- } from "../chunk-LVPVSOXK.js";
11
+ } from "../chunk-35M23K47.js";
12
12
  import "../chunk-B2Q23JW3.js";
13
13
  import {
14
14
  init
@@ -21,4 +21,5 @@ interface InitOptions {
21
21
  }
22
22
  declare function init(options?: InitOptions): Promise<void>;
23
23
 
24
- export { type InitOptions, init };
24
+ export { init };
25
+ export type { InitOptions };
@@ -12,4 +12,5 @@ interface NestJSPresetOptions {
12
12
  }
13
13
  declare function generateSpec(options?: NestJSPresetOptions): Promise<void>;
14
14
 
15
- export { type NestJSPresetOptions, generateSpec };
15
+ export { generateSpec };
16
+ export type { NestJSPresetOptions };
@@ -217,4 +217,5 @@ interface ClearifyDataConfig {
217
217
  }
218
218
  declare function defineConfig(config: Partial<ClearifyConfig>): Partial<ClearifyConfig>;
219
219
 
220
- export { type ClearifyConfig, type ClearifyDataConfig, type DocStatus, type DocType, type HubConfig, type HubProject, type HubProjectPartial, type HubProjectPlacement, type HubProjectSource, type NavigationItem, type PageFrontmatter, type RemoteGitSource, type ResolvedSection, type RouteEntry, type SectionConfig, type SectionNavigation, defineConfig };
220
+ export { defineConfig };
221
+ export type { ClearifyConfig, ClearifyDataConfig, DocStatus, DocType, HubConfig, HubProject, HubProjectPartial, HubProjectPlacement, HubProjectSource, NavigationItem, PageFrontmatter, RemoteGitSource, ResolvedSection, RouteEntry, SectionConfig, SectionNavigation };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  clearifyPlugin
3
- } from "../chunk-LVPVSOXK.js";
3
+ } from "../chunk-35M23K47.js";
4
4
  import "../chunk-B2Q23JW3.js";
5
5
  import "../chunk-ZWF6VCSQ.js";
6
6
  import "../chunk-AJBCHKBP.js";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "2.2.1",
6
+ "version": "2.2.2",
7
7
  "description": "An open-source documentation site generator. Turn markdown into beautiful docs.",
8
8
  "type": "module",
9
9
  "bin": {
@@ -36,31 +36,31 @@
36
36
  "check:roadmap": "npx --yes github:marlinjai/actions-shared#roadmap-check-v1 --root ."
37
37
  },
38
38
  "dependencies": {
39
- "@inquirer/password": "^5.0.11",
39
+ "@inquirer/password": "^5.2.5",
40
40
  "@mdx-js/react": "^3.1.1",
41
41
  "@mdx-js/rollup": "^3.1.1",
42
- "@scalar/openapi-parser": "^0.10.7",
43
- "@shikijs/rehype": "^3.22.0",
44
- "@tailwindcss/typography": "^0.5.19",
45
- "@tailwindcss/vite": "^4.1.18",
46
- "@vitejs/plugin-react": "^4.3.4",
47
- "autoprefixer": "^10.4.24",
42
+ "@scalar/openapi-parser": "^0.10.17",
43
+ "@shikijs/rehype": "^3.23.0",
44
+ "@tailwindcss/typography": "^0.5.20",
45
+ "@tailwindcss/vite": "^4.3.5",
46
+ "@vitejs/plugin-react": "^4.7.0",
47
+ "autoprefixer": "^10.6.2",
48
48
  "cac": "^6.7.14",
49
49
  "clsx": "^2.1.1",
50
50
  "flexsearch": "^0.8.212",
51
- "globby": "^16.1.0",
51
+ "globby": "^16.2.4",
52
52
  "gray-matter": "^4.0.3",
53
53
  "libsodium-wrappers": "^0.8.4",
54
- "mermaid": "^11.0.0",
55
- "postcss": "^8.5.6",
56
- "react-router-dom": "^7.13.0",
54
+ "mermaid": "^12.3.0",
55
+ "postcss": "^8.5.32",
56
+ "react-router-dom": "^7.18.5",
57
57
  "remark-frontmatter": "^5.0.0",
58
58
  "remark-gfm": "^4.0.1",
59
- "remark-mdx-frontmatter": "^5.2.0",
60
- "shiki": "^3.22.0",
61
- "tailwindcss": "^4.1.18",
62
- "unist-util-visit": "^5.0.0",
63
- "vite": "^6.1.0",
59
+ "remark-mdx-frontmatter": "^6.0.0",
60
+ "shiki": "^3.23.0",
61
+ "tailwindcss": "^4.3.5",
62
+ "unist-util-visit": "^5.2.0",
63
+ "vite": "^6.4.5",
64
64
  "zod": "^4.6.7"
65
65
  },
66
66
  "peerDependencies": {
@@ -74,23 +74,26 @@
74
74
  }
75
75
  },
76
76
  "devDependencies": {
77
- "@commitlint/cli": "^20.4.3",
78
- "@commitlint/config-conventional": "^20.4.3",
77
+ "@commitlint/cli": "^20.5.3",
78
+ "@commitlint/config-conventional": "^20.5.3",
79
79
  "@semantic-release/changelog": "^6.0.3",
80
80
  "@semantic-release/git": "^10.0.1",
81
81
  "@types/mdast": "^4.0.4",
82
- "@types/node": "^25.2.2",
83
- "@types/react": "^18.3.18",
84
- "@types/react-dom": "^18.3.5",
85
- "esbuild": "^0.27.3",
82
+ "@types/node": "^25.9.9",
83
+ "@types/react": "^18.3.31",
84
+ "@types/react-dom": "^18.3.7",
85
+ "esbuild": "^0.28.2",
86
86
  "husky": "^9.1.7",
87
- "puppeteer": "^25.0.0",
88
- "semantic-release": "^25.0.3",
89
- "tsup": "^8.3.6",
90
- "typescript": "^5.7.3",
91
- "vitest": "^4.1.4"
87
+ "puppeteer": "^25.16.0",
88
+ "semantic-release": "^25.0.9",
89
+ "tsup": "^9.0.0",
90
+ "typescript": "^5.9.3",
91
+ "vitest": "^4.1.12"
92
92
  },
93
93
  "packageManager": "pnpm@9.15.0",
94
+ "engines": {
95
+ "node": "^22.18.0 || >=24.11.0"
96
+ },
94
97
  "license": "MIT",
95
98
  "author": "MarlinJai",
96
99
  "repository": {