@itwin/build-tools 5.0.0-dev.109 → 5.0.0-dev.110
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@itwin/build-tools",
|
3
|
-
"version": "5.0.0-dev.
|
3
|
+
"version": "5.0.0-dev.110",
|
4
4
|
"description": "Bentley build tools",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": {
|
@@ -21,7 +21,7 @@
|
|
21
21
|
"url": "http://www.bentley.com"
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
|
-
"@microsoft/api-extractor": "~7.
|
24
|
+
"@microsoft/api-extractor": "~7.52.3",
|
25
25
|
"chalk": "^3.0.0",
|
26
26
|
"cpx2": "^8.0.0",
|
27
27
|
"cross-spawn": "^7.0.5",
|
@@ -80,8 +80,8 @@ fs.readFile(argv.apiSignature, function (error, data) {
|
|
80
80
|
|
81
81
|
previousLines.push(match[1]);
|
82
82
|
|
83
|
-
// handle deprecated
|
84
|
-
match = line.match(/\s@(deprecated)/);
|
83
|
+
// handle deprecated and preview separately since they can be used together with the other release tags
|
84
|
+
match = line.match(/\s@(deprecated|preview)/);
|
85
85
|
if (null !== match) {
|
86
86
|
previousLines.push(match[1]);
|
87
87
|
return;
|
package/scripts/extract-api.js
CHANGED
@@ -60,9 +60,13 @@ const config = {
|
|
60
60
|
mainEntryPointFilePath: `${entryPointFileName}.d.ts`,
|
61
61
|
apiReport: {
|
62
62
|
enabled: true,
|
63
|
+
reportFileName: `${entryPointFileName}.api.md`,
|
63
64
|
reportFolder: path.resolve(apiReportFolder),
|
64
65
|
reportTempFolder: path.resolve(apiReportTempFolder),
|
65
66
|
includeForgottenExports: !!includeUnexportedApis,
|
67
|
+
tagsToReport: {
|
68
|
+
"@preview": true
|
69
|
+
},
|
66
70
|
},
|
67
71
|
docModel: {
|
68
72
|
enabled: false
|