@itwin/build-tools 5.0.0-dev.5 → 5.0.0-dev.6
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/bin/betools.js +2 -3
- package/package.json +2 -2
- package/scripts/docs.js +0 -3
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.6",
|
4
4
|
"description": "Bentley build tools",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": {
|
@@ -31,7 +31,7 @@
|
|
31
31
|
"mocha-junit-reporter": "^2.0.2",
|
32
32
|
"rimraf": "^3.0.2",
|
33
33
|
"tree-kill": "^1.2.2",
|
34
|
-
"typedoc": "^0.
|
34
|
+
"typedoc": "^0.26.11",
|
35
35
|
"typedoc-plugin-merge-modules": "^5.1.0",
|
36
36
|
"typescript": "~5.6.2",
|
37
37
|
"wtfnode": "^0.9.1",
|
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,7 +50,6 @@ 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
55
|
"Error"
|
@@ -74,7 +72,6 @@ const args = [
|
|
74
72
|
"--readme", readmeOption,
|
75
73
|
...pluginOptions,
|
76
74
|
...baseUrlOptions,
|
77
|
-
...includeOptions
|
78
75
|
];
|
79
76
|
|
80
77
|
console.log("Arguments to TypeDoc: " + JSON.stringify(args, null, 2));
|