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: https://github.com/Microsoft/web-build-tools/issues/1051

PR Close #29023
This commit is contained in:
Alan
2019-03-01 08:09:46 +01:00
committed by Andrew Kushnir
parent ac76e5d8dd
commit b5629d98d8
4 changed files with 14 additions and 11 deletions

View File

@ -22,7 +22,7 @@
"@angular-devkit/core": "^7.0.4",
"@angular-devkit/schematics": "^7.3.0-rc.0",
"@bazel/typescript": "^0.26.0",
"@microsoft/api-extractor": "^7.0.17",
"@microsoft/api-extractor": "^7.0.21",
"@schematics/angular": "^7.0.4",
"@types/node": "6.0.84",
"semver": "^5.6.0",

View File

@ -89,6 +89,9 @@ export function runMain(
enabled: !!dtsBundleOut,
publishFolder: dtsBundleOut && path.resolve(path.dirname(dtsBundleOut)),
mainDtsRollupPath: dtsBundleOut && path.basename(dtsBundleOut),
},
tsdocMetadata: {
enabled: false,
}
};