@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.
- package/dist/node/{chunk-XAX53RY5.js → chunk-4QTRXPEL.js} +1 -1
- package/dist/node/cli/index.d.ts +1 -1
- package/dist/node/core/config.d.ts +1 -1
- package/dist/node/core/llms-txt.d.ts +2 -1
- package/dist/node/core/mermaid-renderer.d.ts +2 -1
- package/dist/node/core/mermaid-renderer.js +1 -1
- package/dist/node/core/openapi-parser.d.ts +2 -1
- package/dist/node/core/search.d.ts +2 -1
- package/dist/node/node/build.js +2 -2
- package/dist/node/node/check.d.ts +2 -1
- package/dist/node/node/index.js +2 -2
- package/dist/node/node/init.d.ts +2 -1
- package/dist/node/presets/nestjs.d.ts +2 -1
- package/dist/node/types/index.d.ts +2 -1
- package/dist/node/vite-plugin/index.js +1 -1
- package/package.json +31 -28
- /package/dist/node/{chunk-LVPVSOXK.js → chunk-35M23K47.js} +0 -0
package/dist/node/cli/index.d.ts
CHANGED
|
@@ -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 {
|
|
54
|
+
export { generateLlmsFullTxt, generateLlmsTxt, readMarkdownFile };
|
|
55
|
+
export type { LlmsDocEntry };
|
|
@@ -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@
|
|
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 {
|
|
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 {
|
|
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 };
|
package/dist/node/node/build.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSite
|
|
3
|
-
} from "../chunk-
|
|
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-
|
|
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 {
|
|
14
|
+
export { VALID_STATUSES, VALID_TYPES, checkFrontmatter, checkLinks };
|
|
15
|
+
export type { CheckOptions };
|
package/dist/node/node/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSite
|
|
3
|
-
} from "../chunk-
|
|
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-
|
|
11
|
+
} from "../chunk-35M23K47.js";
|
|
12
12
|
import "../chunk-B2Q23JW3.js";
|
|
13
13
|
import {
|
|
14
14
|
init
|
package/dist/node/node/init.d.ts
CHANGED
|
@@ -217,4 +217,5 @@ interface ClearifyDataConfig {
|
|
|
217
217
|
}
|
|
218
218
|
declare function defineConfig(config: Partial<ClearifyConfig>): Partial<ClearifyConfig>;
|
|
219
219
|
|
|
220
|
-
export {
|
|
220
|
+
export { defineConfig };
|
|
221
|
+
export type { ClearifyConfig, ClearifyDataConfig, DocStatus, DocType, HubConfig, HubProject, HubProjectPartial, HubProjectPlacement, HubProjectSource, NavigationItem, PageFrontmatter, RemoteGitSource, ResolvedSection, RouteEntry, SectionConfig, SectionNavigation };
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.2.
|
|
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.
|
|
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.
|
|
43
|
-
"@shikijs/rehype": "^3.
|
|
44
|
-
"@tailwindcss/typography": "^0.5.
|
|
45
|
-
"@tailwindcss/vite": "^4.
|
|
46
|
-
"@vitejs/plugin-react": "^4.
|
|
47
|
-
"autoprefixer": "^10.
|
|
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.
|
|
51
|
+
"globby": "^16.2.4",
|
|
52
52
|
"gray-matter": "^4.0.3",
|
|
53
53
|
"libsodium-wrappers": "^0.8.4",
|
|
54
|
-
"mermaid": "^
|
|
55
|
-
"postcss": "^8.5.
|
|
56
|
-
"react-router-dom": "^7.
|
|
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": "^
|
|
60
|
-
"shiki": "^3.
|
|
61
|
-
"tailwindcss": "^4.
|
|
62
|
-
"unist-util-visit": "^5.
|
|
63
|
-
"vite": "^6.
|
|
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.
|
|
78
|
-
"@commitlint/config-conventional": "^20.
|
|
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.
|
|
83
|
-
"@types/react": "^18.3.
|
|
84
|
-
"@types/react-dom": "^18.3.
|
|
85
|
-
"esbuild": "^0.
|
|
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.
|
|
88
|
-
"semantic-release": "^25.0.
|
|
89
|
-
"tsup": "^
|
|
90
|
-
"typescript": "^5.
|
|
91
|
-
"vitest": "^4.1.
|
|
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": {
|
|
File without changes
|