chore: extend api-extractor.json from root (#5840)

* Pull up api-extractor.json to root and then extend it for each project

* Change files

* use more common path for root mainEntryPointFilePath

* typo on path

Co-authored-by: Stephanos <stephanosp@microsoft.com>
Co-authored-by: Chris Holt <chhol@microsoft.com>
This commit is contained in:
Stephanos 2022-04-19 18:08:56 -04:00 коммит произвёл GitHub
Родитель b484a5c5a1
Коммит e3076337cb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
15 изменённых файлов: 76 добавлений и 108 удалений

16
api-extractor.json Normal file
Просмотреть файл

@ -0,0 +1,16 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "<projectFolder>/dist/dts/index.d.ts",
"apiReport": {
"enabled": true,
"reportFolder": "<projectFolder>/docs",
"reportFileName": "api-report.md"
},
"docModel": {
"enabled": true,
"apiJsonFilePath": "<projectFolder>/dist/<unscopedPackageName>.api.json"
},
"dtsRollup": {
"enabled": true
}
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Pull up api-extractor.json to root and then extend it for each project",
"packageName": "@microsoft/fast-animation",
"email": "stephanosp@microsoft.com",
"dependentChangeType": "none"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Pull up api-extractor.json to root and then extend it for each project",
"packageName": "@microsoft/fast-colors",
"email": "stephanosp@microsoft.com",
"dependentChangeType": "none"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Pull up api-extractor.json to root and then extend it for each project",
"packageName": "@microsoft/fast-components",
"email": "stephanosp@microsoft.com",
"dependentChangeType": "none"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Pull up api-extractor.json to root and then extend it for each project",
"packageName": "@microsoft/fast-element",
"email": "stephanosp@microsoft.com",
"dependentChangeType": "none"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Pull up api-extractor.json to root and then extend it for each project",
"packageName": "@microsoft/fast-foundation",
"email": "stephanosp@microsoft.com",
"dependentChangeType": "none"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Pull up api-extractor.json to root and then extend it for each project",
"packageName": "@microsoft/fast-react-wrapper",
"email": "stephanosp@microsoft.com",
"dependentChangeType": "none"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Pull up api-extractor.json to root and then extend it for each project",
"packageName": "@microsoft/fast-router",
"email": "stephanosp@microsoft.com",
"dependentChangeType": "none"
}

Просмотреть файл

@ -1,16 +1,5 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/index.d.ts",
"apiReport": {
"enabled": true,
"reportFolder": "docs",
"reportFileName": "api-report.md"
},
"docModel": {
"enabled": true,
"apiJsonFilePath": "dist/fast-animation.api.json"
},
"dtsRollup": {
"enabled": true
}
"extends": "../../../api-extractor.json",
"mainEntryPointFilePath": "dist/index.d.ts"
}

Просмотреть файл

@ -1,16 +1,5 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/index.d.ts",
"apiReport": {
"enabled": true,
"reportFolder": "docs",
"reportFileName": "api-report.md"
},
"docModel": {
"enabled": true,
"apiJsonFilePath": "dist/fast-colors.api.json"
},
"dtsRollup": {
"enabled": true
}
"extends": "../../../api-extractor.json",
"mainEntryPointFilePath": "dist/index.d.ts"
}

Просмотреть файл

@ -1,22 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/dts/index.d.ts",
"apiReport": {
"enabled": true,
"reportFolder": "docs",
"reportFileName": "api-report.md"
},
"docModel": {
"enabled": true,
"apiJsonFilePath": "dist/fast-react-wrapper.api.json"
},
"dtsRollup": {
"enabled": true
},
"extends": "../../../api-extractor.json",
"messages": {
"extractorMessageReporting": {
"ae-different-release-tags": {

Просмотреть файл

@ -1,19 +1,7 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/dts/index.d.ts",
"apiReport": {
"enabled": true,
"reportFileName": "api-report.md",
"reportFolder": "docs"
},
"extends": "../../../api-extractor.json",
"compiler": {
"tsconfigFilePath": "./tsconfig.api-extractor.json"
},
"docModel": {
"enabled": true,
"apiJsonFilePath": "dist/fast-components.api.json",
},
"dtsRollup": {
"enabled": true
}
}

Просмотреть файл

@ -1,20 +1,4 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/dts/index.d.ts",
"apiReport": {
"enabled": true,
"reportFolder": "docs",
"reportFileName": "api-report.md"
},
"docModel": {
"enabled": true,
"apiJsonFilePath": "dist/fast-element.api.json"
},
"dtsRollup": {
"enabled": true
}
"extends": "../../../api-extractor.json"
}

Просмотреть файл

@ -1,27 +1,11 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/dts/index.d.ts",
"apiReport": {
"enabled": true,
"reportFolder": "docs",
"reportFileName": "api-report.md"
},
"docModel": {
"enabled": true,
"apiJsonFilePath": "dist/fast-foundation.api.json"
},
"dtsRollup": {
"enabled": true
},
"extends": "../../../api-extractor.json",
"messages": {
"extractorMessageReporting": {
"ae-different-release-tags": {
"logLevel": "none",
"addToApiReportFile": true
"addToApiReportFile": true
}
}
}

Просмотреть файл

@ -1,27 +1,12 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"extends": "../../../api-extractor.json",
"mainEntryPointFilePath": "dist/dts/index.d.ts",
"apiReport": {
"enabled": true,
"reportFolder": "docs",
"reportFileName": "api-report.md"
},
"docModel": {
"enabled": true,
"apiJsonFilePath": "dist/fast-router.api.json"
},
"dtsRollup": {
"enabled": true
},
"messages": {
"extractorMessageReporting": {
"ae-different-release-tags": {
"logLevel": "none",
"addToApiReportFile": true
"addToApiReportFile": true
}
}
}