-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathapi-extractor.json
More file actions
54 lines (45 loc) · 1.79 KB
/
Copy pathapi-extractor.json
File metadata and controls
54 lines (45 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
/**
* The tripwire behind the "no unplanned breaking changes on 5.x" promise: the emitted public
* surface is rolled up into `etc/casper-js-sdk.api.md` and CI re-runs this against the
* committed report, so a surface change arrives as a reviewable diff of that file.
*
* Reads the built declarations, not `src`. Run `npm run build` first.
*/
"mainEntryPointFilePath": "<projectFolder>/dist/index.d.ts",
"compiler": {
"tsconfigFilePath": "<projectFolder>/tsconfig.json"
},
"apiReport": {
"enabled": true,
"reportFolder": "<projectFolder>/etc/"
},
/**
* Only the report is wanted: typedoc already covers the docs, and the .d.ts rollup would
* replace the published declarations — a packaging change, not this tripwire's business.
*/
"docModel": { "enabled": false },
"dtsRollup": { "enabled": false },
"tsdocMetadata": { "enabled": false },
"messages": {
"compilerMessageReporting": {
"default": { "logLevel": "warning" }
},
"extractorMessageReporting": {
"default": { "logLevel": "warning" },
/**
* An exported type that references a non-exported one is a hole in the published surface.
* Silenced because the existing surface already has such leaks and the report enumerates
* them: raising this back to a failure is a cleanup, not a flip of this flag.
*/
"ae-forgotten-export": { "logLevel": "none" },
/** Release tags are a docs convention this repo does not use; every export is public. */
"ae-missing-release-tag": { "logLevel": "none" },
"ae-undocumented": { "logLevel": "none" }
},
"tsdocMessageReporting": {
"default": { "logLevel": "none" }
}
}
}