Chore: replaced the @grafana/api-extractor with the @microsoft/api-extractor (#40519)

* removed the @grafana/api-extractor and replaced it with the @microsoft/api-extractor.

* increased the limit.
This commit is contained in:
Marcus Andersson
2021-10-18 09:16:36 +02:00
committed by GitHub
parent ca0b1041a8
commit 80a7401cfb
3 changed files with 110 additions and 61 deletions

View File

@@ -29,7 +29,7 @@ if [ ! -d "$REPORT_PATH" ]; then
fi
WARNINGS_COUNT="$(find "$REPORT_PATH" -type f -name \*.log -print0 | xargs -0 grep -o "Warning:.*(ae-\|Warning:.*(tsdoc-" | wc -l | xargs)"
WARNINGS_COUNT_LIMIT=1074
WARNINGS_COUNT_LIMIT=1212
if [ "$WARNINGS_COUNT" -gt $WARNINGS_COUNT_LIMIT ]; then
echo -e "API Extractor warnings/errors $WARNINGS_COUNT exceeded $WARNINGS_COUNT_LIMIT so failing build.\n"