nimbus-docs 0.1.4 → 0.1.6
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/cli/index.js +611 -8
- package/dist/cli/index.js.map +1 -1
- package/dist/client.js.map +1 -1
- package/dist/content.d.ts +142 -6
- package/dist/content.d.ts.map +1 -1
- package/dist/content.js.map +1 -1
- package/dist/diagnostic-C6OaBe_o.d.ts +133 -0
- package/dist/diagnostic-C6OaBe_o.d.ts.map +1 -0
- package/dist/index.d.ts +89 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +743 -161
- package/dist/index.js.map +1 -1
- package/dist/rules-DnAP-j89.js +5836 -0
- package/dist/rules-DnAP-j89.js.map +1 -0
- package/dist/schemas.d.ts +221 -12
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +9 -5
- package/dist/schemas.js.map +1 -1
- package/dist/{strict-keys-D06tc9YZ.js → strict-keys-BiXiT3pq.js} +1 -1
- package/dist/{strict-keys-D06tc9YZ.js.map → strict-keys-BiXiT3pq.js.map} +1 -1
- package/dist/types.d.ts +9 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +20 -4
package/dist/content.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from "astro/zod";
|
|
|
3
3
|
import * as astro_loaders0 from "astro/loaders";
|
|
4
4
|
|
|
5
5
|
//#region src/content.d.ts
|
|
6
|
-
interface DocsCollectionOptions {
|
|
6
|
+
interface DocsCollectionOptions<TFields extends Record<string, z.ZodTypeAny> = Record<string, never>> {
|
|
7
7
|
/**
|
|
8
8
|
* Directory under `src/content/` to load docs from.
|
|
9
9
|
* Default: `"docs"`.
|
|
@@ -18,8 +18,12 @@ interface DocsCollectionOptions {
|
|
|
18
18
|
* Extra fields merged into the default docs schema. Lets users add
|
|
19
19
|
* project-specific frontmatter (author, tags, etc.) without rebuilding
|
|
20
20
|
* the whole schema.
|
|
21
|
+
*
|
|
22
|
+
* Generic-typed so the call-site shape (`{ author: z.string() }`) is
|
|
23
|
+
* preserved through to the emitted entry data type — `entry.data.author`
|
|
24
|
+
* resolves to `string`, not `unknown`.
|
|
21
25
|
*/
|
|
22
|
-
schemaFields?:
|
|
26
|
+
schemaFields?: TFields;
|
|
23
27
|
}
|
|
24
28
|
interface PartialsCollectionOptions {
|
|
25
29
|
/**
|
|
@@ -37,11 +41,143 @@ interface PartialsCollectionOptions {
|
|
|
37
41
|
* Returns an Astro content-collection config (`{ loader, schema }`) for the
|
|
38
42
|
* docs collection. Pass to `defineCollection()`.
|
|
39
43
|
*/
|
|
40
|
-
declare function docsCollection(options?: DocsCollectionOptions): {
|
|
44
|
+
declare function docsCollection<TFields extends Record<string, z.ZodTypeAny> = Record<string, never>>(options?: DocsCollectionOptions<TFields>): {
|
|
41
45
|
loader: astro_loaders0.Loader;
|
|
42
|
-
schema: z.ZodObject<
|
|
43
|
-
|
|
44
|
-
|
|
46
|
+
schema: z.ZodObject<(("prev" | "next" | "title" | "description" | "mode" | "sidebar" | "head" | "banner" | "draft" | "noindex" | "searchable" | "tableOfContents" | "lastUpdated" | "socialImage" | "previousSlug") & keyof TFields extends never ? {
|
|
47
|
+
title: z.ZodString;
|
|
48
|
+
description: z.ZodOptional<z.ZodString>;
|
|
49
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
50
|
+
doc: "doc";
|
|
51
|
+
custom: "custom";
|
|
52
|
+
}>>;
|
|
53
|
+
sidebar: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
54
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
label: z.ZodOptional<z.ZodString>;
|
|
56
|
+
badge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
57
|
+
text: z.ZodString;
|
|
58
|
+
variant: z.ZodDefault<z.ZodEnum<{
|
|
59
|
+
success: "success";
|
|
60
|
+
default: "default";
|
|
61
|
+
info: "info";
|
|
62
|
+
note: "note";
|
|
63
|
+
tip: "tip";
|
|
64
|
+
warning: "warning";
|
|
65
|
+
caution: "caution";
|
|
66
|
+
danger: "danger";
|
|
67
|
+
}>>;
|
|
68
|
+
}, z.core.$strip>]>>;
|
|
69
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
+
hideChildren: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
+
}, z.core.$strip>]>>;
|
|
72
|
+
head: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
73
|
+
tag: z.ZodEnum<{
|
|
74
|
+
meta: "meta";
|
|
75
|
+
link: "link";
|
|
76
|
+
script: "script";
|
|
77
|
+
style: "style";
|
|
78
|
+
}>;
|
|
79
|
+
attrs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
80
|
+
content: z.ZodOptional<z.ZodString>;
|
|
81
|
+
}, z.core.$strip>>>;
|
|
82
|
+
banner: z.ZodOptional<z.ZodObject<{
|
|
83
|
+
content: z.ZodString;
|
|
84
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
85
|
+
note: "note";
|
|
86
|
+
tip: "tip";
|
|
87
|
+
caution: "caution";
|
|
88
|
+
danger: "danger";
|
|
89
|
+
}>>;
|
|
90
|
+
dismissible: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
days: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
draft: z.ZodDefault<z.ZodBoolean>;
|
|
96
|
+
noindex: z.ZodDefault<z.ZodBoolean>;
|
|
97
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
+
tableOfContents: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
99
|
+
minHeadingLevel: z.ZodDefault<z.ZodNumber>;
|
|
100
|
+
maxHeadingLevel: z.ZodDefault<z.ZodNumber>;
|
|
101
|
+
}, z.core.$strip>]>>;
|
|
102
|
+
lastUpdated: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
103
|
+
socialImage: z.ZodOptional<z.ZodString>;
|
|
104
|
+
prev: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
105
|
+
link: z.ZodOptional<z.ZodString>;
|
|
106
|
+
label: z.ZodOptional<z.ZodString>;
|
|
107
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>;
|
|
108
|
+
next: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
109
|
+
link: z.ZodOptional<z.ZodString>;
|
|
110
|
+
label: z.ZodOptional<z.ZodString>;
|
|
111
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>;
|
|
112
|
+
previousSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
113
|
+
} & { -readonly [P in keyof TFields]: TFields[P] } : ({
|
|
114
|
+
title: z.ZodString;
|
|
115
|
+
description: z.ZodOptional<z.ZodString>;
|
|
116
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
117
|
+
doc: "doc";
|
|
118
|
+
custom: "custom";
|
|
119
|
+
}>>;
|
|
120
|
+
sidebar: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
121
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
label: z.ZodOptional<z.ZodString>;
|
|
123
|
+
badge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
124
|
+
text: z.ZodString;
|
|
125
|
+
variant: z.ZodDefault<z.ZodEnum<{
|
|
126
|
+
success: "success";
|
|
127
|
+
default: "default";
|
|
128
|
+
info: "info";
|
|
129
|
+
note: "note";
|
|
130
|
+
tip: "tip";
|
|
131
|
+
warning: "warning";
|
|
132
|
+
caution: "caution";
|
|
133
|
+
danger: "danger";
|
|
134
|
+
}>>;
|
|
135
|
+
}, z.core.$strip>]>>;
|
|
136
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
hideChildren: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
+
}, z.core.$strip>]>>;
|
|
139
|
+
head: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
140
|
+
tag: z.ZodEnum<{
|
|
141
|
+
meta: "meta";
|
|
142
|
+
link: "link";
|
|
143
|
+
script: "script";
|
|
144
|
+
style: "style";
|
|
145
|
+
}>;
|
|
146
|
+
attrs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
147
|
+
content: z.ZodOptional<z.ZodString>;
|
|
148
|
+
}, z.core.$strip>>>;
|
|
149
|
+
banner: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
content: z.ZodString;
|
|
151
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
152
|
+
note: "note";
|
|
153
|
+
tip: "tip";
|
|
154
|
+
caution: "caution";
|
|
155
|
+
danger: "danger";
|
|
156
|
+
}>>;
|
|
157
|
+
dismissible: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
days: z.ZodOptional<z.ZodNumber>;
|
|
160
|
+
}, z.core.$strip>>;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
draft: z.ZodDefault<z.ZodBoolean>;
|
|
163
|
+
noindex: z.ZodDefault<z.ZodBoolean>;
|
|
164
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
165
|
+
tableOfContents: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
166
|
+
minHeadingLevel: z.ZodDefault<z.ZodNumber>;
|
|
167
|
+
maxHeadingLevel: z.ZodDefault<z.ZodNumber>;
|
|
168
|
+
}, z.core.$strip>]>>;
|
|
169
|
+
lastUpdated: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
170
|
+
socialImage: z.ZodOptional<z.ZodString>;
|
|
171
|
+
prev: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
172
|
+
link: z.ZodOptional<z.ZodString>;
|
|
173
|
+
label: z.ZodOptional<z.ZodString>;
|
|
174
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>;
|
|
175
|
+
next: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
176
|
+
link: z.ZodOptional<z.ZodString>;
|
|
177
|
+
label: z.ZodOptional<z.ZodString>;
|
|
178
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>;
|
|
179
|
+
previousSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
180
|
+
} extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof TFields ? never : K]: T_1[K] } : never) & { [K_1 in keyof { -readonly [P in keyof TFields]: TFields[P] }]: { -readonly [P in keyof TFields]: TFields[P] }[K_1] }) extends infer T ? { [k in keyof T]: T[k] } : never, z.core.$strip>;
|
|
45
181
|
};
|
|
46
182
|
/**
|
|
47
183
|
* Returns an Astro content-collection config (`{ loader, schema }`) for the
|
package/dist/content.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","names":[],"sources":["../src/content.ts"],"mappings":";;;;;UAoCiB,qBAAA
|
|
1
|
+
{"version":3,"file":"content.d.ts","names":[],"sources":["../src/content.ts"],"mappings":";;;;;UAoCiB,qBAAA,iBACC,MAAA,SAAe,CAAA,CAAE,UAAA,IAAc,MAAA;EAqBzB;;AAGxB;;EAlBE,IAAA;EAuBA;;AAcF;;EAhCE,OAAA;EAiCiC;;;;;;;;;EAvBjC,YAAA,GAAe,OAAA;AAAA;AAAA,UAGA,yBAAA;;;;;EAKf,IAAA;;;;;EAKA,OAAA;AAAA;;;;;iBASc,cAAA,iBACE,MAAA,SAAe,CAAA,CAAE,UAAA,IAAc,MAAA,gBAAA,CAC/C,OAAA,GAAS,qBAAA,CAAsB,OAAA;UAAD,cAAA,CAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAehB,kBAAA,CAAmB,OAAA,GAAS,yBAAA;UAA8B,cAAA,CAAA,MAAA;;;;;UAUzD,2BAAA;;;;;EAKf,IAAA;;;;;EAKA,OAAA;AAAA;;;;;;;;;iBAWc,oBAAA,CAAqB,OAAA,GAAS,2BAAA;UAAgC,cAAA,CAAA,MAAA"}
|
package/dist/content.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","names":[],"sources":["../src/content.ts"],"sourcesContent":["/**\n * Content collection helpers for `nimbus-docs/content`.\n *\n * Users plug these into their `src/content.config.ts`:\n *\n * import { defineCollection } from \"astro:content\";\n * import { docsCollection, partialsCollection } from \"nimbus-docs/content\";\n *\n * export const collections = {\n * docs: defineCollection(docsCollection()),\n * partials: defineCollection(partialsCollection()),\n * };\n *\n * Extend the docs schema with extra frontmatter fields:\n *\n * docs: defineCollection(docsCollection({\n * schemaFields: { author: z.string(), tags: z.array(z.string()) },\n * })),\n */\n\nimport { glob } from \"astro/loaders\";\nimport type { z } from \"astro/zod\";\n\nimport { componentsSchema, defineDocSchema, partialsSchema } from \"./schemas.js\";\n\n// Re-export the public schema factories from `nimbus-docs/content` so users\n// have a single import for content-config concerns (collections + schemas).\nexport {\n defineDocSchema,\n defineSchema,\n docsSchema,\n partialsSchema,\n componentsSchema,\n} from \"./schemas.js\";\nexport type { DefineSchemaOptions, DocSchemaConfig, ComponentProp } from \"./schemas.js\";\n\nexport interface DocsCollectionOptions {\n /**\n * Directory under `src/content/` to load docs from.\n * Default: `\"docs\"`.\n */\n base?: string;\n /**\n * Glob pattern relative to `base`.\n * Default: `\"** /*.{md,mdx}\"` (space added to avoid breaking this comment).\n */\n pattern?: string;\n /**\n * Extra fields merged into the default docs schema. Lets users add\n * project-specific frontmatter (author, tags, etc.) without rebuilding\n * the whole schema.\n */\n schemaFields?:
|
|
1
|
+
{"version":3,"file":"content.js","names":[],"sources":["../src/content.ts"],"sourcesContent":["/**\n * Content collection helpers for `nimbus-docs/content`.\n *\n * Users plug these into their `src/content.config.ts`:\n *\n * import { defineCollection } from \"astro:content\";\n * import { docsCollection, partialsCollection } from \"nimbus-docs/content\";\n *\n * export const collections = {\n * docs: defineCollection(docsCollection()),\n * partials: defineCollection(partialsCollection()),\n * };\n *\n * Extend the docs schema with extra frontmatter fields:\n *\n * docs: defineCollection(docsCollection({\n * schemaFields: { author: z.string(), tags: z.array(z.string()) },\n * })),\n */\n\nimport { glob } from \"astro/loaders\";\nimport type { z } from \"astro/zod\";\n\nimport { componentsSchema, defineDocSchema, partialsSchema } from \"./schemas.js\";\n\n// Re-export the public schema factories from `nimbus-docs/content` so users\n// have a single import for content-config concerns (collections + schemas).\nexport {\n defineDocSchema,\n defineSchema,\n docsSchema,\n partialsSchema,\n componentsSchema,\n} from \"./schemas.js\";\nexport type { DefineSchemaOptions, DocSchemaConfig, ComponentProp } from \"./schemas.js\";\n\nexport interface DocsCollectionOptions<\n TFields extends Record<string, z.ZodTypeAny> = Record<string, never>,\n> {\n /**\n * Directory under `src/content/` to load docs from.\n * Default: `\"docs\"`.\n */\n base?: string;\n /**\n * Glob pattern relative to `base`.\n * Default: `\"** /*.{md,mdx}\"` (space added to avoid breaking this comment).\n */\n pattern?: string;\n /**\n * Extra fields merged into the default docs schema. Lets users add\n * project-specific frontmatter (author, tags, etc.) without rebuilding\n * the whole schema.\n *\n * Generic-typed so the call-site shape (`{ author: z.string() }`) is\n * preserved through to the emitted entry data type — `entry.data.author`\n * resolves to `string`, not `unknown`.\n */\n schemaFields?: TFields;\n}\n\nexport interface PartialsCollectionOptions {\n /**\n * Directory under `src/content/` to load partials from.\n * Default: `\"partials\"`.\n */\n base?: string;\n /**\n * Glob pattern relative to `base`.\n * Default: `\"** /*.{md,mdx}\"`.\n */\n pattern?: string;\n}\n\nconst DEFAULT_PATTERN = \"**/*.{md,mdx}\";\n\n/**\n * Returns an Astro content-collection config (`{ loader, schema }`) for the\n * docs collection. Pass to `defineCollection()`.\n */\nexport function docsCollection<\n TFields extends Record<string, z.ZodTypeAny> = Record<string, never>,\n>(options: DocsCollectionOptions<TFields> = {}) {\n const base = `./src/content/${options.base ?? \"docs\"}`;\n const pattern = options.pattern ?? DEFAULT_PATTERN;\n const schema = defineDocSchema({ fields: options.schemaFields });\n\n return {\n loader: glob({ base, pattern }),\n schema,\n };\n}\n\n/**\n * Returns an Astro content-collection config (`{ loader, schema }`) for the\n * partials collection. Pass to `defineCollection()`.\n */\nexport function partialsCollection(options: PartialsCollectionOptions = {}) {\n const base = `./src/content/${options.base ?? \"partials\"}`;\n const pattern = options.pattern ?? DEFAULT_PATTERN;\n\n return {\n loader: glob({ base, pattern }),\n schema: partialsSchema,\n };\n}\n\nexport interface ComponentsCollectionOptions {\n /**\n * Directory under `src/content/` to load component entries from.\n * Default: `\"components\"`.\n */\n base?: string;\n /**\n * Glob pattern relative to `base`.\n * Default: `\"**\\/*.{md,mdx}\"`.\n */\n pattern?: string;\n}\n\n/**\n * Returns an Astro content-collection config (`{ loader, schema }`) for the\n * components collection — for sites documenting their own UI components.\n *\n * Pairs with the `component-showcase` registry recipe, which installs the\n * matching `<Showcase>` / `<Example>` MDX wrappers and the `/components`\n * route. Frontmatter shape: `{ title, tagline, props }`.\n */\nexport function componentsCollection(options: ComponentsCollectionOptions = {}) {\n const base = `./src/content/${options.base ?? \"components\"}`;\n const pattern = options.pattern ?? DEFAULT_PATTERN;\n\n return {\n loader: glob({ base, pattern }),\n schema: componentsSchema,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA0EA,MAAM,kBAAkB;;;;;AAMxB,SAAgB,eAEd,UAA0C,EAAE,EAAE;CAC9C,MAAM,OAAO,iBAAiB,QAAQ,QAAQ;CAC9C,MAAM,UAAU,QAAQ,WAAW;CACnC,MAAM,SAAS,gBAAgB,EAAE,QAAQ,QAAQ,cAAc,CAAC;AAEhE,QAAO;EACL,QAAQ,KAAK;GAAE;GAAM;GAAS,CAAC;EAC/B;EACD;;;;;;AAOH,SAAgB,mBAAmB,UAAqC,EAAE,EAAE;AAI1E,QAAO;EACL,QAAQ,KAAK;GAAE,MAJJ,iBAAiB,QAAQ,QAAQ;GAIvB,SAHP,QAAQ,WAAW;GAGH,CAAC;EAC/B,QAAQ;EACT;;;;;;;;;;AAwBH,SAAgB,qBAAqB,UAAuC,EAAE,EAAE;AAI9E,QAAO;EACL,QAAQ,KAAK;GAAE,MAJJ,iBAAiB,QAAQ,QAAQ;GAIvB,SAHP,QAAQ,WAAW;GAGH,CAAC;EAC/B,QAAQ;EACT"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
//#region src/lint/diagnostic.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* The diagnostic envelope — the single shape every Nimbus check flows
|
|
4
|
+
* through, from build validators to authoring rules to (eventually) Vale.
|
|
5
|
+
*
|
|
6
|
+
* Locked in Phase 0. Extending it later is a versioned schema bump, not a
|
|
7
|
+
* field tacked on in a minor — see the cross-phase invariants in the
|
|
8
|
+
* authoring-lints plan. Positions are the unist `Point` Sätteri's parser
|
|
9
|
+
* already emits (1-based line/column plus a character offset), so a
|
|
10
|
+
* diagnostic, a `--fix` edit range, and the pretty formatter's caret all
|
|
11
|
+
* read from the one AST the renderer built.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The stable rule-code registry. Every code Nimbus can emit lives here,
|
|
15
|
+
* tagged with the tier it belongs to:
|
|
16
|
+
*
|
|
17
|
+
* - `build` — a build validator. Always on, fails `astro build`, no
|
|
18
|
+
* severity knob. Cannot appear in the `rules` config.
|
|
19
|
+
* - `authoring`— an authoring rule. Defaults to `error`, configurable to
|
|
20
|
+
* `warn` / `off`, surfaced by `nimbus-docs lint`.
|
|
21
|
+
*
|
|
22
|
+
* Codes are registered here even before their rule is implemented so the
|
|
23
|
+
* namespace is stable and `RuleCode` stays exhaustive: importing or
|
|
24
|
+
* configuring an unknown code is a typecheck failure, not a silent no-op.
|
|
25
|
+
*/
|
|
26
|
+
declare const RULE_CODES: {
|
|
27
|
+
readonly "nimbus/mdx-syntax": {
|
|
28
|
+
readonly kind: "build";
|
|
29
|
+
};
|
|
30
|
+
readonly "nimbus/component-pascalcase": {
|
|
31
|
+
readonly kind: "build";
|
|
32
|
+
};
|
|
33
|
+
readonly "nimbus/partial-exists": {
|
|
34
|
+
readonly kind: "build";
|
|
35
|
+
};
|
|
36
|
+
readonly "nimbus/duplicate-slug": {
|
|
37
|
+
readonly kind: "build";
|
|
38
|
+
};
|
|
39
|
+
readonly "nimbus/frontmatter-shape": {
|
|
40
|
+
readonly kind: "authoring";
|
|
41
|
+
};
|
|
42
|
+
readonly "nimbus/description-required": {
|
|
43
|
+
readonly kind: "authoring";
|
|
44
|
+
};
|
|
45
|
+
readonly "nimbus/internal-link": {
|
|
46
|
+
readonly kind: "authoring";
|
|
47
|
+
};
|
|
48
|
+
readonly "nimbus/orphan-page": {
|
|
49
|
+
readonly kind: "authoring";
|
|
50
|
+
};
|
|
51
|
+
readonly "nimbus/sidebar-entry": {
|
|
52
|
+
readonly kind: "authoring";
|
|
53
|
+
};
|
|
54
|
+
readonly "nimbus/single-h1": {
|
|
55
|
+
readonly kind: "authoring";
|
|
56
|
+
};
|
|
57
|
+
readonly "nimbus/heading-hierarchy": {
|
|
58
|
+
readonly kind: "authoring";
|
|
59
|
+
};
|
|
60
|
+
readonly "nimbus/code-block-lang": {
|
|
61
|
+
readonly kind: "authoring";
|
|
62
|
+
};
|
|
63
|
+
readonly "nimbus/code-block-prompt-prefix": {
|
|
64
|
+
readonly kind: "authoring";
|
|
65
|
+
};
|
|
66
|
+
readonly "nimbus/no-self-host-url": {
|
|
67
|
+
readonly kind: "authoring";
|
|
68
|
+
};
|
|
69
|
+
readonly "nimbus/heading-punctuation": {
|
|
70
|
+
readonly kind: "authoring";
|
|
71
|
+
};
|
|
72
|
+
readonly "nimbus/duplicate-heading-text": {
|
|
73
|
+
readonly kind: "authoring";
|
|
74
|
+
};
|
|
75
|
+
readonly "nimbus/list-marker-style": {
|
|
76
|
+
readonly kind: "authoring";
|
|
77
|
+
};
|
|
78
|
+
readonly "nimbus/emphasis-style": {
|
|
79
|
+
readonly kind: "authoring";
|
|
80
|
+
};
|
|
81
|
+
readonly "nimbus/bare-url": {
|
|
82
|
+
readonly kind: "authoring";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
/** Every rule code Nimbus knows about. */
|
|
86
|
+
type RuleCode = keyof typeof RULE_CODES;
|
|
87
|
+
/**
|
|
88
|
+
* Authoring-rule codes only — the subset that's user-configurable via
|
|
89
|
+
* `rules: { ... }`. Build validators are excluded at the type level so
|
|
90
|
+
* TS-using consumers can't write the invalid config the runtime would
|
|
91
|
+
* throw on, and so autocomplete inside `astro.config.ts` never offers
|
|
92
|
+
* `nimbus/mdx-syntax` and friends.
|
|
93
|
+
*/
|
|
94
|
+
type AuthoringRuleCode = { [K in RuleCode]: (typeof RULE_CODES)[K] extends {
|
|
95
|
+
kind: "authoring";
|
|
96
|
+
} ? K : never }[RuleCode];
|
|
97
|
+
/** Resolved severity — a rule that resolved to `off` never runs, so it
|
|
98
|
+
* never reaches a `Diagnostic`. */
|
|
99
|
+
type Severity = "error" | "warn";
|
|
100
|
+
/** Severity as a user configures it. `off` disables the rule entirely. */
|
|
101
|
+
type SeverityConfig = Severity | "off";
|
|
102
|
+
interface DiagnosticFix {
|
|
103
|
+
/** Human/agent-readable description of what the fix does. */
|
|
104
|
+
description: string;
|
|
105
|
+
/**
|
|
106
|
+
* Edits to apply, as `[start, end]` character offsets into the source
|
|
107
|
+
* (unist offsets — the same the AST reports), with replacement text.
|
|
108
|
+
*/
|
|
109
|
+
edits: Array<{
|
|
110
|
+
range: [number, number];
|
|
111
|
+
text: string;
|
|
112
|
+
}>;
|
|
113
|
+
}
|
|
114
|
+
interface Diagnostic {
|
|
115
|
+
code: RuleCode;
|
|
116
|
+
severity: Severity;
|
|
117
|
+
/** Which tool produced this. Reserved so Phase 4 can merge Vale into the
|
|
118
|
+
* same envelope without a breaking change. */
|
|
119
|
+
source: "docs-compiler" | "vale";
|
|
120
|
+
message: string;
|
|
121
|
+
/** Path relative to the project root. */
|
|
122
|
+
file: string;
|
|
123
|
+
/** 1-based, from the Sätteri AST. */
|
|
124
|
+
line: number;
|
|
125
|
+
/** 1-based, from the Sätteri AST. */
|
|
126
|
+
column: number;
|
|
127
|
+
endLine?: number;
|
|
128
|
+
endColumn?: number;
|
|
129
|
+
fix?: DiagnosticFix;
|
|
130
|
+
}
|
|
131
|
+
//#endregion
|
|
132
|
+
export { Severity as a, RuleCode as i, Diagnostic as n, SeverityConfig as o, DiagnosticFix as r, AuthoringRuleCode as t };
|
|
133
|
+
//# sourceMappingURL=diagnostic-C6OaBe_o.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diagnostic-C6OaBe_o.d.ts","names":[],"sources":["../src/lint/diagnostic.ts"],"mappings":";;AAyBA;;;;;;;;;;;;;;;;;;;;;;;cAAa,UAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA0BD,QAAA,gBAAwB,UAAA;;;;;;AAgCpC;;KAvBY,iBAAA,WACJ,QAAA,WAAmB,UAAA,EAAY,CAAA;EAAa,IAAA;AAAA,IAC9C,CAAA,WAEJ,QAAA;;;KAIU,QAAA;;KAGA,cAAA,GAAiB,QAAA;AAAA,UAEZ,aAAA;EAgBf;EAdA,WAAA;EAkBA;;;;EAbA,KAAA,EAAO,KAAA;IAAQ,KAAA;IAAyB,IAAA;EAAA;AAAA;AAAA,UAGzB,UAAA;EACf,IAAA,EAAM,QAAA;EACN,QAAA,EAAU,QAAA;;;EAGV,MAAA;EACA,OAAA;;EAEA,IAAA;;EAEA,IAAA;;EAEA,MAAA;EACA,OAAA;EACA,SAAA;EACA,GAAA,GAAM,aAAA;AAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { o as SeverityConfig, t as AuthoringRuleCode } from "./diagnostic-C6OaBe_o.js";
|
|
1
2
|
import { BadgeVariant, Breadcrumb, NimbusConfig, PrevNext, PrevNextLink, PrevNextOverrides, ResolvedVersions, SearchProvider, SearchResult, SidebarBadge, SidebarConfig, SidebarConfigItem, SidebarExternalLinkItem, SidebarGroupItem, SidebarItem, SidebarLinkItem, SidebarSection, TOCItem, VersionAlternateRecord, VersionAlternatesTable, VersionPageRef, VersionStatus, VersionsConfig } from "./types.js";
|
|
2
3
|
import mdx from "@astrojs/mdx";
|
|
3
4
|
import * as astro_content0 from "astro:content";
|
|
@@ -62,6 +63,28 @@ interface MarkdownEntry {
|
|
|
62
63
|
*/
|
|
63
64
|
declare function renderEntryAsMarkdown(entry: MarkdownEntry, options?: RenderEntryAsMarkdownOptions): string;
|
|
64
65
|
//#endregion
|
|
66
|
+
//#region src/lint/config.d.ts
|
|
67
|
+
/** A single rule's config: a bare severity, or `[severity, options]`. */
|
|
68
|
+
type RuleSetting = SeverityConfig | [SeverityConfig, Record<string, unknown>];
|
|
69
|
+
/**
|
|
70
|
+
* The `rules` option: authoring code → setting. Build validators don't appear
|
|
71
|
+
* here — they have no severity knob (the runtime validator throws on misuse,
|
|
72
|
+
* the type prevents the misuse from being writable in the first place).
|
|
73
|
+
*/
|
|
74
|
+
type RulesConfig = Partial<Record<AuthoringRuleCode, RuleSetting>>;
|
|
75
|
+
/** Per-collection lint config — currently just `rules` overrides. */
|
|
76
|
+
interface CollectionLintConfig {
|
|
77
|
+
rules?: RulesConfig;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The `collections` option: collection name → per-collection overrides.
|
|
81
|
+
* Each entry's `rules` shallow-merges over the top-level `rules` for
|
|
82
|
+
* files in that collection. Per-rule resolution precedence is:
|
|
83
|
+
* top-level defaults → per-collection → per-file `nimbusDisableRules`
|
|
84
|
+
* → per-line inline disable. Each layer narrows scope.
|
|
85
|
+
*/
|
|
86
|
+
type CollectionsConfig = Record<string, CollectionLintConfig>;
|
|
87
|
+
//#endregion
|
|
65
88
|
//#region src/integration.d.ts
|
|
66
89
|
interface NimbusIntegrationOptions {
|
|
67
90
|
/** MDX options forwarded to `@astrojs/mdx`. */
|
|
@@ -92,10 +115,33 @@ interface NimbusIntegrationOptions {
|
|
|
92
115
|
contentDirs?: string[];
|
|
93
116
|
skip?: (filePath: string) => boolean;
|
|
94
117
|
};
|
|
118
|
+
/**
|
|
119
|
+
* Authoring-lint severity overrides for `nimbus-docs lint`. Maps a rule
|
|
120
|
+
* code to `"error" | "warn" | "off"` or a `[severity, options]` tuple.
|
|
121
|
+
* Build validators are rejected here — they have no severity knob.
|
|
122
|
+
* Omitted = every authoring rule on at `error`.
|
|
123
|
+
*
|
|
124
|
+
* These are materialized to `.nimbus/lint.json` at config setup so the
|
|
125
|
+
* standalone `nimbus-docs lint` CLI can read them. The build itself is
|
|
126
|
+
* never gated on authoring rules.
|
|
127
|
+
*/
|
|
128
|
+
rules?: RulesConfig;
|
|
129
|
+
/**
|
|
130
|
+
* Per-collection overrides. Each entry's `rules` block shallow-merges
|
|
131
|
+
* over the top-level `rules` for files in that collection — same shape,
|
|
132
|
+
* same validation, same build-validator carve-out (build validators
|
|
133
|
+
* stay global, they can't be configured per-collection).
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* collections: {
|
|
137
|
+
* partials: { rules: { "nimbus/single-h1": "off", "nimbus/heading-hierarchy": "off" } },
|
|
138
|
+
* }
|
|
139
|
+
*/
|
|
140
|
+
collections?: CollectionsConfig;
|
|
95
141
|
}
|
|
96
142
|
declare function nimbus(rawConfig: NimbusConfig, options?: NimbusIntegrationOptions): AstroIntegration;
|
|
97
143
|
//#endregion
|
|
98
|
-
//#region
|
|
144
|
+
//#region ../../node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts
|
|
99
145
|
// ## Interfaces
|
|
100
146
|
/**
|
|
101
147
|
* Info associated with nodes by the ecosystem.
|
|
@@ -177,7 +223,7 @@ interface Node$1 {
|
|
|
177
223
|
position?: Position$1 | undefined;
|
|
178
224
|
}
|
|
179
225
|
//#endregion
|
|
180
|
-
//#region
|
|
226
|
+
//#region ../../node_modules/.pnpm/@types+hast@3.0.4/node_modules/@types/hast/index.d.ts
|
|
181
227
|
// ## Interfaces
|
|
182
228
|
/**
|
|
183
229
|
* Info associated with hast nodes by the ecosystem.
|
|
@@ -401,7 +447,7 @@ interface Text extends Literal {
|
|
|
401
447
|
*/
|
|
402
448
|
interface TextData extends Data {}
|
|
403
449
|
//#endregion
|
|
404
|
-
//#region
|
|
450
|
+
//#region ../../node_modules/.pnpm/@shikijs+vscode-textmate@10.0.2/node_modules/@shikijs/vscode-textmate/dist/index.d.ts
|
|
405
451
|
/**
|
|
406
452
|
* An expression language of ScopePathStr with a binary comma (to indicate alternatives) operator.
|
|
407
453
|
* Examples: `foo.bar boo.baz,quick quack`
|
|
@@ -444,7 +490,7 @@ interface StateStack {
|
|
|
444
490
|
equals(other: StateStack): boolean;
|
|
445
491
|
}
|
|
446
492
|
//#endregion
|
|
447
|
-
//#region
|
|
493
|
+
//#region ../../node_modules/.pnpm/@shikijs+types@4.1.0/node_modules/@shikijs/types/dist/index.d.mts
|
|
448
494
|
interface Nothing {}
|
|
449
495
|
/**
|
|
450
496
|
* type StringLiteralUnion<'foo'> = 'foo' | string
|
|
@@ -1040,14 +1086,25 @@ interface IndexedEntry {
|
|
|
1040
1086
|
/** Description — undefined when the schema doesn't expose one or it's empty. */
|
|
1041
1087
|
description: string | undefined;
|
|
1042
1088
|
/**
|
|
1043
|
-
* Page URL path under the site (no origin
|
|
1044
|
-
*
|
|
1045
|
-
*
|
|
1046
|
-
*
|
|
1047
|
-
*
|
|
1048
|
-
* `/
|
|
1089
|
+
* Page URL path under the site (no origin). Browser-facing form:
|
|
1090
|
+
* trailing slash on HTML document routes (`/getting-started/`) so
|
|
1091
|
+
* `<a href>` consumers don't trigger a redirect on static hosts that
|
|
1092
|
+
* canonicalize directory-index pages. The primary docs collection
|
|
1093
|
+
* mounts at the site root, every other collection mounts under its
|
|
1094
|
+
* name (`/api/payments/create/`, `/blog/my-first-post/`). Routes
|
|
1095
|
+
* building `.md` alternates should consume `markdownUrl` rather than
|
|
1096
|
+
* deriving from this field — the root-index case (`/`) needs a
|
|
1097
|
+
* different shape than the trailing-slash-strip recipe produces.
|
|
1049
1098
|
*/
|
|
1050
1099
|
url: string;
|
|
1100
|
+
/**
|
|
1101
|
+
* Site-relative URL of the page's clean-markdown alternate. Mirrors
|
|
1102
|
+
* the path the per-page `.md` route emits: `/getting-started/index.md`
|
|
1103
|
+
* for an entry at `/getting-started/`, `/index.md` for the root-index
|
|
1104
|
+
* entry. Consumers (`llms.txt`, the `.md` route's `Source:` line)
|
|
1105
|
+
* should use this directly instead of synthesizing from `url`.
|
|
1106
|
+
*/
|
|
1107
|
+
markdownUrl: string;
|
|
1051
1108
|
}
|
|
1052
1109
|
interface IndexedTopLevelGroup {
|
|
1053
1110
|
/** Top-level slug — first URL segment under root. */
|
|
@@ -1090,6 +1147,28 @@ interface IndexedTopLevel {
|
|
|
1090
1147
|
*/
|
|
1091
1148
|
groups: IndexedTopLevelGroup[];
|
|
1092
1149
|
}
|
|
1150
|
+
/**
|
|
1151
|
+
* Cross-collection entry list for the agent-facing routes
|
|
1152
|
+
* (`llms.txt`, per-page `.md` alternates, future `llms-full.txt` and
|
|
1153
|
+
* `rag.jsonl`). Implements the indexing baseline of the two-layer
|
|
1154
|
+
* architecture documented at `/features/llms-txt`:
|
|
1155
|
+
*
|
|
1156
|
+
* - **Multi-collection by default, zero opt-in.** Iterates every
|
|
1157
|
+
* collection registered in `src/content.config.ts` except names
|
|
1158
|
+
* matching `partials` or starting with `_` (reserved).
|
|
1159
|
+
* - **Schema-tolerant.** Reads `title` and `description` if present;
|
|
1160
|
+
* falls back to the entry id for the title and omits the
|
|
1161
|
+
* description otherwise.
|
|
1162
|
+
* - **Per-page filters baked in.** Drops entries with `draft: true`;
|
|
1163
|
+
* absent fields read as the docs-schema default (`draft: false`).
|
|
1164
|
+
* All published pages are indexed — there is no per-page opt-out.
|
|
1165
|
+
* A page that genuinely shouldn't be agent-readable should be kept
|
|
1166
|
+
* out of the content collection entirely.
|
|
1167
|
+
*
|
|
1168
|
+
* The returned shape is identical regardless of which factory created
|
|
1169
|
+
* the collection: hand-rolled `defineCollection({ loader, schema })`
|
|
1170
|
+
* collections work without modification.
|
|
1171
|
+
*/
|
|
1093
1172
|
declare function getIndexedEntries(): Promise<IndexedEntry[]>;
|
|
1094
1173
|
/**
|
|
1095
1174
|
* Partition the indexed entries into the shape the root `/llms.txt`
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["Data","Point","line","column","offset","Position","start","end","Literal","Node","value","type","data","position","Parent","children","Data","UnistData","Literal","UnistLiteral","Node","UnistNode","Parent","UnistParent","Properties","Array","PropertyName","ElementContent","ElementContentMap","Comment","Element","Text","comment","element","text","RootContent","RootContentMap","Doctype","doctype","Content","Literals","Nodes","Extract","Root","Parents","data","value","children","CommentData","type","DoctypeData","ElementData","tagName","properties","content","RootData","TextData","ruleIdSymbol","RuleId","__brand","endRuleId","IRuleRegistry","T","Rule","getRule","ruleId","registerRule","id","factory","IGrammarRegistry","IRawRepository","IRawGrammar","getExternalGrammar","scopeName","repository","IRuleFactoryHelper","ILocation","IOnigCaptureIndex","RegExpSourceList","IOnigLib","RegExpString","CompiledRule","$location","_nameIsCapturing","_name","_contentNameIsCapturing","_contentName","constructor","name","contentName","dispose","debugName","getName","lineText","captureIndices","getContentName","collectPatterns","grammar","out","compile","endRegexSource","compileAG","allowA","allowG","RegExpSource","TRuleId","source","hasAnchor","hasBackReferences","_anchorCache","regExpSource","clone","setSource","newSource","resolveBackReferences","_buildAnchorCache","resolveAnchors","_items","_hasAnchors","_cached","_disposeCaches","push","item","unshift","length","index","onigLib","_resolveAnchors","OnigString","FindOption","OrMask","IFindNextMatchResult","regExps","rules","scanner","toString","findNextMatchSync","string","startPosition","options","ScopeName","IRawRule","ILocatable","patterns","injections","expression","injectionSelector","fileTypes","firstLineMatch","IncludeString","RegExp","IRawRepositoryMap","IRawCaptures","include","match","captures","begin","beginCaptures","end","endCaptures","while","whileCaptures","applyEndPatternLast","IRawCapturesMap","captureId","filename","line","char","$vscodeTextmateLocation","OnigScanner","createOnigScanner","sources","createOnigString","str","start","IOnigMatch","None","NotBeginString","NotEndString","NotBeginPosition","DebugCall","content","disposeOnigString","Theme","IRawTheme","ParsedThemeRule","ColorMap","StyleAttributes","ThemeTrieElement","ScopeStack","_colorMap","_defaults","_root","createFromRawTheme","colorMap","createFromParsedTheme","_cachedMatchRoot","getColorMap","getDefaults","scopePath","ScopePath","ScopePattern","IRawThemeSetting","settings","scope","fontStyle","foreground","background","parent","path","scopeNames","from","first","segments","getSegments","extends","other","getExtensionIfDefined","base","FontStyle","foregroundId","backgroundId","parentScopes","NotSet","Italic","Bold","Underline","Strikethrough","_isFrozen","_lastColorId","_id2color","_color2id","getId","color","ThemeTrieElementRule","scopeDepth","cloneArr","arr","acceptOverwrite","ITrieChildrenMap","segment","_mainRule","_children","_rulesWithParentScopes","rulesWithParentScopes","_cmpBySpecificity","insert","_doInsertHere","EncodedTokenAttributes","EncodedTokenMetadata","StandardTokenType","OptionalStandardTokenType","toBinaryStr","encodedTokenAttributes","print","getLanguageId","getTokenType","containsBalancedBrackets","getFontStyle","getForeground","getBackground","set","languageId","tokenType","Other","Comment","String","RegEx","Matcher","matcherInput","BasicScopeAttributes","IThemeProvider","themeMatch","IGrammarRepository","lookup","Injection","debugSelector","matcher","priority","Grammar","IEmbeddedLanguagesMap","ITokenTypeMap","BalancedBracketSelectors","StateStackImpl","ITokenizeLineResult","ITokenizeLineResult2","IGrammar","_rootScopeName","balancedBracketSelectors","_onigLib","_rootId","_lastRuleId","_ruleId2desc","_includedGrammars","_grammarRepository","_grammar","_injections","_basicScopeAttributesProvider","_tokenTypeMatchers","themeProvider","initialLanguage","embeddedLanguages","tokenTypes","grammarRepository","getMetadataForScope","_collectInjections","getInjections","tokenizeLine","prevState","timeLimit","tokenizeLine2","_tokenize","AttributedScopeStack","AttributedScopeStackFrame","tokenAttributes","fromExtension","namesScopeList","contentNameScopesList","createRoot","createRootAndLookUpScopeName","equals","a","b","mergeAttributes","pushAttributed","_pushAttributed","getScopeNames","StateStackFrame","StateStack","beginRuleCapturedEOL","endRule","nameScopesList","_stackElementBrand","NULL","_enterPos","_anchorPos","depth","enterPos","anchorPos","_equals","_structuralEquals","_reset","reset","pop","safePop","getEnterPos","getAnchorPos","_writeString","withContentNameScopesList","contentNameScopeStack","withEndRule","hasSameRuleAs","toStateStackFrame","pushFrame","self","frame","balancedBracketScopes","unbalancedBracketScopes","allowAny","matchesAlways","matchesNever","scopes","SyncRegistry","Map","_grammars","_rawGrammars","_injectionGrammars","_theme","theme","setTheme","addGrammar","injectionScopeNames","targetScope","grammarForScopeName","StackDiff","pops","newFrames","RegistryOptions","loadGrammar","selector","IGrammarConfiguration","unbalancedBracketSelectors","Registry","_options","_syncRegistry","_ensureGrammarCache","loadGrammarWithEmbeddedLanguages","initialScopeName","loadGrammarWithConfiguration","configuration","_loadGrammar","_loadSingleGrammar","_doLoadSingleGrammar","rawGrammar","_grammarForScopeName","IToken","tokens","ruleStack","stoppedEarly","Uint32Array","startIndex","endIndex","INITIAL","Element","Root","FontStyle","IGrammar","IRawGrammar","RawGrammar","IRawTheme","RawTheme","IRawThemeSetting","RawThemeSetting","OnigScanner","OnigString","StateStack","Awaitable","T","Promise","MaybeGetter","MaybeModule","default","MaybeArray","RequireKeys","K","Omit","Pick","Required","Nothing","StringLiteralUnion","U","PatternScanner","RegexEngineString","RegexEngine","RegExp","createScanner","patterns","createString","s","WebAssemblyInstantiator","WebAssembly","ImportValue","Record","WebAssemblyInstance","importObject","WebAssemblyInstantiatedSource","Instance","OnigurumaLoadOptions","ArrayBufferView","ArrayBuffer","Response","instantiator","data","LoadWasmOptionsPlain","LoadWasmOptions","Grammar","name","PlainTextLanguage","AnsiLanguage","SpecialLanguage","LanguageInput","LanguageRegistration","ResolveBundleKey","scopeName","displayName","aliases","embeddedLangs","embeddedLanguages","embeddedLangsLazy","balancedBracketSelectors","unbalancedBracketSelectors","foldingStopMarker","foldingStartMarker","injectTo","BundledLanguageInfo","DynamicImportLanguageRegistration","id","import","DecorationOptions","DecorationItem","decorations","OffsetOrPosition","DecorationTransformType","start","end","tagName","properties","transform","element","type","alwaysWrap","ResolvedDecorationItem","ResolvedPosition","Position","line","character","Offset","offset","SpecialTheme","ThemeInput","ThemeRegistrationAny","ThemeRegistrationRaw","ThemeRegistration","Partial","ThemeRegistrationResolved","settings","tokenColors","fg","bg","colorReplacements","colors","$schema","semanticHighlighting","semanticTokenColors","DynamicImportThemeRegistration","BundledThemeInfo","GrammarState","lang","theme","themes","getInternalStack","getScopes","CodeToTokensBaseOptions","Languages","Themes","TokenizeWithThemeOptions","CodeToTokensOptions","CodeOptionsThemes","CodeToTokensWithThemesOptions","ThemedTokenScopeExplanation","themeMatches","ThemedTokenExplanation","content","scopes","ThemedToken","TokenStyles","TokenBase","explanation","color","bgColor","fontStyle","htmlStyle","htmlAttrs","ThemedTokenWithVariants","variants","includeExplanation","tokenizeMaxLineLength","tokenizeTimeLimit","grammarState","grammarContextCode","TokensResult","tokens","themeName","rootStyle","TransformerOptions","ShikiTransformer","transformers","ShikiTransformerContextMeta","ShikiTransformerContextCommon","CodeToHastOptions","meta","options","codeToHast","code","codeToTokens","ShikiTransformerContextSource","source","ShikiTransformerContext","root","pre","lines","structure","addClassToHast","hast","className","enforce","preprocess","this","span","col","lineElement","token","postprocess","html","HighlighterCoreOptions","Sync","engine","langs","langAlias","warnings","BundledHighlighterOptions","L","CodeOptionsSingleTheme","CodeOptionsMultipleThemes","defaultColor","colorsRendering","cssVariablePrefix","CodeToHastOptionsCommon","CodeOptionsMeta","mergeWhitespaces","mergeSameStyleTokens","tabindex","__raw","key","CodeToHastRenderOptionsCommon","langId","CodeToHastRenderOptions","GrammarStateMapKey","ShikiPrimitive","BundledLangKeys","BundledThemeKeys","Symbol","dispose","loadTheme","loadThemeSync","loadLanguage","loadLanguageSync","getTheme","getLanguage","setTheme","colorMap","resolveLangAlias","getLoadedLanguages","getLoadedThemes","HighlighterGeneric","codeToHtml","codeToTokensBase","codeToTokensWithThemes","getLastGrammarState","getInternalContext","getBundledLanguages","getBundledThemes","HighlighterCore","CreateBundledHighlighterOptions","BundledLangs","BundledThemes","CreatedBundledHighlighterOptions","CreateHighlighterFactory","ShikiError","Error","constructor","message"],"sources":["../src/_internal/content.ts","../src/_internal/sidebar.ts","../src/_internal/transform.ts","../src/integration.ts","../../../../../node_modules/@types/unist/index.d.ts","../../../../../node_modules/@types/hast/index.d.ts","../../../../../node_modules/@shikijs/vscode-textmate/dist/index.d.ts","../../../../../node_modules/@shikijs/types/dist/index.d.mts","../src/_internal/code-transformers.ts","../src/index.ts"],"x_google_ignoreList":[4,5,6,7],"mappings":";;;;;;;;;;;AC2qBA;;;;;;;;ACjqBA;;iBFwBsB,iBAAA,CACpB,WAAA,cACC,OAAA,CAAQ,eAAA;;;;iBCuoBK,WAAA,CAAY,KAAA,EAAO,WAAA;;;;;;;;;;ADzoBnC;;UExBiB,8BAAA;EACf,IAAA;EACA,KAAA,EAAO,MAAA;EACP,QAAA;AAAA;AAAA,KAGU,yBAAA,IACV,OAAA,EAAS,8BAAA;AAAA,UAGM,4BAAA;;;;ADupBjB;EClpBE,YAAA,GAAe,MAAA,SAAe,yBAAA;;EAE9B,gBAAA;AAAA;AAAA,UAGQ,aAAA;EACR,IAAA;AAAA;AArBF;;;;;;;AAAA,iBAiNgB,qBAAA,CACd,KAAA,EAAO,aAAA,EACP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AKA;;;iBIubgB,wBAAA,CAAyB,UAAA,WAAqB,cAAA;;;;;;;AJza9D;;;;;;;iBIgcsB,sBAAA,kBAAA,CACpB,KAAA,EAAO,WAAA,GACN,OAAA;EACD,KAAA,EAAgD,cAAA,CAAjB,eAAA,CAAgB,CAAA;EAC/C,OAAA;EACA,QAAA;IAAY,KAAA;IAAe,IAAA;IAAc,IAAA;EAAA;AAAA;;;;;;;AH9gBJ;;;;;;;;;;;;;;iBGqjBjB,WAAA,CAAA,GAAe,OAAA,CAAQ,gBAAA;;;;;;;;;;;;AH5E1B;;;;;;;;;iBG8GG,iBAAA,CACpB,YAAA,WACC,OAAA;;;;;;;AF/xBqE;;;;;AACvD;;;;;;;;;;;;;;;;;AAkCX;iBEkyBgB,oBAAA,CACpB,YAAA,UACA,OAAA,WACC,OAAA,CAAQ,sBAAA;;;;AFjyBW;;;iBE6yBA,eAAA,CACpB,YAAA,UACA,OAAA,WACC,OAAA;;AF/yBc;;;;;AAwCc;;;;;AAQD;;;;;;;;;;iBEyxBR,oBAAA,CACpB,YAAA,WACC,OAAA;;;;;;;;;;;;;;;;;AFxvBoB;;;;;AAEK;;;;;AAGjB;;;;;AAEA;;;;;AAGK;;;;;AAKkC;;;iBEsyB5B,oBAAA,CACpB,OAAA,WACC,OAAA;AAAA,iBAoBmB,gBAAA,CACpB,YAAA,WACC,OAAA,CAAQ,aAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["Data","Point","line","column","offset","Position","start","end","Literal","Node","value","type","data","position","Parent","children","Data","UnistData","Literal","UnistLiteral","Node","UnistNode","Parent","UnistParent","Properties","Array","PropertyName","ElementContent","ElementContentMap","Comment","Element","Text","comment","element","text","RootContent","RootContentMap","Doctype","doctype","Content","Literals","Nodes","Extract","Root","Parents","data","value","children","CommentData","type","DoctypeData","ElementData","tagName","properties","content","RootData","TextData","ruleIdSymbol","RuleId","__brand","endRuleId","IRuleRegistry","T","Rule","getRule","ruleId","registerRule","id","factory","IGrammarRegistry","IRawRepository","IRawGrammar","getExternalGrammar","scopeName","repository","IRuleFactoryHelper","ILocation","IOnigCaptureIndex","RegExpSourceList","IOnigLib","RegExpString","CompiledRule","$location","_nameIsCapturing","_name","_contentNameIsCapturing","_contentName","constructor","name","contentName","dispose","debugName","getName","lineText","captureIndices","getContentName","collectPatterns","grammar","out","compile","endRegexSource","compileAG","allowA","allowG","RegExpSource","TRuleId","source","hasAnchor","hasBackReferences","_anchorCache","regExpSource","clone","setSource","newSource","resolveBackReferences","_buildAnchorCache","resolveAnchors","_items","_hasAnchors","_cached","_disposeCaches","push","item","unshift","length","index","onigLib","_resolveAnchors","OnigString","FindOption","OrMask","IFindNextMatchResult","regExps","rules","scanner","toString","findNextMatchSync","string","startPosition","options","ScopeName","IRawRule","ILocatable","patterns","injections","expression","injectionSelector","fileTypes","firstLineMatch","IncludeString","RegExp","IRawRepositoryMap","IRawCaptures","include","match","captures","begin","beginCaptures","end","endCaptures","while","whileCaptures","applyEndPatternLast","IRawCapturesMap","captureId","filename","line","char","$vscodeTextmateLocation","OnigScanner","createOnigScanner","sources","createOnigString","str","start","IOnigMatch","None","NotBeginString","NotEndString","NotBeginPosition","DebugCall","content","disposeOnigString","Theme","IRawTheme","ParsedThemeRule","ColorMap","StyleAttributes","ThemeTrieElement","ScopeStack","_colorMap","_defaults","_root","createFromRawTheme","colorMap","createFromParsedTheme","_cachedMatchRoot","getColorMap","getDefaults","scopePath","ScopePath","ScopePattern","IRawThemeSetting","settings","scope","fontStyle","foreground","background","parent","path","scopeNames","from","first","segments","getSegments","extends","other","getExtensionIfDefined","base","FontStyle","foregroundId","backgroundId","parentScopes","NotSet","Italic","Bold","Underline","Strikethrough","_isFrozen","_lastColorId","_id2color","_color2id","getId","color","ThemeTrieElementRule","scopeDepth","cloneArr","arr","acceptOverwrite","ITrieChildrenMap","segment","_mainRule","_children","_rulesWithParentScopes","rulesWithParentScopes","_cmpBySpecificity","insert","_doInsertHere","EncodedTokenAttributes","EncodedTokenMetadata","StandardTokenType","OptionalStandardTokenType","toBinaryStr","encodedTokenAttributes","print","getLanguageId","getTokenType","containsBalancedBrackets","getFontStyle","getForeground","getBackground","set","languageId","tokenType","Other","Comment","String","RegEx","Matcher","matcherInput","BasicScopeAttributes","IThemeProvider","themeMatch","IGrammarRepository","lookup","Injection","debugSelector","matcher","priority","Grammar","IEmbeddedLanguagesMap","ITokenTypeMap","BalancedBracketSelectors","StateStackImpl","ITokenizeLineResult","ITokenizeLineResult2","IGrammar","_rootScopeName","balancedBracketSelectors","_onigLib","_rootId","_lastRuleId","_ruleId2desc","_includedGrammars","_grammarRepository","_grammar","_injections","_basicScopeAttributesProvider","_tokenTypeMatchers","themeProvider","initialLanguage","embeddedLanguages","tokenTypes","grammarRepository","getMetadataForScope","_collectInjections","getInjections","tokenizeLine","prevState","timeLimit","tokenizeLine2","_tokenize","AttributedScopeStack","AttributedScopeStackFrame","tokenAttributes","fromExtension","namesScopeList","contentNameScopesList","createRoot","createRootAndLookUpScopeName","equals","a","b","mergeAttributes","pushAttributed","_pushAttributed","getScopeNames","StateStackFrame","StateStack","beginRuleCapturedEOL","endRule","nameScopesList","_stackElementBrand","NULL","_enterPos","_anchorPos","depth","enterPos","anchorPos","_equals","_structuralEquals","_reset","reset","pop","safePop","getEnterPos","getAnchorPos","_writeString","withContentNameScopesList","contentNameScopeStack","withEndRule","hasSameRuleAs","toStateStackFrame","pushFrame","self","frame","balancedBracketScopes","unbalancedBracketScopes","allowAny","matchesAlways","matchesNever","scopes","SyncRegistry","Map","_grammars","_rawGrammars","_injectionGrammars","_theme","theme","setTheme","addGrammar","injectionScopeNames","targetScope","grammarForScopeName","StackDiff","pops","newFrames","RegistryOptions","loadGrammar","selector","IGrammarConfiguration","unbalancedBracketSelectors","Registry","_options","_syncRegistry","_ensureGrammarCache","loadGrammarWithEmbeddedLanguages","initialScopeName","loadGrammarWithConfiguration","configuration","_loadGrammar","_loadSingleGrammar","_doLoadSingleGrammar","rawGrammar","_grammarForScopeName","IToken","tokens","ruleStack","stoppedEarly","Uint32Array","startIndex","endIndex","INITIAL","Element","Root","FontStyle","IGrammar","IRawGrammar","RawGrammar","IRawTheme","RawTheme","IRawThemeSetting","RawThemeSetting","OnigScanner","OnigString","StateStack","Awaitable","T","Promise","MaybeGetter","MaybeModule","default","MaybeArray","RequireKeys","K","Omit","Pick","Required","Nothing","StringLiteralUnion","U","PatternScanner","RegexEngineString","RegexEngine","RegExp","createScanner","patterns","createString","s","WebAssemblyInstantiator","WebAssembly","ImportValue","Record","WebAssemblyInstance","importObject","WebAssemblyInstantiatedSource","Instance","OnigurumaLoadOptions","ArrayBufferView","ArrayBuffer","Response","instantiator","data","LoadWasmOptionsPlain","LoadWasmOptions","Grammar","name","PlainTextLanguage","AnsiLanguage","SpecialLanguage","LanguageInput","LanguageRegistration","ResolveBundleKey","scopeName","displayName","aliases","embeddedLangs","embeddedLanguages","embeddedLangsLazy","balancedBracketSelectors","unbalancedBracketSelectors","foldingStopMarker","foldingStartMarker","injectTo","BundledLanguageInfo","DynamicImportLanguageRegistration","id","import","DecorationOptions","DecorationItem","decorations","OffsetOrPosition","DecorationTransformType","start","end","tagName","properties","transform","element","type","alwaysWrap","ResolvedDecorationItem","ResolvedPosition","Position","line","character","Offset","offset","SpecialTheme","ThemeInput","ThemeRegistrationAny","ThemeRegistrationRaw","ThemeRegistration","Partial","ThemeRegistrationResolved","settings","tokenColors","fg","bg","colorReplacements","colors","$schema","semanticHighlighting","semanticTokenColors","DynamicImportThemeRegistration","BundledThemeInfo","GrammarState","lang","theme","themes","getInternalStack","getScopes","CodeToTokensBaseOptions","Languages","Themes","TokenizeWithThemeOptions","CodeToTokensOptions","CodeOptionsThemes","CodeToTokensWithThemesOptions","ThemedTokenScopeExplanation","themeMatches","ThemedTokenExplanation","content","scopes","ThemedToken","TokenStyles","TokenBase","explanation","color","bgColor","fontStyle","htmlStyle","htmlAttrs","ThemedTokenWithVariants","variants","includeExplanation","tokenizeMaxLineLength","tokenizeTimeLimit","grammarState","grammarContextCode","TokensResult","tokens","themeName","rootStyle","TransformerOptions","ShikiTransformer","transformers","ShikiTransformerContextMeta","ShikiTransformerContextCommon","CodeToHastOptions","meta","options","codeToHast","code","codeToTokens","ShikiTransformerContextSource","source","ShikiTransformerContext","root","pre","lines","structure","addClassToHast","hast","className","enforce","preprocess","this","span","col","lineElement","token","postprocess","html","HighlighterCoreOptions","Sync","engine","langs","langAlias","warnings","BundledHighlighterOptions","L","CodeOptionsSingleTheme","CodeOptionsMultipleThemes","defaultColor","colorsRendering","cssVariablePrefix","CodeToHastOptionsCommon","CodeOptionsMeta","mergeWhitespaces","mergeSameStyleTokens","tabindex","__raw","key","CodeToHastRenderOptionsCommon","langId","CodeToHastRenderOptions","GrammarStateMapKey","ShikiPrimitive","BundledLangKeys","BundledThemeKeys","Symbol","dispose","loadTheme","loadThemeSync","loadLanguage","loadLanguageSync","getTheme","getLanguage","setTheme","colorMap","resolveLangAlias","getLoadedLanguages","getLoadedThemes","HighlighterGeneric","codeToHtml","codeToTokensBase","codeToTokensWithThemes","getLastGrammarState","getInternalContext","getBundledLanguages","getBundledThemes","HighlighterCore","CreateBundledHighlighterOptions","BundledLangs","BundledThemes","CreatedBundledHighlighterOptions","CreateHighlighterFactory","ShikiError","Error","constructor","message"],"sources":["../src/_internal/content.ts","../src/_internal/sidebar.ts","../src/_internal/transform.ts","../src/lint/config.ts","../src/integration.ts","../../../node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts","../../../node_modules/.pnpm/@types+hast@3.0.4/node_modules/@types/hast/index.d.ts","../../../node_modules/.pnpm/@shikijs+vscode-textmate@10.0.2/node_modules/@shikijs/vscode-textmate/dist/index.d.ts","../../../node_modules/.pnpm/@shikijs+types@4.1.0/node_modules/@shikijs/types/dist/index.d.mts","../src/_internal/code-transformers.ts","../src/index.ts"],"x_google_ignoreList":[5,6,7,8],"mappings":";;;;;;;;;;;;;AC2rBA;;;;;;;;ACjrBA;iBFwBsB,iBAAA,CACpB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