@alauda/doom 2.5.0 → 2.5.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/lib/theme/Breadcrumb/index.js +16 -10
- package/package.json +12 -12
- package/styles/products.module.scss +3 -7
|
@@ -58,23 +58,29 @@ export const BreadCrumb = () => {
|
|
|
58
58
|
}
|
|
59
59
|
const buildInfoGroups = [];
|
|
60
60
|
for (const [base, items] of Object.entries(rawBuildInfo)) {
|
|
61
|
-
|
|
62
|
-
.replace('alauda-build-of-', '')
|
|
63
|
-
.replace('alauda-', '')[0];
|
|
64
|
-
let group = buildInfoGroups.find((g) => g.id === id);
|
|
65
|
-
if (!group) {
|
|
66
|
-
group = { id, items: [] };
|
|
67
|
-
buildInfoGroups.push(group);
|
|
68
|
-
}
|
|
61
|
+
let buildInfo;
|
|
69
62
|
if (isBuildInfoItem(items)) {
|
|
70
|
-
|
|
63
|
+
buildInfo = items;
|
|
71
64
|
}
|
|
72
65
|
else {
|
|
73
66
|
const latest = Object.values(items).at(-1);
|
|
74
67
|
if (latest) {
|
|
75
|
-
|
|
68
|
+
buildInfo = latest;
|
|
76
69
|
}
|
|
77
70
|
}
|
|
71
|
+
if (!buildInfo) {
|
|
72
|
+
continue;
|
|
73
|
+
}
|
|
74
|
+
const id = (buildInfo.displayName?.en || base)
|
|
75
|
+
.toLowerCase()
|
|
76
|
+
.replace(/^alauda[\s-]+/, '')
|
|
77
|
+
.replace(/^build[\s-]+of[\s-]+/, '')[0];
|
|
78
|
+
let group = buildInfoGroups.find((g) => g.id === id);
|
|
79
|
+
if (!group) {
|
|
80
|
+
group = { id, items: [] };
|
|
81
|
+
buildInfoGroups.push(group);
|
|
82
|
+
}
|
|
83
|
+
group.items.push(buildInfo);
|
|
78
84
|
}
|
|
79
85
|
setBuildInfoGroups(buildInfoGroups.sort((a, b) => a.id.localeCompare(b.id)));
|
|
80
86
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alauda/doom",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Doctor Doom making docs.",
|
|
6
6
|
"repository": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@alauda/doc-stream-sdk": "0.1.0",
|
|
47
47
|
"@alauda/doom-export": "^0.4.1",
|
|
48
48
|
"@cspell/eslint-plugin": "^10.0.0",
|
|
49
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
49
|
+
"@eslint-react/eslint-plugin": "^5.8.3",
|
|
50
50
|
"@eslint/js": "^10.0.1",
|
|
51
51
|
"@inquirer/prompts": "^8.4.3",
|
|
52
52
|
"@openapi-contrib/openapi-schema-to-json-schema": "^5.1.0",
|
|
@@ -54,20 +54,20 @@
|
|
|
54
54
|
"@rsbuild/plugin-sass": "^1.5.2",
|
|
55
55
|
"@rsbuild/plugin-svgr": "^2.0.2",
|
|
56
56
|
"@rsbuild/plugin-yaml": "^1.0.4",
|
|
57
|
-
"@rspress/core": "2.0.
|
|
58
|
-
"@rspress/plugin-algolia": "2.0.
|
|
59
|
-
"@rspress/plugin-sitemap": "2.0.
|
|
60
|
-
"@rspress/shared": "2.0.
|
|
61
|
-
"@shikijs/transformers": "^4.0
|
|
57
|
+
"@rspress/core": "2.0.12",
|
|
58
|
+
"@rspress/plugin-algolia": "2.0.12",
|
|
59
|
+
"@rspress/plugin-sitemap": "2.0.12",
|
|
60
|
+
"@rspress/shared": "2.0.12",
|
|
61
|
+
"@shikijs/transformers": "^4.1.0",
|
|
62
62
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
63
|
-
"@types/react": "^19.2.
|
|
63
|
+
"@types/react": "^19.2.15",
|
|
64
64
|
"ab64": "^0.1.6",
|
|
65
65
|
"chokidar": "^5.0.0",
|
|
66
66
|
"clsx": "^2.1.1",
|
|
67
67
|
"commander": "^14.0.3",
|
|
68
68
|
"ejs": "^5.0.2",
|
|
69
69
|
"es-toolkit": "^1.46.1",
|
|
70
|
-
"eslint": "^10.
|
|
70
|
+
"eslint": "^10.4.0",
|
|
71
71
|
"eslint-plugin-mdx": "^3.7.0",
|
|
72
72
|
"globals": "^17.6.0",
|
|
73
73
|
"hastscript": "^9.0.1",
|
|
@@ -80,13 +80,13 @@
|
|
|
80
80
|
"mdast-util-to-markdown": "^2.1.2",
|
|
81
81
|
"mdast-util-to-string": "^4.0.0",
|
|
82
82
|
"mermaid": "^11.15.0",
|
|
83
|
-
"openai": "^6.
|
|
83
|
+
"openai": "^6.38.0",
|
|
84
84
|
"openapi-types": "^12.1.3",
|
|
85
85
|
"p-ratelimit": "^1.0.1",
|
|
86
86
|
"picomatch": "^4.0.4",
|
|
87
87
|
"pluralize": "^8.0.0",
|
|
88
88
|
"react-markdown": "^10.1.0",
|
|
89
|
-
"react-tooltip": "^6.0.
|
|
89
|
+
"react-tooltip": "^6.0.3",
|
|
90
90
|
"rehype-raw": "^7.0.0",
|
|
91
91
|
"rehype-sanitize": "^6.0.0",
|
|
92
92
|
"remark-directive": "^4.0.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"tinyglobby": "^0.2.16",
|
|
108
108
|
"type-fest": "^5.6.0",
|
|
109
109
|
"typescript": "^6.0.3",
|
|
110
|
-
"typescript-eslint": "^8.59.
|
|
110
|
+
"typescript-eslint": "^8.59.4",
|
|
111
111
|
"unified": "^11.0.5",
|
|
112
112
|
"unified-lint-rule": "^3.0.1",
|
|
113
113
|
"unist-util-position": "^5.0.0",
|
|
@@ -5,19 +5,15 @@ body:has(.container) :global {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.container {
|
|
8
|
-
column-count:
|
|
8
|
+
column-count: 3;
|
|
9
9
|
column-gap: 1lh;
|
|
10
10
|
|
|
11
|
-
@media (max-width: 1366px) {
|
|
12
|
-
column-count: 4;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
11
|
@media (max-width: 1024px) {
|
|
16
|
-
column-count:
|
|
12
|
+
column-count: 2;
|
|
17
13
|
}
|
|
18
14
|
|
|
19
15
|
@media (max-width: 768px) {
|
|
20
|
-
column-count:
|
|
16
|
+
column-count: 1;
|
|
21
17
|
}
|
|
22
18
|
|
|
23
19
|
h2 {
|