@next-core/build-config-factory 2.18.47 → 2.18.50
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 +14 -22
- package/package.json +5 -5
- package/src/generateBrickDocs.js +7 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,60 +3,52 @@
|
|
|
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.
|
|
7
|
-
|
|
6
|
+
## [2.18.50](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.49...@next-core/build-config-factory@2.18.50) (2022-06-24)
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
**Note:** Version bump only for package @next-core/build-config-factory
|
|
10
9
|
|
|
11
|
-
* typo ([7e942d3](https://github.com/easyops-cn/next-core/commit/7e942d363d9af86875b10a167b50a5d0972835e0))
|
|
12
10
|
|
|
13
11
|
|
|
14
12
|
|
|
15
13
|
|
|
14
|
+
## [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)
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
**Note:** Version bump only for package @next-core/build-config-factory
|
|
18
17
|
|
|
18
|
+
## [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)
|
|
19
19
|
|
|
20
20
|
### Bug Fixes
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
- show inherited method ([779eddb](https://github.com/easyops-cn/next-core/commit/779eddbf7bee66b24566eaf0288a14ae05079f5f))
|
|
25
23
|
|
|
24
|
+
## [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)
|
|
26
25
|
|
|
26
|
+
### Bug Fixes
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
- typo ([7e942d3](https://github.com/easyops-cn/next-core/commit/7e942d363d9af86875b10a167b50a5d0972835e0))
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
## [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)
|
|
31
31
|
|
|
32
|
+
### Bug Fixes
|
|
32
33
|
|
|
34
|
+
- support group i18n ([b8b774f](https://github.com/easyops-cn/next-core/commit/b8b774f705b5be23209b3839d0a12780dd5b9550))
|
|
33
35
|
|
|
36
|
+
## [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)
|
|
34
37
|
|
|
38
|
+
**Note:** Version bump only for package @next-core/build-config-factory
|
|
35
39
|
|
|
36
40
|
## [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)
|
|
37
41
|
|
|
38
42
|
**Note:** Version bump only for package @next-core/build-config-factory
|
|
39
43
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
44
|
## [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)
|
|
45
45
|
|
|
46
46
|
**Note:** Version bump only for package @next-core/build-config-factory
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
48
|
## [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)
|
|
53
49
|
|
|
54
50
|
**Note:** Version bump only for package @next-core/build-config-factory
|
|
55
51
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
52
|
## [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)
|
|
61
53
|
|
|
62
54
|
**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.
|
|
3
|
+
"version": "2.18.50",
|
|
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.
|
|
21
|
+
"@next-core/brick-utils": "^2.37.19",
|
|
22
22
|
"@next-core/repo-config": "^0.2.1",
|
|
23
|
-
"@next-core/typedoc-plugin-filter-inherit": "^1.
|
|
24
|
-
"@next-core/webpack-config-factory": "^2.16.
|
|
23
|
+
"@next-core/typedoc-plugin-filter-inherit": "^1.2.2",
|
|
24
|
+
"@next-core/webpack-config-factory": "^2.16.4",
|
|
25
25
|
"change-case": "^4.1.2",
|
|
26
26
|
"chokidar": "^3.5.3",
|
|
27
27
|
"fs-extra": "^10.1.0",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"typedoc": "^0.19.2",
|
|
38
38
|
"typedoc-plugin-no-inherit": "^1.2.2"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "eb3c1db885e709895bdf50f7b4d9d60277d6501a"
|
|
41
41
|
}
|
package/src/generateBrickDocs.js
CHANGED
|
@@ -177,12 +177,18 @@ function extractBrickDocBaseKind(tags) {
|
|
|
177
177
|
|
|
178
178
|
function getRealBrickDocCategory(brick) {
|
|
179
179
|
if (!Object.prototype.hasOwnProperty.call(brick, "decorators")) {
|
|
180
|
-
//当继承的属性来自于
|
|
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)",
|