@itwin/build-tools 5.0.0-dev.4 → 5.0.0-dev.41
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 +35 -1
- package/bin/betools.js +2 -3
- package/package.json +5 -5
- package/scripts/docs.js +4 -5
- package/tsconfig-base.json +2 -1
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,40 @@
|
|
1
1
|
# Change Log - @itwin/build-tools
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 13 Jan 2025 14:09:29 GMT and should not be manually modified.
|
4
|
+
|
5
|
+
## 4.10.4
|
6
|
+
Mon, 13 Jan 2025 14:06:43 GMT
|
7
|
+
|
8
|
+
_Version update only_
|
9
|
+
|
10
|
+
## 4.10.3
|
11
|
+
Mon, 06 Jan 2025 14:00:13 GMT
|
12
|
+
|
13
|
+
### Updates
|
14
|
+
|
15
|
+
- add temporary fix for typedoc@0.26 issue #2802
|
16
|
+
|
17
|
+
## 4.10.2
|
18
|
+
Thu, 21 Nov 2024 15:22:20 GMT
|
19
|
+
|
20
|
+
### Updates
|
21
|
+
|
22
|
+
- Bumped `cross-spawn` to `7.0.5`
|
23
|
+
|
24
|
+
## 4.10.1
|
25
|
+
Thu, 14 Nov 2024 18:11:00 GMT
|
26
|
+
|
27
|
+
### Updates
|
28
|
+
|
29
|
+
- Bump `typedoc` dependency to a version that supports typescript `5.6`.
|
30
|
+
- Deprecate unused --includes flag
|
31
|
+
|
32
|
+
## 4.10.0
|
33
|
+
Wed, 13 Nov 2024 15:23:38 GMT
|
34
|
+
|
35
|
+
### Updates
|
36
|
+
|
37
|
+
- Allow specifying a relative directory for the `entry` argument in the `extract-api` command.
|
4
38
|
|
5
39
|
## 4.9.7
|
6
40
|
Wed, 06 Nov 2024 19:23:04 GMT
|
package/bin/betools.js
CHANGED
@@ -32,7 +32,7 @@ yargs.strict(true)
|
|
32
32
|
describe: "Specify a baseUrl to resolve modules"
|
33
33
|
},
|
34
34
|
"includes": {
|
35
|
-
describe: "
|
35
|
+
describe: "Deprecated - this flag does nothing and will be removed in @itwin/build-tools 5.x"
|
36
36
|
},
|
37
37
|
"excludes": {
|
38
38
|
describe: "Specify a directory, filename, or pattern to be excluded"
|
@@ -140,14 +140,13 @@ function docsCommand(options) {
|
|
140
140
|
const outOpt = options.out ? ["--out", options.out] : [];
|
141
141
|
const jsonOpt = options.json ? ["--json", options.json] : [];
|
142
142
|
const baseUrlOpt = options.baseUrl ? ["--baseUrl", options.baseUrl] : [];
|
143
|
-
const includesOpt = options.includes ? ["--includes", options.includes] : [];
|
144
143
|
const excludesOpt = options.excludes ? ["--excludes", options.excludes] : [];
|
145
144
|
const excludesGlobOpt = options.excludeGlob ? ["--excludeGlob", options.excludeGlob] : [];
|
146
145
|
const testExcludeGlobOpt = options.testExcludeGlob ? ["--testExcludeGlob", options.testExcludeGlob] : [];
|
147
146
|
const indexFileOpt = options.tsIndexFile ? ["--tsIndexFile", options.tsIndexFile] : [];
|
148
147
|
const onlyJsonOpt = options.onlyJson ? ["--onlyJson"] : [];
|
149
148
|
exec("node", [getScriptPath("docs.js"),
|
150
|
-
...sourceOpt, ...outOpt, ...jsonOpt, ...baseUrlOpt,
|
149
|
+
...sourceOpt, ...outOpt, ...jsonOpt, ...baseUrlOpt,
|
151
150
|
...excludesOpt, ...excludesGlobOpt, ...testExcludeGlobOpt, ...indexFileOpt, ...onlyJsonOpt]);
|
152
151
|
}
|
153
152
|
|
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.41",
|
4
4
|
"description": "Bentley build tools",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": {
|
@@ -24,22 +24,22 @@
|
|
24
24
|
"@microsoft/api-extractor": "~7.47.10",
|
25
25
|
"chalk": "^3.0.0",
|
26
26
|
"cpx2": "^3.0.0",
|
27
|
-
"cross-spawn": "^7.0.
|
27
|
+
"cross-spawn": "^7.0.5",
|
28
28
|
"fs-extra": "^8.1.0",
|
29
29
|
"glob": "^10.3.12",
|
30
30
|
"mocha": "^10.2.0",
|
31
31
|
"mocha-junit-reporter": "^2.0.2",
|
32
32
|
"rimraf": "^3.0.2",
|
33
33
|
"tree-kill": "^1.2.2",
|
34
|
-
"typedoc": "^0.
|
35
|
-
"typedoc-plugin-merge-modules": "^
|
34
|
+
"typedoc": "^0.26.11",
|
35
|
+
"typedoc-plugin-merge-modules": "^6.0.3",
|
36
36
|
"typescript": "~5.6.2",
|
37
37
|
"wtfnode": "^0.9.1",
|
38
38
|
"yargs": "^17.4.0"
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
41
|
"@itwin/eslint-plugin": "5.0.0-dev.1",
|
42
|
-
"@types/node": "~
|
42
|
+
"@types/node": "~20.9.5",
|
43
43
|
"eslint": "^9.13.0"
|
44
44
|
},
|
45
45
|
"scripts": {
|
package/scripts/docs.js
CHANGED
@@ -27,7 +27,6 @@ const out = (argv.out === undefined) ? paths.appDocs : argv.out;
|
|
27
27
|
const json = (argv.json === undefined) ? paths.appJsonDocs : argv.json;
|
28
28
|
|
29
29
|
const baseUrlOptions = (argv.baseUrl === undefined) ? [] : ["--baseUrl", argv.baseUrl];
|
30
|
-
const includeOptions = (argv.includes === undefined) ? [] : ["--includes", argv.includes];
|
31
30
|
|
32
31
|
const testExclude = argv.testExcludeGlob ?? "**/*test*/**/*";
|
33
32
|
const excludeInternalFolders = "**/internal/**/*"
|
@@ -51,14 +50,15 @@ if (argv.onlyJson === undefined)
|
|
51
50
|
const readmeOption = (argv.readme === undefined) ? "none" : argv.readme;
|
52
51
|
|
53
52
|
const options = [
|
54
|
-
"--excludePrivate",
|
55
53
|
"--hideGenerator",
|
56
54
|
"--logLevel",
|
57
|
-
"Error"
|
55
|
+
"Error",
|
56
|
+
"--cascadedModifierTags", // workaround for https://github.com/TypeStrong/typedoc/issues/2802
|
57
|
+
"@experimental"
|
58
58
|
];
|
59
59
|
|
60
60
|
const pluginOptions = [
|
61
|
-
"--plugin", "typedoc-plugin-merge-modules",
|
61
|
+
"--plugin", require.resolve("typedoc-plugin-merge-modules"),
|
62
62
|
"--mergeModulesMergeMode", "module",
|
63
63
|
];
|
64
64
|
|
@@ -74,7 +74,6 @@ const args = [
|
|
74
74
|
"--readme", readmeOption,
|
75
75
|
...pluginOptions,
|
76
76
|
...baseUrlOptions,
|
77
|
-
...includeOptions
|
78
77
|
];
|
79
78
|
|
80
79
|
console.log("Arguments to TypeDoc: " + JSON.stringify(args, null, 2));
|