@next-core/build-config-factory 2.18.47 → 2.18.48

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,6 +3,17 @@
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.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)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * show inherited method ([779eddb](https://github.com/easyops-cn/next-core/commit/779eddbf7bee66b24566eaf0288a14ae05079f5f))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [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)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/build-config-factory",
3
- "version": "2.18.47",
3
+ "version": "2.18.48",
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",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@next-core/brick-utils": "^2.37.17",
22
22
  "@next-core/repo-config": "^0.2.1",
23
- "@next-core/typedoc-plugin-filter-inherit": "^1.0.0",
23
+ "@next-core/typedoc-plugin-filter-inherit": "^1.2.0",
24
24
  "@next-core/webpack-config-factory": "^2.16.2",
25
25
  "change-case": "^4.1.2",
26
26
  "chokidar": "^3.5.3",
@@ -37,5 +37,5 @@
37
37
  "typedoc": "^0.19.2",
38
38
  "typedoc-plugin-no-inherit": "^1.2.2"
39
39
  },
40
- "gitHead": "fc509c856420d5385b85dc8918692221e9aa30e6"
40
+ "gitHead": "fea00f68859e17286116e998c4b52bc287374a91"
41
41
  }
@@ -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)",