forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(build-tools): Update API-Extractor configs and docs build patte…
…rn (microsoft#17779) Updates configs to use the new shared api-extractor config (from `build-common`), which is stricter and enables trimmed type-rollup generation. Nothing consumes these types yet. For now, it disables the `explicit-release-tags` rule but fixes violations of other rules. This rule can be enabled if/when desired. Also updates the release group's `build:docs` script to copy the metadata reports to the repo root like other release groups. [AB#5694](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/5694)
- Loading branch information
Showing
6 changed files
with
27 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Base API-Extractor config for build-tools | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
"extends": "@fluidframework/build-common/api-extractor-base.json", | ||
|
||
// TODO: Consider enabling these in the future. | ||
"messages": { | ||
"extractorMessageReporting": { | ||
"ae-missing-release-tag": { | ||
"logLevel": "none" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,5 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
"extends": "@fluidframework/build-common/api-extractor-common-report.json", | ||
"mainEntryPointFilePath": "<projectFolder>/lib/index.d.ts", | ||
"apiReport": { | ||
"enabled": true, | ||
"reportFolder": "<projectFolder>/api-report/" | ||
}, | ||
"messages": { | ||
"extractorMessageReporting": { | ||
"ae-unresolved-link": { | ||
"logLevel": "warning", | ||
"addToApiReportFile": true | ||
}, | ||
"ae-internal-missing-underscore": { | ||
"logLevel": "none", | ||
"addToApiReportFile": false | ||
} | ||
} | ||
} | ||
"extends": "../../api-extractor-base.json", | ||
"mainEntryPointFilePath": "<projectFolder>/lib/index.d.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,4 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
"extends": "@fluidframework/build-common/api-extractor-common-report.json", | ||
"apiReport": { | ||
"enabled": true, | ||
"reportFolder": "<projectFolder>/api-report/" | ||
}, | ||
"messages": { | ||
"extractorMessageReporting": { | ||
"ae-unresolved-link": { | ||
"logLevel": "warning", | ||
"addToApiReportFile": false | ||
} | ||
} | ||
} | ||
"extends": "../../api-extractor-base.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,5 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
"extends": "@fluidframework/build-common/api-extractor-common-report.json", | ||
"mainEntryPointFilePath": "<projectFolder>/lib/index.d.ts", | ||
"apiReport": { | ||
"enabled": true, | ||
"reportFolder": "<projectFolder>/api-report/" | ||
}, | ||
"messages": { | ||
"extractorMessageReporting": { | ||
"ae-unresolved-link": { | ||
"logLevel": "warning", | ||
"addToApiReportFile": true | ||
}, | ||
"ae-internal-missing-underscore": { | ||
"logLevel": "none", | ||
"addToApiReportFile": false | ||
} | ||
} | ||
} | ||
"extends": "../../api-extractor-base.json", | ||
"mainEntryPointFilePath": "<projectFolder>/lib/index.d.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters