1
- /**
2
- * Config file for API Extractor. For more info, please visit: https://api-extractor.com
3
- */
4
- {
5
- "$schema" : " https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json" ,
6
-
7
- /**
8
- * Optionally specifies another JSON config file that this file extends from. This provides a way for
9
- * standard settings to be shared across multiple projects.
10
- *
11
- * If the path starts with "./" or "../", the path is resolved relative to the folder of the file that contains
12
- * the "extends" field. Otherwise, the first path segment is interpreted as an NPM package name, and will be
13
- * resolved using NodeJS require().
14
- *
15
- * SUPPORTED TOKENS: none
16
- * DEFAULT VALUE: ""
17
- */
1
+ {
2
+ "$schema" : " https://github.com/raw/microsoft/rushstack/%40microsoft/api-extractor_v7.31.0/apps/api-extractor/src/schemas/api-extractor.schema.json" ,
18
3
"extends" : " ../api-extractor-base.json" ,
19
-
20
- /**
21
- * Determines how the TypeScript compiler engine will be invoked by API Extractor.
22
- */
23
- "compiler" : {
24
- /**
25
- * Specifies the path to the tsconfig.json file to be used by API Extractor when analyzing the project.
26
- *
27
- * The path is resolved relative to the folder of the config file that contains the setting; to change this,
28
- * prepend a folder token such as "<projectFolder>".
29
- *
30
- * Note: This setting will be ignored if "overrideTsconfig" is used.
31
- *
32
- * SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
33
- * DEFAULT VALUE: "<projectFolder>/tsconfig.json"
34
- */
35
- "tsconfigFilePath" : " ./tsconfig.json"
4
+ "compiler" : {
5
+ "tsconfigFilePath" : " ./tsconfig.json"
36
6
},
37
-
38
- /**
39
- * (REQUIRED) Specifies the .d.ts file to be used as the starting point for analysis. API Extractor
40
- * analyzes the symbols exported by this module.
41
- *
42
- * The file extension must be ".d.ts" and not ".ts".
43
- *
44
- * The path is resolved relative to the folder of the config file that contains the setting; to change this,
45
- * prepend a folder token such as "<projectFolder>".
46
- *
47
- * SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
48
- */
7
+
49
8
"mainEntryPointFilePath" : " <projectFolder>/built/local/typescript/typescript.d.ts" ,
50
9
51
10
"dtsRollup" : {
52
- /**
53
- * (REQUIRED) Whether to generate the .d.ts rollup file.
54
- */
55
- "enabled" : true ,
56
- "publicTrimmedFilePath" : " <projectFolder>/built/local/typescript.d.ts"
11
+ "enabled" : true ,
12
+ "publicTrimmedFilePath" : " <projectFolder>/built/local/typescript.d.ts" ,
13
+ "untrimmedFilePath" : " <projectFolder>/built/local/typescript.internal.d.ts"
57
14
}
58
- }
15
+ }
59
16
0 commit comments