|
13 | 13 | "type": "string" |
14 | 14 | }, |
15 | 15 |
|
| 16 | + "projectFolder": { |
| 17 | + "description": "Determines the \"<projectFolder>\" token that can be used with other config file settings. The project folder typically contains the tsconfig.json and package.json config files, but the path is user-defined. The path is resolved relative to the folder of the config file that contains the setting. The default value for \"projectFolder\" is the token \"<lookup>\", which means the folder is determined by traversing parent folders, starting from the folder containing api-extractor.json, and stopping at the first folder that contains a tsconfig.json file. If a tsconfig.json file cannot be found in this way, then an error will be reported.", |
| 18 | + "type": "string" |
| 19 | + }, |
| 20 | + |
16 | 21 | "mainEntryPointFile": { |
17 | | - "description": "Specifies the .d.ts file to be used as the starting point for analysis. API Extractor analyzes the symbols exported by this module. The path is resolved relative to the \"rootFolder\" location.", |
| 22 | + "description": "Specifies the .d.ts file to be used as the starting point for analysis. API Extractor analyzes the symbols exported by this module. The file extension must be \".d.ts\" and not \".ts\". The path is resolved relative to the folder of the config file that contains the setting; to change this, prepend a folder token such as \"<projectFolder>\".", |
18 | 23 | "type": "string" |
19 | 24 | }, |
20 | 25 |
|
21 | 26 | "compiler": { |
22 | 27 | "description": "Determines how the TypeScript compiler engine will be invoked by API Extractor.", |
23 | 28 | "type": "object", |
24 | 29 | "properties": { |
25 | | - "rootFolder": { |
26 | | - "description": "The root folder for the project. This folder typically contains the tsconfig.json and package.json config files. The rootFolder path is resolved relative to the folder containing api-extractor.json. The default value for rootFolder is the token \"<lookup>\", which means the folder is determined by traversing parent folders, starting from the folder containing api-extractor.json, and stopping at the first folder that contains a tsconfig.json file. If a tsconfig.json file cannot be found in this way, then an error will be reported.", |
27 | | - "type": "string" |
28 | | - }, |
29 | 30 | "overrideTsconfig": { |
30 | | - "description": "Provides already parsed tsconfig.json contents conforming to the TypeScript tsconfig schema: http://json.schemastore.org/tsconfig If omitted, then the tsconfig.json file will be read from the rootFolder.", |
| 31 | + "description": "Provides already parsed tsconfig.json contents conforming to the TypeScript tsconfig schema: http://json.schemastore.org/tsconfig If omitted, then the tsconfig.json file will be read from the \"projectFolder\".", |
31 | 32 | "type": "object" |
32 | 33 | }, |
33 | 34 | "skipLibCheck": { |
|
48 | 49 | }, |
49 | 50 |
|
50 | 51 | "reportFileName": { |
51 | | - "description": "The filename for the API report files. It will be combined with \"reportFolder\" or \"reportTempFolder\" to produce a full output filename. The file extension should be \".api.md\", and the string should not contain a path separator such as \"\\\" or \"/\".", |
| 52 | + "description": "The filename for the API report files. It will be combined with \"reportFolder\" or \"reportTempFolder\" to produce a full file path. The file extension should be \".api.md\", and the string should not contain a path separator such as \"\\\" or \"/\".", |
52 | 53 | "type": "string" |
53 | 54 | }, |
54 | 55 |
|
55 | 56 | "reportFolder": { |
56 | | - "description": "Specifies the folder where the API report file is written. The file name portion is determined by the \"reportFileName\" setting. The API report file is normally tracked by Git. Changes to it can be used to trigger a branch policy, e.g. for an API review. The path is resolved relative to the \"rootFolder\" location.", |
| 57 | + "description": "Specifies the folder where the API report file is written. The file name portion is determined by the \"reportFileName\" setting. The API report file is normally tracked by Git. Changes to it can be used to trigger a branch policy, e.g. for an API review. The path is resolved relative to the folder of the config file that contains the setting; to change this, prepend a folder token such as \"<projectFolder>\".", |
57 | 58 | "type": "string" |
58 | 59 | }, |
59 | 60 |
|
60 | 61 | "reportTempFolder": { |
61 | | - "description": "Specifies the folder where the temporary report file is written. The file name portion is determined by the \"reportFileName\" setting. fter the temporary file is written to disk, it is compared with the file in the \"reportFolder\". If they are different, a production build will fail. The path is resolved relative to the \"rootFolder\" location.", |
| 62 | + "description": "Specifies the folder where the temporary report file is written. The file name portion is determined by the \"reportFileName\" setting. After the temporary file is written to disk, it is compared with the file in the \"reportFolder\". If they are different, a production build will fail. The path is resolved relative to the folder of the config file that contains the setting; to change this, prepend a folder token such as \"<projectFolder>\".", |
62 | 63 | "type": "string" |
63 | 64 | } |
64 | 65 |
|
|
76 | 77 | "type": "boolean" |
77 | 78 | }, |
78 | 79 | "apiJsonFilePath": { |
79 | | - "description": "The output path for the doc model file. The file extension should be \".api.json\". The path is resolved relative to the \"rootFolder\" location.", |
| 80 | + "description": "The output path for the doc model file. The file extension should be \".api.json\". The path is resolved relative to the folder of the config file that contains the setting; to change this, prepend a folder token such as \"<projectFolder>\".", |
80 | 81 | "type": "string" |
81 | 82 | } |
82 | 83 | }, |
|
93 | 94 | "type": "boolean" |
94 | 95 | }, |
95 | 96 | "untrimmedFilePath": { |
96 | | - "description": "Specifies the output path for a .d.ts rollup file to be generated without any trimming. This file will include all declarations that are exported by the main entry point. If the path is an empty string, then this file will not be written. The path is resolved relative to the \"rootFolder\" location.", |
| 97 | + "description": "Specifies the output path for a .d.ts rollup file to be generated without any trimming. This file will include all declarations that are exported by the main entry point. If the path is an empty string, then this file will not be written. The path is resolved relative to the folder of the config file that contains the setting; to change this, prepend a folder token such as \"<projectFolder>\".", |
97 | 98 | "type": "string" |
98 | 99 | }, |
99 | 100 | "betaTrimmedFilePath": { |
100 | | - "description": "Specifies the output path for a .d.ts rollup file to be generated with trimming for a \"beta\" release. This file will include only declarations that are marked as \"@public\" or \"@beta\". If the path is an empty string, then this file will not be written. The path is resolved relative to the \"rootFolder\" location.", |
| 101 | + "description": "Specifies the output path for a .d.ts rollup file to be generated with trimming for a \"beta\" release. This file will include only declarations that are marked as \"@public\" or \"@beta\". The path is resolved relative to the folder of the config file that contains the setting; to change this, prepend a folder token such as \"<projectFolder>\".", |
101 | 102 | "type": "string" |
102 | 103 | }, |
103 | 104 | "publicTrimmedFilePath": { |
104 | | - "description": "Specifies the output path for a .d.ts rollup file to be generated with trimming for a \"public\" release. This file will include only declarations that are marked as \"@public\". If the path is an empty string, then this file will not be written. The path is resolved relative to the \"rootFolder\" location.", |
| 105 | + "description": "Specifies the output path for a .d.ts rollup file to be generated with trimming for a \"public\" release. This file will include only declarations that are marked as \"@public\". If the path is an empty string, then this file will not be written. The path is resolved relative to the folder of the config file that contains the setting; to change this, prepend a folder token such as \"<projectFolder>\".", |
105 | 106 | "type": "string" |
106 | 107 | } |
107 | 108 | }, |
|
118 | 119 | "type": "boolean" |
119 | 120 | }, |
120 | 121 | "tsdocMetadataFilePath": { |
121 | | - "description": "Specifies where the TSDoc metadata file should be written. The default value is \"<lookup>\", which causes the path to be automatically inferred from the \"tsdocMetadata\", \"typings\" or \"main\" fields of the project's package.json. If none of these fields are set, the lookup falls back to \"tsdoc-metadata.json\" in the package folder.", |
| 122 | + "description": "Specifies where the TSDoc metadata file should be written. The path is resolved relative to the folder of the config file that contains the setting; to change this, prepend a folder token such as \"<projectFolder>\". The default value is \"<lookup>\", which causes the path to be automatically inferred from the \"tsdocMetadata\", \"typings\" or \"main\" fields of the project's package.json. If none of these fields are set, the lookup falls back to \"tsdoc-metadata.json\" in the package folder.", |
122 | 123 | "type": "string" |
123 | 124 | } |
124 | 125 | }, |
|
0 commit comments