@next-core/build-config-factory 2.18.46 → 2.18.49

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/CHANGELOG.md CHANGED
@@ -3,49 +3,48 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [2.18.46](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.45...@next-core/build-config-factory@2.18.46) (2022-06-10)
7
-
6
+ ## [2.18.49](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.48...@next-core/build-config-factory@2.18.49) (2022-06-24)
8
7
 
9
- ### Bug Fixes
8
+ **Note:** Version bump only for package @next-core/build-config-factory
10
9
 
11
- * support group i18n ([b8b774f](https://github.com/easyops-cn/next-core/commit/b8b774f705b5be23209b3839d0a12780dd5b9550))
12
10
 
13
11
 
14
12
 
15
13
 
14
+ ## [2.18.48](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.47...@next-core/build-config-factory@2.18.48) (2022-06-23)
16
15
 
17
- ## [2.18.45](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.44...@next-core/build-config-factory@2.18.45) (2022-06-06)
16
+ ### Bug Fixes
18
17
 
19
- **Note:** Version bump only for package @next-core/build-config-factory
18
+ - show inherited method ([779eddb](https://github.com/easyops-cn/next-core/commit/779eddbf7bee66b24566eaf0288a14ae05079f5f))
20
19
 
20
+ ## [2.18.47](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.46...@next-core/build-config-factory@2.18.47) (2022-06-14)
21
21
 
22
+ ### Bug Fixes
22
23
 
24
+ - typo ([7e942d3](https://github.com/easyops-cn/next-core/commit/7e942d363d9af86875b10a167b50a5d0972835e0))
23
25
 
26
+ ## [2.18.46](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.45...@next-core/build-config-factory@2.18.46) (2022-06-10)
24
27
 
25
- ## [2.18.44](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.43...@next-core/build-config-factory@2.18.44) (2022-05-26)
28
+ ### Bug Fixes
26
29
 
27
- **Note:** Version bump only for package @next-core/build-config-factory
30
+ - support group i18n ([b8b774f](https://github.com/easyops-cn/next-core/commit/b8b774f705b5be23209b3839d0a12780dd5b9550))
28
31
 
32
+ ## [2.18.45](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.44...@next-core/build-config-factory@2.18.45) (2022-06-06)
29
33
 
34
+ **Note:** Version bump only for package @next-core/build-config-factory
30
35
 
36
+ ## [2.18.44](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.43...@next-core/build-config-factory@2.18.44) (2022-05-26)
31
37
 
38
+ **Note:** Version bump only for package @next-core/build-config-factory
32
39
 
33
40
  ## [2.18.43](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.42...@next-core/build-config-factory@2.18.43) (2022-05-10)
34
41
 
35
42
  **Note:** Version bump only for package @next-core/build-config-factory
36
43
 
37
-
38
-
39
-
40
-
41
44
  ## [2.18.42](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.41...@next-core/build-config-factory@2.18.42) (2022-05-09)
42
45
 
43
46
  **Note:** Version bump only for package @next-core/build-config-factory
44
47
 
45
-
46
-
47
-
48
-
49
48
  ## [2.18.41](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.40...@next-core/build-config-factory@2.18.41) (2022-05-07)
50
49
 
51
50
  **Note:** Version bump only for package @next-core/build-config-factory
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/build-config-factory",
3
- "version": "2.18.46",
3
+ "version": "2.18.49",
4
4
  "description": "build config factory",
5
5
  "homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/build-config-factory",
6
6
  "license": "GPL-3.0",
@@ -18,10 +18,10 @@
18
18
  },
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@next-core/brick-utils": "^2.37.17",
21
+ "@next-core/brick-utils": "^2.37.18",
22
22
  "@next-core/repo-config": "^0.2.1",
23
- "@next-core/typedoc-plugin-filter-inherit": "^1.0.0",
24
- "@next-core/webpack-config-factory": "^2.16.2",
23
+ "@next-core/typedoc-plugin-filter-inherit": "^1.2.1",
24
+ "@next-core/webpack-config-factory": "^2.16.3",
25
25
  "change-case": "^4.1.2",
26
26
  "chokidar": "^3.5.3",
27
27
  "fs-extra": "^10.1.0",
@@ -32,10 +32,10 @@
32
32
  "meow": "^9.0.0",
33
33
  "moment": "^2.29.3",
34
34
  "npmlog": "^6.0.2",
35
- "prettier": "^2.6.2",
35
+ "prettier": "^2.7.1",
36
36
  "rimraf": "^3.0.2",
37
37
  "typedoc": "^0.19.2",
38
38
  "typedoc-plugin-no-inherit": "^1.2.2"
39
39
  },
40
- "gitHead": "9ae0cc76cd7b13dd781b0209f1b92dc1c8b317eb"
40
+ "gitHead": "5828708654c05d56554685add5dd6cd5733c881c"
41
41
  }
@@ -76,7 +76,7 @@ function convertTagsToMapByFields(tags, fields) {
76
76
  let specialField;
77
77
  // typedoc 读取到的 tag 都为小写,不是驼峰的形式,这里特殊处理下最终文档生成驼峰的形式
78
78
  if (
79
- (specialField = ["editorProps", "groupI18n"].find(
79
+ (specialField = ["editorProps", "groupI18N"].find(
80
80
  (name) => name.toLowerCase() === curr.tag
81
81
  ))
82
82
  ) {
@@ -177,12 +177,18 @@ function extractBrickDocBaseKind(tags) {
177
177
 
178
178
  function getRealBrickDocCategory(brick) {
179
179
  if (!Object.prototype.hasOwnProperty.call(brick, "decorators")) {
180
- //当继承的属性来自于 node_modeule 时,相关的 @propert decorators 已经被转成低版本的代码,typedoc 获取不到相关 decorators 信息,
180
+ //当继承的属性来自于 node_module 时,相关的 @property decorators 已经被转成低版本的代码,typedoc 获取不到相关 decorators 信息,
181
181
  // 这里通过 comment tag 来标识是否使用了 @property, 以便继承的属性也能生成到文档的 property 类别中显示
182
182
  if (
183
183
  get(brick, "comment.tags", []).find((item) => item.tag === "property")
184
184
  ) {
185
185
  return "property";
186
+ } else if (
187
+ get(brick, "signatures[0].comment.tags", []).find(
188
+ (item) => item.tag === "method"
189
+ )
190
+ ) {
191
+ return "method";
186
192
  }
187
193
 
188
194
  return null;
@@ -625,7 +631,6 @@ module.exports = function generateBrickDocs(packageName) {
625
631
  // disableSources: true,
626
632
  hideGenerator: true,
627
633
  categoryOrder: ["property", "event", "method", "Other"],
628
- allowInheritedDoc: ["FormItemElement", "BaseChartElement", "GraphElement"],
629
634
  exclude: [
630
635
  "node_modules",
631
636
  "**/*.spec.ts?(x)",