@rspress/plugin-api-docgen 2.0.0-beta.3 → 2.0.0-beta.4
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/index.js +28 -28
- package/package.json +7 -7
package/dist/index.js
CHANGED
@@ -8,20 +8,20 @@ __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].join(__dirname, '..');
|
|
8
8
|
const apiDocMap = {};
|
9
9
|
const locales = {
|
10
10
|
zh: {
|
11
|
-
copy:
|
12
|
-
copied:
|
13
|
-
expand:
|
14
|
-
collapse:
|
15
|
-
className:
|
16
|
-
style:
|
17
|
-
children:
|
18
|
-
disabled:
|
19
|
-
required:
|
20
|
-
property:
|
21
|
-
description:
|
22
|
-
type:
|
23
|
-
defaultValue:
|
24
|
-
overview:
|
11
|
+
copy: "\u590D\u5236",
|
12
|
+
copied: "\u590D\u5236\u6210\u529F",
|
13
|
+
expand: "\u5C55\u5F00\u4EE3\u7801",
|
14
|
+
collapse: "\u6536\u8D77\u4EE3\u7801",
|
15
|
+
className: "\u8282\u70B9\u7C7B\u540D",
|
16
|
+
style: "\u8282\u70B9\u6837\u5F0F",
|
17
|
+
children: "\u5B50\u8282\u70B9",
|
18
|
+
disabled: "\u662F\u5426\u7981\u7528",
|
19
|
+
required: "\u5FC5\u586B",
|
20
|
+
property: "\u5C5E\u6027",
|
21
|
+
description: "\u8BF4\u660E",
|
22
|
+
type: "\u7C7B\u578B",
|
23
|
+
defaultValue: "\u9ED8\u8BA4\u503C",
|
24
|
+
overview: "\u6982\u89C8"
|
25
25
|
},
|
26
26
|
en: {
|
27
27
|
copy: 'Copy',
|
@@ -40,20 +40,20 @@ const locales = {
|
|
40
40
|
overview: 'Overview'
|
41
41
|
},
|
42
42
|
ru: {
|
43
|
-
copy:
|
44
|
-
copied:
|
45
|
-
expand:
|
46
|
-
collapse:
|
47
|
-
className:
|
48
|
-
style:
|
49
|
-
children:
|
50
|
-
disabled:
|
51
|
-
required:
|
52
|
-
property:
|
53
|
-
description:
|
54
|
-
type:
|
55
|
-
defaultValue:
|
56
|
-
overview:
|
43
|
+
copy: "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
|
44
|
+
copied: "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0443\u0441\u043F\u0435\u0448\u043D\u043E",
|
45
|
+
expand: "\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043A\u043E\u0434",
|
46
|
+
collapse: "\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043A\u043E\u0434",
|
47
|
+
className: "\u0418\u043C\u044F \u043A\u043B\u0430\u0441\u0441\u0430 \u0443\u0437\u043B\u0430",
|
48
|
+
style: "\u0421\u0442\u0438\u043B\u044C \u0443\u0437\u043B\u0430",
|
49
|
+
children: "\u0414\u043E\u0447\u0435\u0440\u043D\u0438\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",
|
50
|
+
disabled: "\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E",
|
51
|
+
required: "\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E",
|
52
|
+
property: "\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u043E",
|
53
|
+
description: "\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",
|
54
|
+
type: "\u0422\u0438\u043F",
|
55
|
+
defaultValue: "\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",
|
56
|
+
overview: "\u041E\u0431\u0437\u043E\u0440"
|
57
57
|
}
|
58
58
|
};
|
59
59
|
const isToolEntries = (obj)=>!!obj.documentation || !!obj["react-docgen-typescript"];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rspress/plugin-api-docgen",
|
3
|
-
"version": "2.0.0-beta.
|
3
|
+
"version": "2.0.0-beta.4",
|
4
4
|
"description": "A plugin for rspress to generate api doc.",
|
5
5
|
"bugs": "https://github.com/web-infra-dev/rspress/issues",
|
6
6
|
"repository": {
|
@@ -29,15 +29,15 @@
|
|
29
29
|
"react-markdown": "^10.1.0",
|
30
30
|
"remark-gfm": "^4.0.1",
|
31
31
|
"unified": "^11.0.5",
|
32
|
-
"@rspress/shared": "2.0.0-beta.
|
32
|
+
"@rspress/shared": "2.0.0-beta.4"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
|
-
"@microsoft/api-extractor": "^7.52.
|
36
|
-
"@rslib/core": "0.6.
|
35
|
+
"@microsoft/api-extractor": "^7.52.7",
|
36
|
+
"@rslib/core": "0.6.8",
|
37
37
|
"@types/mdast": "^4.0.4",
|
38
38
|
"@types/node": "^18.11.17",
|
39
|
-
"@types/react": "^18.3.
|
40
|
-
"@types/react-dom": "^18.3.
|
39
|
+
"@types/react": "^18.3.21",
|
40
|
+
"@types/react-dom": "^18.3.7",
|
41
41
|
"react": "^19.1.0",
|
42
42
|
"react-dom": "^19.1.0",
|
43
43
|
"react-router-dom": "^6.29.0",
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"typescript": "^5.8.2"
|
46
46
|
},
|
47
47
|
"peerDependencies": {
|
48
|
-
"@rspress/core": "^2.0.0-beta.
|
48
|
+
"@rspress/core": "^2.0.0-beta.4",
|
49
49
|
"typescript": "^5.8.2"
|
50
50
|
},
|
51
51
|
"peerDependenciesMeta": {
|