@teambit/multi-compiler 1.0.256 → 1.0.258
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/artifacts/schema.json
CHANGED
@@ -14,1018 +14,992 @@
|
|
14
14
|
},
|
15
15
|
"exports": [
|
16
16
|
{
|
17
|
-
"__schema": "
|
17
|
+
"__schema": "ExportSchema",
|
18
18
|
"location": {
|
19
|
-
"filePath": "
|
19
|
+
"filePath": "index.ts",
|
20
20
|
"line": 3,
|
21
|
-
"character":
|
21
|
+
"character": 10
|
22
22
|
},
|
23
|
-
"signature": "const MultiCompilerAspect: Aspect",
|
24
23
|
"name": "MultiCompilerAspect",
|
25
|
-
"
|
26
|
-
"__schema": "
|
24
|
+
"exportNode": {
|
25
|
+
"__schema": "VariableLikeSchema",
|
27
26
|
"location": {
|
28
27
|
"filePath": "multi-compiler.aspect.ts",
|
29
28
|
"line": 3,
|
30
29
|
"character": 14
|
31
30
|
},
|
32
|
-
"
|
33
|
-
"
|
34
|
-
|
35
|
-
"
|
36
|
-
"
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
31
|
+
"signature": "const MultiCompilerAspect: Aspect",
|
32
|
+
"name": "MultiCompilerAspect",
|
33
|
+
"type": {
|
34
|
+
"__schema": "TypeRefSchema",
|
35
|
+
"location": {
|
36
|
+
"filePath": "multi-compiler.aspect.ts",
|
37
|
+
"line": 3,
|
38
|
+
"character": 14
|
39
|
+
},
|
40
|
+
"name": "Aspect",
|
41
|
+
"componentId": {
|
42
|
+
"scope": "teambit.harmony",
|
43
|
+
"name": "harmony",
|
44
|
+
"version": "0.4.6"
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"isOptional": false,
|
48
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.compilation/multi-compiler',\n})"
|
49
|
+
}
|
41
50
|
},
|
42
51
|
{
|
43
|
-
"__schema": "
|
52
|
+
"__schema": "ExportSchema",
|
44
53
|
"location": {
|
45
|
-
"filePath": "
|
46
|
-
"line":
|
47
|
-
"character":
|
54
|
+
"filePath": "index.ts",
|
55
|
+
"line": 4,
|
56
|
+
"character": 15
|
48
57
|
},
|
49
|
-
"signature": "class MultiCompilerMain",
|
50
58
|
"name": "MultiCompilerMain",
|
51
|
-
"
|
52
|
-
|
53
|
-
|
54
|
-
"
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
59
|
+
"exportNode": {
|
60
|
+
"__schema": "ClassSchema",
|
61
|
+
"location": {
|
62
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
63
|
+
"line": 6,
|
64
|
+
"character": 1
|
65
|
+
},
|
66
|
+
"signature": "class MultiCompilerMain",
|
67
|
+
"name": "MultiCompilerMain",
|
68
|
+
"members": [
|
69
|
+
{
|
70
|
+
"__schema": "FunctionLikeSchema",
|
61
71
|
"location": {
|
62
72
|
"filePath": "multi-compiler.main.runtime.ts",
|
63
|
-
"line":
|
73
|
+
"line": 11,
|
64
74
|
"character": 3
|
65
75
|
},
|
66
|
-
"
|
67
|
-
|
68
|
-
"tags": [
|
69
|
-
{
|
70
|
-
"__schema": "PropertyLikeTagSchema",
|
71
|
-
"location": {
|
72
|
-
"filePath": "multi-compiler.main.runtime.ts",
|
73
|
-
"line": 9,
|
74
|
-
"character": 6
|
75
|
-
},
|
76
|
-
"name": "compilers",
|
77
|
-
"tagName": "parameter",
|
78
|
-
"comment": "list of compilers to include."
|
79
|
-
}
|
80
|
-
]
|
81
|
-
},
|
82
|
-
"signature": "(method) MultiCompilerMain.createCompiler(compilers: Compiler[], options?: Partial<CompilerOptions>): MultiCompiler",
|
83
|
-
"name": "createCompiler",
|
84
|
-
"params": [
|
85
|
-
{
|
86
|
-
"__schema": "ParameterSchema",
|
76
|
+
"doc": {
|
77
|
+
"__schema": "DocSchema",
|
87
78
|
"location": {
|
88
79
|
"filePath": "multi-compiler.main.runtime.ts",
|
89
|
-
"line":
|
90
|
-
"character":
|
80
|
+
"line": 7,
|
81
|
+
"character": 3
|
91
82
|
},
|
92
|
-
"
|
93
|
-
"
|
94
|
-
|
83
|
+
"raw": "/**\n * create a multi-compiler `Compiler` instance.\n * @param compilers list of compilers to include.\n */",
|
84
|
+
"comment": "create a multi-compiler `Compiler` instance.",
|
85
|
+
"tags": [
|
86
|
+
{
|
87
|
+
"__schema": "PropertyLikeTagSchema",
|
88
|
+
"location": {
|
89
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
90
|
+
"line": 9,
|
91
|
+
"character": 6
|
92
|
+
},
|
93
|
+
"name": "compilers",
|
94
|
+
"tagName": "parameter",
|
95
|
+
"comment": "list of compilers to include."
|
96
|
+
}
|
97
|
+
]
|
98
|
+
},
|
99
|
+
"signature": "(method) MultiCompilerMain.createCompiler(compilers: Compiler[], options?: Partial<CompilerOptions>): MultiCompiler",
|
100
|
+
"name": "createCompiler",
|
101
|
+
"params": [
|
102
|
+
{
|
103
|
+
"__schema": "ParameterSchema",
|
95
104
|
"location": {
|
96
105
|
"filePath": "multi-compiler.main.runtime.ts",
|
97
106
|
"line": 11,
|
98
|
-
"character":
|
107
|
+
"character": 18
|
99
108
|
},
|
109
|
+
"name": "compilers",
|
100
110
|
"type": {
|
101
|
-
"__schema": "
|
111
|
+
"__schema": "TypeArraySchema",
|
102
112
|
"location": {
|
103
113
|
"filePath": "multi-compiler.main.runtime.ts",
|
104
114
|
"line": 11,
|
105
115
|
"character": 29
|
106
116
|
},
|
107
|
-
"
|
108
|
-
|
109
|
-
"
|
110
|
-
|
117
|
+
"type": {
|
118
|
+
"__schema": "TypeRefSchema",
|
119
|
+
"location": {
|
120
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
121
|
+
"line": 11,
|
122
|
+
"character": 29
|
123
|
+
},
|
124
|
+
"name": "Compiler"
|
111
125
|
}
|
112
|
-
}
|
113
|
-
|
114
|
-
|
115
|
-
"isSpread": false
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"__schema": "ParameterSchema",
|
119
|
-
"location": {
|
120
|
-
"filePath": "multi-compiler.main.runtime.ts",
|
121
|
-
"line": 11,
|
122
|
-
"character": 41
|
126
|
+
},
|
127
|
+
"isOptional": false,
|
128
|
+
"isSpread": false
|
123
129
|
},
|
124
|
-
|
125
|
-
|
126
|
-
"__schema": "TypeRefSchema",
|
130
|
+
{
|
131
|
+
"__schema": "ParameterSchema",
|
127
132
|
"location": {
|
128
133
|
"filePath": "multi-compiler.main.runtime.ts",
|
129
134
|
"line": 11,
|
130
|
-
"character":
|
135
|
+
"character": 41
|
131
136
|
},
|
132
|
-
"name": "
|
133
|
-
"
|
134
|
-
|
135
|
-
|
136
|
-
"
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
"
|
144
|
-
"
|
137
|
+
"name": "options",
|
138
|
+
"type": {
|
139
|
+
"__schema": "TypeRefSchema",
|
140
|
+
"location": {
|
141
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
142
|
+
"line": 11,
|
143
|
+
"character": 50
|
144
|
+
},
|
145
|
+
"name": "Partial",
|
146
|
+
"typeArgs": [
|
147
|
+
{
|
148
|
+
"__schema": "TypeRefSchema",
|
149
|
+
"location": {
|
150
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
151
|
+
"line": 11,
|
152
|
+
"character": 58
|
153
|
+
},
|
154
|
+
"name": "CompilerOptions"
|
145
155
|
}
|
146
|
-
|
147
|
-
|
156
|
+
]
|
157
|
+
},
|
158
|
+
"isOptional": true,
|
159
|
+
"defaultValue": "{}",
|
160
|
+
"isSpread": false
|
161
|
+
}
|
162
|
+
],
|
163
|
+
"returnType": {
|
164
|
+
"__schema": "TypeRefSchema",
|
165
|
+
"location": {
|
166
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
167
|
+
"line": 11,
|
168
|
+
"character": 3
|
148
169
|
},
|
149
|
-
"
|
150
|
-
"defaultValue": "{}",
|
151
|
-
"isSpread": false
|
152
|
-
}
|
153
|
-
],
|
154
|
-
"returnType": {
|
155
|
-
"__schema": "TypeRefSchema",
|
156
|
-
"location": {
|
157
|
-
"filePath": "multi-compiler.main.runtime.ts",
|
158
|
-
"line": 11,
|
159
|
-
"character": 3
|
170
|
+
"name": "MultiCompiler"
|
160
171
|
},
|
161
|
-
"
|
162
|
-
},
|
163
|
-
"modifiers": []
|
164
|
-
},
|
165
|
-
{
|
166
|
-
"__schema": "VariableLikeSchema",
|
167
|
-
"location": {
|
168
|
-
"filePath": "multi-compiler.main.runtime.ts",
|
169
|
-
"line": 15,
|
170
|
-
"character": 3
|
172
|
+
"modifiers": []
|
171
173
|
},
|
172
|
-
|
173
|
-
|
174
|
-
"type": {
|
175
|
-
"__schema": "InferenceTypeSchema",
|
174
|
+
{
|
175
|
+
"__schema": "VariableLikeSchema",
|
176
176
|
"location": {
|
177
177
|
"filePath": "multi-compiler.main.runtime.ts",
|
178
178
|
"line": 15,
|
179
179
|
"character": 3
|
180
180
|
},
|
181
|
-
"
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
181
|
+
"signature": "(property) MultiCompilerMain.runtime: RuntimeDefinition",
|
182
|
+
"name": "runtime",
|
183
|
+
"type": {
|
184
|
+
"__schema": "InferenceTypeSchema",
|
185
|
+
"location": {
|
186
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
187
|
+
"line": 15,
|
188
|
+
"character": 3
|
189
|
+
},
|
190
|
+
"type": "RuntimeDefinition"
|
191
|
+
},
|
192
|
+
"isOptional": true,
|
193
|
+
"defaultValue": "MainRuntime"
|
192
194
|
},
|
193
|
-
|
194
|
-
|
195
|
-
"params": [],
|
196
|
-
"returnType": {
|
197
|
-
"__schema": "InferenceTypeSchema",
|
195
|
+
{
|
196
|
+
"__schema": "FunctionLikeSchema",
|
198
197
|
"location": {
|
199
198
|
"filePath": "multi-compiler.main.runtime.ts",
|
200
199
|
"line": 17,
|
201
200
|
"character": 3
|
202
201
|
},
|
203
|
-
"
|
204
|
-
|
205
|
-
|
206
|
-
"
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
202
|
+
"signature": "(method) MultiCompilerMain.provider(): Promise<MultiCompilerMain>",
|
203
|
+
"name": "provider",
|
204
|
+
"params": [],
|
205
|
+
"returnType": {
|
206
|
+
"__schema": "InferenceTypeSchema",
|
207
|
+
"location": {
|
208
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
209
|
+
"line": 17,
|
210
|
+
"character": 3
|
211
|
+
},
|
212
|
+
"type": "Promise<MultiCompilerMain>"
|
213
|
+
},
|
214
|
+
"modifiers": [
|
215
|
+
"static",
|
216
|
+
"async"
|
217
|
+
]
|
218
|
+
}
|
219
|
+
],
|
220
|
+
"extendsNodes": [],
|
221
|
+
"implementNodes": []
|
222
|
+
}
|
213
223
|
},
|
214
224
|
{
|
215
|
-
"__schema": "
|
225
|
+
"__schema": "ExportSchema",
|
216
226
|
"location": {
|
217
|
-
"filePath": "
|
218
|
-
"line":
|
219
|
-
"character":
|
227
|
+
"filePath": "index.ts",
|
228
|
+
"line": 5,
|
229
|
+
"character": 15
|
220
230
|
},
|
221
|
-
"signature": "class MultiCompiler",
|
222
231
|
"name": "MultiCompiler",
|
223
|
-
"
|
224
|
-
|
225
|
-
|
226
|
-
"
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
"__schema": "
|
232
|
+
"exportNode": {
|
233
|
+
"__schema": "ClassSchema",
|
234
|
+
"location": {
|
235
|
+
"filePath": "multi-compiler.compiler.ts",
|
236
|
+
"line": 18,
|
237
|
+
"character": 1
|
238
|
+
},
|
239
|
+
"signature": "class MultiCompiler",
|
240
|
+
"name": "MultiCompiler",
|
241
|
+
"members": [
|
242
|
+
{
|
243
|
+
"__schema": "VariableLikeSchema",
|
235
244
|
"location": {
|
236
245
|
"filePath": "multi-compiler.compiler.ts",
|
237
246
|
"line": 19,
|
238
247
|
"character": 3
|
239
248
|
},
|
240
|
-
"
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
249
|
+
"signature": "(property) MultiCompiler.displayName: string",
|
250
|
+
"name": "displayName",
|
251
|
+
"type": {
|
252
|
+
"__schema": "InferenceTypeSchema",
|
253
|
+
"location": {
|
254
|
+
"filePath": "multi-compiler.compiler.ts",
|
255
|
+
"line": 19,
|
256
|
+
"character": 3
|
257
|
+
},
|
258
|
+
"type": "string"
|
259
|
+
},
|
260
|
+
"isOptional": true,
|
261
|
+
"defaultValue": "'Multi compiler'"
|
251
262
|
},
|
252
|
-
|
253
|
-
|
254
|
-
"type": {
|
255
|
-
"__schema": "InferenceTypeSchema",
|
263
|
+
{
|
264
|
+
"__schema": "VariableLikeSchema",
|
256
265
|
"location": {
|
257
266
|
"filePath": "multi-compiler.compiler.ts",
|
258
267
|
"line": 21,
|
259
268
|
"character": 3
|
260
269
|
},
|
261
|
-
"
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
270
|
+
"signature": "(property) MultiCompiler.shouldCopyNonSupportedFiles: boolean",
|
271
|
+
"name": "shouldCopyNonSupportedFiles",
|
272
|
+
"type": {
|
273
|
+
"__schema": "InferenceTypeSchema",
|
274
|
+
"location": {
|
275
|
+
"filePath": "multi-compiler.compiler.ts",
|
276
|
+
"line": 21,
|
277
|
+
"character": 3
|
278
|
+
},
|
279
|
+
"type": "boolean"
|
280
|
+
},
|
281
|
+
"isOptional": true,
|
282
|
+
"defaultValue": "typeof this.compilerOptions.shouldCopyNonSupportedFiles === 'boolean'\n ? this.compilerOptions.shouldCopyNonSupportedFiles\n : true"
|
272
283
|
},
|
273
|
-
|
274
|
-
|
275
|
-
"type": {
|
276
|
-
"__schema": "InferenceTypeSchema",
|
284
|
+
{
|
285
|
+
"__schema": "VariableLikeSchema",
|
277
286
|
"location": {
|
278
287
|
"filePath": "multi-compiler.compiler.ts",
|
279
288
|
"line": 25,
|
280
289
|
"character": 3
|
281
290
|
},
|
282
|
-
"
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"__schema": "ConstructorSchema",
|
289
|
-
"location": {
|
290
|
-
"filePath": "multi-compiler.compiler.ts",
|
291
|
-
"line": 27,
|
292
|
-
"character": 3
|
293
|
-
},
|
294
|
-
"signature": "constructor MultiCompiler(id: string, compilers: Compiler[], compilerOptions?: Partial<CompilerOptions>, options?: MultiCompilerOptions): MultiCompiler",
|
295
|
-
"name": "constructor",
|
296
|
-
"params": [
|
297
|
-
{
|
298
|
-
"__schema": "ParameterSchema",
|
291
|
+
"signature": "(property) MultiCompiler.distDir: string",
|
292
|
+
"name": "distDir",
|
293
|
+
"type": {
|
294
|
+
"__schema": "InferenceTypeSchema",
|
299
295
|
"location": {
|
300
296
|
"filePath": "multi-compiler.compiler.ts",
|
301
|
-
"line":
|
302
|
-
"character":
|
297
|
+
"line": 25,
|
298
|
+
"character": 3
|
303
299
|
},
|
304
|
-
"
|
305
|
-
|
306
|
-
|
300
|
+
"type": "string"
|
301
|
+
},
|
302
|
+
"isOptional": true,
|
303
|
+
"defaultValue": "'dist'"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"__schema": "ConstructorSchema",
|
307
|
+
"location": {
|
308
|
+
"filePath": "multi-compiler.compiler.ts",
|
309
|
+
"line": 27,
|
310
|
+
"character": 3
|
311
|
+
},
|
312
|
+
"signature": "constructor MultiCompiler(id: string, compilers: Compiler[], compilerOptions?: Partial<CompilerOptions>, options?: MultiCompilerOptions): MultiCompiler",
|
313
|
+
"name": "constructor",
|
314
|
+
"params": [
|
315
|
+
{
|
316
|
+
"__schema": "ParameterSchema",
|
307
317
|
"location": {
|
308
318
|
"filePath": "multi-compiler.compiler.ts",
|
309
319
|
"line": 28,
|
310
|
-
"character":
|
320
|
+
"character": 5
|
311
321
|
},
|
312
|
-
"name": "
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
"
|
322
|
+
"name": "id",
|
323
|
+
"type": {
|
324
|
+
"__schema": "KeywordTypeSchema",
|
325
|
+
"location": {
|
326
|
+
"filePath": "multi-compiler.compiler.ts",
|
327
|
+
"line": 28,
|
328
|
+
"character": 18
|
329
|
+
},
|
330
|
+
"name": "string"
|
331
|
+
},
|
332
|
+
"isOptional": false,
|
333
|
+
"isSpread": false
|
323
334
|
},
|
324
|
-
|
325
|
-
|
326
|
-
"__schema": "TypeArraySchema",
|
335
|
+
{
|
336
|
+
"__schema": "ParameterSchema",
|
327
337
|
"location": {
|
328
338
|
"filePath": "multi-compiler.compiler.ts",
|
329
339
|
"line": 29,
|
330
|
-
"character":
|
340
|
+
"character": 5
|
331
341
|
},
|
342
|
+
"name": "compilers",
|
332
343
|
"type": {
|
333
|
-
"__schema": "
|
344
|
+
"__schema": "TypeArraySchema",
|
334
345
|
"location": {
|
335
346
|
"filePath": "multi-compiler.compiler.ts",
|
336
347
|
"line": 29,
|
337
348
|
"character": 25
|
338
349
|
},
|
339
|
-
"
|
340
|
-
|
341
|
-
"
|
342
|
-
|
350
|
+
"type": {
|
351
|
+
"__schema": "TypeRefSchema",
|
352
|
+
"location": {
|
353
|
+
"filePath": "multi-compiler.compiler.ts",
|
354
|
+
"line": 29,
|
355
|
+
"character": 25
|
356
|
+
},
|
357
|
+
"name": "Compiler"
|
343
358
|
}
|
344
|
-
}
|
345
|
-
|
346
|
-
|
347
|
-
"isSpread": false
|
348
|
-
},
|
349
|
-
{
|
350
|
-
"__schema": "ParameterSchema",
|
351
|
-
"location": {
|
352
|
-
"filePath": "multi-compiler.compiler.ts",
|
353
|
-
"line": 30,
|
354
|
-
"character": 5
|
359
|
+
},
|
360
|
+
"isOptional": false,
|
361
|
+
"isSpread": false
|
355
362
|
},
|
356
|
-
|
357
|
-
|
358
|
-
"__schema": "TypeRefSchema",
|
363
|
+
{
|
364
|
+
"__schema": "ParameterSchema",
|
359
365
|
"location": {
|
360
366
|
"filePath": "multi-compiler.compiler.ts",
|
361
367
|
"line": 30,
|
362
|
-
"character":
|
368
|
+
"character": 5
|
363
369
|
},
|
364
|
-
"name": "
|
365
|
-
"
|
366
|
-
|
367
|
-
|
368
|
-
"
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
"
|
376
|
-
"
|
370
|
+
"name": "compilerOptions",
|
371
|
+
"type": {
|
372
|
+
"__schema": "TypeRefSchema",
|
373
|
+
"location": {
|
374
|
+
"filePath": "multi-compiler.compiler.ts",
|
375
|
+
"line": 30,
|
376
|
+
"character": 31
|
377
|
+
},
|
378
|
+
"name": "Partial",
|
379
|
+
"typeArgs": [
|
380
|
+
{
|
381
|
+
"__schema": "TypeRefSchema",
|
382
|
+
"location": {
|
383
|
+
"filePath": "multi-compiler.compiler.ts",
|
384
|
+
"line": 30,
|
385
|
+
"character": 39
|
386
|
+
},
|
387
|
+
"name": "CompilerOptions"
|
377
388
|
}
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
"isSpread": false
|
384
|
-
},
|
385
|
-
{
|
386
|
-
"__schema": "ParameterSchema",
|
387
|
-
"location": {
|
388
|
-
"filePath": "multi-compiler.compiler.ts",
|
389
|
-
"line": 31,
|
390
|
-
"character": 5
|
389
|
+
]
|
390
|
+
},
|
391
|
+
"isOptional": true,
|
392
|
+
"defaultValue": "{}",
|
393
|
+
"isSpread": false
|
391
394
|
},
|
392
|
-
|
393
|
-
|
394
|
-
"__schema": "TypeRefSchema",
|
395
|
+
{
|
396
|
+
"__schema": "ParameterSchema",
|
395
397
|
"location": {
|
396
398
|
"filePath": "multi-compiler.compiler.ts",
|
397
399
|
"line": 31,
|
398
|
-
"character":
|
400
|
+
"character": 5
|
401
|
+
},
|
402
|
+
"name": "options",
|
403
|
+
"type": {
|
404
|
+
"__schema": "TypeRefSchema",
|
405
|
+
"location": {
|
406
|
+
"filePath": "multi-compiler.compiler.ts",
|
407
|
+
"line": 31,
|
408
|
+
"character": 23
|
409
|
+
},
|
410
|
+
"name": "MultiCompilerOptions"
|
399
411
|
},
|
400
|
-
"
|
401
|
-
"
|
412
|
+
"isOptional": true,
|
413
|
+
"defaultValue": "{}",
|
414
|
+
"isSpread": false
|
415
|
+
}
|
416
|
+
],
|
417
|
+
"returnType": {
|
418
|
+
"__schema": "ThisTypeSchema",
|
419
|
+
"location": {
|
420
|
+
"filePath": "multi-compiler.compiler.ts",
|
421
|
+
"line": 18,
|
422
|
+
"character": 1
|
402
423
|
},
|
403
|
-
"
|
404
|
-
"defaultValue": "{}",
|
405
|
-
"isSpread": false
|
406
|
-
}
|
407
|
-
],
|
408
|
-
"returnType": {
|
409
|
-
"__schema": "ThisTypeSchema",
|
410
|
-
"location": {
|
411
|
-
"filePath": "multi-compiler.compiler.ts",
|
412
|
-
"line": 18,
|
413
|
-
"character": 1
|
424
|
+
"name": "MultiCompiler"
|
414
425
|
},
|
415
|
-
"
|
416
|
-
},
|
417
|
-
"modifiers": []
|
418
|
-
},
|
419
|
-
{
|
420
|
-
"__schema": "FunctionLikeSchema",
|
421
|
-
"location": {
|
422
|
-
"filePath": "multi-compiler.compiler.ts",
|
423
|
-
"line": 34,
|
424
|
-
"character": 3
|
426
|
+
"modifiers": []
|
425
427
|
},
|
426
|
-
|
427
|
-
|
428
|
-
"params": [],
|
429
|
-
"returnType": {
|
430
|
-
"__schema": "InferenceTypeSchema",
|
428
|
+
{
|
429
|
+
"__schema": "FunctionLikeSchema",
|
431
430
|
"location": {
|
432
431
|
"filePath": "multi-compiler.compiler.ts",
|
433
432
|
"line": 34,
|
434
433
|
"character": 3
|
435
434
|
},
|
436
|
-
"
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
435
|
+
"signature": "(method) MultiCompiler.getDistDir(): string",
|
436
|
+
"name": "getDistDir",
|
437
|
+
"params": [],
|
438
|
+
"returnType": {
|
439
|
+
"__schema": "InferenceTypeSchema",
|
440
|
+
"location": {
|
441
|
+
"filePath": "multi-compiler.compiler.ts",
|
442
|
+
"line": 34,
|
443
|
+
"character": 3
|
444
|
+
},
|
445
|
+
"type": "string"
|
446
|
+
},
|
447
|
+
"modifiers": []
|
446
448
|
},
|
447
|
-
|
448
|
-
|
449
|
-
"params": [],
|
450
|
-
"returnType": {
|
451
|
-
"__schema": "InferenceTypeSchema",
|
449
|
+
{
|
450
|
+
"__schema": "FunctionLikeSchema",
|
452
451
|
"location": {
|
453
452
|
"filePath": "multi-compiler.compiler.ts",
|
454
453
|
"line": 38,
|
455
454
|
"character": 3
|
456
455
|
},
|
457
|
-
"
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
456
|
+
"signature": "(method) MultiCompiler.getArtifactDefinition(): {\n generatedBy: string;\n name: string;\n globPatterns: string[];\n}[]",
|
457
|
+
"name": "getArtifactDefinition",
|
458
|
+
"params": [],
|
459
|
+
"returnType": {
|
460
|
+
"__schema": "InferenceTypeSchema",
|
461
|
+
"location": {
|
462
|
+
"filePath": "multi-compiler.compiler.ts",
|
463
|
+
"line": 38,
|
464
|
+
"character": 3
|
465
|
+
},
|
466
|
+
"type": "{\n generatedBy: string;\n name: string;\n globPatterns: string[];\n}[]"
|
467
|
+
},
|
468
|
+
"modifiers": []
|
467
469
|
},
|
468
|
-
|
469
|
-
|
470
|
-
"params": [],
|
471
|
-
"returnType": {
|
472
|
-
"__schema": "InferenceTypeSchema",
|
470
|
+
{
|
471
|
+
"__schema": "FunctionLikeSchema",
|
473
472
|
"location": {
|
474
473
|
"filePath": "multi-compiler.compiler.ts",
|
475
474
|
"line": 59,
|
476
475
|
"character": 3
|
477
476
|
},
|
478
|
-
"
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
477
|
+
"signature": "(method) MultiCompiler.displayConfig(): string",
|
478
|
+
"name": "displayConfig",
|
479
|
+
"params": [],
|
480
|
+
"returnType": {
|
481
|
+
"__schema": "InferenceTypeSchema",
|
482
|
+
"location": {
|
483
|
+
"filePath": "multi-compiler.compiler.ts",
|
484
|
+
"line": 59,
|
485
|
+
"character": 3
|
486
|
+
},
|
487
|
+
"type": "string"
|
488
|
+
},
|
489
|
+
"modifiers": []
|
488
490
|
},
|
489
|
-
|
490
|
-
"__schema": "
|
491
|
+
{
|
492
|
+
"__schema": "FunctionLikeSchema",
|
491
493
|
"location": {
|
492
494
|
"filePath": "multi-compiler.compiler.ts",
|
493
|
-
"line":
|
495
|
+
"line": 70,
|
494
496
|
"character": 3
|
495
497
|
},
|
496
|
-
"
|
497
|
-
|
498
|
-
},
|
499
|
-
"signature": "(method) MultiCompiler.transpileFile(fileContent: string, options: TranspileFileParams): Promise<TranspileFileOutput>",
|
500
|
-
"name": "transpileFile",
|
501
|
-
"params": [
|
502
|
-
{
|
503
|
-
"__schema": "ParameterSchema",
|
498
|
+
"doc": {
|
499
|
+
"__schema": "DocSchema",
|
504
500
|
"location": {
|
505
501
|
"filePath": "multi-compiler.compiler.ts",
|
506
|
-
"line":
|
507
|
-
"character":
|
508
|
-
},
|
509
|
-
"name": "fileContent",
|
510
|
-
"type": {
|
511
|
-
"__schema": "KeywordTypeSchema",
|
512
|
-
"location": {
|
513
|
-
"filePath": "multi-compiler.compiler.ts",
|
514
|
-
"line": 70,
|
515
|
-
"character": 36
|
516
|
-
},
|
517
|
-
"name": "string"
|
502
|
+
"line": 67,
|
503
|
+
"character": 3
|
518
504
|
},
|
519
|
-
"
|
520
|
-
"
|
505
|
+
"raw": "/**\n * the multi-compiler applies all applicable defined compilers on given content.\n */",
|
506
|
+
"comment": "the multi-compiler applies all applicable defined compilers on given content."
|
521
507
|
},
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
"
|
527
|
-
"character": 44
|
528
|
-
},
|
529
|
-
"name": "options",
|
530
|
-
"type": {
|
531
|
-
"__schema": "TypeRefSchema",
|
508
|
+
"signature": "(method) MultiCompiler.transpileFile(fileContent: string, options: TranspileFileParams): Promise<TranspileFileOutput>",
|
509
|
+
"name": "transpileFile",
|
510
|
+
"params": [
|
511
|
+
{
|
512
|
+
"__schema": "ParameterSchema",
|
532
513
|
"location": {
|
533
514
|
"filePath": "multi-compiler.compiler.ts",
|
534
515
|
"line": 70,
|
535
|
-
"character":
|
516
|
+
"character": 23
|
536
517
|
},
|
537
|
-
"name": "
|
538
|
-
"
|
539
|
-
"
|
540
|
-
"
|
541
|
-
|
518
|
+
"name": "fileContent",
|
519
|
+
"type": {
|
520
|
+
"__schema": "KeywordTypeSchema",
|
521
|
+
"location": {
|
522
|
+
"filePath": "multi-compiler.compiler.ts",
|
523
|
+
"line": 70,
|
524
|
+
"character": 36
|
525
|
+
},
|
526
|
+
"name": "string"
|
527
|
+
},
|
528
|
+
"isOptional": false,
|
529
|
+
"isSpread": false
|
542
530
|
},
|
543
|
-
"isOptional": false,
|
544
|
-
"isSpread": false
|
545
|
-
}
|
546
|
-
],
|
547
|
-
"returnType": {
|
548
|
-
"__schema": "TypeRefSchema",
|
549
|
-
"location": {
|
550
|
-
"filePath": "multi-compiler.compiler.ts",
|
551
|
-
"line": 70,
|
552
|
-
"character": 75
|
553
|
-
},
|
554
|
-
"name": "Promise",
|
555
|
-
"typeArgs": [
|
556
531
|
{
|
557
|
-
"__schema": "
|
532
|
+
"__schema": "ParameterSchema",
|
558
533
|
"location": {
|
559
534
|
"filePath": "multi-compiler.compiler.ts",
|
560
535
|
"line": 70,
|
561
|
-
"character":
|
536
|
+
"character": 44
|
562
537
|
},
|
563
|
-
"name": "
|
564
|
-
"
|
565
|
-
"
|
566
|
-
"
|
567
|
-
|
538
|
+
"name": "options",
|
539
|
+
"type": {
|
540
|
+
"__schema": "TypeRefSchema",
|
541
|
+
"location": {
|
542
|
+
"filePath": "multi-compiler.compiler.ts",
|
543
|
+
"line": 70,
|
544
|
+
"character": 53
|
545
|
+
},
|
546
|
+
"name": "TranspileFileParams"
|
547
|
+
},
|
548
|
+
"isOptional": false,
|
549
|
+
"isSpread": false
|
568
550
|
}
|
569
|
-
]
|
570
|
-
|
571
|
-
|
572
|
-
"async"
|
573
|
-
]
|
574
|
-
},
|
575
|
-
{
|
576
|
-
"__schema": "FunctionLikeSchema",
|
577
|
-
"location": {
|
578
|
-
"filePath": "multi-compiler.compiler.ts",
|
579
|
-
"line": 99,
|
580
|
-
"character": 3
|
581
|
-
},
|
582
|
-
"signature": "(method) MultiCompiler.transpileComponent(params: TranspileComponentParams): Promise<void>",
|
583
|
-
"name": "transpileComponent",
|
584
|
-
"params": [
|
585
|
-
{
|
586
|
-
"__schema": "ParameterSchema",
|
551
|
+
],
|
552
|
+
"returnType": {
|
553
|
+
"__schema": "TypeRefSchema",
|
587
554
|
"location": {
|
588
555
|
"filePath": "multi-compiler.compiler.ts",
|
589
|
-
"line":
|
590
|
-
"character":
|
556
|
+
"line": 70,
|
557
|
+
"character": 75
|
591
558
|
},
|
592
|
-
"name": "
|
593
|
-
"
|
594
|
-
|
595
|
-
|
596
|
-
"
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
"scope": "teambit.compilation",
|
603
|
-
"name": "compiler"
|
559
|
+
"name": "Promise",
|
560
|
+
"typeArgs": [
|
561
|
+
{
|
562
|
+
"__schema": "TypeRefSchema",
|
563
|
+
"location": {
|
564
|
+
"filePath": "multi-compiler.compiler.ts",
|
565
|
+
"line": 70,
|
566
|
+
"character": 83
|
567
|
+
},
|
568
|
+
"name": "TranspileFileOutput"
|
604
569
|
}
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
570
|
+
]
|
571
|
+
},
|
572
|
+
"modifiers": [
|
573
|
+
"async"
|
574
|
+
]
|
575
|
+
},
|
576
|
+
{
|
577
|
+
"__schema": "FunctionLikeSchema",
|
612
578
|
"location": {
|
613
579
|
"filePath": "multi-compiler.compiler.ts",
|
614
580
|
"line": 99,
|
615
|
-
"character":
|
581
|
+
"character": 3
|
616
582
|
},
|
617
|
-
"
|
618
|
-
"
|
583
|
+
"signature": "(method) MultiCompiler.transpileComponent(params: TranspileComponentParams): Promise<void>",
|
584
|
+
"name": "transpileComponent",
|
585
|
+
"params": [
|
619
586
|
{
|
620
|
-
"__schema": "
|
587
|
+
"__schema": "ParameterSchema",
|
621
588
|
"location": {
|
622
589
|
"filePath": "multi-compiler.compiler.ts",
|
623
590
|
"line": 99,
|
624
|
-
"character":
|
591
|
+
"character": 28
|
592
|
+
},
|
593
|
+
"name": "params",
|
594
|
+
"type": {
|
595
|
+
"__schema": "TypeRefSchema",
|
596
|
+
"location": {
|
597
|
+
"filePath": "multi-compiler.compiler.ts",
|
598
|
+
"line": 99,
|
599
|
+
"character": 36
|
600
|
+
},
|
601
|
+
"name": "TranspileComponentParams"
|
625
602
|
},
|
626
|
-
"
|
603
|
+
"isOptional": false,
|
604
|
+
"isSpread": false
|
627
605
|
}
|
628
|
-
]
|
629
|
-
|
630
|
-
|
631
|
-
"async"
|
632
|
-
]
|
633
|
-
},
|
634
|
-
{
|
635
|
-
"__schema": "FunctionLikeSchema",
|
636
|
-
"location": {
|
637
|
-
"filePath": "multi-compiler.compiler.ts",
|
638
|
-
"line": 107,
|
639
|
-
"character": 3
|
640
|
-
},
|
641
|
-
"signature": "(method) MultiCompiler.build(context: BuildContext): Promise<BuiltTaskResult>",
|
642
|
-
"name": "build",
|
643
|
-
"params": [
|
644
|
-
{
|
645
|
-
"__schema": "ParameterSchema",
|
606
|
+
],
|
607
|
+
"returnType": {
|
608
|
+
"__schema": "TypeRefSchema",
|
646
609
|
"location": {
|
647
610
|
"filePath": "multi-compiler.compiler.ts",
|
648
|
-
"line":
|
649
|
-
"character":
|
611
|
+
"line": 99,
|
612
|
+
"character": 63
|
650
613
|
},
|
651
|
-
"name": "
|
652
|
-
"
|
653
|
-
|
654
|
-
|
655
|
-
"
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
"scope": "teambit.pipelines",
|
662
|
-
"name": "builder"
|
614
|
+
"name": "Promise",
|
615
|
+
"typeArgs": [
|
616
|
+
{
|
617
|
+
"__schema": "KeywordTypeSchema",
|
618
|
+
"location": {
|
619
|
+
"filePath": "multi-compiler.compiler.ts",
|
620
|
+
"line": 99,
|
621
|
+
"character": 71
|
622
|
+
},
|
623
|
+
"name": "void"
|
663
624
|
}
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
625
|
+
]
|
626
|
+
},
|
627
|
+
"modifiers": [
|
628
|
+
"async"
|
629
|
+
]
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"__schema": "FunctionLikeSchema",
|
671
633
|
"location": {
|
672
634
|
"filePath": "multi-compiler.compiler.ts",
|
673
635
|
"line": 107,
|
674
|
-
"character":
|
636
|
+
"character": 3
|
675
637
|
},
|
676
|
-
"
|
677
|
-
"
|
638
|
+
"signature": "(method) MultiCompiler.build(context: BuildContext): Promise<BuiltTaskResult>",
|
639
|
+
"name": "build",
|
640
|
+
"params": [
|
678
641
|
{
|
679
|
-
"__schema": "
|
642
|
+
"__schema": "ParameterSchema",
|
680
643
|
"location": {
|
681
644
|
"filePath": "multi-compiler.compiler.ts",
|
682
645
|
"line": 107,
|
683
|
-
"character":
|
646
|
+
"character": 15
|
684
647
|
},
|
685
|
-
"name": "
|
686
|
-
"
|
687
|
-
"
|
688
|
-
"
|
689
|
-
|
648
|
+
"name": "context",
|
649
|
+
"type": {
|
650
|
+
"__schema": "TypeRefSchema",
|
651
|
+
"location": {
|
652
|
+
"filePath": "multi-compiler.compiler.ts",
|
653
|
+
"line": 107,
|
654
|
+
"character": 24
|
655
|
+
},
|
656
|
+
"name": "BuildContext"
|
657
|
+
},
|
658
|
+
"isOptional": false,
|
659
|
+
"isSpread": false
|
690
660
|
}
|
691
|
-
]
|
692
|
-
|
693
|
-
|
694
|
-
"async"
|
695
|
-
]
|
696
|
-
},
|
697
|
-
{
|
698
|
-
"__schema": "FunctionLikeSchema",
|
699
|
-
"location": {
|
700
|
-
"filePath": "multi-compiler.compiler.ts",
|
701
|
-
"line": 119,
|
702
|
-
"character": 3
|
703
|
-
},
|
704
|
-
"signature": "(method) MultiCompiler.preBuild(context: BuildContext): Promise<void>",
|
705
|
-
"name": "preBuild",
|
706
|
-
"params": [
|
707
|
-
{
|
708
|
-
"__schema": "ParameterSchema",
|
661
|
+
],
|
662
|
+
"returnType": {
|
663
|
+
"__schema": "TypeRefSchema",
|
709
664
|
"location": {
|
710
665
|
"filePath": "multi-compiler.compiler.ts",
|
711
|
-
"line":
|
712
|
-
"character":
|
666
|
+
"line": 107,
|
667
|
+
"character": 39
|
713
668
|
},
|
714
|
-
"name": "
|
715
|
-
"
|
716
|
-
|
717
|
-
|
718
|
-
"
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
"scope": "teambit.pipelines",
|
725
|
-
"name": "builder"
|
669
|
+
"name": "Promise",
|
670
|
+
"typeArgs": [
|
671
|
+
{
|
672
|
+
"__schema": "TypeRefSchema",
|
673
|
+
"location": {
|
674
|
+
"filePath": "multi-compiler.compiler.ts",
|
675
|
+
"line": 107,
|
676
|
+
"character": 47
|
677
|
+
},
|
678
|
+
"name": "BuiltTaskResult"
|
726
679
|
}
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
680
|
+
]
|
681
|
+
},
|
682
|
+
"modifiers": [
|
683
|
+
"async"
|
684
|
+
]
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"__schema": "FunctionLikeSchema",
|
734
688
|
"location": {
|
735
689
|
"filePath": "multi-compiler.compiler.ts",
|
736
690
|
"line": 119,
|
737
691
|
"character": 3
|
738
692
|
},
|
739
|
-
"
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
693
|
+
"signature": "(method) MultiCompiler.preBuild(context: BuildContext): Promise<void>",
|
694
|
+
"name": "preBuild",
|
695
|
+
"params": [
|
696
|
+
{
|
697
|
+
"__schema": "ParameterSchema",
|
698
|
+
"location": {
|
699
|
+
"filePath": "multi-compiler.compiler.ts",
|
700
|
+
"line": 119,
|
701
|
+
"character": 18
|
702
|
+
},
|
703
|
+
"name": "context",
|
704
|
+
"type": {
|
705
|
+
"__schema": "TypeRefSchema",
|
706
|
+
"location": {
|
707
|
+
"filePath": "multi-compiler.compiler.ts",
|
708
|
+
"line": 119,
|
709
|
+
"character": 27
|
710
|
+
},
|
711
|
+
"name": "BuildContext"
|
712
|
+
},
|
713
|
+
"isOptional": false,
|
714
|
+
"isSpread": false
|
715
|
+
}
|
716
|
+
],
|
717
|
+
"returnType": {
|
718
|
+
"__schema": "InferenceTypeSchema",
|
757
719
|
"location": {
|
758
720
|
"filePath": "multi-compiler.compiler.ts",
|
759
|
-
"line":
|
760
|
-
"character":
|
721
|
+
"line": 119,
|
722
|
+
"character": 3
|
761
723
|
},
|
762
|
-
"
|
763
|
-
|
764
|
-
|
724
|
+
"type": "Promise<void>"
|
725
|
+
},
|
726
|
+
"modifiers": [
|
727
|
+
"async"
|
728
|
+
]
|
729
|
+
},
|
730
|
+
{
|
731
|
+
"__schema": "FunctionLikeSchema",
|
732
|
+
"location": {
|
733
|
+
"filePath": "multi-compiler.compiler.ts",
|
734
|
+
"line": 128,
|
735
|
+
"character": 3
|
736
|
+
},
|
737
|
+
"signature": "(method) MultiCompiler.postBuild(context: BuildContext, taskResults: TaskResultsList): Promise<void>",
|
738
|
+
"name": "postBuild",
|
739
|
+
"params": [
|
740
|
+
{
|
741
|
+
"__schema": "ParameterSchema",
|
765
742
|
"location": {
|
766
743
|
"filePath": "multi-compiler.compiler.ts",
|
767
744
|
"line": 128,
|
768
|
-
"character":
|
745
|
+
"character": 19
|
769
746
|
},
|
770
|
-
"name": "
|
771
|
-
"
|
772
|
-
"
|
773
|
-
"
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
"filePath": "multi-compiler.compiler.ts",
|
783
|
-
"line": 128,
|
784
|
-
"character": 42
|
747
|
+
"name": "context",
|
748
|
+
"type": {
|
749
|
+
"__schema": "TypeRefSchema",
|
750
|
+
"location": {
|
751
|
+
"filePath": "multi-compiler.compiler.ts",
|
752
|
+
"line": 128,
|
753
|
+
"character": 28
|
754
|
+
},
|
755
|
+
"name": "BuildContext"
|
756
|
+
},
|
757
|
+
"isOptional": false,
|
758
|
+
"isSpread": false
|
785
759
|
},
|
786
|
-
|
787
|
-
|
788
|
-
"__schema": "TypeRefSchema",
|
760
|
+
{
|
761
|
+
"__schema": "ParameterSchema",
|
789
762
|
"location": {
|
790
763
|
"filePath": "multi-compiler.compiler.ts",
|
791
764
|
"line": 128,
|
792
|
-
"character":
|
765
|
+
"character": 42
|
793
766
|
},
|
794
|
-
"name": "
|
795
|
-
"
|
796
|
-
"
|
797
|
-
"
|
798
|
-
|
767
|
+
"name": "taskResults",
|
768
|
+
"type": {
|
769
|
+
"__schema": "TypeRefSchema",
|
770
|
+
"location": {
|
771
|
+
"filePath": "multi-compiler.compiler.ts",
|
772
|
+
"line": 128,
|
773
|
+
"character": 55
|
774
|
+
},
|
775
|
+
"name": "TaskResultsList"
|
776
|
+
},
|
777
|
+
"isOptional": false,
|
778
|
+
"isSpread": false
|
779
|
+
}
|
780
|
+
],
|
781
|
+
"returnType": {
|
782
|
+
"__schema": "InferenceTypeSchema",
|
783
|
+
"location": {
|
784
|
+
"filePath": "multi-compiler.compiler.ts",
|
785
|
+
"line": 128,
|
786
|
+
"character": 3
|
799
787
|
},
|
800
|
-
"
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
788
|
+
"type": "Promise<void>"
|
789
|
+
},
|
790
|
+
"modifiers": [
|
791
|
+
"async"
|
792
|
+
]
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"__schema": "FunctionLikeSchema",
|
806
796
|
"location": {
|
807
797
|
"filePath": "multi-compiler.compiler.ts",
|
808
|
-
"line":
|
798
|
+
"line": 141,
|
809
799
|
"character": 3
|
810
800
|
},
|
811
|
-
"
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
},
|
817
|
-
{
|
818
|
-
"__schema": "FunctionLikeSchema",
|
819
|
-
"location": {
|
820
|
-
"filePath": "multi-compiler.compiler.ts",
|
821
|
-
"line": 141,
|
822
|
-
"character": 3
|
823
|
-
},
|
824
|
-
"signature": "(method) MultiCompiler.getPreviewComponentRootPath(component: Component): string",
|
825
|
-
"name": "getPreviewComponentRootPath",
|
826
|
-
"params": [
|
827
|
-
{
|
828
|
-
"__schema": "ParameterSchema",
|
829
|
-
"location": {
|
830
|
-
"filePath": "multi-compiler.compiler.ts",
|
831
|
-
"line": 141,
|
832
|
-
"character": 31
|
833
|
-
},
|
834
|
-
"name": "component",
|
835
|
-
"type": {
|
836
|
-
"__schema": "TypeRefSchema",
|
801
|
+
"signature": "(method) MultiCompiler.getPreviewComponentRootPath(component: Component): string",
|
802
|
+
"name": "getPreviewComponentRootPath",
|
803
|
+
"params": [
|
804
|
+
{
|
805
|
+
"__schema": "ParameterSchema",
|
837
806
|
"location": {
|
838
807
|
"filePath": "multi-compiler.compiler.ts",
|
839
808
|
"line": 141,
|
840
|
-
"character":
|
809
|
+
"character": 31
|
841
810
|
},
|
842
|
-
"name": "
|
843
|
-
"
|
844
|
-
"
|
845
|
-
"
|
846
|
-
|
811
|
+
"name": "component",
|
812
|
+
"type": {
|
813
|
+
"__schema": "TypeRefSchema",
|
814
|
+
"location": {
|
815
|
+
"filePath": "multi-compiler.compiler.ts",
|
816
|
+
"line": 141,
|
817
|
+
"character": 42
|
818
|
+
},
|
819
|
+
"name": "Component"
|
820
|
+
},
|
821
|
+
"isOptional": false,
|
822
|
+
"isSpread": false
|
823
|
+
}
|
824
|
+
],
|
825
|
+
"returnType": {
|
826
|
+
"__schema": "KeywordTypeSchema",
|
827
|
+
"location": {
|
828
|
+
"filePath": "multi-compiler.compiler.ts",
|
829
|
+
"line": 141,
|
830
|
+
"character": 54
|
847
831
|
},
|
848
|
-
"
|
849
|
-
"isSpread": false
|
850
|
-
}
|
851
|
-
],
|
852
|
-
"returnType": {
|
853
|
-
"__schema": "KeywordTypeSchema",
|
854
|
-
"location": {
|
855
|
-
"filePath": "multi-compiler.compiler.ts",
|
856
|
-
"line": 141,
|
857
|
-
"character": 54
|
832
|
+
"name": "string"
|
858
833
|
},
|
859
|
-
"
|
860
|
-
},
|
861
|
-
"modifiers": []
|
862
|
-
},
|
863
|
-
{
|
864
|
-
"__schema": "FunctionLikeSchema",
|
865
|
-
"location": {
|
866
|
-
"filePath": "multi-compiler.compiler.ts",
|
867
|
-
"line": 157,
|
868
|
-
"character": 3
|
834
|
+
"modifiers": []
|
869
835
|
},
|
870
|
-
|
871
|
-
"__schema": "
|
836
|
+
{
|
837
|
+
"__schema": "FunctionLikeSchema",
|
872
838
|
"location": {
|
873
839
|
"filePath": "multi-compiler.compiler.ts",
|
874
|
-
"line":
|
840
|
+
"line": 157,
|
875
841
|
"character": 3
|
876
842
|
},
|
877
|
-
"
|
878
|
-
|
879
|
-
},
|
880
|
-
"signature": "(method) MultiCompiler.getDistPathBySrcPath(srcPath: string): string",
|
881
|
-
"name": "getDistPathBySrcPath",
|
882
|
-
"params": [
|
883
|
-
{
|
884
|
-
"__schema": "ParameterSchema",
|
843
|
+
"doc": {
|
844
|
+
"__schema": "DocSchema",
|
885
845
|
"location": {
|
886
846
|
"filePath": "multi-compiler.compiler.ts",
|
887
|
-
"line":
|
888
|
-
"character":
|
847
|
+
"line": 153,
|
848
|
+
"character": 3
|
889
849
|
},
|
890
|
-
"
|
891
|
-
"
|
892
|
-
|
850
|
+
"raw": "/**\n * given a source file, return its parallel in the dists. e.g. \"index.ts\" => \"dist/index.js\"\n * both, the return path and the given path are relative paths.\n */",
|
851
|
+
"comment": "given a source file, return its parallel in the dists. e.g. \"index.ts\" => \"dist/index.js\"\nboth, the return path and the given path are relative paths."
|
852
|
+
},
|
853
|
+
"signature": "(method) MultiCompiler.getDistPathBySrcPath(srcPath: string): string",
|
854
|
+
"name": "getDistPathBySrcPath",
|
855
|
+
"params": [
|
856
|
+
{
|
857
|
+
"__schema": "ParameterSchema",
|
893
858
|
"location": {
|
894
859
|
"filePath": "multi-compiler.compiler.ts",
|
895
860
|
"line": 157,
|
896
|
-
"character":
|
861
|
+
"character": 24
|
897
862
|
},
|
898
|
-
"name": "
|
863
|
+
"name": "srcPath",
|
864
|
+
"type": {
|
865
|
+
"__schema": "KeywordTypeSchema",
|
866
|
+
"location": {
|
867
|
+
"filePath": "multi-compiler.compiler.ts",
|
868
|
+
"line": 157,
|
869
|
+
"character": 33
|
870
|
+
},
|
871
|
+
"name": "string"
|
872
|
+
},
|
873
|
+
"isOptional": false,
|
874
|
+
"isSpread": false
|
875
|
+
}
|
876
|
+
],
|
877
|
+
"returnType": {
|
878
|
+
"__schema": "KeywordTypeSchema",
|
879
|
+
"location": {
|
880
|
+
"filePath": "multi-compiler.compiler.ts",
|
881
|
+
"line": 157,
|
882
|
+
"character": 42
|
899
883
|
},
|
900
|
-
"
|
901
|
-
"isSpread": false
|
902
|
-
}
|
903
|
-
],
|
904
|
-
"returnType": {
|
905
|
-
"__schema": "KeywordTypeSchema",
|
906
|
-
"location": {
|
907
|
-
"filePath": "multi-compiler.compiler.ts",
|
908
|
-
"line": 157,
|
909
|
-
"character": 42
|
884
|
+
"name": "string"
|
910
885
|
},
|
911
|
-
"
|
912
|
-
},
|
913
|
-
"modifiers": []
|
914
|
-
},
|
915
|
-
{
|
916
|
-
"__schema": "FunctionLikeSchema",
|
917
|
-
"location": {
|
918
|
-
"filePath": "multi-compiler.compiler.ts",
|
919
|
-
"line": 169,
|
920
|
-
"character": 3
|
886
|
+
"modifiers": []
|
921
887
|
},
|
922
|
-
|
923
|
-
"__schema": "
|
888
|
+
{
|
889
|
+
"__schema": "FunctionLikeSchema",
|
924
890
|
"location": {
|
925
891
|
"filePath": "multi-compiler.compiler.ts",
|
926
|
-
"line":
|
892
|
+
"line": 169,
|
927
893
|
"character": 3
|
928
894
|
},
|
929
|
-
"
|
930
|
-
|
931
|
-
},
|
932
|
-
"signature": "(method) MultiCompiler.isFileSupported(filePath: string): boolean",
|
933
|
-
"name": "isFileSupported",
|
934
|
-
"params": [
|
935
|
-
{
|
936
|
-
"__schema": "ParameterSchema",
|
895
|
+
"doc": {
|
896
|
+
"__schema": "DocSchema",
|
937
897
|
"location": {
|
938
898
|
"filePath": "multi-compiler.compiler.ts",
|
939
|
-
"line":
|
940
|
-
"character":
|
899
|
+
"line": 166,
|
900
|
+
"character": 3
|
941
901
|
},
|
942
|
-
"
|
943
|
-
"
|
944
|
-
|
902
|
+
"raw": "/**\n * only supported files matching get compiled. others, are copied to the dist dir.\n */",
|
903
|
+
"comment": "only supported files matching get compiled. others, are copied to the dist dir."
|
904
|
+
},
|
905
|
+
"signature": "(method) MultiCompiler.isFileSupported(filePath: string): boolean",
|
906
|
+
"name": "isFileSupported",
|
907
|
+
"params": [
|
908
|
+
{
|
909
|
+
"__schema": "ParameterSchema",
|
945
910
|
"location": {
|
946
911
|
"filePath": "multi-compiler.compiler.ts",
|
947
912
|
"line": 169,
|
948
|
-
"character":
|
913
|
+
"character": 19
|
949
914
|
},
|
950
|
-
"name": "
|
915
|
+
"name": "filePath",
|
916
|
+
"type": {
|
917
|
+
"__schema": "KeywordTypeSchema",
|
918
|
+
"location": {
|
919
|
+
"filePath": "multi-compiler.compiler.ts",
|
920
|
+
"line": 169,
|
921
|
+
"character": 29
|
922
|
+
},
|
923
|
+
"name": "string"
|
924
|
+
},
|
925
|
+
"isOptional": false,
|
926
|
+
"isSpread": false
|
927
|
+
}
|
928
|
+
],
|
929
|
+
"returnType": {
|
930
|
+
"__schema": "KeywordTypeSchema",
|
931
|
+
"location": {
|
932
|
+
"filePath": "multi-compiler.compiler.ts",
|
933
|
+
"line": 169,
|
934
|
+
"character": 38
|
951
935
|
},
|
952
|
-
"
|
953
|
-
"isSpread": false
|
954
|
-
}
|
955
|
-
],
|
956
|
-
"returnType": {
|
957
|
-
"__schema": "KeywordTypeSchema",
|
958
|
-
"location": {
|
959
|
-
"filePath": "multi-compiler.compiler.ts",
|
960
|
-
"line": 169,
|
961
|
-
"character": 38
|
936
|
+
"name": "boolean"
|
962
937
|
},
|
963
|
-
"
|
964
|
-
},
|
965
|
-
"modifiers": []
|
966
|
-
},
|
967
|
-
{
|
968
|
-
"__schema": "FunctionLikeSchema",
|
969
|
-
"location": {
|
970
|
-
"filePath": "multi-compiler.compiler.ts",
|
971
|
-
"line": 176,
|
972
|
-
"character": 3
|
938
|
+
"modifiers": []
|
973
939
|
},
|
974
|
-
|
975
|
-
"__schema": "
|
940
|
+
{
|
941
|
+
"__schema": "FunctionLikeSchema",
|
976
942
|
"location": {
|
977
943
|
"filePath": "multi-compiler.compiler.ts",
|
978
|
-
"line":
|
944
|
+
"line": 176,
|
979
945
|
"character": 3
|
980
946
|
},
|
981
|
-
"
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
"filePath": "multi-compiler.compiler.ts",
|
991
|
-
"line": 176,
|
992
|
-
"character": 14
|
947
|
+
"doc": {
|
948
|
+
"__schema": "DocSchema",
|
949
|
+
"location": {
|
950
|
+
"filePath": "multi-compiler.compiler.ts",
|
951
|
+
"line": 173,
|
952
|
+
"character": 3
|
953
|
+
},
|
954
|
+
"raw": "/**\n * returns the version of the current compiler instance (e.g. '4.0.1').\n */",
|
955
|
+
"comment": "returns the version of the current compiler instance (e.g. '4.0.1')."
|
993
956
|
},
|
994
|
-
"
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
"
|
1007
|
-
}
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
957
|
+
"signature": "(method) MultiCompiler.version(): string",
|
958
|
+
"name": "version",
|
959
|
+
"params": [],
|
960
|
+
"returnType": {
|
961
|
+
"__schema": "KeywordTypeSchema",
|
962
|
+
"location": {
|
963
|
+
"filePath": "multi-compiler.compiler.ts",
|
964
|
+
"line": 176,
|
965
|
+
"character": 14
|
966
|
+
},
|
967
|
+
"name": "string"
|
968
|
+
},
|
969
|
+
"modifiers": []
|
970
|
+
}
|
971
|
+
],
|
972
|
+
"extendsNodes": [],
|
973
|
+
"implementNodes": [
|
974
|
+
{
|
975
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1012
976
|
"location": {
|
1013
977
|
"filePath": "multi-compiler.compiler.ts",
|
1014
978
|
"line": 18,
|
1015
979
|
"character": 39
|
1016
980
|
},
|
1017
|
-
"name": "Compiler",
|
1018
|
-
"
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
"
|
981
|
+
"name": "implements Compiler",
|
982
|
+
"typeArgs": [],
|
983
|
+
"expression": {
|
984
|
+
"__schema": "TypeRefSchema",
|
985
|
+
"location": {
|
986
|
+
"filePath": "multi-compiler.compiler.ts",
|
987
|
+
"line": 18,
|
988
|
+
"character": 39
|
1023
989
|
},
|
1024
|
-
"
|
990
|
+
"name": "Compiler",
|
991
|
+
"componentId": {
|
992
|
+
"_legacy": {
|
993
|
+
"scope": "teambit.compilation",
|
994
|
+
"name": "multi-compiler",
|
995
|
+
"version": "1.0.258"
|
996
|
+
},
|
997
|
+
"_scope": "teambit.compilation"
|
998
|
+
}
|
1025
999
|
}
|
1026
1000
|
}
|
1027
|
-
|
1028
|
-
|
1001
|
+
]
|
1002
|
+
}
|
1029
1003
|
},
|
1030
1004
|
{
|
1031
1005
|
"__schema": "UnImplementedSchema",
|
@@ -1151,11 +1125,7 @@
|
|
1151
1125
|
"line": 11,
|
1152
1126
|
"character": 29
|
1153
1127
|
},
|
1154
|
-
"name": "Compiler"
|
1155
|
-
"componentId": {
|
1156
|
-
"scope": "teambit.compilation",
|
1157
|
-
"name": "compiler"
|
1158
|
-
}
|
1128
|
+
"name": "Compiler"
|
1159
1129
|
}
|
1160
1130
|
},
|
1161
1131
|
"isOptional": false,
|
@@ -1185,11 +1155,7 @@
|
|
1185
1155
|
"line": 11,
|
1186
1156
|
"character": 58
|
1187
1157
|
},
|
1188
|
-
"name": "CompilerOptions"
|
1189
|
-
"componentId": {
|
1190
|
-
"scope": "teambit.compilation",
|
1191
|
-
"name": "compiler"
|
1192
|
-
}
|
1158
|
+
"name": "CompilerOptions"
|
1193
1159
|
}
|
1194
1160
|
]
|
1195
1161
|
},
|
@@ -1445,11 +1411,7 @@
|
|
1445
1411
|
"line": 29,
|
1446
1412
|
"character": 25
|
1447
1413
|
},
|
1448
|
-
"name": "Compiler"
|
1449
|
-
"componentId": {
|
1450
|
-
"scope": "teambit.compilation",
|
1451
|
-
"name": "compiler"
|
1452
|
-
}
|
1414
|
+
"name": "Compiler"
|
1453
1415
|
}
|
1454
1416
|
},
|
1455
1417
|
"isOptional": false,
|
@@ -1479,11 +1441,7 @@
|
|
1479
1441
|
"line": 30,
|
1480
1442
|
"character": 39
|
1481
1443
|
},
|
1482
|
-
"name": "CompilerOptions"
|
1483
|
-
"componentId": {
|
1484
|
-
"scope": "teambit.compilation",
|
1485
|
-
"name": "compiler"
|
1486
|
-
}
|
1444
|
+
"name": "CompilerOptions"
|
1487
1445
|
}
|
1488
1446
|
]
|
1489
1447
|
},
|
@@ -1506,8 +1464,7 @@
|
|
1506
1464
|
"line": 31,
|
1507
1465
|
"character": 23
|
1508
1466
|
},
|
1509
|
-
"name": "MultiCompilerOptions"
|
1510
|
-
"internalFilePath": "multi-compiler.compiler.ts"
|
1467
|
+
"name": "MultiCompilerOptions"
|
1511
1468
|
},
|
1512
1469
|
"isOptional": true,
|
1513
1470
|
"defaultValue": "{}",
|
@@ -1643,11 +1600,7 @@
|
|
1643
1600
|
"line": 70,
|
1644
1601
|
"character": 53
|
1645
1602
|
},
|
1646
|
-
"name": "TranspileFileParams"
|
1647
|
-
"componentId": {
|
1648
|
-
"scope": "teambit.compilation",
|
1649
|
-
"name": "compiler"
|
1650
|
-
}
|
1603
|
+
"name": "TranspileFileParams"
|
1651
1604
|
},
|
1652
1605
|
"isOptional": false,
|
1653
1606
|
"isSpread": false
|
@@ -1669,11 +1622,7 @@
|
|
1669
1622
|
"line": 70,
|
1670
1623
|
"character": 83
|
1671
1624
|
},
|
1672
|
-
"name": "TranspileFileOutput"
|
1673
|
-
"componentId": {
|
1674
|
-
"scope": "teambit.compilation",
|
1675
|
-
"name": "compiler"
|
1676
|
-
}
|
1625
|
+
"name": "TranspileFileOutput"
|
1677
1626
|
}
|
1678
1627
|
]
|
1679
1628
|
},
|
@@ -1706,11 +1655,7 @@
|
|
1706
1655
|
"line": 99,
|
1707
1656
|
"character": 36
|
1708
1657
|
},
|
1709
|
-
"name": "TranspileComponentParams"
|
1710
|
-
"componentId": {
|
1711
|
-
"scope": "teambit.compilation",
|
1712
|
-
"name": "compiler"
|
1713
|
-
}
|
1658
|
+
"name": "TranspileComponentParams"
|
1714
1659
|
},
|
1715
1660
|
"isOptional": false,
|
1716
1661
|
"isSpread": false
|
@@ -1765,11 +1710,7 @@
|
|
1765
1710
|
"line": 107,
|
1766
1711
|
"character": 24
|
1767
1712
|
},
|
1768
|
-
"name": "BuildContext"
|
1769
|
-
"componentId": {
|
1770
|
-
"scope": "teambit.pipelines",
|
1771
|
-
"name": "builder"
|
1772
|
-
}
|
1713
|
+
"name": "BuildContext"
|
1773
1714
|
},
|
1774
1715
|
"isOptional": false,
|
1775
1716
|
"isSpread": false
|
@@ -1791,11 +1732,7 @@
|
|
1791
1732
|
"line": 107,
|
1792
1733
|
"character": 47
|
1793
1734
|
},
|
1794
|
-
"name": "BuiltTaskResult"
|
1795
|
-
"componentId": {
|
1796
|
-
"scope": "teambit.pipelines",
|
1797
|
-
"name": "builder"
|
1798
|
-
}
|
1735
|
+
"name": "BuiltTaskResult"
|
1799
1736
|
}
|
1800
1737
|
]
|
1801
1738
|
},
|
@@ -1828,11 +1765,7 @@
|
|
1828
1765
|
"line": 119,
|
1829
1766
|
"character": 27
|
1830
1767
|
},
|
1831
|
-
"name": "BuildContext"
|
1832
|
-
"componentId": {
|
1833
|
-
"scope": "teambit.pipelines",
|
1834
|
-
"name": "builder"
|
1835
|
-
}
|
1768
|
+
"name": "BuildContext"
|
1836
1769
|
},
|
1837
1770
|
"isOptional": false,
|
1838
1771
|
"isSpread": false
|
@@ -1876,11 +1809,7 @@
|
|
1876
1809
|
"line": 128,
|
1877
1810
|
"character": 28
|
1878
1811
|
},
|
1879
|
-
"name": "BuildContext"
|
1880
|
-
"componentId": {
|
1881
|
-
"scope": "teambit.pipelines",
|
1882
|
-
"name": "builder"
|
1883
|
-
}
|
1812
|
+
"name": "BuildContext"
|
1884
1813
|
},
|
1885
1814
|
"isOptional": false,
|
1886
1815
|
"isSpread": false
|
@@ -1900,11 +1829,7 @@
|
|
1900
1829
|
"line": 128,
|
1901
1830
|
"character": 55
|
1902
1831
|
},
|
1903
|
-
"name": "TaskResultsList"
|
1904
|
-
"componentId": {
|
1905
|
-
"scope": "teambit.pipelines",
|
1906
|
-
"name": "builder"
|
1907
|
-
}
|
1832
|
+
"name": "TaskResultsList"
|
1908
1833
|
},
|
1909
1834
|
"isOptional": false,
|
1910
1835
|
"isSpread": false
|
@@ -1948,11 +1873,7 @@
|
|
1948
1873
|
"line": 141,
|
1949
1874
|
"character": 42
|
1950
1875
|
},
|
1951
|
-
"name": "Component"
|
1952
|
-
"componentId": {
|
1953
|
-
"scope": "teambit.component",
|
1954
|
-
"name": "component"
|
1955
|
-
}
|
1876
|
+
"name": "Component"
|
1956
1877
|
},
|
1957
1878
|
"isOptional": false,
|
1958
1879
|
"isSpread": false
|
@@ -2128,7 +2049,7 @@
|
|
2128
2049
|
"_legacy": {
|
2129
2050
|
"scope": "teambit.compilation",
|
2130
2051
|
"name": "multi-compiler",
|
2131
|
-
"version": "1.0.
|
2052
|
+
"version": "1.0.258"
|
2132
2053
|
},
|
2133
2054
|
"_scope": "teambit.compilation"
|
2134
2055
|
}
|
@@ -2143,7 +2064,7 @@
|
|
2143
2064
|
"componentId": {
|
2144
2065
|
"scope": "teambit.compilation",
|
2145
2066
|
"name": "multi-compiler",
|
2146
|
-
"version": "1.0.
|
2067
|
+
"version": "1.0.258"
|
2147
2068
|
},
|
2148
2069
|
"taggedModuleExports": []
|
2149
2070
|
}
|