Skip to content

Commit b5629d9

Browse files
alan-agius4AndrewKushnir
authored andcommitted
fix(bazel): api extractor don't generate tsdoc metadata (#29023)
tsdoc metadata is not needed for `ng_module` and with `@microsoft/api-extractor` version 7.0.21 there is a new flag to disable it's generation. See: microsoft/rushstack#1051 PR Close #29023
1 parent ac76e5d commit b5629d9

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@bazel/jasmine": "0.26.0",
4040
"@bazel/karma": "0.26.0",
4141
"@bazel/typescript": "0.26.0",
42-
"@microsoft/api-extractor": "^7.0.17",
42+
"@microsoft/api-extractor": "^7.0.21",
4343
"@schematics/angular": "^7.3.2",
4444
"@types/angular": "^1.6.47",
4545
"@types/base64-js": "1.2.5",

packages/bazel/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@angular-devkit/core": "^7.0.4",
2323
"@angular-devkit/schematics": "^7.3.0-rc.0",
2424
"@bazel/typescript": "^0.26.0",
25-
"@microsoft/api-extractor": "^7.0.17",
25+
"@microsoft/api-extractor": "^7.0.21",
2626
"@schematics/angular": "^7.0.4",
2727
"@types/node": "6.0.84",
2828
"semver": "^5.6.0",

packages/bazel/src/api-extractor/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ export function runMain(
8989
enabled: !!dtsBundleOut,
9090
publishFolder: dtsBundleOut && path.resolve(path.dirname(dtsBundleOut)),
9191
mainDtsRollupPath: dtsBundleOut && path.basename(dtsBundleOut),
92+
},
93+
tsdocMetadata: {
94+
enabled: false,
9295
}
9396
};
9497

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,12 @@
220220
through2 "^2.0.0"
221221
xdg-basedir "^3.0.0"
222222

223-
"@microsoft/api-extractor@^7.0.17":
224-
version "7.0.17"
225-
resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.0.17.tgz#fadb376908a57144ba4a8eb18787d6337bfe6b56"
226-
integrity sha512-Mm+6x5/1HRAKno0vow4DyMKcVtB+b6wehMUx21huN+FSpfxID5kAEqKw9OR9XCp7YBXjiISqFBlY4dVYq/bdCw==
223+
"@microsoft/api-extractor@^7.0.21":
224+
version "7.0.21"
225+
resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.0.21.tgz#d5ff9bba4ff7283503aac83ad489b16cad293fc7"
226+
integrity sha512-7lFcHNykVz0tvgOz9juXqP+a1j0EmnJ9J080CBE/171IxL4fBrpslPhqN86dNuavuPragRpBLc8Okv/bV7FJPQ==
227227
dependencies:
228-
"@microsoft/node-core-library" "3.10.0"
228+
"@microsoft/node-core-library" "3.12.0"
229229
"@microsoft/ts-command-line" "4.2.3"
230230
"@microsoft/tsdoc" "0.12.5"
231231
"@types/node" "8.5.8"
@@ -236,10 +236,10 @@
236236
typescript "~3.1.6"
237237
z-schema "~3.18.3"
238238

239-
"@microsoft/node-core-library@3.10.0":
240-
version "3.10.0"
241-
resolved "https://registry.yarnpkg.com/@microsoft/node-core-library/-/node-core-library-3.10.0.tgz#70e089534d8e20f6a0f9c7a4a12a6aeafd6a1ddb"
242-
integrity sha512-1SbU+XNYAabhV9noGXHtsUVPc5ELV+oEuJQtZQoCncbOd6WAMeTgB1xFwh96hmdEXyKQyML/pnByiKocmh/nbQ==
239+
"@microsoft/node-core-library@3.12.0":
240+
version "3.12.0"
241+
resolved "https://registry.yarnpkg.com/@microsoft/node-core-library/-/node-core-library-3.12.0.tgz#f9c27b8bb6b55d60b91d4e1962f42b03b9f8f47f"
242+
integrity sha512-9T2dEXmmxZqnqcpHuIB8mTAOM/DNSi/QcAwKYDjvZvkd+PGT5lCUXjM9GL7SaR2NPa3UrWDGgFhNoqLqLfEPbw==
243243
dependencies:
244244
"@types/fs-extra" "5.0.4"
245245
"@types/jju" "~1.4.0"

0 commit comments

Comments
 (0)