@teambit/multi-compiler 1.0.257 → 1.0.259
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,1045 @@
|
|
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
|
-
"componentId": {
|
109
|
-
"scope": "teambit.compilation",
|
110
|
-
"name": "compiler"
|
111
|
-
}
|
112
|
-
}
|
113
|
-
},
|
114
|
-
"isOptional": false,
|
115
|
-
"isSpread": false
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"__schema": "ParameterSchema",
|
119
|
-
"location": {
|
120
|
-
"filePath": "multi-compiler.main.runtime.ts",
|
121
|
-
"line": 11,
|
122
|
-
"character": 41
|
123
|
-
},
|
124
|
-
"name": "options",
|
125
|
-
"type": {
|
126
|
-
"__schema": "TypeRefSchema",
|
127
|
-
"location": {
|
128
|
-
"filePath": "multi-compiler.main.runtime.ts",
|
129
|
-
"line": 11,
|
130
|
-
"character": 50
|
131
|
-
},
|
132
|
-
"name": "Partial",
|
133
|
-
"typeArgs": [
|
134
|
-
{
|
117
|
+
"type": {
|
135
118
|
"__schema": "TypeRefSchema",
|
136
119
|
"location": {
|
137
120
|
"filePath": "multi-compiler.main.runtime.ts",
|
138
121
|
"line": 11,
|
139
|
-
"character":
|
122
|
+
"character": 29
|
140
123
|
},
|
141
|
-
"name": "
|
124
|
+
"name": "Compiler",
|
142
125
|
"componentId": {
|
143
126
|
"scope": "teambit.compilation",
|
144
127
|
"name": "compiler"
|
145
128
|
}
|
146
129
|
}
|
147
|
-
|
130
|
+
},
|
131
|
+
"isOptional": false,
|
132
|
+
"isSpread": false
|
148
133
|
},
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
134
|
+
{
|
135
|
+
"__schema": "ParameterSchema",
|
136
|
+
"location": {
|
137
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
138
|
+
"line": 11,
|
139
|
+
"character": 41
|
140
|
+
},
|
141
|
+
"name": "options",
|
142
|
+
"type": {
|
143
|
+
"__schema": "TypeRefSchema",
|
144
|
+
"location": {
|
145
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
146
|
+
"line": 11,
|
147
|
+
"character": 50
|
148
|
+
},
|
149
|
+
"name": "Partial",
|
150
|
+
"typeArgs": [
|
151
|
+
{
|
152
|
+
"__schema": "TypeRefSchema",
|
153
|
+
"location": {
|
154
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
155
|
+
"line": 11,
|
156
|
+
"character": 58
|
157
|
+
},
|
158
|
+
"name": "CompilerOptions",
|
159
|
+
"componentId": {
|
160
|
+
"scope": "teambit.compilation",
|
161
|
+
"name": "compiler"
|
162
|
+
}
|
163
|
+
}
|
164
|
+
]
|
165
|
+
},
|
166
|
+
"isOptional": true,
|
167
|
+
"defaultValue": "{}",
|
168
|
+
"isSpread": false
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"returnType": {
|
172
|
+
"__schema": "TypeRefSchema",
|
173
|
+
"location": {
|
174
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
175
|
+
"line": 11,
|
176
|
+
"character": 3
|
177
|
+
},
|
178
|
+
"name": "MultiCompiler"
|
160
179
|
},
|
161
|
-
"
|
162
|
-
},
|
163
|
-
"modifiers": []
|
164
|
-
},
|
165
|
-
{
|
166
|
-
"__schema": "VariableLikeSchema",
|
167
|
-
"location": {
|
168
|
-
"filePath": "multi-compiler.main.runtime.ts",
|
169
|
-
"line": 15,
|
170
|
-
"character": 3
|
180
|
+
"modifiers": []
|
171
181
|
},
|
172
|
-
|
173
|
-
|
174
|
-
"type": {
|
175
|
-
"__schema": "InferenceTypeSchema",
|
182
|
+
{
|
183
|
+
"__schema": "VariableLikeSchema",
|
176
184
|
"location": {
|
177
185
|
"filePath": "multi-compiler.main.runtime.ts",
|
178
186
|
"line": 15,
|
179
187
|
"character": 3
|
180
188
|
},
|
181
|
-
"
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
189
|
+
"signature": "(property) MultiCompilerMain.runtime: RuntimeDefinition",
|
190
|
+
"name": "runtime",
|
191
|
+
"type": {
|
192
|
+
"__schema": "InferenceTypeSchema",
|
193
|
+
"location": {
|
194
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
195
|
+
"line": 15,
|
196
|
+
"character": 3
|
197
|
+
},
|
198
|
+
"type": "RuntimeDefinition"
|
199
|
+
},
|
200
|
+
"isOptional": true,
|
201
|
+
"defaultValue": "MainRuntime"
|
192
202
|
},
|
193
|
-
|
194
|
-
|
195
|
-
"params": [],
|
196
|
-
"returnType": {
|
197
|
-
"__schema": "InferenceTypeSchema",
|
203
|
+
{
|
204
|
+
"__schema": "FunctionLikeSchema",
|
198
205
|
"location": {
|
199
206
|
"filePath": "multi-compiler.main.runtime.ts",
|
200
207
|
"line": 17,
|
201
208
|
"character": 3
|
202
209
|
},
|
203
|
-
"
|
204
|
-
|
205
|
-
|
206
|
-
"
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
210
|
+
"signature": "(method) MultiCompilerMain.provider(): Promise<MultiCompilerMain>",
|
211
|
+
"name": "provider",
|
212
|
+
"params": [],
|
213
|
+
"returnType": {
|
214
|
+
"__schema": "InferenceTypeSchema",
|
215
|
+
"location": {
|
216
|
+
"filePath": "multi-compiler.main.runtime.ts",
|
217
|
+
"line": 17,
|
218
|
+
"character": 3
|
219
|
+
},
|
220
|
+
"type": "Promise<MultiCompilerMain>"
|
221
|
+
},
|
222
|
+
"modifiers": [
|
223
|
+
"static",
|
224
|
+
"async"
|
225
|
+
]
|
226
|
+
}
|
227
|
+
],
|
228
|
+
"extendsNodes": [],
|
229
|
+
"implementNodes": []
|
230
|
+
}
|
213
231
|
},
|
214
232
|
{
|
215
|
-
"__schema": "
|
233
|
+
"__schema": "ExportSchema",
|
216
234
|
"location": {
|
217
|
-
"filePath": "
|
218
|
-
"line":
|
219
|
-
"character":
|
235
|
+
"filePath": "index.ts",
|
236
|
+
"line": 5,
|
237
|
+
"character": 15
|
220
238
|
},
|
221
|
-
"signature": "class MultiCompiler",
|
222
239
|
"name": "MultiCompiler",
|
223
|
-
"
|
224
|
-
|
225
|
-
|
226
|
-
"
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
"__schema": "
|
240
|
+
"exportNode": {
|
241
|
+
"__schema": "ClassSchema",
|
242
|
+
"location": {
|
243
|
+
"filePath": "multi-compiler.compiler.ts",
|
244
|
+
"line": 18,
|
245
|
+
"character": 1
|
246
|
+
},
|
247
|
+
"signature": "class MultiCompiler",
|
248
|
+
"name": "MultiCompiler",
|
249
|
+
"members": [
|
250
|
+
{
|
251
|
+
"__schema": "VariableLikeSchema",
|
235
252
|
"location": {
|
236
253
|
"filePath": "multi-compiler.compiler.ts",
|
237
254
|
"line": 19,
|
238
255
|
"character": 3
|
239
256
|
},
|
240
|
-
"
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
257
|
+
"signature": "(property) MultiCompiler.displayName: string",
|
258
|
+
"name": "displayName",
|
259
|
+
"type": {
|
260
|
+
"__schema": "InferenceTypeSchema",
|
261
|
+
"location": {
|
262
|
+
"filePath": "multi-compiler.compiler.ts",
|
263
|
+
"line": 19,
|
264
|
+
"character": 3
|
265
|
+
},
|
266
|
+
"type": "string"
|
267
|
+
},
|
268
|
+
"isOptional": true,
|
269
|
+
"defaultValue": "'Multi compiler'"
|
251
270
|
},
|
252
|
-
|
253
|
-
|
254
|
-
"type": {
|
255
|
-
"__schema": "InferenceTypeSchema",
|
271
|
+
{
|
272
|
+
"__schema": "VariableLikeSchema",
|
256
273
|
"location": {
|
257
274
|
"filePath": "multi-compiler.compiler.ts",
|
258
275
|
"line": 21,
|
259
276
|
"character": 3
|
260
277
|
},
|
261
|
-
"
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
278
|
+
"signature": "(property) MultiCompiler.shouldCopyNonSupportedFiles: boolean",
|
279
|
+
"name": "shouldCopyNonSupportedFiles",
|
280
|
+
"type": {
|
281
|
+
"__schema": "InferenceTypeSchema",
|
282
|
+
"location": {
|
283
|
+
"filePath": "multi-compiler.compiler.ts",
|
284
|
+
"line": 21,
|
285
|
+
"character": 3
|
286
|
+
},
|
287
|
+
"type": "boolean"
|
288
|
+
},
|
289
|
+
"isOptional": true,
|
290
|
+
"defaultValue": "typeof this.compilerOptions.shouldCopyNonSupportedFiles === 'boolean'\n ? this.compilerOptions.shouldCopyNonSupportedFiles\n : true"
|
272
291
|
},
|
273
|
-
|
274
|
-
|
275
|
-
"type": {
|
276
|
-
"__schema": "InferenceTypeSchema",
|
292
|
+
{
|
293
|
+
"__schema": "VariableLikeSchema",
|
277
294
|
"location": {
|
278
295
|
"filePath": "multi-compiler.compiler.ts",
|
279
296
|
"line": 25,
|
280
297
|
"character": 3
|
281
298
|
},
|
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",
|
299
|
+
"signature": "(property) MultiCompiler.distDir: string",
|
300
|
+
"name": "distDir",
|
301
|
+
"type": {
|
302
|
+
"__schema": "InferenceTypeSchema",
|
299
303
|
"location": {
|
300
304
|
"filePath": "multi-compiler.compiler.ts",
|
301
|
-
"line":
|
302
|
-
"character":
|
305
|
+
"line": 25,
|
306
|
+
"character": 3
|
303
307
|
},
|
304
|
-
"
|
305
|
-
|
306
|
-
|
308
|
+
"type": "string"
|
309
|
+
},
|
310
|
+
"isOptional": true,
|
311
|
+
"defaultValue": "'dist'"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"__schema": "ConstructorSchema",
|
315
|
+
"location": {
|
316
|
+
"filePath": "multi-compiler.compiler.ts",
|
317
|
+
"line": 27,
|
318
|
+
"character": 3
|
319
|
+
},
|
320
|
+
"signature": "constructor MultiCompiler(id: string, compilers: Compiler[], compilerOptions?: Partial<CompilerOptions>, options?: MultiCompilerOptions): MultiCompiler",
|
321
|
+
"name": "constructor",
|
322
|
+
"params": [
|
323
|
+
{
|
324
|
+
"__schema": "ParameterSchema",
|
307
325
|
"location": {
|
308
326
|
"filePath": "multi-compiler.compiler.ts",
|
309
327
|
"line": 28,
|
310
|
-
"character":
|
328
|
+
"character": 5
|
311
329
|
},
|
312
|
-
"name": "
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
"
|
330
|
+
"name": "id",
|
331
|
+
"type": {
|
332
|
+
"__schema": "KeywordTypeSchema",
|
333
|
+
"location": {
|
334
|
+
"filePath": "multi-compiler.compiler.ts",
|
335
|
+
"line": 28,
|
336
|
+
"character": 18
|
337
|
+
},
|
338
|
+
"name": "string"
|
339
|
+
},
|
340
|
+
"isOptional": false,
|
341
|
+
"isSpread": false
|
323
342
|
},
|
324
|
-
|
325
|
-
|
326
|
-
"__schema": "TypeArraySchema",
|
343
|
+
{
|
344
|
+
"__schema": "ParameterSchema",
|
327
345
|
"location": {
|
328
346
|
"filePath": "multi-compiler.compiler.ts",
|
329
347
|
"line": 29,
|
330
|
-
"character":
|
348
|
+
"character": 5
|
331
349
|
},
|
350
|
+
"name": "compilers",
|
332
351
|
"type": {
|
333
|
-
"__schema": "
|
352
|
+
"__schema": "TypeArraySchema",
|
334
353
|
"location": {
|
335
354
|
"filePath": "multi-compiler.compiler.ts",
|
336
355
|
"line": 29,
|
337
356
|
"character": 25
|
338
357
|
},
|
339
|
-
"
|
340
|
-
"componentId": {
|
341
|
-
"scope": "teambit.compilation",
|
342
|
-
"name": "compiler"
|
343
|
-
}
|
344
|
-
}
|
345
|
-
},
|
346
|
-
"isOptional": false,
|
347
|
-
"isSpread": false
|
348
|
-
},
|
349
|
-
{
|
350
|
-
"__schema": "ParameterSchema",
|
351
|
-
"location": {
|
352
|
-
"filePath": "multi-compiler.compiler.ts",
|
353
|
-
"line": 30,
|
354
|
-
"character": 5
|
355
|
-
},
|
356
|
-
"name": "compilerOptions",
|
357
|
-
"type": {
|
358
|
-
"__schema": "TypeRefSchema",
|
359
|
-
"location": {
|
360
|
-
"filePath": "multi-compiler.compiler.ts",
|
361
|
-
"line": 30,
|
362
|
-
"character": 31
|
363
|
-
},
|
364
|
-
"name": "Partial",
|
365
|
-
"typeArgs": [
|
366
|
-
{
|
358
|
+
"type": {
|
367
359
|
"__schema": "TypeRefSchema",
|
368
360
|
"location": {
|
369
361
|
"filePath": "multi-compiler.compiler.ts",
|
370
|
-
"line":
|
371
|
-
"character":
|
362
|
+
"line": 29,
|
363
|
+
"character": 25
|
372
364
|
},
|
373
|
-
"name": "
|
365
|
+
"name": "Compiler",
|
374
366
|
"componentId": {
|
375
367
|
"scope": "teambit.compilation",
|
376
368
|
"name": "compiler"
|
377
369
|
}
|
378
370
|
}
|
379
|
-
|
371
|
+
},
|
372
|
+
"isOptional": false,
|
373
|
+
"isSpread": false
|
380
374
|
},
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
"
|
389
|
-
"
|
390
|
-
|
375
|
+
{
|
376
|
+
"__schema": "ParameterSchema",
|
377
|
+
"location": {
|
378
|
+
"filePath": "multi-compiler.compiler.ts",
|
379
|
+
"line": 30,
|
380
|
+
"character": 5
|
381
|
+
},
|
382
|
+
"name": "compilerOptions",
|
383
|
+
"type": {
|
384
|
+
"__schema": "TypeRefSchema",
|
385
|
+
"location": {
|
386
|
+
"filePath": "multi-compiler.compiler.ts",
|
387
|
+
"line": 30,
|
388
|
+
"character": 31
|
389
|
+
},
|
390
|
+
"name": "Partial",
|
391
|
+
"typeArgs": [
|
392
|
+
{
|
393
|
+
"__schema": "TypeRefSchema",
|
394
|
+
"location": {
|
395
|
+
"filePath": "multi-compiler.compiler.ts",
|
396
|
+
"line": 30,
|
397
|
+
"character": 39
|
398
|
+
},
|
399
|
+
"name": "CompilerOptions",
|
400
|
+
"componentId": {
|
401
|
+
"scope": "teambit.compilation",
|
402
|
+
"name": "compiler"
|
403
|
+
}
|
404
|
+
}
|
405
|
+
]
|
406
|
+
},
|
407
|
+
"isOptional": true,
|
408
|
+
"defaultValue": "{}",
|
409
|
+
"isSpread": false
|
391
410
|
},
|
392
|
-
|
393
|
-
|
394
|
-
"__schema": "TypeRefSchema",
|
411
|
+
{
|
412
|
+
"__schema": "ParameterSchema",
|
395
413
|
"location": {
|
396
414
|
"filePath": "multi-compiler.compiler.ts",
|
397
415
|
"line": 31,
|
398
|
-
"character":
|
416
|
+
"character": 5
|
417
|
+
},
|
418
|
+
"name": "options",
|
419
|
+
"type": {
|
420
|
+
"__schema": "TypeRefSchema",
|
421
|
+
"location": {
|
422
|
+
"filePath": "multi-compiler.compiler.ts",
|
423
|
+
"line": 31,
|
424
|
+
"character": 23
|
425
|
+
},
|
426
|
+
"name": "MultiCompilerOptions",
|
427
|
+
"internalFilePath": "multi-compiler.compiler.ts"
|
399
428
|
},
|
400
|
-
"
|
401
|
-
"
|
429
|
+
"isOptional": true,
|
430
|
+
"defaultValue": "{}",
|
431
|
+
"isSpread": false
|
432
|
+
}
|
433
|
+
],
|
434
|
+
"returnType": {
|
435
|
+
"__schema": "ThisTypeSchema",
|
436
|
+
"location": {
|
437
|
+
"filePath": "multi-compiler.compiler.ts",
|
438
|
+
"line": 18,
|
439
|
+
"character": 1
|
402
440
|
},
|
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
|
441
|
+
"name": "MultiCompiler"
|
414
442
|
},
|
415
|
-
"
|
416
|
-
},
|
417
|
-
"modifiers": []
|
418
|
-
},
|
419
|
-
{
|
420
|
-
"__schema": "FunctionLikeSchema",
|
421
|
-
"location": {
|
422
|
-
"filePath": "multi-compiler.compiler.ts",
|
423
|
-
"line": 34,
|
424
|
-
"character": 3
|
443
|
+
"modifiers": []
|
425
444
|
},
|
426
|
-
|
427
|
-
|
428
|
-
"params": [],
|
429
|
-
"returnType": {
|
430
|
-
"__schema": "InferenceTypeSchema",
|
445
|
+
{
|
446
|
+
"__schema": "FunctionLikeSchema",
|
431
447
|
"location": {
|
432
448
|
"filePath": "multi-compiler.compiler.ts",
|
433
449
|
"line": 34,
|
434
450
|
"character": 3
|
435
451
|
},
|
436
|
-
"
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
452
|
+
"signature": "(method) MultiCompiler.getDistDir(): string",
|
453
|
+
"name": "getDistDir",
|
454
|
+
"params": [],
|
455
|
+
"returnType": {
|
456
|
+
"__schema": "InferenceTypeSchema",
|
457
|
+
"location": {
|
458
|
+
"filePath": "multi-compiler.compiler.ts",
|
459
|
+
"line": 34,
|
460
|
+
"character": 3
|
461
|
+
},
|
462
|
+
"type": "string"
|
463
|
+
},
|
464
|
+
"modifiers": []
|
446
465
|
},
|
447
|
-
|
448
|
-
|
449
|
-
"params": [],
|
450
|
-
"returnType": {
|
451
|
-
"__schema": "InferenceTypeSchema",
|
466
|
+
{
|
467
|
+
"__schema": "FunctionLikeSchema",
|
452
468
|
"location": {
|
453
469
|
"filePath": "multi-compiler.compiler.ts",
|
454
470
|
"line": 38,
|
455
471
|
"character": 3
|
456
472
|
},
|
457
|
-
"
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
473
|
+
"signature": "(method) MultiCompiler.getArtifactDefinition(): {\n generatedBy: string;\n name: string;\n globPatterns: string[];\n}[]",
|
474
|
+
"name": "getArtifactDefinition",
|
475
|
+
"params": [],
|
476
|
+
"returnType": {
|
477
|
+
"__schema": "InferenceTypeSchema",
|
478
|
+
"location": {
|
479
|
+
"filePath": "multi-compiler.compiler.ts",
|
480
|
+
"line": 38,
|
481
|
+
"character": 3
|
482
|
+
},
|
483
|
+
"type": "{\n generatedBy: string;\n name: string;\n globPatterns: string[];\n}[]"
|
484
|
+
},
|
485
|
+
"modifiers": []
|
467
486
|
},
|
468
|
-
|
469
|
-
|
470
|
-
"params": [],
|
471
|
-
"returnType": {
|
472
|
-
"__schema": "InferenceTypeSchema",
|
487
|
+
{
|
488
|
+
"__schema": "FunctionLikeSchema",
|
473
489
|
"location": {
|
474
490
|
"filePath": "multi-compiler.compiler.ts",
|
475
491
|
"line": 59,
|
476
492
|
"character": 3
|
477
493
|
},
|
478
|
-
"
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
494
|
+
"signature": "(method) MultiCompiler.displayConfig(): string",
|
495
|
+
"name": "displayConfig",
|
496
|
+
"params": [],
|
497
|
+
"returnType": {
|
498
|
+
"__schema": "InferenceTypeSchema",
|
499
|
+
"location": {
|
500
|
+
"filePath": "multi-compiler.compiler.ts",
|
501
|
+
"line": 59,
|
502
|
+
"character": 3
|
503
|
+
},
|
504
|
+
"type": "string"
|
505
|
+
},
|
506
|
+
"modifiers": []
|
488
507
|
},
|
489
|
-
|
490
|
-
"__schema": "
|
508
|
+
{
|
509
|
+
"__schema": "FunctionLikeSchema",
|
491
510
|
"location": {
|
492
511
|
"filePath": "multi-compiler.compiler.ts",
|
493
|
-
"line":
|
512
|
+
"line": 70,
|
494
513
|
"character": 3
|
495
514
|
},
|
496
|
-
"
|
497
|
-
|
498
|
-
},
|
499
|
-
"signature": "(method) MultiCompiler.transpileFile(fileContent: string, options: TranspileFileParams): Promise<TranspileFileOutput>",
|
500
|
-
"name": "transpileFile",
|
501
|
-
"params": [
|
502
|
-
{
|
503
|
-
"__schema": "ParameterSchema",
|
515
|
+
"doc": {
|
516
|
+
"__schema": "DocSchema",
|
504
517
|
"location": {
|
505
518
|
"filePath": "multi-compiler.compiler.ts",
|
506
|
-
"line":
|
507
|
-
"character":
|
519
|
+
"line": 67,
|
520
|
+
"character": 3
|
508
521
|
},
|
509
|
-
"
|
510
|
-
"
|
511
|
-
|
522
|
+
"raw": "/**\n * the multi-compiler applies all applicable defined compilers on given content.\n */",
|
523
|
+
"comment": "the multi-compiler applies all applicable defined compilers on given content."
|
524
|
+
},
|
525
|
+
"signature": "(method) MultiCompiler.transpileFile(fileContent: string, options: TranspileFileParams): Promise<TranspileFileOutput>",
|
526
|
+
"name": "transpileFile",
|
527
|
+
"params": [
|
528
|
+
{
|
529
|
+
"__schema": "ParameterSchema",
|
512
530
|
"location": {
|
513
531
|
"filePath": "multi-compiler.compiler.ts",
|
514
532
|
"line": 70,
|
515
|
-
"character":
|
533
|
+
"character": 23
|
516
534
|
},
|
517
|
-
"name": "
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
"
|
535
|
+
"name": "fileContent",
|
536
|
+
"type": {
|
537
|
+
"__schema": "KeywordTypeSchema",
|
538
|
+
"location": {
|
539
|
+
"filePath": "multi-compiler.compiler.ts",
|
540
|
+
"line": 70,
|
541
|
+
"character": 36
|
542
|
+
},
|
543
|
+
"name": "string"
|
544
|
+
},
|
545
|
+
"isOptional": false,
|
546
|
+
"isSpread": false
|
528
547
|
},
|
529
|
-
|
530
|
-
|
531
|
-
"__schema": "TypeRefSchema",
|
548
|
+
{
|
549
|
+
"__schema": "ParameterSchema",
|
532
550
|
"location": {
|
533
551
|
"filePath": "multi-compiler.compiler.ts",
|
534
552
|
"line": 70,
|
535
|
-
"character":
|
553
|
+
"character": 44
|
536
554
|
},
|
537
|
-
"name": "
|
538
|
-
"
|
539
|
-
"
|
540
|
-
"
|
541
|
-
|
555
|
+
"name": "options",
|
556
|
+
"type": {
|
557
|
+
"__schema": "TypeRefSchema",
|
558
|
+
"location": {
|
559
|
+
"filePath": "multi-compiler.compiler.ts",
|
560
|
+
"line": 70,
|
561
|
+
"character": 53
|
562
|
+
},
|
563
|
+
"name": "TranspileFileParams",
|
564
|
+
"componentId": {
|
565
|
+
"scope": "teambit.compilation",
|
566
|
+
"name": "compiler"
|
567
|
+
}
|
568
|
+
},
|
569
|
+
"isOptional": false,
|
570
|
+
"isSpread": false
|
571
|
+
}
|
572
|
+
],
|
573
|
+
"returnType": {
|
574
|
+
"__schema": "TypeRefSchema",
|
575
|
+
"location": {
|
576
|
+
"filePath": "multi-compiler.compiler.ts",
|
577
|
+
"line": 70,
|
578
|
+
"character": 75
|
542
579
|
},
|
543
|
-
"
|
544
|
-
"
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
580
|
+
"name": "Promise",
|
581
|
+
"typeArgs": [
|
582
|
+
{
|
583
|
+
"__schema": "TypeRefSchema",
|
584
|
+
"location": {
|
585
|
+
"filePath": "multi-compiler.compiler.ts",
|
586
|
+
"line": 70,
|
587
|
+
"character": 83
|
588
|
+
},
|
589
|
+
"name": "TranspileFileOutput",
|
590
|
+
"componentId": {
|
591
|
+
"scope": "teambit.compilation",
|
592
|
+
"name": "compiler"
|
593
|
+
}
|
594
|
+
}
|
595
|
+
]
|
596
|
+
},
|
597
|
+
"modifiers": [
|
598
|
+
"async"
|
599
|
+
]
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"__schema": "FunctionLikeSchema",
|
549
603
|
"location": {
|
550
604
|
"filePath": "multi-compiler.compiler.ts",
|
551
|
-
"line":
|
552
|
-
"character":
|
605
|
+
"line": 99,
|
606
|
+
"character": 3
|
553
607
|
},
|
554
|
-
"
|
555
|
-
"
|
608
|
+
"signature": "(method) MultiCompiler.transpileComponent(params: TranspileComponentParams): Promise<void>",
|
609
|
+
"name": "transpileComponent",
|
610
|
+
"params": [
|
556
611
|
{
|
557
|
-
"__schema": "
|
612
|
+
"__schema": "ParameterSchema",
|
558
613
|
"location": {
|
559
614
|
"filePath": "multi-compiler.compiler.ts",
|
560
|
-
"line":
|
561
|
-
"character":
|
615
|
+
"line": 99,
|
616
|
+
"character": 28
|
562
617
|
},
|
563
|
-
"name": "
|
564
|
-
"
|
565
|
-
"
|
566
|
-
"
|
567
|
-
|
618
|
+
"name": "params",
|
619
|
+
"type": {
|
620
|
+
"__schema": "TypeRefSchema",
|
621
|
+
"location": {
|
622
|
+
"filePath": "multi-compiler.compiler.ts",
|
623
|
+
"line": 99,
|
624
|
+
"character": 36
|
625
|
+
},
|
626
|
+
"name": "TranspileComponentParams",
|
627
|
+
"componentId": {
|
628
|
+
"scope": "teambit.compilation",
|
629
|
+
"name": "compiler"
|
630
|
+
}
|
631
|
+
},
|
632
|
+
"isOptional": false,
|
633
|
+
"isSpread": false
|
568
634
|
}
|
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",
|
635
|
+
],
|
636
|
+
"returnType": {
|
637
|
+
"__schema": "TypeRefSchema",
|
587
638
|
"location": {
|
588
639
|
"filePath": "multi-compiler.compiler.ts",
|
589
640
|
"line": 99,
|
590
|
-
"character":
|
641
|
+
"character": 63
|
591
642
|
},
|
592
|
-
"name": "
|
593
|
-
"
|
594
|
-
|
595
|
-
|
596
|
-
"
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
"scope": "teambit.compilation",
|
603
|
-
"name": "compiler"
|
643
|
+
"name": "Promise",
|
644
|
+
"typeArgs": [
|
645
|
+
{
|
646
|
+
"__schema": "KeywordTypeSchema",
|
647
|
+
"location": {
|
648
|
+
"filePath": "multi-compiler.compiler.ts",
|
649
|
+
"line": 99,
|
650
|
+
"character": 71
|
651
|
+
},
|
652
|
+
"name": "void"
|
604
653
|
}
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
654
|
+
]
|
655
|
+
},
|
656
|
+
"modifiers": [
|
657
|
+
"async"
|
658
|
+
]
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"__schema": "FunctionLikeSchema",
|
612
662
|
"location": {
|
613
663
|
"filePath": "multi-compiler.compiler.ts",
|
614
|
-
"line":
|
615
|
-
"character":
|
664
|
+
"line": 107,
|
665
|
+
"character": 3
|
616
666
|
},
|
617
|
-
"
|
618
|
-
"
|
667
|
+
"signature": "(method) MultiCompiler.build(context: BuildContext): Promise<BuiltTaskResult>",
|
668
|
+
"name": "build",
|
669
|
+
"params": [
|
619
670
|
{
|
620
|
-
"__schema": "
|
671
|
+
"__schema": "ParameterSchema",
|
621
672
|
"location": {
|
622
673
|
"filePath": "multi-compiler.compiler.ts",
|
623
|
-
"line":
|
624
|
-
"character":
|
674
|
+
"line": 107,
|
675
|
+
"character": 15
|
676
|
+
},
|
677
|
+
"name": "context",
|
678
|
+
"type": {
|
679
|
+
"__schema": "TypeRefSchema",
|
680
|
+
"location": {
|
681
|
+
"filePath": "multi-compiler.compiler.ts",
|
682
|
+
"line": 107,
|
683
|
+
"character": 24
|
684
|
+
},
|
685
|
+
"name": "BuildContext",
|
686
|
+
"componentId": {
|
687
|
+
"scope": "teambit.pipelines",
|
688
|
+
"name": "builder"
|
689
|
+
}
|
625
690
|
},
|
626
|
-
"
|
691
|
+
"isOptional": false,
|
692
|
+
"isSpread": false
|
627
693
|
}
|
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",
|
694
|
+
],
|
695
|
+
"returnType": {
|
696
|
+
"__schema": "TypeRefSchema",
|
646
697
|
"location": {
|
647
698
|
"filePath": "multi-compiler.compiler.ts",
|
648
699
|
"line": 107,
|
649
|
-
"character":
|
700
|
+
"character": 39
|
650
701
|
},
|
651
|
-
"name": "
|
652
|
-
"
|
653
|
-
|
654
|
-
|
655
|
-
"
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
"
|
662
|
-
|
702
|
+
"name": "Promise",
|
703
|
+
"typeArgs": [
|
704
|
+
{
|
705
|
+
"__schema": "TypeRefSchema",
|
706
|
+
"location": {
|
707
|
+
"filePath": "multi-compiler.compiler.ts",
|
708
|
+
"line": 107,
|
709
|
+
"character": 47
|
710
|
+
},
|
711
|
+
"name": "BuiltTaskResult",
|
712
|
+
"componentId": {
|
713
|
+
"scope": "teambit.pipelines",
|
714
|
+
"name": "builder"
|
715
|
+
}
|
663
716
|
}
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
717
|
+
]
|
718
|
+
},
|
719
|
+
"modifiers": [
|
720
|
+
"async"
|
721
|
+
]
|
722
|
+
},
|
723
|
+
{
|
724
|
+
"__schema": "FunctionLikeSchema",
|
671
725
|
"location": {
|
672
726
|
"filePath": "multi-compiler.compiler.ts",
|
673
|
-
"line":
|
674
|
-
"character":
|
727
|
+
"line": 119,
|
728
|
+
"character": 3
|
675
729
|
},
|
676
|
-
"
|
677
|
-
"
|
730
|
+
"signature": "(method) MultiCompiler.preBuild(context: BuildContext): Promise<void>",
|
731
|
+
"name": "preBuild",
|
732
|
+
"params": [
|
678
733
|
{
|
679
|
-
"__schema": "
|
734
|
+
"__schema": "ParameterSchema",
|
680
735
|
"location": {
|
681
736
|
"filePath": "multi-compiler.compiler.ts",
|
682
|
-
"line":
|
683
|
-
"character":
|
737
|
+
"line": 119,
|
738
|
+
"character": 18
|
684
739
|
},
|
685
|
-
"name": "
|
686
|
-
"
|
687
|
-
"
|
688
|
-
"
|
689
|
-
|
740
|
+
"name": "context",
|
741
|
+
"type": {
|
742
|
+
"__schema": "TypeRefSchema",
|
743
|
+
"location": {
|
744
|
+
"filePath": "multi-compiler.compiler.ts",
|
745
|
+
"line": 119,
|
746
|
+
"character": 27
|
747
|
+
},
|
748
|
+
"name": "BuildContext",
|
749
|
+
"componentId": {
|
750
|
+
"scope": "teambit.pipelines",
|
751
|
+
"name": "builder"
|
752
|
+
}
|
753
|
+
},
|
754
|
+
"isOptional": false,
|
755
|
+
"isSpread": false
|
690
756
|
}
|
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",
|
757
|
+
],
|
758
|
+
"returnType": {
|
759
|
+
"__schema": "InferenceTypeSchema",
|
709
760
|
"location": {
|
710
761
|
"filePath": "multi-compiler.compiler.ts",
|
711
762
|
"line": 119,
|
712
|
-
"character":
|
713
|
-
},
|
714
|
-
"name": "context",
|
715
|
-
"type": {
|
716
|
-
"__schema": "TypeRefSchema",
|
717
|
-
"location": {
|
718
|
-
"filePath": "multi-compiler.compiler.ts",
|
719
|
-
"line": 119,
|
720
|
-
"character": 27
|
721
|
-
},
|
722
|
-
"name": "BuildContext",
|
723
|
-
"componentId": {
|
724
|
-
"scope": "teambit.pipelines",
|
725
|
-
"name": "builder"
|
726
|
-
}
|
763
|
+
"character": 3
|
727
764
|
},
|
728
|
-
"
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
765
|
+
"type": "Promise<void>"
|
766
|
+
},
|
767
|
+
"modifiers": [
|
768
|
+
"async"
|
769
|
+
]
|
770
|
+
},
|
771
|
+
{
|
772
|
+
"__schema": "FunctionLikeSchema",
|
734
773
|
"location": {
|
735
774
|
"filePath": "multi-compiler.compiler.ts",
|
736
|
-
"line":
|
775
|
+
"line": 128,
|
737
776
|
"character": 3
|
738
777
|
},
|
739
|
-
"
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
},
|
745
|
-
{
|
746
|
-
"__schema": "FunctionLikeSchema",
|
747
|
-
"location": {
|
748
|
-
"filePath": "multi-compiler.compiler.ts",
|
749
|
-
"line": 128,
|
750
|
-
"character": 3
|
751
|
-
},
|
752
|
-
"signature": "(method) MultiCompiler.postBuild(context: BuildContext, taskResults: TaskResultsList): Promise<void>",
|
753
|
-
"name": "postBuild",
|
754
|
-
"params": [
|
755
|
-
{
|
756
|
-
"__schema": "ParameterSchema",
|
757
|
-
"location": {
|
758
|
-
"filePath": "multi-compiler.compiler.ts",
|
759
|
-
"line": 128,
|
760
|
-
"character": 19
|
761
|
-
},
|
762
|
-
"name": "context",
|
763
|
-
"type": {
|
764
|
-
"__schema": "TypeRefSchema",
|
778
|
+
"signature": "(method) MultiCompiler.postBuild(context: BuildContext, taskResults: TaskResultsList): Promise<void>",
|
779
|
+
"name": "postBuild",
|
780
|
+
"params": [
|
781
|
+
{
|
782
|
+
"__schema": "ParameterSchema",
|
765
783
|
"location": {
|
766
784
|
"filePath": "multi-compiler.compiler.ts",
|
767
785
|
"line": 128,
|
768
|
-
"character":
|
786
|
+
"character": 19
|
769
787
|
},
|
770
|
-
"name": "
|
771
|
-
"
|
772
|
-
"
|
773
|
-
"
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
"
|
788
|
+
"name": "context",
|
789
|
+
"type": {
|
790
|
+
"__schema": "TypeRefSchema",
|
791
|
+
"location": {
|
792
|
+
"filePath": "multi-compiler.compiler.ts",
|
793
|
+
"line": 128,
|
794
|
+
"character": 28
|
795
|
+
},
|
796
|
+
"name": "BuildContext",
|
797
|
+
"componentId": {
|
798
|
+
"scope": "teambit.pipelines",
|
799
|
+
"name": "builder"
|
800
|
+
}
|
801
|
+
},
|
802
|
+
"isOptional": false,
|
803
|
+
"isSpread": false
|
785
804
|
},
|
786
|
-
|
787
|
-
|
788
|
-
"__schema": "TypeRefSchema",
|
805
|
+
{
|
806
|
+
"__schema": "ParameterSchema",
|
789
807
|
"location": {
|
790
808
|
"filePath": "multi-compiler.compiler.ts",
|
791
809
|
"line": 128,
|
792
|
-
"character":
|
810
|
+
"character": 42
|
793
811
|
},
|
794
|
-
"name": "
|
795
|
-
"
|
796
|
-
"
|
797
|
-
"
|
798
|
-
|
812
|
+
"name": "taskResults",
|
813
|
+
"type": {
|
814
|
+
"__schema": "TypeRefSchema",
|
815
|
+
"location": {
|
816
|
+
"filePath": "multi-compiler.compiler.ts",
|
817
|
+
"line": 128,
|
818
|
+
"character": 55
|
819
|
+
},
|
820
|
+
"name": "TaskResultsList",
|
821
|
+
"componentId": {
|
822
|
+
"scope": "teambit.pipelines",
|
823
|
+
"name": "builder"
|
824
|
+
}
|
825
|
+
},
|
826
|
+
"isOptional": false,
|
827
|
+
"isSpread": false
|
828
|
+
}
|
829
|
+
],
|
830
|
+
"returnType": {
|
831
|
+
"__schema": "InferenceTypeSchema",
|
832
|
+
"location": {
|
833
|
+
"filePath": "multi-compiler.compiler.ts",
|
834
|
+
"line": 128,
|
835
|
+
"character": 3
|
799
836
|
},
|
800
|
-
"
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
837
|
+
"type": "Promise<void>"
|
838
|
+
},
|
839
|
+
"modifiers": [
|
840
|
+
"async"
|
841
|
+
]
|
842
|
+
},
|
843
|
+
{
|
844
|
+
"__schema": "FunctionLikeSchema",
|
806
845
|
"location": {
|
807
846
|
"filePath": "multi-compiler.compiler.ts",
|
808
|
-
"line":
|
847
|
+
"line": 141,
|
809
848
|
"character": 3
|
810
849
|
},
|
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",
|
850
|
+
"signature": "(method) MultiCompiler.getPreviewComponentRootPath(component: Component): string",
|
851
|
+
"name": "getPreviewComponentRootPath",
|
852
|
+
"params": [
|
853
|
+
{
|
854
|
+
"__schema": "ParameterSchema",
|
837
855
|
"location": {
|
838
856
|
"filePath": "multi-compiler.compiler.ts",
|
839
857
|
"line": 141,
|
840
|
-
"character":
|
858
|
+
"character": 31
|
841
859
|
},
|
842
|
-
"name": "
|
843
|
-
"
|
844
|
-
"
|
845
|
-
"
|
846
|
-
|
860
|
+
"name": "component",
|
861
|
+
"type": {
|
862
|
+
"__schema": "TypeRefSchema",
|
863
|
+
"location": {
|
864
|
+
"filePath": "multi-compiler.compiler.ts",
|
865
|
+
"line": 141,
|
866
|
+
"character": 42
|
867
|
+
},
|
868
|
+
"name": "Component",
|
869
|
+
"componentId": {
|
870
|
+
"scope": "teambit.component",
|
871
|
+
"name": "component"
|
872
|
+
}
|
873
|
+
},
|
874
|
+
"isOptional": false,
|
875
|
+
"isSpread": false
|
876
|
+
}
|
877
|
+
],
|
878
|
+
"returnType": {
|
879
|
+
"__schema": "KeywordTypeSchema",
|
880
|
+
"location": {
|
881
|
+
"filePath": "multi-compiler.compiler.ts",
|
882
|
+
"line": 141,
|
883
|
+
"character": 54
|
847
884
|
},
|
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
|
885
|
+
"name": "string"
|
858
886
|
},
|
859
|
-
"
|
860
|
-
},
|
861
|
-
"modifiers": []
|
862
|
-
},
|
863
|
-
{
|
864
|
-
"__schema": "FunctionLikeSchema",
|
865
|
-
"location": {
|
866
|
-
"filePath": "multi-compiler.compiler.ts",
|
867
|
-
"line": 157,
|
868
|
-
"character": 3
|
887
|
+
"modifiers": []
|
869
888
|
},
|
870
|
-
|
871
|
-
"__schema": "
|
889
|
+
{
|
890
|
+
"__schema": "FunctionLikeSchema",
|
872
891
|
"location": {
|
873
892
|
"filePath": "multi-compiler.compiler.ts",
|
874
|
-
"line":
|
893
|
+
"line": 157,
|
875
894
|
"character": 3
|
876
895
|
},
|
877
|
-
"
|
878
|
-
|
879
|
-
},
|
880
|
-
"signature": "(method) MultiCompiler.getDistPathBySrcPath(srcPath: string): string",
|
881
|
-
"name": "getDistPathBySrcPath",
|
882
|
-
"params": [
|
883
|
-
{
|
884
|
-
"__schema": "ParameterSchema",
|
896
|
+
"doc": {
|
897
|
+
"__schema": "DocSchema",
|
885
898
|
"location": {
|
886
899
|
"filePath": "multi-compiler.compiler.ts",
|
887
|
-
"line":
|
888
|
-
"character":
|
900
|
+
"line": 153,
|
901
|
+
"character": 3
|
889
902
|
},
|
890
|
-
"
|
891
|
-
"
|
892
|
-
|
903
|
+
"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 */",
|
904
|
+
"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."
|
905
|
+
},
|
906
|
+
"signature": "(method) MultiCompiler.getDistPathBySrcPath(srcPath: string): string",
|
907
|
+
"name": "getDistPathBySrcPath",
|
908
|
+
"params": [
|
909
|
+
{
|
910
|
+
"__schema": "ParameterSchema",
|
893
911
|
"location": {
|
894
912
|
"filePath": "multi-compiler.compiler.ts",
|
895
913
|
"line": 157,
|
896
|
-
"character":
|
914
|
+
"character": 24
|
897
915
|
},
|
898
|
-
"name": "
|
916
|
+
"name": "srcPath",
|
917
|
+
"type": {
|
918
|
+
"__schema": "KeywordTypeSchema",
|
919
|
+
"location": {
|
920
|
+
"filePath": "multi-compiler.compiler.ts",
|
921
|
+
"line": 157,
|
922
|
+
"character": 33
|
923
|
+
},
|
924
|
+
"name": "string"
|
925
|
+
},
|
926
|
+
"isOptional": false,
|
927
|
+
"isSpread": false
|
928
|
+
}
|
929
|
+
],
|
930
|
+
"returnType": {
|
931
|
+
"__schema": "KeywordTypeSchema",
|
932
|
+
"location": {
|
933
|
+
"filePath": "multi-compiler.compiler.ts",
|
934
|
+
"line": 157,
|
935
|
+
"character": 42
|
899
936
|
},
|
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
|
937
|
+
"name": "string"
|
910
938
|
},
|
911
|
-
"
|
912
|
-
},
|
913
|
-
"modifiers": []
|
914
|
-
},
|
915
|
-
{
|
916
|
-
"__schema": "FunctionLikeSchema",
|
917
|
-
"location": {
|
918
|
-
"filePath": "multi-compiler.compiler.ts",
|
919
|
-
"line": 169,
|
920
|
-
"character": 3
|
939
|
+
"modifiers": []
|
921
940
|
},
|
922
|
-
|
923
|
-
"__schema": "
|
941
|
+
{
|
942
|
+
"__schema": "FunctionLikeSchema",
|
924
943
|
"location": {
|
925
944
|
"filePath": "multi-compiler.compiler.ts",
|
926
|
-
"line":
|
945
|
+
"line": 169,
|
927
946
|
"character": 3
|
928
947
|
},
|
929
|
-
"
|
930
|
-
|
931
|
-
},
|
932
|
-
"signature": "(method) MultiCompiler.isFileSupported(filePath: string): boolean",
|
933
|
-
"name": "isFileSupported",
|
934
|
-
"params": [
|
935
|
-
{
|
936
|
-
"__schema": "ParameterSchema",
|
948
|
+
"doc": {
|
949
|
+
"__schema": "DocSchema",
|
937
950
|
"location": {
|
938
951
|
"filePath": "multi-compiler.compiler.ts",
|
939
|
-
"line":
|
940
|
-
"character":
|
952
|
+
"line": 166,
|
953
|
+
"character": 3
|
941
954
|
},
|
942
|
-
"
|
943
|
-
"
|
944
|
-
|
955
|
+
"raw": "/**\n * only supported files matching get compiled. others, are copied to the dist dir.\n */",
|
956
|
+
"comment": "only supported files matching get compiled. others, are copied to the dist dir."
|
957
|
+
},
|
958
|
+
"signature": "(method) MultiCompiler.isFileSupported(filePath: string): boolean",
|
959
|
+
"name": "isFileSupported",
|
960
|
+
"params": [
|
961
|
+
{
|
962
|
+
"__schema": "ParameterSchema",
|
945
963
|
"location": {
|
946
964
|
"filePath": "multi-compiler.compiler.ts",
|
947
965
|
"line": 169,
|
948
|
-
"character":
|
966
|
+
"character": 19
|
949
967
|
},
|
950
|
-
"name": "
|
968
|
+
"name": "filePath",
|
969
|
+
"type": {
|
970
|
+
"__schema": "KeywordTypeSchema",
|
971
|
+
"location": {
|
972
|
+
"filePath": "multi-compiler.compiler.ts",
|
973
|
+
"line": 169,
|
974
|
+
"character": 29
|
975
|
+
},
|
976
|
+
"name": "string"
|
977
|
+
},
|
978
|
+
"isOptional": false,
|
979
|
+
"isSpread": false
|
980
|
+
}
|
981
|
+
],
|
982
|
+
"returnType": {
|
983
|
+
"__schema": "KeywordTypeSchema",
|
984
|
+
"location": {
|
985
|
+
"filePath": "multi-compiler.compiler.ts",
|
986
|
+
"line": 169,
|
987
|
+
"character": 38
|
951
988
|
},
|
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
|
989
|
+
"name": "boolean"
|
962
990
|
},
|
963
|
-
"
|
964
|
-
},
|
965
|
-
"modifiers": []
|
966
|
-
},
|
967
|
-
{
|
968
|
-
"__schema": "FunctionLikeSchema",
|
969
|
-
"location": {
|
970
|
-
"filePath": "multi-compiler.compiler.ts",
|
971
|
-
"line": 176,
|
972
|
-
"character": 3
|
991
|
+
"modifiers": []
|
973
992
|
},
|
974
|
-
|
975
|
-
"__schema": "
|
993
|
+
{
|
994
|
+
"__schema": "FunctionLikeSchema",
|
976
995
|
"location": {
|
977
996
|
"filePath": "multi-compiler.compiler.ts",
|
978
|
-
"line":
|
997
|
+
"line": 176,
|
979
998
|
"character": 3
|
980
999
|
},
|
981
|
-
"
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
"filePath": "multi-compiler.compiler.ts",
|
991
|
-
"line": 176,
|
992
|
-
"character": 14
|
1000
|
+
"doc": {
|
1001
|
+
"__schema": "DocSchema",
|
1002
|
+
"location": {
|
1003
|
+
"filePath": "multi-compiler.compiler.ts",
|
1004
|
+
"line": 173,
|
1005
|
+
"character": 3
|
1006
|
+
},
|
1007
|
+
"raw": "/**\n * returns the version of the current compiler instance (e.g. '4.0.1').\n */",
|
1008
|
+
"comment": "returns the version of the current compiler instance (e.g. '4.0.1')."
|
993
1009
|
},
|
994
|
-
"
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
"
|
1007
|
-
}
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1010
|
+
"signature": "(method) MultiCompiler.version(): string",
|
1011
|
+
"name": "version",
|
1012
|
+
"params": [],
|
1013
|
+
"returnType": {
|
1014
|
+
"__schema": "KeywordTypeSchema",
|
1015
|
+
"location": {
|
1016
|
+
"filePath": "multi-compiler.compiler.ts",
|
1017
|
+
"line": 176,
|
1018
|
+
"character": 14
|
1019
|
+
},
|
1020
|
+
"name": "string"
|
1021
|
+
},
|
1022
|
+
"modifiers": []
|
1023
|
+
}
|
1024
|
+
],
|
1025
|
+
"extendsNodes": [],
|
1026
|
+
"implementNodes": [
|
1027
|
+
{
|
1028
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1012
1029
|
"location": {
|
1013
1030
|
"filePath": "multi-compiler.compiler.ts",
|
1014
1031
|
"line": 18,
|
1015
1032
|
"character": 39
|
1016
1033
|
},
|
1017
|
-
"name": "Compiler",
|
1018
|
-
"
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
"
|
1034
|
+
"name": "implements Compiler",
|
1035
|
+
"typeArgs": [],
|
1036
|
+
"expression": {
|
1037
|
+
"__schema": "TypeRefSchema",
|
1038
|
+
"location": {
|
1039
|
+
"filePath": "multi-compiler.compiler.ts",
|
1040
|
+
"line": 18,
|
1041
|
+
"character": 39
|
1023
1042
|
},
|
1024
|
-
"
|
1043
|
+
"name": "Compiler",
|
1044
|
+
"componentId": {
|
1045
|
+
"_legacy": {
|
1046
|
+
"scope": "teambit.compilation",
|
1047
|
+
"name": "multi-compiler",
|
1048
|
+
"version": "1.0.259"
|
1049
|
+
},
|
1050
|
+
"_scope": "teambit.compilation"
|
1051
|
+
}
|
1025
1052
|
}
|
1026
1053
|
}
|
1027
|
-
|
1028
|
-
|
1054
|
+
]
|
1055
|
+
}
|
1029
1056
|
},
|
1030
1057
|
{
|
1031
1058
|
"__schema": "UnImplementedSchema",
|
@@ -2128,7 +2155,7 @@
|
|
2128
2155
|
"_legacy": {
|
2129
2156
|
"scope": "teambit.compilation",
|
2130
2157
|
"name": "multi-compiler",
|
2131
|
-
"version": "1.0.
|
2158
|
+
"version": "1.0.259"
|
2132
2159
|
},
|
2133
2160
|
"_scope": "teambit.compilation"
|
2134
2161
|
}
|
@@ -2143,7 +2170,7 @@
|
|
2143
2170
|
"componentId": {
|
2144
2171
|
"scope": "teambit.compilation",
|
2145
2172
|
"name": "multi-compiler",
|
2146
|
-
"version": "1.0.
|
2173
|
+
"version": "1.0.259"
|
2147
2174
|
},
|
2148
2175
|
"taggedModuleExports": []
|
2149
2176
|
}
|