mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
c07e6d4fa9
I lost time today due to some old docs files lingering for code that is now gone. To avoid that happening, let's remove the directories before generating. As part of this work I also changed the API Extractor to not output to `temp/X.api.json` and instead `docs-api-json/X.api.json` to make it clearer what that folder is for.
47 lines
936 B
JSON
47 lines
936 B
JSON
{
|
|
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
"mainEntryPointFilePath": "<projectFolder>/lib/cjs/puppeteer/api-docs-entry.d.ts",
|
|
"bundledPackages": ["devtools-protocol"],
|
|
|
|
"apiReport": {
|
|
"enabled": false
|
|
},
|
|
|
|
"docModel": {
|
|
"enabled": true,
|
|
"apiJsonFilePath": "<projectFolder>/docs-api-json/<unscopedPackageName>.api.json"
|
|
},
|
|
|
|
"dtsRollup": {
|
|
"enabled": true,
|
|
"untrimmedFilePath": "lib/types.d.ts"
|
|
},
|
|
|
|
"tsdocMetadata": {
|
|
"enabled": false
|
|
},
|
|
|
|
"messages": {
|
|
"compilerMessageReporting": {
|
|
"default": {
|
|
"logLevel": "warning"
|
|
}
|
|
},
|
|
|
|
"extractorMessageReporting": {
|
|
"ae-internal-missing-underscore": {
|
|
"logLevel": "none"
|
|
},
|
|
"default": {
|
|
"logLevel": "warning"
|
|
}
|
|
},
|
|
|
|
"tsdocMessageReporting": {
|
|
"default": {
|
|
"logLevel": "warning"
|
|
}
|
|
}
|
|
}
|
|
}
|