@alauda/doom 1.6.1 → 1.7.1
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/lib/cli/load-config.js +2 -0
- package/lib/plugins/attributes/index.d.ts +2 -0
- package/lib/plugins/attributes/index.js +9 -0
- package/lib/plugins/attributes/remark-attributes/attributes-transformer.d.ts +14 -0
- package/lib/plugins/attributes/remark-attributes/attributes-transformer.js +62 -0
- package/lib/plugins/attributes/remark-attributes/index.d.ts +9 -0
- package/lib/plugins/attributes/remark-attributes/index.js +13 -0
- package/lib/plugins/attributes/remark-attributes/mdast-attributes.d.ts +5 -0
- package/lib/plugins/attributes/remark-attributes/mdast-attributes.js +21 -0
- package/lib/plugins/attributes/remark-attributes/micromark-attributes.d.ts +4 -0
- package/lib/plugins/attributes/remark-attributes/micromark-attributes.js +169 -0
- package/lib/plugins/attributes/remark-attributes/types.d.ts +80 -0
- package/lib/plugins/attributes/remark-attributes/types.js +1 -0
- package/lib/runtime/components/ExternalSiteLink.js +4 -3
- package/package.json +3 -1
package/lib/cli/load-config.js
CHANGED
|
@@ -13,6 +13,7 @@ import { transformerMetaHighlight, transformerMetaWordHighlight, transformerNota
|
|
|
13
13
|
import { difference } from 'es-toolkit';
|
|
14
14
|
import { globSync } from 'tinyglobby';
|
|
15
15
|
import { cyan } from 'yoctocolors';
|
|
16
|
+
import { attributesPlugin } from '../plugins/attributes/index.js';
|
|
16
17
|
import { apiPlugin, autoSidebarPlugin, autoTocPlugin, createTransformerCallouts, directivesPlugin, globalPlugin, mermaidPlugin, permissionPlugin, replacePlugin, sitemapPlugin, } from '../plugins/index.js';
|
|
17
18
|
import { isExplicitlyUnversioned, UNVERSIONED, } from '../shared/index.js';
|
|
18
19
|
import { pathExists, pkgResolve, resolveStaticConfig } from '../utils/index.js';
|
|
@@ -181,6 +182,7 @@ const getCommonConfig = async ({ config, root, configFilePath, base, version, do
|
|
|
181
182
|
apiPlugin({
|
|
182
183
|
localBasePath,
|
|
183
184
|
}),
|
|
185
|
+
attributesPlugin(),
|
|
184
186
|
autoSidebarPlugin({ export: export_, ignore }),
|
|
185
187
|
autoTocPlugin(),
|
|
186
188
|
directivesPlugin(),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Node, Root } from 'mdast';
|
|
2
|
+
export interface Attrs extends Node {
|
|
3
|
+
type: 'attrs';
|
|
4
|
+
value?: string | null;
|
|
5
|
+
}
|
|
6
|
+
declare module 'mdast' {
|
|
7
|
+
interface PhrasingContentMap {
|
|
8
|
+
attrs: Attrs;
|
|
9
|
+
}
|
|
10
|
+
interface RootContentMap {
|
|
11
|
+
attrs: Attrs;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export declare function attributesTransformer(root: Root): void;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import parseAttrs from 'md-attr-parser';
|
|
2
|
+
import { visit } from 'unist-util-visit';
|
|
3
|
+
export function attributesTransformer(root) {
|
|
4
|
+
visit(root, 'paragraph', (node, _, parent) => {
|
|
5
|
+
if ('children' in node &&
|
|
6
|
+
node.children.length === 1 &&
|
|
7
|
+
node.children[0].type === 'attrs') {
|
|
8
|
+
const children = parent.children;
|
|
9
|
+
const index = children.indexOf(node);
|
|
10
|
+
children[index] = node.children[0];
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
visit(root, (node, _, parent) => node.type === 'paragraph' && parent?.type === 'listItem', (node, _, parent) => {
|
|
14
|
+
const { children } = node;
|
|
15
|
+
const ids = Object.entries(children)
|
|
16
|
+
.filter(([, child]) => child.type === 'attrs')
|
|
17
|
+
.map(([id, node]) => [Number.parseInt(id, 10), node]);
|
|
18
|
+
if (ids.length === 0) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
for (const [index, attrNode] of ids) {
|
|
22
|
+
const sibling = children[index - 1];
|
|
23
|
+
if (sibling.type === 'text') {
|
|
24
|
+
const data = parent.data;
|
|
25
|
+
parent.data = {
|
|
26
|
+
...data,
|
|
27
|
+
hProperties: {
|
|
28
|
+
...data?.hProperties,
|
|
29
|
+
...parseAttrs(attrNode.value).prop,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
children.splice(index, 1);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
visit(root, 'attrs', (node, index, parent) => {
|
|
37
|
+
if (index == null || parent == null || parent.children.length <= 1) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
const { children } = parent;
|
|
41
|
+
const sibling = children.at(index - 1);
|
|
42
|
+
if (!sibling || sibling.type === 'text') {
|
|
43
|
+
parent.data = {
|
|
44
|
+
...parent.data,
|
|
45
|
+
hProperties: {
|
|
46
|
+
...parent.data?.hProperties,
|
|
47
|
+
...parseAttrs(node.value).prop,
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
sibling.data = {
|
|
53
|
+
...sibling.data,
|
|
54
|
+
hProperties: {
|
|
55
|
+
...sibling.data?.hProperties,
|
|
56
|
+
...parseAttrs(node.value).prop,
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
children.splice(index, 1);
|
|
61
|
+
});
|
|
62
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Root } from 'mdast';
|
|
2
|
+
import type { Extension as FromMarkdownExtension } from 'mdast-util-from-markdown';
|
|
3
|
+
import type { Plugin } from 'unified';
|
|
4
|
+
import type { AttributesExtension } from './types.js';
|
|
5
|
+
export interface AttributesData {
|
|
6
|
+
micromarkExtensions?: AttributesExtension[];
|
|
7
|
+
fromMarkdownExtensions?: FromMarkdownExtension[];
|
|
8
|
+
}
|
|
9
|
+
export declare const remarkAttributes: Plugin<[], Root>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { attributesTransformer } from './attributes-transformer.js';
|
|
2
|
+
import { mdastAttributes } from './mdast-attributes.js';
|
|
3
|
+
import { micromarkAttributes } from './micromark-attributes.js';
|
|
4
|
+
export const remarkAttributes = function () {
|
|
5
|
+
const data = this.data();
|
|
6
|
+
function add(key, value) {
|
|
7
|
+
data[key] ||= [];
|
|
8
|
+
data[key].unshift(value);
|
|
9
|
+
}
|
|
10
|
+
add('micromarkExtensions', micromarkAttributes());
|
|
11
|
+
add('fromMarkdownExtensions', mdastAttributes());
|
|
12
|
+
return attributesTransformer;
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fully-configured extension to add Heading ID nodes to Markdown.
|
|
3
|
+
**/
|
|
4
|
+
export function mdastAttributes() {
|
|
5
|
+
return {
|
|
6
|
+
enter: {
|
|
7
|
+
attrs(token) {
|
|
8
|
+
this.enter({ type: 'attrs', value: null }, token);
|
|
9
|
+
this.buffer();
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
exit: {
|
|
13
|
+
attrs(token) {
|
|
14
|
+
const attrs = this.resume();
|
|
15
|
+
const node = this.stack[this.stack.length - 1];
|
|
16
|
+
this.exit(token);
|
|
17
|
+
node.value = attrs;
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { codes } from 'micromark-util-symbol';
|
|
2
|
+
export function micromarkAttributes(options = { escaped: false }) {
|
|
3
|
+
const syntaxExtensionEscaped = {
|
|
4
|
+
text: {
|
|
5
|
+
[codes.backslash]: {
|
|
6
|
+
name: 'attributesEscapedMaybeStart',
|
|
7
|
+
tokenize(effects, ok, stop) {
|
|
8
|
+
return start;
|
|
9
|
+
function start(code) {
|
|
10
|
+
return effects.attempt({
|
|
11
|
+
tokenize(effects, startOk, startNok) {
|
|
12
|
+
return attemptStart;
|
|
13
|
+
function attemptStart(code) {
|
|
14
|
+
if (code !== null) {
|
|
15
|
+
effects.consume(code);
|
|
16
|
+
return dive;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function dive(code) {
|
|
20
|
+
if (code === codes.backslash) {
|
|
21
|
+
effects.consume(code);
|
|
22
|
+
effects.enter('chunkString', { contentType: 'string' });
|
|
23
|
+
return effects.attempt({
|
|
24
|
+
tokenize(effects, diveOk, diveNok) {
|
|
25
|
+
return escapedBraces;
|
|
26
|
+
function escapedBraces(code) {
|
|
27
|
+
if (code === codes.backslash) {
|
|
28
|
+
effects.consume(code);
|
|
29
|
+
return braces;
|
|
30
|
+
}
|
|
31
|
+
return diveNok(code);
|
|
32
|
+
}
|
|
33
|
+
function braces(code) {
|
|
34
|
+
if (code === codes.leftCurlyBrace ||
|
|
35
|
+
code === codes.rightCurlyBrace) {
|
|
36
|
+
effects.consume(code);
|
|
37
|
+
effects.exit('chunkString');
|
|
38
|
+
return diveOk(code);
|
|
39
|
+
}
|
|
40
|
+
return diveNok(code);
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
}, startOk, dive);
|
|
44
|
+
}
|
|
45
|
+
if (code === codes.leftCurlyBrace) {
|
|
46
|
+
effects.enter('attributes');
|
|
47
|
+
effects.consume(code);
|
|
48
|
+
effects.enter('attrs');
|
|
49
|
+
effects.enter('chunkString', { contentType: 'string' });
|
|
50
|
+
return inside;
|
|
51
|
+
}
|
|
52
|
+
if (code !== null) {
|
|
53
|
+
return startNok;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function continueFurtherInside(code) {
|
|
57
|
+
effects.consume(code);
|
|
58
|
+
return inside;
|
|
59
|
+
}
|
|
60
|
+
function inside(code) {
|
|
61
|
+
// skip `#` which is used heading id in rspress
|
|
62
|
+
if (code === codes.numberSign) {
|
|
63
|
+
return startNok(code);
|
|
64
|
+
}
|
|
65
|
+
if ([
|
|
66
|
+
codes.carriageReturn,
|
|
67
|
+
codes.lineFeed,
|
|
68
|
+
codes.carriageReturnLineFeed,
|
|
69
|
+
].includes(code)) {
|
|
70
|
+
effects.consume(code);
|
|
71
|
+
return startNok(code);
|
|
72
|
+
}
|
|
73
|
+
if (code === codes.backslash) {
|
|
74
|
+
return effects.attempt({
|
|
75
|
+
tokenize(effects, insideOk, insideNok) {
|
|
76
|
+
return attemptBackslash;
|
|
77
|
+
function attemptBackslash(code) {
|
|
78
|
+
if (code === codes.backslash) {
|
|
79
|
+
effects.exit('chunkString');
|
|
80
|
+
effects.exit('attrs');
|
|
81
|
+
effects.consume(code);
|
|
82
|
+
return endBrace;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function endBrace(code) {
|
|
86
|
+
if (code === codes.rightCurlyBrace) {
|
|
87
|
+
effects.consume(code);
|
|
88
|
+
effects.exit('attributes');
|
|
89
|
+
return insideOk(code);
|
|
90
|
+
}
|
|
91
|
+
if (code === codes.backslash) {
|
|
92
|
+
effects.consume(code);
|
|
93
|
+
return insideNok(code);
|
|
94
|
+
}
|
|
95
|
+
if (code !== null) {
|
|
96
|
+
effects.consume(code);
|
|
97
|
+
return insideNok(code);
|
|
98
|
+
}
|
|
99
|
+
throw new Error(`No closing attribute brace found`);
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
}, startOk, continueFurtherInside)(code);
|
|
103
|
+
}
|
|
104
|
+
if (code !== null) {
|
|
105
|
+
effects.consume(code);
|
|
106
|
+
return inside;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
}, ok, stop)(code);
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
const syntaxExtension = {
|
|
117
|
+
text: {
|
|
118
|
+
[codes.leftCurlyBrace]: {
|
|
119
|
+
name: 'attributesMaybeStart',
|
|
120
|
+
tokenize(effects, ok, nok) {
|
|
121
|
+
return start;
|
|
122
|
+
function start(code) {
|
|
123
|
+
return effects.attempt({
|
|
124
|
+
tokenize(effects, ok, nok) {
|
|
125
|
+
return attemptStart;
|
|
126
|
+
function attemptStart(code) {
|
|
127
|
+
if (code !== null) {
|
|
128
|
+
effects.enter('attributes');
|
|
129
|
+
effects.consume(code);
|
|
130
|
+
effects.enter('attrs');
|
|
131
|
+
effects.enter('chunkString', { contentType: 'string' });
|
|
132
|
+
return inside;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
function inside(code) {
|
|
136
|
+
if (code !== null) {
|
|
137
|
+
if ([
|
|
138
|
+
codes.carriageReturn,
|
|
139
|
+
codes.lineFeed,
|
|
140
|
+
codes.carriageReturnLineFeed,
|
|
141
|
+
null,
|
|
142
|
+
codes.backslash,
|
|
143
|
+
codes.leftCurlyBrace,
|
|
144
|
+
].includes(code)) {
|
|
145
|
+
effects.consume(code);
|
|
146
|
+
return nok(code);
|
|
147
|
+
}
|
|
148
|
+
if (code === codes.rightCurlyBrace) {
|
|
149
|
+
effects.exit('chunkString');
|
|
150
|
+
effects.exit('attrs');
|
|
151
|
+
effects.consume(code);
|
|
152
|
+
effects.exit('attributes');
|
|
153
|
+
return ok(code);
|
|
154
|
+
}
|
|
155
|
+
effects.consume(code);
|
|
156
|
+
return inside;
|
|
157
|
+
}
|
|
158
|
+
return nok(code);
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
}, ok, nok)(code);
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
previous: (code) => code !== codes.backslash,
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
};
|
|
168
|
+
return options.escaped ? syntaxExtensionEscaped : syntaxExtension;
|
|
169
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { Construct, Effects, Extension, State, Token, TokenizeContext, TokenType } from 'micromark-util-types';
|
|
2
|
+
export type AttributesTokenType = TokenType | 'attributes' | 'attrs';
|
|
3
|
+
/**
|
|
4
|
+
* Open a token.
|
|
5
|
+
*
|
|
6
|
+
* @param type
|
|
7
|
+
* Token type.
|
|
8
|
+
* @param fields
|
|
9
|
+
* Extra fields.
|
|
10
|
+
* @returns
|
|
11
|
+
* Token.
|
|
12
|
+
*/
|
|
13
|
+
export type AttributesEnter = (type: AttributesTokenType, fields?: Omit<Partial<Token>, 'type'>) => Token;
|
|
14
|
+
/**
|
|
15
|
+
* Close a token.
|
|
16
|
+
*
|
|
17
|
+
* @param type
|
|
18
|
+
* Token type.
|
|
19
|
+
* @returns
|
|
20
|
+
* Token.
|
|
21
|
+
*/
|
|
22
|
+
export type AttributesExit = (type: AttributesTokenType) => Token;
|
|
23
|
+
/**
|
|
24
|
+
* Attempt deals with several values, and tries to parse according to those
|
|
25
|
+
* values.
|
|
26
|
+
*
|
|
27
|
+
* If a value resulted in `ok`, it worked, the tokens that were made are used,
|
|
28
|
+
* and `ok` is switched to.
|
|
29
|
+
* If the result is `nok`, the attempt failed, so we revert to the original
|
|
30
|
+
* state, and `nok` is used.
|
|
31
|
+
*
|
|
32
|
+
* @param construct
|
|
33
|
+
* Construct(s) to try.
|
|
34
|
+
* @param ok
|
|
35
|
+
* State to move to when successful.
|
|
36
|
+
* @param nok
|
|
37
|
+
* State to move to when unsuccessful.
|
|
38
|
+
* @returns
|
|
39
|
+
* Next state.
|
|
40
|
+
*/
|
|
41
|
+
export type AttributesAttempt = (construct: AttributesConstruct[] | AttributesConstruct | AttributesConstructRecord, ok: State, nok?: State) => State;
|
|
42
|
+
export type AttributeEffects = {
|
|
43
|
+
/**
|
|
44
|
+
* Start a new token.
|
|
45
|
+
*/
|
|
46
|
+
enter: AttributesEnter;
|
|
47
|
+
/**
|
|
48
|
+
* End a started token.
|
|
49
|
+
*/
|
|
50
|
+
exit: AttributesExit;
|
|
51
|
+
/**
|
|
52
|
+
* Try to tokenize a construct.
|
|
53
|
+
*/
|
|
54
|
+
attempt: AttributesAttempt;
|
|
55
|
+
} & Effects;
|
|
56
|
+
/**
|
|
57
|
+
* A tokenize function sets up a state machine to handle character codes streaming in.
|
|
58
|
+
*
|
|
59
|
+
* @param this
|
|
60
|
+
* Tokenize context.
|
|
61
|
+
* @param effects
|
|
62
|
+
* Effects.
|
|
63
|
+
* @param ok
|
|
64
|
+
* State to go to when successful.
|
|
65
|
+
* @param nok
|
|
66
|
+
* State to go to when unsuccessful.
|
|
67
|
+
* @returns
|
|
68
|
+
* First state.
|
|
69
|
+
*/
|
|
70
|
+
export type AttributesTokenizer = (this: TokenizeContext, effects: AttributeEffects, ok: State, nok: State) => State;
|
|
71
|
+
export interface AttributesExtension extends Omit<Extension, 'text'> {
|
|
72
|
+
text?: AttributesConstructRecord;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Several constructs, mapped from their initial codes.
|
|
76
|
+
*/
|
|
77
|
+
export type AttributesConstructRecord = Record<string, AttributesConstruct[] | AttributesConstruct | undefined>;
|
|
78
|
+
export interface AttributesConstruct extends Omit<Construct, 'tokenize'> {
|
|
79
|
+
tokenize?: AttributesTokenizer;
|
|
80
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { NoSSR, useLang } from '@rspress/core/runtime';
|
|
2
|
+
import { NoSSR, useLang, usePageData } from '@rspress/core/runtime';
|
|
3
3
|
import { addTrailingSlash, isExternalUrl, normalizeHref, parseUrl, removeLeadingSlash, } from '@rspress/shared';
|
|
4
4
|
import { DEFAULT_PAGE_EXTENSIONS } from '@rspress/shared/constants';
|
|
5
5
|
import { clsx } from 'clsx';
|
|
@@ -11,6 +11,7 @@ import { useIsPrint } from '../hooks/index.js';
|
|
|
11
11
|
import { Directive } from './Directive.js';
|
|
12
12
|
const ExternalSiteLink_ = ({ name, href = '', className, ...props }) => {
|
|
13
13
|
const isPrint = useIsPrint();
|
|
14
|
+
const { siteData } = usePageData();
|
|
14
15
|
const site = useMemo(() => virtual.sites?.find((s) => s.name === name), [name]);
|
|
15
16
|
const lang = useLang();
|
|
16
17
|
if (!site) {
|
|
@@ -20,7 +21,7 @@ const ExternalSiteLink_ = ({ name, href = '', className, ...props }) => {
|
|
|
20
21
|
return _jsxs(Directive, { type: "danger", children: ["Invalid href `", href, "` found"] });
|
|
21
22
|
}
|
|
22
23
|
let { url, hash } = parseUrl(href);
|
|
23
|
-
const extname = url.split('.').
|
|
24
|
+
const extname = url.split('.').at(-1);
|
|
24
25
|
if (extname) {
|
|
25
26
|
if (DEFAULT_PAGE_EXTENSIONS.includes(`.${extname}`)) {
|
|
26
27
|
url = url.replace(new RegExp(`\\.${extname}$`), '');
|
|
@@ -32,7 +33,7 @@ const ExternalSiteLink_ = ({ name, href = '', className, ...props }) => {
|
|
|
32
33
|
(isUnversioned(virtual.version)
|
|
33
34
|
? site.base
|
|
34
35
|
: addTrailingSlash(site.base + site.version)) +
|
|
35
|
-
(lang ? addTrailingSlash(lang) : '') +
|
|
36
|
+
(lang && lang !== siteData.lang ? addTrailingSlash(lang) : '') +
|
|
36
37
|
(hash ? `${url}#${hash}` : url), target: "_blank", rel: "noopener noreferrer", className: clsx(classes.link, 'rp-cursor-pointer', className), ...props }));
|
|
37
38
|
};
|
|
38
39
|
export const ExternalSiteLink = (props) => (_jsx(NoSSR, { children: _jsx(ExternalSiteLink_, { ...props }) }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alauda/doom",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Doctor Doom making docs.",
|
|
6
6
|
"repository": "git+https://github.com/alauda/doom.git",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"eslint-plugin-mdx": "^3.5.0",
|
|
61
61
|
"globals": "^16.2.0",
|
|
62
62
|
"html-tag-names": "^2.1.0",
|
|
63
|
+
"md-attr-parser": "^1.3.0",
|
|
63
64
|
"mdast-util-mdx": "^3.0.0",
|
|
64
65
|
"mdast-util-mdx-jsx": "^3.2.0",
|
|
65
66
|
"mermaid": "^11.6.0",
|
|
@@ -85,6 +86,7 @@
|
|
|
85
86
|
"type-fest": "^4.41.0",
|
|
86
87
|
"typescript": "^5.8.3",
|
|
87
88
|
"typescript-eslint": "^8.34.1",
|
|
89
|
+
"unified": "^11.0.5",
|
|
88
90
|
"x-fetch": "^0.2.6",
|
|
89
91
|
"yaml": "^2.8.0",
|
|
90
92
|
"yoctocolors": "^2.1.1"
|