|
1 | 1 | { |
2 | | - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", |
3 | | - |
4 | | - // "extends": "./shared/api-extractor-base.json" |
5 | | - // "extends": "my-package/include/api-extractor-base.json" |
6 | | - |
7 | | - "projectFolder": ".", |
8 | | - |
9 | | - "mainEntryPointFilePath": "<projectFolder>/lib/typings/index.d.ts", |
10 | | - |
11 | | - "bundledPackages": [], |
12 | | - |
13 | | - "compiler": { |
14 | | - "tsconfigFilePath": "<projectFolder>/tsconfig.json" |
15 | | - |
16 | | - // "overrideTsconfig": { |
17 | | - // . . . |
18 | | - // } |
19 | | - |
20 | | - // "skipLibCheck": true, |
21 | | - }, |
22 | | - |
23 | | - "apiReport": { |
24 | | - "enabled": false |
25 | | - |
26 | | - // "reportFileName": "<unscopedPackageName>.api.md", |
27 | | - |
28 | | - // "reportFolder": "<projectFolder>/etc/", |
29 | | - |
30 | | - // "reportTempFolder": "<projectFolder>/api/temp/" |
31 | | - }, |
32 | | - |
33 | | - "docModel": { |
34 | | - "enabled": false |
35 | | - |
36 | | - // "apiJsonFilePath": "<projectFolder>/temp/<unscopedPackageName>.api.json" |
37 | | - }, |
38 | | - |
39 | | - "dtsRollup": { |
40 | | - "enabled": true, |
41 | | - |
42 | | - "untrimmedFilePath": "", |
43 | | - |
44 | | - // "betaTrimmedFilePath": "<projectFolder>/dist/<unscopedPackageName>-beta.d.ts", |
45 | | - |
46 | | - "publicTrimmedFilePath": "<projectFolder>/dist/emnapi-core.d.ts" |
47 | | - |
48 | | - // "omitTrimmingComments": true |
49 | | - }, |
50 | | - |
51 | | - "tsdocMetadata": { |
52 | | - "enabled": false, |
53 | | - |
54 | | - "tsdocMetadataFilePath": "<projectFolder>/dist/tsdoc-metadata.json" |
55 | | - }, |
56 | | - |
57 | | - // "newlineKind": "crlf", |
58 | | - |
59 | | - "messages": { |
60 | | - /** |
61 | | - * Configures handling of diagnostic messages reported by the TypeScript compiler engine while analyzing |
62 | | - * the input .d.ts files. |
63 | | - * |
64 | | - * TypeScript message identifiers start with "TS" followed by an integer. For example: "TS2551" |
65 | | - * |
66 | | - * DEFAULT VALUE: A single "default" entry with logLevel=warning. |
67 | | - */ |
68 | | - "compilerMessageReporting": { |
69 | | - "default": { |
70 | | - "logLevel": "warning" |
71 | | - |
72 | | - // "addToApiReportFile": false |
73 | | - } |
74 | | - |
75 | | - // "TS2551": { |
76 | | - // "logLevel": "warning", |
77 | | - // "addToApiReportFile": true |
78 | | - // }, |
79 | | - // |
80 | | - // . . . |
81 | | - }, |
82 | | - |
83 | | - "extractorMessageReporting": { |
84 | | - "default": { |
85 | | - "logLevel": "warning" |
86 | | - // "addToApiReportFile": false |
87 | | - }, |
88 | | - "ae-missing-release-tag": { |
89 | | - "logLevel": "none", |
90 | | - "addToApiReportFile": false |
91 | | - } |
92 | | - |
93 | | - // "ae-extra-release-tag": { |
94 | | - // "logLevel": "warning", |
95 | | - // "addToApiReportFile": true |
96 | | - // }, |
97 | | - // |
98 | | - // . . . |
99 | | - }, |
100 | | - |
101 | | - "tsdocMessageReporting": { |
102 | | - "default": { |
103 | | - "logLevel": "warning" |
104 | | - // "addToApiReportFile": false |
105 | | - } |
106 | | - |
107 | | - // "tsdoc-link-tag-unescaped-text": { |
108 | | - // "logLevel": "warning", |
109 | | - // "addToApiReportFile": true |
110 | | - // }, |
111 | | - // |
112 | | - // . . . |
113 | | - } |
114 | | - } |
| 2 | + "extends": "../shared/api-extractor-base.json" |
115 | 3 | } |
0 commit comments