@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.
Files changed (2) hide show
  1. package/dist/index.js +28 -28
  2. 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",
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.3"
32
+ "@rspress/shared": "2.0.0-beta.4"
33
33
  },
34
34
  "devDependencies": {
35
- "@microsoft/api-extractor": "^7.52.5",
36
- "@rslib/core": "0.6.7",
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.20",
40
- "@types/react-dom": "^18.3.6",
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.3",
48
+ "@rspress/core": "^2.0.0-beta.4",
49
49
  "typescript": "^5.8.2"
50
50
  },
51
51
  "peerDependenciesMeta": {