You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6a3afb2
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/api-extractor/src/extractor/api-extractor.schema.json
+17-9Lines changed: 17 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -129,27 +129,35 @@
129
129
},
130
130
131
131
"dtsRollup": {
132
-
"description": "Configures how the package typings (*.d.ts) will be generated.",
132
+
"description": "Configures how the *.d.ts rollup files will be generated.",
133
133
"type": "object",
134
134
"properties": {
135
135
"enabled": {
136
136
"description": "Whether to generate package typings. The default is false.",
137
137
"type": "boolean"
138
138
},
139
-
"outputFolder": {
140
-
"description": "Specifies where the *.d.ts files should be written. The default value is \"./dist\"",
139
+
"trimming": {
140
+
"description": "If \"trimming\" is false (the default), then a single *.d.ts rollup file will be generated in the \"publishFolder\". If \"trimming\" is true, then three separate *.d.ts rollups will be generated in \"publishFolderForInternal\", \"publishFolderForBeta\", and \"publishFolderForPublic\".",
141
+
"type": "boolean"
142
+
},
143
+
"publishFolder": {
144
+
"description": "This setting is only used if \"trimming\" is false. It indicates the folder where \"npm publish\" will be run. The default value is \"./dist\".",
145
+
"type": "string"
146
+
},
147
+
"publishFolderForInternal": {
148
+
"description": "This setting is only used if \"trimming\" is false. It indicates the folder where \"npm publish\" will be run for an internal release. The default value is \"./dist/internal\". An internal release will contain all definitions that are reachable from the entry point.",
141
149
"type": "string"
142
150
},
143
-
"dtsFilePathForInternal": {
144
-
"description": "Specifies the output filename for an internal release. The default value is \"index-internal.d.ts\". If the path is not an absolute path, it will be resolved relative to the outputFolder. This file will contain all definitions that are reachable from the entry point.",
151
+
"publishFolderForBeta": {
152
+
"description": "This setting is only used if \"trimming\" is false. It indicates the folder where \"npm publish\" will be run for a beta release. The default value is \"./dist/beta\". A beta release will contain all definitions that are reachable from the entry point, except definitions marked as @alpha or @internal.",
145
153
"type": "string"
146
154
},
147
-
"dtsFilePathForPreview": {
148
-
"description": "Specifies the output filename for a preview release. The default value is \"index-preview.d.ts\". If the path is not an absolute path, it will be resolved relative to the outputFolder. This file will contain all definitions that are reachable from the entry point, except definitions marked as @alpha or @internal",
155
+
"publishFolderForPublic": {
156
+
"description": "This setting is only used if \"trimming\" is false. It indicates the folder where \"npm publish\" will be run for a public release. The default value is \"./dist/public\". A public release will contain all definitions that are reachable from the entry point, except definitions marked as @beta, @alpha, or @internal.",
149
157
"type": "string"
150
158
},
151
-
"dtsFilePathForPublic": {
152
-
"description": "Specifies the output filename for a public release. The default value is \"index-public.d.ts\". If the path is not an absolute path, it will be resolved relative to the outputFolder. This file will contain all definitions that are reachable from the entry point, except definitions marked as @beta, @alpha, or @internal.",
159
+
"mainDtsRollupPath": {
160
+
"description": "Specifies the relative path for the *.d.ts rollup file to be generated for the package's main entry point. The default value is an empty string, which causes the path to be automatically inferred from the \"typings\" field of the project's package.json file. If specified, the value must be a relative path that can be combined with one of the publish folder settings.",
0 commit comments