@teambit/aspect 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.
@@ -14,610 +14,464 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "aspect.main.runtime.ts",
20
- "line": 37,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 1,
21
+ "character": 15
22
22
  },
23
- "signature": "class AspectMain",
24
23
  "name": "AspectMain",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "aspect.main.runtime.ts",
30
- "line": 38,
31
- "character": 3
32
- },
33
- "signature": "constructor AspectMain(aspectEnv: AspectEnv, envs: EnvsMain, workspace: Workspace): AspectMain",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "aspect.main.runtime.ts",
40
- "line": 38,
41
- "character": 15
42
- },
43
- "name": "aspectEnv",
44
- "type": {
45
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "aspect.main.runtime.ts",
28
+ "line": 37,
29
+ "character": 1
30
+ },
31
+ "signature": "class AspectMain",
32
+ "name": "AspectMain",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "aspect.main.runtime.ts",
38
+ "line": 38,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor AspectMain(aspectEnv: AspectEnv, envs: EnvsMain, workspace: Workspace): AspectMain",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "aspect.main.runtime.ts",
48
48
  "line": 38,
49
- "character": 35
49
+ "character": 15
50
50
  },
51
- "name": "AspectEnv"
52
- },
53
- "isOptional": false,
54
- "isSpread": false
55
- },
56
- {
57
- "__schema": "ParameterSchema",
58
- "location": {
59
- "filePath": "aspect.main.runtime.ts",
60
- "line": 38,
61
- "character": 46
51
+ "name": "aspectEnv",
52
+ "type": {
53
+ "__schema": "TypeRefSchema",
54
+ "location": {
55
+ "filePath": "aspect.main.runtime.ts",
56
+ "line": 38,
57
+ "character": 35
58
+ },
59
+ "name": "AspectEnv"
60
+ },
61
+ "isOptional": false,
62
+ "isSpread": false
62
63
  },
63
- "name": "envs",
64
- "type": {
65
- "__schema": "TypeRefSchema",
64
+ {
65
+ "__schema": "ParameterSchema",
66
66
  "location": {
67
67
  "filePath": "aspect.main.runtime.ts",
68
68
  "line": 38,
69
- "character": 60
69
+ "character": 46
70
70
  },
71
- "name": "EnvsMain",
72
- "componentId": {
73
- "scope": "teambit.envs",
74
- "name": "envs"
75
- }
76
- },
77
- "isOptional": false,
78
- "isSpread": false
79
- },
80
- {
81
- "__schema": "ParameterSchema",
82
- "location": {
83
- "filePath": "aspect.main.runtime.ts",
84
- "line": 38,
85
- "character": 70
71
+ "name": "envs",
72
+ "type": {
73
+ "__schema": "TypeRefSchema",
74
+ "location": {
75
+ "filePath": "aspect.main.runtime.ts",
76
+ "line": 38,
77
+ "character": 60
78
+ },
79
+ "name": "EnvsMain",
80
+ "componentId": {
81
+ "scope": "teambit.envs",
82
+ "name": "envs"
83
+ }
84
+ },
85
+ "isOptional": false,
86
+ "isSpread": false
86
87
  },
87
- "name": "workspace",
88
- "type": {
89
- "__schema": "TypeRefSchema",
88
+ {
89
+ "__schema": "ParameterSchema",
90
90
  "location": {
91
91
  "filePath": "aspect.main.runtime.ts",
92
92
  "line": 38,
93
- "character": 89
93
+ "character": 70
94
94
  },
95
- "name": "Workspace",
96
- "componentId": {
97
- "scope": "teambit.workspace",
98
- "name": "workspace"
99
- }
95
+ "name": "workspace",
96
+ "type": {
97
+ "__schema": "TypeRefSchema",
98
+ "location": {
99
+ "filePath": "aspect.main.runtime.ts",
100
+ "line": 38,
101
+ "character": 89
102
+ },
103
+ "name": "Workspace",
104
+ "componentId": {
105
+ "scope": "teambit.workspace",
106
+ "name": "workspace"
107
+ }
108
+ },
109
+ "isOptional": false,
110
+ "isSpread": false
111
+ }
112
+ ],
113
+ "returnType": {
114
+ "__schema": "ThisTypeSchema",
115
+ "location": {
116
+ "filePath": "aspect.main.runtime.ts",
117
+ "line": 37,
118
+ "character": 1
100
119
  },
101
- "isOptional": false,
102
- "isSpread": false
103
- }
104
- ],
105
- "returnType": {
106
- "__schema": "ThisTypeSchema",
107
- "location": {
108
- "filePath": "aspect.main.runtime.ts",
109
- "line": 37,
110
- "character": 1
120
+ "name": "AspectMain"
111
121
  },
112
- "name": "AspectMain"
113
- },
114
- "modifiers": []
115
- },
116
- {
117
- "__schema": "FunctionLikeSchema",
118
- "location": {
119
- "filePath": "aspect.main.runtime.ts",
120
- "line": 43,
121
- "character": 3
122
+ "modifiers": []
122
123
  },
123
- "doc": {
124
- "__schema": "DocSchema",
124
+ {
125
+ "__schema": "FunctionLikeSchema",
125
126
  "location": {
126
127
  "filePath": "aspect.main.runtime.ts",
127
- "line": 40,
128
+ "line": 43,
128
129
  "character": 3
129
130
  },
130
- "raw": "/**\n * compose your own aspect environment.\n */",
131
- "comment": "compose your own aspect environment."
132
- },
133
- "signature": "(method) AspectMain.compose(transformers?: EnvTransformer[], targetEnv?: Environment): Environment",
134
- "name": "compose",
135
- "params": [
136
- {
137
- "__schema": "ParameterSchema",
131
+ "doc": {
132
+ "__schema": "DocSchema",
138
133
  "location": {
139
134
  "filePath": "aspect.main.runtime.ts",
140
- "line": 43,
141
- "character": 11
135
+ "line": 40,
136
+ "character": 3
142
137
  },
143
- "name": "transformers",
144
- "type": {
145
- "__schema": "TypeArraySchema",
138
+ "raw": "/**\n * compose your own aspect environment.\n */",
139
+ "comment": "compose your own aspect environment."
140
+ },
141
+ "signature": "(method) AspectMain.compose(transformers?: EnvTransformer[], targetEnv?: Environment): Environment",
142
+ "name": "compose",
143
+ "params": [
144
+ {
145
+ "__schema": "ParameterSchema",
146
146
  "location": {
147
147
  "filePath": "aspect.main.runtime.ts",
148
148
  "line": 43,
149
- "character": 25
149
+ "character": 11
150
150
  },
151
+ "name": "transformers",
151
152
  "type": {
152
- "__schema": "TypeRefSchema",
153
+ "__schema": "TypeArraySchema",
153
154
  "location": {
154
155
  "filePath": "aspect.main.runtime.ts",
155
156
  "line": 43,
156
157
  "character": 25
157
158
  },
158
- "name": "EnvTransformer",
159
+ "type": {
160
+ "__schema": "TypeRefSchema",
161
+ "location": {
162
+ "filePath": "aspect.main.runtime.ts",
163
+ "line": 43,
164
+ "character": 25
165
+ },
166
+ "name": "EnvTransformer",
167
+ "componentId": {
168
+ "scope": "teambit.envs",
169
+ "name": "envs"
170
+ }
171
+ }
172
+ },
173
+ "isOptional": true,
174
+ "defaultValue": "[]",
175
+ "isSpread": false
176
+ },
177
+ {
178
+ "__schema": "ParameterSchema",
179
+ "location": {
180
+ "filePath": "aspect.main.runtime.ts",
181
+ "line": 43,
182
+ "character": 48
183
+ },
184
+ "name": "targetEnv",
185
+ "type": {
186
+ "__schema": "TypeRefSchema",
187
+ "location": {
188
+ "filePath": "aspect.main.runtime.ts",
189
+ "line": 43,
190
+ "character": 59
191
+ },
192
+ "name": "Environment",
159
193
  "componentId": {
160
194
  "scope": "teambit.envs",
161
195
  "name": "envs"
162
196
  }
163
- }
164
- },
165
- "isOptional": true,
166
- "defaultValue": "[]",
167
- "isSpread": false
168
- },
169
- {
170
- "__schema": "ParameterSchema",
197
+ },
198
+ "isOptional": true,
199
+ "defaultValue": "{}",
200
+ "isSpread": false
201
+ }
202
+ ],
203
+ "returnType": {
204
+ "__schema": "TypeRefSchema",
171
205
  "location": {
172
206
  "filePath": "aspect.main.runtime.ts",
173
207
  "line": 43,
174
- "character": 48
175
- },
176
- "name": "targetEnv",
177
- "type": {
178
- "__schema": "TypeRefSchema",
179
- "location": {
180
- "filePath": "aspect.main.runtime.ts",
181
- "line": 43,
182
- "character": 59
183
- },
184
- "name": "Environment",
185
- "componentId": {
186
- "scope": "teambit.envs",
187
- "name": "envs"
188
- }
208
+ "character": 3
189
209
  },
190
- "isOptional": true,
191
- "defaultValue": "{}",
192
- "isSpread": false
193
- }
194
- ],
195
- "returnType": {
196
- "__schema": "TypeRefSchema",
197
- "location": {
198
- "filePath": "aspect.main.runtime.ts",
199
- "line": 43,
200
- "character": 3
210
+ "name": "Environment",
211
+ "componentId": {
212
+ "scope": "teambit.envs",
213
+ "name": "envs"
214
+ }
201
215
  },
202
- "name": "Environment",
203
- "componentId": {
204
- "scope": "teambit.envs",
205
- "name": "envs"
206
- }
207
- },
208
- "modifiers": []
209
- },
210
- {
211
- "__schema": "FunctionLikeSchema",
212
- "location": {
213
- "filePath": "aspect.main.runtime.ts",
214
- "line": 47,
215
- "character": 3
216
+ "modifiers": []
216
217
  },
217
- "signature": "(method) AspectMain.listAspectsOfComponent(pattern?: string): Promise<{\n [component: string]: AspectSource[];\n}>",
218
- "name": "listAspectsOfComponent",
219
- "params": [
220
- {
221
- "__schema": "ParameterSchema",
222
- "location": {
223
- "filePath": "aspect.main.runtime.ts",
224
- "line": 47,
225
- "character": 32
226
- },
227
- "name": "pattern",
228
- "type": {
229
- "__schema": "KeywordTypeSchema",
230
- "location": {
231
- "filePath": "aspect.main.runtime.ts",
232
- "line": 47,
233
- "character": 42
234
- },
235
- "name": "string"
236
- },
237
- "isOptional": true,
238
- "isSpread": false
239
- }
240
- ],
241
- "returnType": {
242
- "__schema": "TypeRefSchema",
218
+ {
219
+ "__schema": "FunctionLikeSchema",
243
220
  "location": {
244
221
  "filePath": "aspect.main.runtime.ts",
245
222
  "line": 47,
246
- "character": 51
223
+ "character": 3
247
224
  },
248
- "name": "Promise",
249
- "typeArgs": [
225
+ "signature": "(method) AspectMain.listAspectsOfComponent(pattern?: string): Promise<{\n [component: string]: AspectSource[];\n}>",
226
+ "name": "listAspectsOfComponent",
227
+ "params": [
250
228
  {
251
- "__schema": "TypeLiteralSchema",
229
+ "__schema": "ParameterSchema",
252
230
  "location": {
253
231
  "filePath": "aspect.main.runtime.ts",
254
232
  "line": 47,
255
- "character": 59
233
+ "character": 32
256
234
  },
257
- "members": [
258
- {
259
- "__schema": "IndexSignatureSchema",
260
- "location": {
261
- "filePath": "aspect.main.runtime.ts",
262
- "line": 47,
263
- "character": 61
264
- },
265
- "keyType": {
266
- "__schema": "ParameterSchema",
267
- "location": {
268
- "filePath": "aspect.main.runtime.ts",
269
- "line": 47,
270
- "character": 62
271
- },
272
- "name": "component",
273
- "type": {
274
- "__schema": "KeywordTypeSchema",
275
- "location": {
276
- "filePath": "aspect.main.runtime.ts",
277
- "line": 47,
278
- "character": 73
279
- },
280
- "name": "string"
281
- },
282
- "isOptional": false,
283
- "isSpread": false
284
- },
285
- "valueType": {
286
- "__schema": "TypeArraySchema",
287
- "location": {
288
- "filePath": "aspect.main.runtime.ts",
289
- "line": 47,
290
- "character": 82
291
- },
292
- "type": {
293
- "__schema": "TypeRefSchema",
294
- "location": {
235
+ "name": "pattern",
236
+ "type": {
237
+ "__schema": "KeywordTypeSchema",
238
+ "location": {
239
+ "filePath": "aspect.main.runtime.ts",
240
+ "line": 47,
241
+ "character": 42
242
+ },
243
+ "name": "string"
244
+ },
245
+ "isOptional": true,
246
+ "isSpread": false
247
+ }
248
+ ],
249
+ "returnType": {
250
+ "__schema": "TypeRefSchema",
251
+ "location": {
252
+ "filePath": "aspect.main.runtime.ts",
253
+ "line": 47,
254
+ "character": 51
255
+ },
256
+ "name": "Promise",
257
+ "typeArgs": [
258
+ {
259
+ "__schema": "TypeLiteralSchema",
260
+ "location": {
261
+ "filePath": "aspect.main.runtime.ts",
262
+ "line": 47,
263
+ "character": 59
264
+ },
265
+ "members": [
266
+ {
267
+ "__schema": "IndexSignatureSchema",
268
+ "location": {
269
+ "filePath": "aspect.main.runtime.ts",
270
+ "line": 47,
271
+ "character": 61
272
+ },
273
+ "keyType": {
274
+ "__schema": "ParameterSchema",
275
+ "location": {
276
+ "filePath": "aspect.main.runtime.ts",
277
+ "line": 47,
278
+ "character": 62
279
+ },
280
+ "name": "component",
281
+ "type": {
282
+ "__schema": "KeywordTypeSchema",
283
+ "location": {
284
+ "filePath": "aspect.main.runtime.ts",
285
+ "line": 47,
286
+ "character": 73
287
+ },
288
+ "name": "string"
289
+ },
290
+ "isOptional": false,
291
+ "isSpread": false
292
+ },
293
+ "valueType": {
294
+ "__schema": "TypeArraySchema",
295
+ "location": {
295
296
  "filePath": "aspect.main.runtime.ts",
296
297
  "line": 47,
297
298
  "character": 82
298
299
  },
299
- "name": "AspectSource",
300
- "internalFilePath": "aspect.main.runtime.ts"
300
+ "type": {
301
+ "__schema": "TypeRefSchema",
302
+ "location": {
303
+ "filePath": "aspect.main.runtime.ts",
304
+ "line": 47,
305
+ "character": 82
306
+ },
307
+ "name": "AspectSource",
308
+ "internalFilePath": "aspect.main.runtime.ts"
309
+ }
301
310
  }
302
311
  }
303
- }
304
- ]
305
- }
312
+ ]
313
+ }
314
+ ]
315
+ },
316
+ "modifiers": [
317
+ "async"
306
318
  ]
307
319
  },
308
- "modifiers": [
309
- "async"
310
- ]
311
- },
312
- {
313
- "__schema": "GetAccessorSchema",
314
- "location": {
315
- "filePath": "aspect.main.runtime.ts",
316
- "line": 63,
317
- "character": 3
318
- },
319
- "signature": "(getter) AspectMain.babelConfig: {\n presets: (string | (string | {\n targets: {\n node: number;\n };\n })[])[];\n plugins: (string | (string | {\n lazy: () => boolean;\n })[] | (string | {\n legacy: boolean;\n })[])[];\n sourceMaps: boolean;\n}",
320
- "name": "babelConfig",
321
- "type": {
322
- "__schema": "InferenceTypeSchema",
320
+ {
321
+ "__schema": "GetAccessorSchema",
323
322
  "location": {
324
323
  "filePath": "aspect.main.runtime.ts",
325
324
  "line": 63,
326
325
  "character": 3
327
326
  },
328
- "type": "{\n presets: (string | (string | {\n targets: {\n node: number;\n };\n })[])[];\n plugins: (string | (string | {\n lazy: () => boolean;\n })[] | (string | {\n legacy: boolean;\n })[])[];\n sourceMaps: boolean;\n}"
329
- }
330
- },
331
- {
332
- "__schema": "FunctionLikeSchema",
333
- "location": {
334
- "filePath": "aspect.main.runtime.ts",
335
- "line": 93,
336
- "character": 3
337
- },
338
- "signature": "(method) AspectMain.setAspectsToComponents(pattern: string, aspectId: string, config?: Record<string, any>, options?: SetAspectOptions): Promise<ComponentID[]>",
339
- "name": "setAspectsToComponents",
340
- "params": [
341
- {
342
- "__schema": "ParameterSchema",
327
+ "signature": "(getter) AspectMain.babelConfig: {\n presets: (string | (string | {\n targets: {\n node: number;\n };\n })[])[];\n plugins: (string | (string | {\n lazy: () => boolean;\n })[] | (string | {\n legacy: boolean;\n })[])[];\n sourceMaps: boolean;\n}",
328
+ "name": "babelConfig",
329
+ "type": {
330
+ "__schema": "InferenceTypeSchema",
343
331
  "location": {
344
332
  "filePath": "aspect.main.runtime.ts",
345
- "line": 94,
346
- "character": 5
333
+ "line": 63,
334
+ "character": 3
347
335
  },
348
- "name": "pattern",
349
- "type": {
350
- "__schema": "KeywordTypeSchema",
336
+ "type": "{\n presets: (string | (string | {\n targets: {\n node: number;\n };\n })[])[];\n plugins: (string | (string | {\n lazy: () => boolean;\n })[] | (string | {\n legacy: boolean;\n })[])[];\n sourceMaps: boolean;\n}"
337
+ }
338
+ },
339
+ {
340
+ "__schema": "FunctionLikeSchema",
341
+ "location": {
342
+ "filePath": "aspect.main.runtime.ts",
343
+ "line": 93,
344
+ "character": 3
345
+ },
346
+ "signature": "(method) AspectMain.setAspectsToComponents(pattern: string, aspectId: string, config?: Record<string, any>, options?: SetAspectOptions): Promise<ComponentID[]>",
347
+ "name": "setAspectsToComponents",
348
+ "params": [
349
+ {
350
+ "__schema": "ParameterSchema",
351
351
  "location": {
352
352
  "filePath": "aspect.main.runtime.ts",
353
353
  "line": 94,
354
- "character": 14
354
+ "character": 5
355
355
  },
356
- "name": "string"
357
- },
358
- "isOptional": false,
359
- "isSpread": false
360
- },
361
- {
362
- "__schema": "ParameterSchema",
363
- "location": {
364
- "filePath": "aspect.main.runtime.ts",
365
- "line": 95,
366
- "character": 5
356
+ "name": "pattern",
357
+ "type": {
358
+ "__schema": "KeywordTypeSchema",
359
+ "location": {
360
+ "filePath": "aspect.main.runtime.ts",
361
+ "line": 94,
362
+ "character": 14
363
+ },
364
+ "name": "string"
365
+ },
366
+ "isOptional": false,
367
+ "isSpread": false
367
368
  },
368
- "name": "aspectId",
369
- "type": {
370
- "__schema": "KeywordTypeSchema",
369
+ {
370
+ "__schema": "ParameterSchema",
371
371
  "location": {
372
372
  "filePath": "aspect.main.runtime.ts",
373
373
  "line": 95,
374
- "character": 15
374
+ "character": 5
375
375
  },
376
- "name": "string"
377
- },
378
- "isOptional": false,
379
- "isSpread": false
380
- },
381
- {
382
- "__schema": "ParameterSchema",
383
- "location": {
384
- "filePath": "aspect.main.runtime.ts",
385
- "line": 96,
386
- "character": 5
376
+ "name": "aspectId",
377
+ "type": {
378
+ "__schema": "KeywordTypeSchema",
379
+ "location": {
380
+ "filePath": "aspect.main.runtime.ts",
381
+ "line": 95,
382
+ "character": 15
383
+ },
384
+ "name": "string"
385
+ },
386
+ "isOptional": false,
387
+ "isSpread": false
387
388
  },
388
- "name": "config",
389
- "type": {
390
- "__schema": "TypeRefSchema",
389
+ {
390
+ "__schema": "ParameterSchema",
391
391
  "location": {
392
392
  "filePath": "aspect.main.runtime.ts",
393
393
  "line": 96,
394
- "character": 13
394
+ "character": 5
395
395
  },
396
- "name": "Record",
397
- "typeArgs": [
398
- {
399
- "__schema": "KeywordTypeSchema",
400
- "location": {
401
- "filePath": "aspect.main.runtime.ts",
402
- "line": 96,
403
- "character": 20
404
- },
405
- "name": "string"
396
+ "name": "config",
397
+ "type": {
398
+ "__schema": "TypeRefSchema",
399
+ "location": {
400
+ "filePath": "aspect.main.runtime.ts",
401
+ "line": 96,
402
+ "character": 13
406
403
  },
407
- {
408
- "__schema": "KeywordTypeSchema",
409
- "location": {
410
- "filePath": "aspect.main.runtime.ts",
411
- "line": 96,
412
- "character": 28
404
+ "name": "Record",
405
+ "typeArgs": [
406
+ {
407
+ "__schema": "KeywordTypeSchema",
408
+ "location": {
409
+ "filePath": "aspect.main.runtime.ts",
410
+ "line": 96,
411
+ "character": 20
412
+ },
413
+ "name": "string"
413
414
  },
414
- "name": "any"
415
- }
416
- ]
417
- },
418
- "isOptional": true,
419
- "defaultValue": "{}",
420
- "isSpread": false
421
- },
422
- {
423
- "__schema": "ParameterSchema",
424
- "location": {
425
- "filePath": "aspect.main.runtime.ts",
426
- "line": 97,
427
- "character": 5
428
- },
429
- "name": "options",
430
- "type": {
431
- "__schema": "TypeRefSchema",
432
- "location": {
433
- "filePath": "aspect.main.runtime.ts",
434
- "line": 97,
435
- "character": 14
415
+ {
416
+ "__schema": "KeywordTypeSchema",
417
+ "location": {
418
+ "filePath": "aspect.main.runtime.ts",
419
+ "line": 96,
420
+ "character": 28
421
+ },
422
+ "name": "any"
423
+ }
424
+ ]
436
425
  },
437
- "name": "SetAspectOptions",
438
- "internalFilePath": "aspect.cmd.ts"
426
+ "isOptional": true,
427
+ "defaultValue": "{}",
428
+ "isSpread": false
439
429
  },
440
- "isOptional": true,
441
- "defaultValue": "{}",
442
- "isSpread": false
443
- }
444
- ],
445
- "returnType": {
446
- "__schema": "TypeRefSchema",
447
- "location": {
448
- "filePath": "aspect.main.runtime.ts",
449
- "line": 98,
450
- "character": 6
451
- },
452
- "name": "Promise",
453
- "typeArgs": [
454
430
  {
455
- "__schema": "TypeArraySchema",
431
+ "__schema": "ParameterSchema",
456
432
  "location": {
457
433
  "filePath": "aspect.main.runtime.ts",
458
- "line": 98,
459
- "character": 14
434
+ "line": 97,
435
+ "character": 5
460
436
  },
437
+ "name": "options",
461
438
  "type": {
462
439
  "__schema": "TypeRefSchema",
463
440
  "location": {
464
441
  "filePath": "aspect.main.runtime.ts",
465
- "line": 98,
442
+ "line": 97,
466
443
  "character": 14
467
444
  },
468
- "name": "ComponentID",
469
- "componentId": {
470
- "scope": "teambit.component",
471
- "name": "component-id",
472
- "version": "1.2.0"
473
- }
474
- }
445
+ "name": "SetAspectOptions",
446
+ "internalFilePath": "aspect.cmd.ts"
447
+ },
448
+ "isOptional": true,
449
+ "defaultValue": "{}",
450
+ "isSpread": false
475
451
  }
476
- ]
477
- },
478
- "modifiers": [
479
- "async"
480
- ]
481
- },
482
- {
483
- "__schema": "FunctionLikeSchema",
484
- "location": {
485
- "filePath": "aspect.main.runtime.ts",
486
- "line": 112,
487
- "character": 3
488
- },
489
- "signature": "(method) AspectMain.unsetAspectsFromComponents(pattern: string, aspectIdStr: string): Promise<ComponentID[]>",
490
- "name": "unsetAspectsFromComponents",
491
- "params": [
492
- {
493
- "__schema": "ParameterSchema",
452
+ ],
453
+ "returnType": {
454
+ "__schema": "TypeRefSchema",
494
455
  "location": {
495
456
  "filePath": "aspect.main.runtime.ts",
496
- "line": 112,
497
- "character": 36
498
- },
499
- "name": "pattern",
500
- "type": {
501
- "__schema": "KeywordTypeSchema",
502
- "location": {
503
- "filePath": "aspect.main.runtime.ts",
504
- "line": 112,
505
- "character": 45
506
- },
507
- "name": "string"
457
+ "line": 98,
458
+ "character": 6
508
459
  },
509
- "isOptional": false,
510
- "isSpread": false
511
- },
512
- {
513
- "__schema": "ParameterSchema",
514
- "location": {
515
- "filePath": "aspect.main.runtime.ts",
516
- "line": 112,
517
- "character": 53
518
- },
519
- "name": "aspectIdStr",
520
- "type": {
521
- "__schema": "KeywordTypeSchema",
522
- "location": {
523
- "filePath": "aspect.main.runtime.ts",
524
- "line": 112,
525
- "character": 66
526
- },
527
- "name": "string"
528
- },
529
- "isOptional": false,
530
- "isSpread": false
531
- }
532
- ],
533
- "returnType": {
534
- "__schema": "TypeRefSchema",
535
- "location": {
536
- "filePath": "aspect.main.runtime.ts",
537
- "line": 112,
538
- "character": 75
539
- },
540
- "name": "Promise",
541
- "typeArgs": [
542
- {
543
- "__schema": "TypeArraySchema",
544
- "location": {
545
- "filePath": "aspect.main.runtime.ts",
546
- "line": 112,
547
- "character": 83
548
- },
549
- "type": {
550
- "__schema": "TypeRefSchema",
460
+ "name": "Promise",
461
+ "typeArgs": [
462
+ {
463
+ "__schema": "TypeArraySchema",
551
464
  "location": {
552
465
  "filePath": "aspect.main.runtime.ts",
553
- "line": 112,
554
- "character": 83
555
- },
556
- "name": "ComponentID",
557
- "componentId": {
558
- "scope": "teambit.component",
559
- "name": "component-id",
560
- "version": "1.2.0"
561
- }
562
- }
563
- }
564
- ]
565
- },
566
- "modifiers": [
567
- "async"
568
- ]
569
- },
570
- {
571
- "__schema": "FunctionLikeSchema",
572
- "location": {
573
- "filePath": "aspect.main.runtime.ts",
574
- "line": 132,
575
- "character": 3
576
- },
577
- "doc": {
578
- "__schema": "DocSchema",
579
- "location": {
580
- "filePath": "aspect.main.runtime.ts",
581
- "line": 129,
582
- "character": 3
583
- },
584
- "raw": "/**\n * returns all aspects info of a component, include the config and the data.\n */",
585
- "comment": "returns all aspects info of a component, include the config and the data."
586
- },
587
- "signature": "(method) AspectMain.getAspectsOfComponent(id: string | ComponentID): Promise<AspectList>",
588
- "name": "getAspectsOfComponent",
589
- "params": [
590
- {
591
- "__schema": "ParameterSchema",
592
- "location": {
593
- "filePath": "aspect.main.runtime.ts",
594
- "line": 132,
595
- "character": 31
596
- },
597
- "name": "id",
598
- "type": {
599
- "__schema": "TypeUnionSchema",
600
- "location": {
601
- "filePath": "aspect.main.runtime.ts",
602
- "line": 132,
603
- "character": 35
604
- },
605
- "types": [
606
- {
607
- "__schema": "KeywordTypeSchema",
608
- "location": {
609
- "filePath": "aspect.main.runtime.ts",
610
- "line": 132,
611
- "character": 35
612
- },
613
- "name": "string"
466
+ "line": 98,
467
+ "character": 14
614
468
  },
615
- {
469
+ "type": {
616
470
  "__schema": "TypeRefSchema",
617
471
  "location": {
618
472
  "filePath": "aspect.main.runtime.ts",
619
- "line": 132,
620
- "character": 44
473
+ "line": 98,
474
+ "character": 14
621
475
  },
622
476
  "name": "ComponentID",
623
477
  "componentId": {
@@ -626,91 +480,86 @@
626
480
  "version": "1.2.0"
627
481
  }
628
482
  }
629
- ]
630
- },
631
- "isOptional": false,
632
- "isSpread": false
633
- }
634
- ],
635
- "returnType": {
636
- "__schema": "TypeRefSchema",
637
- "location": {
638
- "filePath": "aspect.main.runtime.ts",
639
- "line": 132,
640
- "character": 58
641
- },
642
- "name": "Promise",
643
- "typeArgs": [
644
- {
645
- "__schema": "TypeRefSchema",
646
- "location": {
647
- "filePath": "aspect.main.runtime.ts",
648
- "line": 132,
649
- "character": 66
650
- },
651
- "name": "AspectList",
652
- "componentId": {
653
- "scope": "teambit.component",
654
- "name": "component"
655
483
  }
656
- }
484
+ ]
485
+ },
486
+ "modifiers": [
487
+ "async"
657
488
  ]
658
489
  },
659
- "modifiers": [
660
- "async"
661
- ]
662
- },
663
- {
664
- "__schema": "FunctionLikeSchema",
665
- "location": {
666
- "filePath": "aspect.main.runtime.ts",
667
- "line": 143,
668
- "character": 3
669
- },
670
- "doc": {
671
- "__schema": "DocSchema",
490
+ {
491
+ "__schema": "FunctionLikeSchema",
672
492
  "location": {
673
493
  "filePath": "aspect.main.runtime.ts",
674
- "line": 140,
494
+ "line": 112,
675
495
  "character": 3
676
496
  },
677
- "raw": "/**\n * helps debugging why/how an aspect was set to a component\n */",
678
- "comment": "helps debugging why/how an aspect was set to a component"
679
- },
680
- "signature": "(method) AspectMain.getAspectsOfComponentForDebugging(id: string | ComponentID): Promise<{\n aspects: AspectList;\n extensions: ExtensionDataList;\n beforeMerge: {\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }[];\n}>",
681
- "name": "getAspectsOfComponentForDebugging",
682
- "params": [
683
- {
684
- "__schema": "ParameterSchema",
685
- "location": {
686
- "filePath": "aspect.main.runtime.ts",
687
- "line": 143,
688
- "character": 43
497
+ "signature": "(method) AspectMain.unsetAspectsFromComponents(pattern: string, aspectIdStr: string): Promise<ComponentID[]>",
498
+ "name": "unsetAspectsFromComponents",
499
+ "params": [
500
+ {
501
+ "__schema": "ParameterSchema",
502
+ "location": {
503
+ "filePath": "aspect.main.runtime.ts",
504
+ "line": 112,
505
+ "character": 36
506
+ },
507
+ "name": "pattern",
508
+ "type": {
509
+ "__schema": "KeywordTypeSchema",
510
+ "location": {
511
+ "filePath": "aspect.main.runtime.ts",
512
+ "line": 112,
513
+ "character": 45
514
+ },
515
+ "name": "string"
516
+ },
517
+ "isOptional": false,
518
+ "isSpread": false
689
519
  },
690
- "name": "id",
691
- "type": {
692
- "__schema": "TypeUnionSchema",
520
+ {
521
+ "__schema": "ParameterSchema",
693
522
  "location": {
694
523
  "filePath": "aspect.main.runtime.ts",
695
- "line": 143,
696
- "character": 47
524
+ "line": 112,
525
+ "character": 53
697
526
  },
698
- "types": [
699
- {
700
- "__schema": "KeywordTypeSchema",
701
- "location": {
702
- "filePath": "aspect.main.runtime.ts",
703
- "line": 143,
704
- "character": 47
705
- },
706
- "name": "string"
527
+ "name": "aspectIdStr",
528
+ "type": {
529
+ "__schema": "KeywordTypeSchema",
530
+ "location": {
531
+ "filePath": "aspect.main.runtime.ts",
532
+ "line": 112,
533
+ "character": 66
534
+ },
535
+ "name": "string"
536
+ },
537
+ "isOptional": false,
538
+ "isSpread": false
539
+ }
540
+ ],
541
+ "returnType": {
542
+ "__schema": "TypeRefSchema",
543
+ "location": {
544
+ "filePath": "aspect.main.runtime.ts",
545
+ "line": 112,
546
+ "character": 75
547
+ },
548
+ "name": "Promise",
549
+ "typeArgs": [
550
+ {
551
+ "__schema": "TypeArraySchema",
552
+ "location": {
553
+ "filePath": "aspect.main.runtime.ts",
554
+ "line": 112,
555
+ "character": 83
707
556
  },
708
- {
557
+ "type": {
709
558
  "__schema": "TypeRefSchema",
710
559
  "location": {
711
560
  "filePath": "aspect.main.runtime.ts",
712
- "line": 143,
713
- "character": 56
561
+ "line": 112,
562
+ "character": 83
714
563
  },
715
564
  "name": "ComponentID",
716
565
  "componentId": {
@@ -719,1290 +568,1478 @@
719
568
  "version": "1.2.0"
720
569
  }
721
570
  }
722
- ]
723
- },
724
- "isOptional": false,
725
- "isSpread": false
726
- }
727
- ],
728
- "returnType": {
729
- "__schema": "InferenceTypeSchema",
571
+ }
572
+ ]
573
+ },
574
+ "modifiers": [
575
+ "async"
576
+ ]
577
+ },
578
+ {
579
+ "__schema": "FunctionLikeSchema",
730
580
  "location": {
731
581
  "filePath": "aspect.main.runtime.ts",
732
- "line": 143,
582
+ "line": 132,
733
583
  "character": 3
734
584
  },
735
- "type": "Promise<{\n aspects: AspectList;\n extensions: ExtensionDataList;\n beforeMerge: {\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }[];\n}>"
736
- },
737
- "modifiers": [
738
- "async"
739
- ]
740
- },
741
- {
742
- "__schema": "FunctionLikeSchema",
743
- "location": {
744
- "filePath": "aspect.main.runtime.ts",
745
- "line": 157,
746
- "character": 3
747
- },
748
- "signature": "(method) AspectMain.updateAspectsToComponents(aspectId: string, pattern?: string): Promise<{\n updated: ComponentID[];\n alreadyUpToDate: ComponentID[];\n}>",
749
- "name": "updateAspectsToComponents",
750
- "params": [
751
- {
752
- "__schema": "ParameterSchema",
753
- "location": {
754
- "filePath": "aspect.main.runtime.ts",
755
- "line": 158,
756
- "character": 5
757
- },
758
- "name": "aspectId",
759
- "type": {
760
- "__schema": "KeywordTypeSchema",
761
- "location": {
762
- "filePath": "aspect.main.runtime.ts",
763
- "line": 158,
764
- "character": 15
765
- },
766
- "name": "string"
767
- },
768
- "isOptional": false,
769
- "isSpread": false
770
- },
771
- {
772
- "__schema": "ParameterSchema",
585
+ "doc": {
586
+ "__schema": "DocSchema",
773
587
  "location": {
774
588
  "filePath": "aspect.main.runtime.ts",
775
- "line": 159,
776
- "character": 5
777
- },
778
- "name": "pattern",
779
- "type": {
780
- "__schema": "KeywordTypeSchema",
781
- "location": {
782
- "filePath": "aspect.main.runtime.ts",
783
- "line": 159,
784
- "character": 15
785
- },
786
- "name": "string"
589
+ "line": 129,
590
+ "character": 3
787
591
  },
788
- "isOptional": true,
789
- "isSpread": false
790
- }
791
- ],
792
- "returnType": {
793
- "__schema": "TypeRefSchema",
794
- "location": {
795
- "filePath": "aspect.main.runtime.ts",
796
- "line": 160,
797
- "character": 6
592
+ "raw": "/**\n * returns all aspects info of a component, include the config and the data.\n */",
593
+ "comment": "returns all aspects info of a component, include the config and the data."
798
594
  },
799
- "name": "Promise",
800
- "typeArgs": [
595
+ "signature": "(method) AspectMain.getAspectsOfComponent(id: string | ComponentID): Promise<AspectList>",
596
+ "name": "getAspectsOfComponent",
597
+ "params": [
801
598
  {
802
- "__schema": "TypeLiteralSchema",
599
+ "__schema": "ParameterSchema",
803
600
  "location": {
804
601
  "filePath": "aspect.main.runtime.ts",
805
- "line": 160,
806
- "character": 14
602
+ "line": 132,
603
+ "character": 31
807
604
  },
808
- "members": [
809
- {
810
- "__schema": "VariableLikeSchema",
811
- "location": {
812
- "filePath": "aspect.main.runtime.ts",
813
- "line": 160,
814
- "character": 16
815
- },
816
- "signature": "(property) updated: ComponentID[]",
817
- "name": "updated",
818
- "type": {
819
- "__schema": "TypeArraySchema",
605
+ "name": "id",
606
+ "type": {
607
+ "__schema": "TypeUnionSchema",
608
+ "location": {
609
+ "filePath": "aspect.main.runtime.ts",
610
+ "line": 132,
611
+ "character": 35
612
+ },
613
+ "types": [
614
+ {
615
+ "__schema": "KeywordTypeSchema",
820
616
  "location": {
821
617
  "filePath": "aspect.main.runtime.ts",
822
- "line": 160,
823
- "character": 25
618
+ "line": 132,
619
+ "character": 35
824
620
  },
825
- "type": {
826
- "__schema": "TypeRefSchema",
827
- "location": {
828
- "filePath": "aspect.main.runtime.ts",
829
- "line": 160,
830
- "character": 25
831
- },
832
- "name": "ComponentID",
833
- "componentId": {
834
- "scope": "teambit.component",
835
- "name": "component-id",
836
- "version": "1.2.0"
837
- }
838
- }
839
- },
840
- "isOptional": false
841
- },
842
- {
843
- "__schema": "VariableLikeSchema",
844
- "location": {
845
- "filePath": "aspect.main.runtime.ts",
846
- "line": 160,
847
- "character": 40
621
+ "name": "string"
848
622
  },
849
- "signature": "(property) alreadyUpToDate: ComponentID[]",
850
- "name": "alreadyUpToDate",
851
- "type": {
852
- "__schema": "TypeArraySchema",
623
+ {
624
+ "__schema": "TypeRefSchema",
853
625
  "location": {
854
626
  "filePath": "aspect.main.runtime.ts",
855
- "line": 160,
856
- "character": 57
627
+ "line": 132,
628
+ "character": 44
857
629
  },
858
- "type": {
859
- "__schema": "TypeRefSchema",
860
- "location": {
861
- "filePath": "aspect.main.runtime.ts",
862
- "line": 160,
863
- "character": 57
864
- },
865
- "name": "ComponentID",
866
- "componentId": {
867
- "scope": "teambit.component",
868
- "name": "component-id",
869
- "version": "1.2.0"
870
- }
630
+ "name": "ComponentID",
631
+ "componentId": {
632
+ "scope": "teambit.component",
633
+ "name": "component-id",
634
+ "version": "1.2.0"
871
635
  }
872
- },
873
- "isOptional": false
874
- }
875
- ]
636
+ }
637
+ ]
638
+ },
639
+ "isOptional": false,
640
+ "isSpread": false
876
641
  }
642
+ ],
643
+ "returnType": {
644
+ "__schema": "TypeRefSchema",
645
+ "location": {
646
+ "filePath": "aspect.main.runtime.ts",
647
+ "line": 132,
648
+ "character": 58
649
+ },
650
+ "name": "Promise",
651
+ "typeArgs": [
652
+ {
653
+ "__schema": "TypeRefSchema",
654
+ "location": {
655
+ "filePath": "aspect.main.runtime.ts",
656
+ "line": 132,
657
+ "character": 66
658
+ },
659
+ "name": "AspectList",
660
+ "componentId": {
661
+ "scope": "teambit.component",
662
+ "name": "component"
663
+ }
664
+ }
665
+ ]
666
+ },
667
+ "modifiers": [
668
+ "async"
877
669
  ]
878
670
  },
879
- "modifiers": [
880
- "async"
881
- ]
882
- },
883
- {
884
- "__schema": "FunctionLikeSchema",
885
- "location": {
886
- "filePath": "aspect.main.runtime.ts",
887
- "line": 198,
888
- "character": 3
889
- },
890
- "doc": {
891
- "__schema": "DocSchema",
671
+ {
672
+ "__schema": "FunctionLikeSchema",
892
673
  "location": {
893
674
  "filePath": "aspect.main.runtime.ts",
894
- "line": 195,
675
+ "line": 143,
895
676
  "character": 3
896
677
  },
897
- "raw": "/**\n * override the dependency configuration of the component environment.\n */",
898
- "comment": "override the dependency configuration of the component environment."
899
- },
900
- "signature": "(method) AspectMain.overrideDependencies(dependencyPolicy: EnvPolicyConfigObject): EnvTransformer",
901
- "name": "overrideDependencies",
902
- "params": [
903
- {
904
- "__schema": "ParameterSchema",
678
+ "doc": {
679
+ "__schema": "DocSchema",
905
680
  "location": {
906
681
  "filePath": "aspect.main.runtime.ts",
907
- "line": 198,
908
- "character": 24
682
+ "line": 140,
683
+ "character": 3
909
684
  },
910
- "name": "dependencyPolicy",
911
- "type": {
912
- "__schema": "TypeRefSchema",
685
+ "raw": "/**\n * helps debugging why/how an aspect was set to a component\n */",
686
+ "comment": "helps debugging why/how an aspect was set to a component"
687
+ },
688
+ "signature": "(method) AspectMain.getAspectsOfComponentForDebugging(id: string | ComponentID): Promise<{\n aspects: AspectList;\n extensions: ExtensionDataList;\n beforeMerge: {\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }[];\n}>",
689
+ "name": "getAspectsOfComponentForDebugging",
690
+ "params": [
691
+ {
692
+ "__schema": "ParameterSchema",
913
693
  "location": {
914
694
  "filePath": "aspect.main.runtime.ts",
915
- "line": 198,
916
- "character": 42
695
+ "line": 143,
696
+ "character": 43
917
697
  },
918
- "name": "EnvPolicyConfigObject",
919
- "componentId": {
920
- "scope": "teambit.dependencies",
921
- "name": "dependency-resolver"
922
- }
698
+ "name": "id",
699
+ "type": {
700
+ "__schema": "TypeUnionSchema",
701
+ "location": {
702
+ "filePath": "aspect.main.runtime.ts",
703
+ "line": 143,
704
+ "character": 47
705
+ },
706
+ "types": [
707
+ {
708
+ "__schema": "KeywordTypeSchema",
709
+ "location": {
710
+ "filePath": "aspect.main.runtime.ts",
711
+ "line": 143,
712
+ "character": 47
713
+ },
714
+ "name": "string"
715
+ },
716
+ {
717
+ "__schema": "TypeRefSchema",
718
+ "location": {
719
+ "filePath": "aspect.main.runtime.ts",
720
+ "line": 143,
721
+ "character": 56
722
+ },
723
+ "name": "ComponentID",
724
+ "componentId": {
725
+ "scope": "teambit.component",
726
+ "name": "component-id",
727
+ "version": "1.2.0"
728
+ }
729
+ }
730
+ ]
731
+ },
732
+ "isOptional": false,
733
+ "isSpread": false
734
+ }
735
+ ],
736
+ "returnType": {
737
+ "__schema": "InferenceTypeSchema",
738
+ "location": {
739
+ "filePath": "aspect.main.runtime.ts",
740
+ "line": 143,
741
+ "character": 3
923
742
  },
924
- "isOptional": false,
925
- "isSpread": false
926
- }
927
- ],
928
- "returnType": {
929
- "__schema": "TypeRefSchema",
743
+ "type": "Promise<{\n aspects: AspectList;\n extensions: ExtensionDataList;\n beforeMerge: {\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }[];\n}>"
744
+ },
745
+ "modifiers": [
746
+ "async"
747
+ ]
748
+ },
749
+ {
750
+ "__schema": "FunctionLikeSchema",
930
751
  "location": {
931
752
  "filePath": "aspect.main.runtime.ts",
932
- "line": 198,
753
+ "line": 157,
933
754
  "character": 3
934
755
  },
935
- "name": "EnvTransformer",
936
- "componentId": {
937
- "scope": "teambit.envs",
938
- "name": "envs"
939
- }
756
+ "signature": "(method) AspectMain.updateAspectsToComponents(aspectId: string, pattern?: string): Promise<{\n updated: ComponentID[];\n alreadyUpToDate: ComponentID[];\n}>",
757
+ "name": "updateAspectsToComponents",
758
+ "params": [
759
+ {
760
+ "__schema": "ParameterSchema",
761
+ "location": {
762
+ "filePath": "aspect.main.runtime.ts",
763
+ "line": 158,
764
+ "character": 5
765
+ },
766
+ "name": "aspectId",
767
+ "type": {
768
+ "__schema": "KeywordTypeSchema",
769
+ "location": {
770
+ "filePath": "aspect.main.runtime.ts",
771
+ "line": 158,
772
+ "character": 15
773
+ },
774
+ "name": "string"
775
+ },
776
+ "isOptional": false,
777
+ "isSpread": false
778
+ },
779
+ {
780
+ "__schema": "ParameterSchema",
781
+ "location": {
782
+ "filePath": "aspect.main.runtime.ts",
783
+ "line": 159,
784
+ "character": 5
785
+ },
786
+ "name": "pattern",
787
+ "type": {
788
+ "__schema": "KeywordTypeSchema",
789
+ "location": {
790
+ "filePath": "aspect.main.runtime.ts",
791
+ "line": 159,
792
+ "character": 15
793
+ },
794
+ "name": "string"
795
+ },
796
+ "isOptional": true,
797
+ "isSpread": false
798
+ }
799
+ ],
800
+ "returnType": {
801
+ "__schema": "TypeRefSchema",
802
+ "location": {
803
+ "filePath": "aspect.main.runtime.ts",
804
+ "line": 160,
805
+ "character": 6
806
+ },
807
+ "name": "Promise",
808
+ "typeArgs": [
809
+ {
810
+ "__schema": "TypeLiteralSchema",
811
+ "location": {
812
+ "filePath": "aspect.main.runtime.ts",
813
+ "line": 160,
814
+ "character": 14
815
+ },
816
+ "members": [
817
+ {
818
+ "__schema": "VariableLikeSchema",
819
+ "location": {
820
+ "filePath": "aspect.main.runtime.ts",
821
+ "line": 160,
822
+ "character": 16
823
+ },
824
+ "signature": "(property) updated: ComponentID[]",
825
+ "name": "updated",
826
+ "type": {
827
+ "__schema": "TypeArraySchema",
828
+ "location": {
829
+ "filePath": "aspect.main.runtime.ts",
830
+ "line": 160,
831
+ "character": 25
832
+ },
833
+ "type": {
834
+ "__schema": "TypeRefSchema",
835
+ "location": {
836
+ "filePath": "aspect.main.runtime.ts",
837
+ "line": 160,
838
+ "character": 25
839
+ },
840
+ "name": "ComponentID",
841
+ "componentId": {
842
+ "scope": "teambit.component",
843
+ "name": "component-id",
844
+ "version": "1.2.0"
845
+ }
846
+ }
847
+ },
848
+ "isOptional": false
849
+ },
850
+ {
851
+ "__schema": "VariableLikeSchema",
852
+ "location": {
853
+ "filePath": "aspect.main.runtime.ts",
854
+ "line": 160,
855
+ "character": 40
856
+ },
857
+ "signature": "(property) alreadyUpToDate: ComponentID[]",
858
+ "name": "alreadyUpToDate",
859
+ "type": {
860
+ "__schema": "TypeArraySchema",
861
+ "location": {
862
+ "filePath": "aspect.main.runtime.ts",
863
+ "line": 160,
864
+ "character": 57
865
+ },
866
+ "type": {
867
+ "__schema": "TypeRefSchema",
868
+ "location": {
869
+ "filePath": "aspect.main.runtime.ts",
870
+ "line": 160,
871
+ "character": 57
872
+ },
873
+ "name": "ComponentID",
874
+ "componentId": {
875
+ "scope": "teambit.component",
876
+ "name": "component-id",
877
+ "version": "1.2.0"
878
+ }
879
+ }
880
+ },
881
+ "isOptional": false
882
+ }
883
+ ]
884
+ }
885
+ ]
886
+ },
887
+ "modifiers": [
888
+ "async"
889
+ ]
940
890
  },
941
- "modifiers": []
942
- },
943
- {
944
- "__schema": "VariableLikeSchema",
945
- "location": {
946
- "filePath": "aspect.main.runtime.ts",
947
- "line": 207,
948
- "character": 3
891
+ {
892
+ "__schema": "FunctionLikeSchema",
893
+ "location": {
894
+ "filePath": "aspect.main.runtime.ts",
895
+ "line": 198,
896
+ "character": 3
897
+ },
898
+ "doc": {
899
+ "__schema": "DocSchema",
900
+ "location": {
901
+ "filePath": "aspect.main.runtime.ts",
902
+ "line": 195,
903
+ "character": 3
904
+ },
905
+ "raw": "/**\n * override the dependency configuration of the component environment.\n */",
906
+ "comment": "override the dependency configuration of the component environment."
907
+ },
908
+ "signature": "(method) AspectMain.overrideDependencies(dependencyPolicy: EnvPolicyConfigObject): EnvTransformer",
909
+ "name": "overrideDependencies",
910
+ "params": [
911
+ {
912
+ "__schema": "ParameterSchema",
913
+ "location": {
914
+ "filePath": "aspect.main.runtime.ts",
915
+ "line": 198,
916
+ "character": 24
917
+ },
918
+ "name": "dependencyPolicy",
919
+ "type": {
920
+ "__schema": "TypeRefSchema",
921
+ "location": {
922
+ "filePath": "aspect.main.runtime.ts",
923
+ "line": 198,
924
+ "character": 42
925
+ },
926
+ "name": "EnvPolicyConfigObject",
927
+ "componentId": {
928
+ "scope": "teambit.dependencies",
929
+ "name": "dependency-resolver"
930
+ }
931
+ },
932
+ "isOptional": false,
933
+ "isSpread": false
934
+ }
935
+ ],
936
+ "returnType": {
937
+ "__schema": "TypeRefSchema",
938
+ "location": {
939
+ "filePath": "aspect.main.runtime.ts",
940
+ "line": 198,
941
+ "character": 3
942
+ },
943
+ "name": "EnvTransformer",
944
+ "componentId": {
945
+ "scope": "teambit.envs",
946
+ "name": "envs"
947
+ }
948
+ },
949
+ "modifiers": []
949
950
  },
950
- "signature": "(property) AspectMain.runtime: RuntimeDefinition",
951
- "name": "runtime",
952
- "type": {
953
- "__schema": "InferenceTypeSchema",
951
+ {
952
+ "__schema": "VariableLikeSchema",
954
953
  "location": {
955
954
  "filePath": "aspect.main.runtime.ts",
956
955
  "line": 207,
957
956
  "character": 3
958
957
  },
959
- "type": "RuntimeDefinition"
960
- },
961
- "isOptional": true,
962
- "defaultValue": "MainRuntime"
963
- },
964
- {
965
- "__schema": "VariableLikeSchema",
966
- "location": {
967
- "filePath": "aspect.main.runtime.ts",
968
- "line": 208,
969
- "character": 3
958
+ "signature": "(property) AspectMain.runtime: RuntimeDefinition",
959
+ "name": "runtime",
960
+ "type": {
961
+ "__schema": "InferenceTypeSchema",
962
+ "location": {
963
+ "filePath": "aspect.main.runtime.ts",
964
+ "line": 207,
965
+ "character": 3
966
+ },
967
+ "type": "RuntimeDefinition"
968
+ },
969
+ "isOptional": true,
970
+ "defaultValue": "MainRuntime"
970
971
  },
971
- "signature": "(property) AspectMain.dependencies: Aspect[]",
972
- "name": "dependencies",
973
- "type": {
974
- "__schema": "InferenceTypeSchema",
972
+ {
973
+ "__schema": "VariableLikeSchema",
975
974
  "location": {
976
975
  "filePath": "aspect.main.runtime.ts",
977
976
  "line": 208,
978
977
  "character": 3
979
978
  },
980
- "type": "Aspect[]"
981
- },
982
- "isOptional": true,
983
- "defaultValue": "[\n ReactAspect,\n EnvsAspect,\n BuilderAspect,\n AspectLoaderAspect,\n CompilerAspect,\n GeneratorAspect,\n WorkspaceAspect,\n CLIAspect,\n LoggerAspect,\n WorkerAspect,\n ]"
984
- },
985
- {
986
- "__schema": "FunctionLikeSchema",
987
- "location": {
988
- "filePath": "aspect.main.runtime.ts",
989
- "line": 221,
990
- "character": 3
991
- },
992
- "signature": "(method) AspectMain.provider([react, envs, builder, aspectLoader, compiler, generator, workspace, cli, loggerMain, workerMain]: [\n ReactMain,\n EnvsMain,\n BuilderMain,\n AspectLoaderMain,\n CompilerMain,\n GeneratorMain,\n Workspace,\n CLIMain,\n LoggerMain,\n WorkerMain\n], config: any, slots: any, harmony: Harmony): Promise<AspectMain>",
993
- "name": "provider",
994
- "params": [
995
- {
996
- "__schema": "ParameterSchema",
979
+ "signature": "(property) AspectMain.dependencies: Aspect[]",
980
+ "name": "dependencies",
981
+ "type": {
982
+ "__schema": "InferenceTypeSchema",
997
983
  "location": {
998
984
  "filePath": "aspect.main.runtime.ts",
999
- "line": 222,
1000
- "character": 5
985
+ "line": 208,
986
+ "character": 3
1001
987
  },
1002
- "name": "[ react, envs, builder, aspectLoader, compiler, generator, workspace, cli, loggerMain, workerMain ]",
1003
- "type": {
1004
- "__schema": "TupleTypeSchema",
988
+ "type": "Aspect[]"
989
+ },
990
+ "isOptional": true,
991
+ "defaultValue": "[\n ReactAspect,\n EnvsAspect,\n BuilderAspect,\n AspectLoaderAspect,\n CompilerAspect,\n GeneratorAspect,\n WorkspaceAspect,\n CLIAspect,\n LoggerAspect,\n WorkerAspect,\n ]"
992
+ },
993
+ {
994
+ "__schema": "FunctionLikeSchema",
995
+ "location": {
996
+ "filePath": "aspect.main.runtime.ts",
997
+ "line": 221,
998
+ "character": 3
999
+ },
1000
+ "signature": "(method) AspectMain.provider([react, envs, builder, aspectLoader, compiler, generator, workspace, cli, loggerMain, workerMain]: [\n ReactMain,\n EnvsMain,\n BuilderMain,\n AspectLoaderMain,\n CompilerMain,\n GeneratorMain,\n Workspace,\n CLIMain,\n LoggerMain,\n WorkerMain\n], config: any, slots: any, harmony: Harmony): Promise<AspectMain>",
1001
+ "name": "provider",
1002
+ "params": [
1003
+ {
1004
+ "__schema": "ParameterSchema",
1005
1005
  "location": {
1006
1006
  "filePath": "aspect.main.runtime.ts",
1007
1007
  "line": 222,
1008
- "character": 104
1008
+ "character": 5
1009
1009
  },
1010
- "elements": [
1011
- {
1012
- "__schema": "TypeRefSchema",
1013
- "location": {
1014
- "filePath": "aspect.main.runtime.ts",
1015
- "line": 223,
1016
- "character": 7
1017
- },
1018
- "name": "ReactMain",
1019
- "componentId": {
1020
- "scope": "teambit.react",
1021
- "name": "react"
1022
- }
1010
+ "name": "[ react, envs, builder, aspectLoader, compiler, generator, workspace, cli, loggerMain, workerMain ]",
1011
+ "type": {
1012
+ "__schema": "TupleTypeSchema",
1013
+ "location": {
1014
+ "filePath": "aspect.main.runtime.ts",
1015
+ "line": 222,
1016
+ "character": 104
1023
1017
  },
1024
- {
1025
- "__schema": "TypeRefSchema",
1026
- "location": {
1027
- "filePath": "aspect.main.runtime.ts",
1028
- "line": 224,
1029
- "character": 7
1018
+ "elements": [
1019
+ {
1020
+ "__schema": "TypeRefSchema",
1021
+ "location": {
1022
+ "filePath": "aspect.main.runtime.ts",
1023
+ "line": 223,
1024
+ "character": 7
1025
+ },
1026
+ "name": "ReactMain",
1027
+ "componentId": {
1028
+ "scope": "teambit.react",
1029
+ "name": "react"
1030
+ }
1030
1031
  },
1031
- "name": "EnvsMain",
1032
- "componentId": {
1033
- "scope": "teambit.envs",
1034
- "name": "envs"
1035
- }
1036
- },
1037
- {
1038
- "__schema": "TypeRefSchema",
1039
- "location": {
1040
- "filePath": "aspect.main.runtime.ts",
1041
- "line": 225,
1042
- "character": 7
1032
+ {
1033
+ "__schema": "TypeRefSchema",
1034
+ "location": {
1035
+ "filePath": "aspect.main.runtime.ts",
1036
+ "line": 224,
1037
+ "character": 7
1038
+ },
1039
+ "name": "EnvsMain",
1040
+ "componentId": {
1041
+ "scope": "teambit.envs",
1042
+ "name": "envs"
1043
+ }
1043
1044
  },
1044
- "name": "BuilderMain",
1045
- "componentId": {
1046
- "scope": "teambit.pipelines",
1047
- "name": "builder"
1048
- }
1049
- },
1050
- {
1051
- "__schema": "TypeRefSchema",
1052
- "location": {
1053
- "filePath": "aspect.main.runtime.ts",
1054
- "line": 226,
1055
- "character": 7
1045
+ {
1046
+ "__schema": "TypeRefSchema",
1047
+ "location": {
1048
+ "filePath": "aspect.main.runtime.ts",
1049
+ "line": 225,
1050
+ "character": 7
1051
+ },
1052
+ "name": "BuilderMain",
1053
+ "componentId": {
1054
+ "scope": "teambit.pipelines",
1055
+ "name": "builder"
1056
+ }
1056
1057
  },
1057
- "name": "AspectLoaderMain",
1058
- "componentId": {
1059
- "scope": "teambit.harmony",
1060
- "name": "aspect-loader"
1061
- }
1062
- },
1063
- {
1064
- "__schema": "TypeRefSchema",
1065
- "location": {
1066
- "filePath": "aspect.main.runtime.ts",
1067
- "line": 227,
1068
- "character": 7
1058
+ {
1059
+ "__schema": "TypeRefSchema",
1060
+ "location": {
1061
+ "filePath": "aspect.main.runtime.ts",
1062
+ "line": 226,
1063
+ "character": 7
1064
+ },
1065
+ "name": "AspectLoaderMain",
1066
+ "componentId": {
1067
+ "scope": "teambit.harmony",
1068
+ "name": "aspect-loader"
1069
+ }
1069
1070
  },
1070
- "name": "CompilerMain",
1071
- "componentId": {
1072
- "scope": "teambit.compilation",
1073
- "name": "compiler"
1074
- }
1075
- },
1076
- {
1077
- "__schema": "TypeRefSchema",
1078
- "location": {
1079
- "filePath": "aspect.main.runtime.ts",
1080
- "line": 228,
1081
- "character": 7
1071
+ {
1072
+ "__schema": "TypeRefSchema",
1073
+ "location": {
1074
+ "filePath": "aspect.main.runtime.ts",
1075
+ "line": 227,
1076
+ "character": 7
1077
+ },
1078
+ "name": "CompilerMain",
1079
+ "componentId": {
1080
+ "scope": "teambit.compilation",
1081
+ "name": "compiler"
1082
+ }
1082
1083
  },
1083
- "name": "GeneratorMain",
1084
- "componentId": {
1085
- "scope": "teambit.generator",
1086
- "name": "generator"
1087
- }
1088
- },
1089
- {
1090
- "__schema": "TypeRefSchema",
1091
- "location": {
1092
- "filePath": "aspect.main.runtime.ts",
1093
- "line": 229,
1094
- "character": 7
1084
+ {
1085
+ "__schema": "TypeRefSchema",
1086
+ "location": {
1087
+ "filePath": "aspect.main.runtime.ts",
1088
+ "line": 228,
1089
+ "character": 7
1090
+ },
1091
+ "name": "GeneratorMain",
1092
+ "componentId": {
1093
+ "scope": "teambit.generator",
1094
+ "name": "generator"
1095
+ }
1095
1096
  },
1096
- "name": "Workspace",
1097
- "componentId": {
1098
- "scope": "teambit.workspace",
1099
- "name": "workspace"
1100
- }
1101
- },
1102
- {
1103
- "__schema": "TypeRefSchema",
1104
- "location": {
1105
- "filePath": "aspect.main.runtime.ts",
1106
- "line": 230,
1107
- "character": 7
1097
+ {
1098
+ "__schema": "TypeRefSchema",
1099
+ "location": {
1100
+ "filePath": "aspect.main.runtime.ts",
1101
+ "line": 229,
1102
+ "character": 7
1103
+ },
1104
+ "name": "Workspace",
1105
+ "componentId": {
1106
+ "scope": "teambit.workspace",
1107
+ "name": "workspace"
1108
+ }
1108
1109
  },
1109
- "name": "CLIMain",
1110
- "componentId": {
1111
- "scope": "teambit.harmony",
1112
- "name": "cli"
1113
- }
1114
- },
1115
- {
1116
- "__schema": "TypeRefSchema",
1117
- "location": {
1118
- "filePath": "aspect.main.runtime.ts",
1119
- "line": 231,
1120
- "character": 7
1110
+ {
1111
+ "__schema": "TypeRefSchema",
1112
+ "location": {
1113
+ "filePath": "aspect.main.runtime.ts",
1114
+ "line": 230,
1115
+ "character": 7
1116
+ },
1117
+ "name": "CLIMain",
1118
+ "componentId": {
1119
+ "scope": "teambit.harmony",
1120
+ "name": "cli"
1121
+ }
1121
1122
  },
1122
- "name": "LoggerMain",
1123
- "componentId": {
1124
- "scope": "teambit.harmony",
1125
- "name": "logger"
1126
- }
1127
- },
1128
- {
1129
- "__schema": "TypeRefSchema",
1130
- "location": {
1131
- "filePath": "aspect.main.runtime.ts",
1132
- "line": 232,
1133
- "character": 7
1123
+ {
1124
+ "__schema": "TypeRefSchema",
1125
+ "location": {
1126
+ "filePath": "aspect.main.runtime.ts",
1127
+ "line": 231,
1128
+ "character": 7
1129
+ },
1130
+ "name": "LoggerMain",
1131
+ "componentId": {
1132
+ "scope": "teambit.harmony",
1133
+ "name": "logger"
1134
+ }
1134
1135
  },
1135
- "name": "WorkerMain",
1136
- "componentId": {
1137
- "scope": "teambit.harmony",
1138
- "name": "worker"
1136
+ {
1137
+ "__schema": "TypeRefSchema",
1138
+ "location": {
1139
+ "filePath": "aspect.main.runtime.ts",
1140
+ "line": 232,
1141
+ "character": 7
1142
+ },
1143
+ "name": "WorkerMain",
1144
+ "componentId": {
1145
+ "scope": "teambit.harmony",
1146
+ "name": "worker"
1147
+ }
1139
1148
  }
1140
- }
1141
- ]
1142
- },
1143
- "isOptional": false,
1144
- "isSpread": false
1145
- },
1146
- {
1147
- "__schema": "ParameterSchema",
1148
- "location": {
1149
- "filePath": "aspect.main.runtime.ts",
1150
- "line": 234,
1151
- "character": 5
1149
+ ]
1150
+ },
1151
+ "isOptional": false,
1152
+ "isSpread": false
1152
1153
  },
1153
- "name": "config",
1154
- "type": {
1155
- "__schema": "InferenceTypeSchema",
1154
+ {
1155
+ "__schema": "ParameterSchema",
1156
1156
  "location": {
1157
1157
  "filePath": "aspect.main.runtime.ts",
1158
1158
  "line": 234,
1159
1159
  "character": 5
1160
1160
  },
1161
- "type": "any"
1162
- },
1163
- "isOptional": false,
1164
- "isSpread": false
1165
- },
1166
- {
1167
- "__schema": "ParameterSchema",
1168
- "location": {
1169
- "filePath": "aspect.main.runtime.ts",
1170
- "line": 235,
1171
- "character": 5
1161
+ "name": "config",
1162
+ "type": {
1163
+ "__schema": "InferenceTypeSchema",
1164
+ "location": {
1165
+ "filePath": "aspect.main.runtime.ts",
1166
+ "line": 234,
1167
+ "character": 5
1168
+ },
1169
+ "type": "any"
1170
+ },
1171
+ "isOptional": false,
1172
+ "isSpread": false
1172
1173
  },
1173
- "name": "slots",
1174
- "type": {
1175
- "__schema": "InferenceTypeSchema",
1174
+ {
1175
+ "__schema": "ParameterSchema",
1176
1176
  "location": {
1177
1177
  "filePath": "aspect.main.runtime.ts",
1178
1178
  "line": 235,
1179
1179
  "character": 5
1180
1180
  },
1181
- "type": "any"
1182
- },
1183
- "isOptional": false,
1184
- "isSpread": false
1185
- },
1186
- {
1187
- "__schema": "ParameterSchema",
1188
- "location": {
1189
- "filePath": "aspect.main.runtime.ts",
1190
- "line": 236,
1191
- "character": 5
1181
+ "name": "slots",
1182
+ "type": {
1183
+ "__schema": "InferenceTypeSchema",
1184
+ "location": {
1185
+ "filePath": "aspect.main.runtime.ts",
1186
+ "line": 235,
1187
+ "character": 5
1188
+ },
1189
+ "type": "any"
1190
+ },
1191
+ "isOptional": false,
1192
+ "isSpread": false
1192
1193
  },
1193
- "name": "harmony",
1194
- "type": {
1195
- "__schema": "TypeRefSchema",
1194
+ {
1195
+ "__schema": "ParameterSchema",
1196
1196
  "location": {
1197
1197
  "filePath": "aspect.main.runtime.ts",
1198
1198
  "line": 236,
1199
- "character": 14
1199
+ "character": 5
1200
1200
  },
1201
- "name": "Harmony",
1202
- "componentId": {
1203
- "scope": "teambit.harmony",
1204
- "name": "harmony",
1205
- "version": "0.4.6"
1206
- }
1201
+ "name": "harmony",
1202
+ "type": {
1203
+ "__schema": "TypeRefSchema",
1204
+ "location": {
1205
+ "filePath": "aspect.main.runtime.ts",
1206
+ "line": 236,
1207
+ "character": 14
1208
+ },
1209
+ "name": "Harmony",
1210
+ "componentId": {
1211
+ "scope": "teambit.harmony",
1212
+ "name": "harmony",
1213
+ "version": "0.4.6"
1214
+ }
1215
+ },
1216
+ "isOptional": false,
1217
+ "isSpread": false
1218
+ }
1219
+ ],
1220
+ "returnType": {
1221
+ "__schema": "InferenceTypeSchema",
1222
+ "location": {
1223
+ "filePath": "aspect.main.runtime.ts",
1224
+ "line": 221,
1225
+ "character": 3
1207
1226
  },
1208
- "isOptional": false,
1209
- "isSpread": false
1210
- }
1211
- ],
1212
- "returnType": {
1213
- "__schema": "InferenceTypeSchema",
1214
- "location": {
1215
- "filePath": "aspect.main.runtime.ts",
1216
- "line": 221,
1217
- "character": 3
1227
+ "type": "Promise<AspectMain>"
1218
1228
  },
1219
- "type": "Promise<AspectMain>"
1229
+ "modifiers": [
1230
+ "static",
1231
+ "async"
1232
+ ]
1233
+ }
1234
+ ],
1235
+ "extendsNodes": [],
1236
+ "implementNodes": []
1237
+ }
1238
+ },
1239
+ {
1240
+ "__schema": "ExportSchema",
1241
+ "location": {
1242
+ "filePath": "index.ts",
1243
+ "line": 2,
1244
+ "character": 10
1245
+ },
1246
+ "name": "AspectAspect",
1247
+ "exportNode": {
1248
+ "__schema": "VariableLikeSchema",
1249
+ "location": {
1250
+ "filePath": "aspect.aspect.ts",
1251
+ "line": 3,
1252
+ "character": 14
1253
+ },
1254
+ "signature": "const AspectAspect: Aspect",
1255
+ "name": "AspectAspect",
1256
+ "type": {
1257
+ "__schema": "TypeRefSchema",
1258
+ "location": {
1259
+ "filePath": "aspect.aspect.ts",
1260
+ "line": 3,
1261
+ "character": 14
1220
1262
  },
1221
- "modifiers": [
1222
- "static",
1223
- "async"
1224
- ]
1225
- }
1226
- ],
1227
- "extendsNodes": [],
1228
- "implementNodes": []
1263
+ "name": "Aspect",
1264
+ "componentId": {
1265
+ "scope": "teambit.harmony",
1266
+ "name": "harmony",
1267
+ "version": "0.4.6"
1268
+ }
1269
+ },
1270
+ "isOptional": false,
1271
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/aspect',\n})"
1272
+ }
1229
1273
  },
1230
1274
  {
1231
- "__schema": "VariableLikeSchema",
1275
+ "__schema": "ExportSchema",
1232
1276
  "location": {
1233
- "filePath": "aspect.aspect.ts",
1234
- "line": 3,
1235
- "character": 14
1277
+ "filePath": "index.ts",
1278
+ "line": 2,
1279
+ "character": 40
1236
1280
  },
1237
- "signature": "const AspectAspect: Aspect",
1238
1281
  "name": "AspectAspect",
1239
- "type": {
1240
- "__schema": "TypeRefSchema",
1282
+ "exportNode": {
1283
+ "__schema": "VariableLikeSchema",
1241
1284
  "location": {
1242
1285
  "filePath": "aspect.aspect.ts",
1243
1286
  "line": 3,
1244
1287
  "character": 14
1245
1288
  },
1246
- "name": "Aspect",
1247
- "componentId": {
1248
- "scope": "teambit.harmony",
1249
- "name": "harmony",
1250
- "version": "0.4.6"
1251
- }
1289
+ "signature": "const AspectAspect: Aspect",
1290
+ "name": "AspectAspect",
1291
+ "type": {
1292
+ "__schema": "TypeRefSchema",
1293
+ "location": {
1294
+ "filePath": "aspect.aspect.ts",
1295
+ "line": 3,
1296
+ "character": 14
1297
+ },
1298
+ "name": "Aspect",
1299
+ "componentId": {
1300
+ "scope": "teambit.harmony",
1301
+ "name": "harmony",
1302
+ "version": "0.4.6"
1303
+ }
1304
+ },
1305
+ "isOptional": false,
1306
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/aspect',\n})"
1252
1307
  },
1253
- "isOptional": false,
1254
- "defaultValue": "Aspect.create({\n id: 'teambit.harmony/aspect',\n})"
1308
+ "alias": "default"
1255
1309
  },
1256
1310
  {
1257
- "__schema": "VariableLikeSchema",
1311
+ "__schema": "ExportSchema",
1258
1312
  "location": {
1259
- "filePath": "aspect.aspect.ts",
1313
+ "filePath": "index.ts",
1260
1314
  "line": 3,
1261
- "character": 14
1262
- },
1263
- "signature": "const AspectAspect: Aspect",
1264
- "name": "AspectAspect",
1265
- "type": {
1266
- "__schema": "TypeRefSchema",
1267
- "location": {
1268
- "filePath": "aspect.aspect.ts",
1269
- "line": 3,
1270
- "character": 14
1271
- },
1272
- "name": "Aspect",
1273
- "componentId": {
1274
- "scope": "teambit.harmony",
1275
- "name": "harmony",
1276
- "version": "0.4.6"
1277
- }
1278
- },
1279
- "isOptional": false,
1280
- "defaultValue": "Aspect.create({\n id: 'teambit.harmony/aspect',\n})"
1281
- },
1282
- {
1283
- "__schema": "ClassSchema",
1284
- "location": {
1285
- "filePath": "aspect.env.ts",
1286
- "line": 26,
1287
- "character": 1
1315
+ "character": 15
1288
1316
  },
1289
- "doc": {
1290
- "__schema": "DocSchema",
1317
+ "name": "AspectEnv",
1318
+ "exportNode": {
1319
+ "__schema": "ClassSchema",
1291
1320
  "location": {
1292
1321
  "filePath": "aspect.env.ts",
1293
- "line": 23,
1322
+ "line": 26,
1294
1323
  "character": 1
1295
1324
  },
1296
- "raw": "/**\n * a component environment built for Aspects .\n */",
1297
- "comment": "a component environment built for Aspects ."
1298
- },
1299
- "signature": "class AspectEnv",
1300
- "name": "AspectEnv",
1301
- "members": [
1302
- {
1303
- "__schema": "ConstructorSchema",
1325
+ "doc": {
1326
+ "__schema": "DocSchema",
1304
1327
  "location": {
1305
1328
  "filePath": "aspect.env.ts",
1306
- "line": 27,
1307
- "character": 3
1329
+ "line": 23,
1330
+ "character": 1
1308
1331
  },
1309
- "signature": "constructor AspectEnv(reactEnv: ReactEnv, aspectLoader: AspectLoaderMain, logger: Logger): AspectEnv",
1310
- "name": "constructor",
1311
- "params": [
1312
- {
1313
- "__schema": "ParameterSchema",
1314
- "location": {
1315
- "filePath": "aspect.env.ts",
1316
- "line": 27,
1317
- "character": 15
1318
- },
1319
- "name": "reactEnv",
1320
- "type": {
1321
- "__schema": "TypeRefSchema",
1332
+ "raw": "/**\n * a component environment built for Aspects .\n */",
1333
+ "comment": "a component environment built for Aspects ."
1334
+ },
1335
+ "signature": "class AspectEnv",
1336
+ "name": "AspectEnv",
1337
+ "members": [
1338
+ {
1339
+ "__schema": "ConstructorSchema",
1340
+ "location": {
1341
+ "filePath": "aspect.env.ts",
1342
+ "line": 27,
1343
+ "character": 3
1344
+ },
1345
+ "signature": "constructor AspectEnv(reactEnv: ReactEnv, aspectLoader: AspectLoaderMain, logger: Logger): AspectEnv",
1346
+ "name": "constructor",
1347
+ "params": [
1348
+ {
1349
+ "__schema": "ParameterSchema",
1322
1350
  "location": {
1323
1351
  "filePath": "aspect.env.ts",
1324
1352
  "line": 27,
1325
- "character": 33
1353
+ "character": 15
1326
1354
  },
1327
- "name": "ReactEnv",
1328
- "componentId": {
1329
- "scope": "teambit.react",
1330
- "name": "react"
1331
- }
1332
- },
1333
- "isOptional": false,
1334
- "isSpread": false
1335
- },
1336
- {
1337
- "__schema": "ParameterSchema",
1338
- "location": {
1339
- "filePath": "aspect.env.ts",
1340
- "line": 27,
1341
- "character": 43
1355
+ "name": "reactEnv",
1356
+ "type": {
1357
+ "__schema": "TypeRefSchema",
1358
+ "location": {
1359
+ "filePath": "aspect.env.ts",
1360
+ "line": 27,
1361
+ "character": 33
1362
+ },
1363
+ "name": "ReactEnv",
1364
+ "componentId": {
1365
+ "scope": "teambit.react",
1366
+ "name": "react"
1367
+ }
1368
+ },
1369
+ "isOptional": false,
1370
+ "isSpread": false
1342
1371
  },
1343
- "name": "aspectLoader",
1344
- "type": {
1345
- "__schema": "TypeRefSchema",
1372
+ {
1373
+ "__schema": "ParameterSchema",
1346
1374
  "location": {
1347
1375
  "filePath": "aspect.env.ts",
1348
1376
  "line": 27,
1349
- "character": 65
1377
+ "character": 43
1350
1378
  },
1351
- "name": "AspectLoaderMain",
1352
- "componentId": {
1353
- "scope": "teambit.harmony",
1354
- "name": "aspect-loader"
1355
- }
1356
- },
1357
- "isOptional": false,
1358
- "isSpread": false
1359
- },
1360
- {
1361
- "__schema": "ParameterSchema",
1362
- "location": {
1363
- "filePath": "aspect.env.ts",
1364
- "line": 27,
1365
- "character": 83
1379
+ "name": "aspectLoader",
1380
+ "type": {
1381
+ "__schema": "TypeRefSchema",
1382
+ "location": {
1383
+ "filePath": "aspect.env.ts",
1384
+ "line": 27,
1385
+ "character": 65
1386
+ },
1387
+ "name": "AspectLoaderMain",
1388
+ "componentId": {
1389
+ "scope": "teambit.harmony",
1390
+ "name": "aspect-loader"
1391
+ }
1392
+ },
1393
+ "isOptional": false,
1394
+ "isSpread": false
1366
1395
  },
1367
- "name": "logger",
1368
- "type": {
1369
- "__schema": "TypeRefSchema",
1396
+ {
1397
+ "__schema": "ParameterSchema",
1370
1398
  "location": {
1371
1399
  "filePath": "aspect.env.ts",
1372
1400
  "line": 27,
1373
- "character": 99
1401
+ "character": 83
1374
1402
  },
1375
- "name": "Logger",
1376
- "componentId": {
1377
- "scope": "teambit.harmony",
1378
- "name": "logger"
1379
- }
1403
+ "name": "logger",
1404
+ "type": {
1405
+ "__schema": "TypeRefSchema",
1406
+ "location": {
1407
+ "filePath": "aspect.env.ts",
1408
+ "line": 27,
1409
+ "character": 99
1410
+ },
1411
+ "name": "Logger",
1412
+ "componentId": {
1413
+ "scope": "teambit.harmony",
1414
+ "name": "logger"
1415
+ }
1416
+ },
1417
+ "isOptional": false,
1418
+ "isSpread": false
1419
+ }
1420
+ ],
1421
+ "returnType": {
1422
+ "__schema": "ThisTypeSchema",
1423
+ "location": {
1424
+ "filePath": "aspect.env.ts",
1425
+ "line": 26,
1426
+ "character": 1
1380
1427
  },
1381
- "isOptional": false,
1382
- "isSpread": false
1383
- }
1384
- ],
1385
- "returnType": {
1386
- "__schema": "ThisTypeSchema",
1387
- "location": {
1388
- "filePath": "aspect.env.ts",
1389
- "line": 26,
1390
- "character": 1
1428
+ "name": "AspectEnv"
1391
1429
  },
1392
- "name": "AspectEnv"
1393
- },
1394
- "modifiers": []
1395
- },
1396
- {
1397
- "__schema": "VariableLikeSchema",
1398
- "location": {
1399
- "filePath": "aspect.env.ts",
1400
- "line": 29,
1401
- "character": 3
1430
+ "modifiers": []
1402
1431
  },
1403
- "signature": "(property) AspectEnv.icon: string",
1404
- "name": "icon",
1405
- "type": {
1406
- "__schema": "InferenceTypeSchema",
1432
+ {
1433
+ "__schema": "VariableLikeSchema",
1407
1434
  "location": {
1408
1435
  "filePath": "aspect.env.ts",
1409
1436
  "line": 29,
1410
1437
  "character": 3
1411
1438
  },
1412
- "type": "string"
1413
- },
1414
- "isOptional": true,
1415
- "defaultValue": "'https://static.bit.dev/extensions-icons/default.svg'"
1416
- },
1417
- {
1418
- "__schema": "FunctionLikeSchema",
1419
- "location": {
1420
- "filePath": "aspect.env.ts",
1421
- "line": 31,
1422
- "character": 3
1439
+ "signature": "(property) AspectEnv.icon: string",
1440
+ "name": "icon",
1441
+ "type": {
1442
+ "__schema": "InferenceTypeSchema",
1443
+ "location": {
1444
+ "filePath": "aspect.env.ts",
1445
+ "line": 29,
1446
+ "character": 3
1447
+ },
1448
+ "type": "string"
1449
+ },
1450
+ "isOptional": true,
1451
+ "defaultValue": "'https://static.bit.dev/extensions-icons/default.svg'"
1423
1452
  },
1424
- "signature": "(method) AspectEnv.__getDescriptor(): Promise<{\n type: string;\n}>",
1425
- "name": "__getDescriptor",
1426
- "params": [],
1427
- "returnType": {
1428
- "__schema": "InferenceTypeSchema",
1453
+ {
1454
+ "__schema": "FunctionLikeSchema",
1429
1455
  "location": {
1430
1456
  "filePath": "aspect.env.ts",
1431
1457
  "line": 31,
1432
1458
  "character": 3
1433
1459
  },
1434
- "type": "Promise<{\n type: string;\n}>"
1435
- },
1436
- "modifiers": [
1437
- "async"
1438
- ]
1439
- },
1440
- {
1441
- "__schema": "FunctionLikeSchema",
1442
- "location": {
1443
- "filePath": "aspect.env.ts",
1444
- "line": 37,
1445
- "character": 3
1446
- },
1447
- "signature": "(method) AspectEnv.getTsConfig(tsConfig: TsConfigSourceFile): any",
1448
- "name": "getTsConfig",
1449
- "params": [
1450
- {
1451
- "__schema": "ParameterSchema",
1460
+ "signature": "(method) AspectEnv.__getDescriptor(): Promise<{\n type: string;\n}>",
1461
+ "name": "__getDescriptor",
1462
+ "params": [],
1463
+ "returnType": {
1464
+ "__schema": "InferenceTypeSchema",
1452
1465
  "location": {
1453
1466
  "filePath": "aspect.env.ts",
1454
- "line": 37,
1455
- "character": 15
1467
+ "line": 31,
1468
+ "character": 3
1456
1469
  },
1457
- "name": "tsConfig",
1458
- "type": {
1459
- "__schema": "TypeRefSchema",
1470
+ "type": "Promise<{\n type: string;\n}>"
1471
+ },
1472
+ "modifiers": [
1473
+ "async"
1474
+ ]
1475
+ },
1476
+ {
1477
+ "__schema": "FunctionLikeSchema",
1478
+ "location": {
1479
+ "filePath": "aspect.env.ts",
1480
+ "line": 37,
1481
+ "character": 3
1482
+ },
1483
+ "signature": "(method) AspectEnv.getTsConfig(tsConfig: TsConfigSourceFile): any",
1484
+ "name": "getTsConfig",
1485
+ "params": [
1486
+ {
1487
+ "__schema": "ParameterSchema",
1460
1488
  "location": {
1461
1489
  "filePath": "aspect.env.ts",
1462
1490
  "line": 37,
1463
- "character": 25
1491
+ "character": 15
1492
+ },
1493
+ "name": "tsConfig",
1494
+ "type": {
1495
+ "__schema": "TypeRefSchema",
1496
+ "location": {
1497
+ "filePath": "aspect.env.ts",
1498
+ "line": 37,
1499
+ "character": 25
1500
+ },
1501
+ "name": "TsConfigSourceFile",
1502
+ "packageName": "typescript"
1464
1503
  },
1465
- "name": "TsConfigSourceFile",
1466
- "packageName": "typescript"
1504
+ "isOptional": false,
1505
+ "isSpread": false
1506
+ }
1507
+ ],
1508
+ "returnType": {
1509
+ "__schema": "InferenceTypeSchema",
1510
+ "location": {
1511
+ "filePath": "aspect.env.ts",
1512
+ "line": 37,
1513
+ "character": 3
1467
1514
  },
1468
- "isOptional": false,
1469
- "isSpread": false
1470
- }
1471
- ],
1472
- "returnType": {
1473
- "__schema": "InferenceTypeSchema",
1515
+ "type": "any"
1516
+ },
1517
+ "modifiers": []
1518
+ },
1519
+ {
1520
+ "__schema": "FunctionLikeSchema",
1474
1521
  "location": {
1475
1522
  "filePath": "aspect.env.ts",
1476
- "line": 37,
1523
+ "line": 44,
1477
1524
  "character": 3
1478
1525
  },
1479
- "type": "any"
1480
- },
1481
- "modifiers": []
1482
- },
1483
- {
1484
- "__schema": "FunctionLikeSchema",
1485
- "location": {
1486
- "filePath": "aspect.env.ts",
1487
- "line": 44,
1488
- "character": 3
1489
- },
1490
- "signature": "(method) AspectEnv.createTsCompiler(tsConfig: TsConfigSourceFile): Compiler",
1491
- "name": "createTsCompiler",
1492
- "params": [
1493
- {
1494
- "__schema": "ParameterSchema",
1526
+ "signature": "(method) AspectEnv.createTsCompiler(tsConfig: TsConfigSourceFile): Compiler",
1527
+ "name": "createTsCompiler",
1528
+ "params": [
1529
+ {
1530
+ "__schema": "ParameterSchema",
1531
+ "location": {
1532
+ "filePath": "aspect.env.ts",
1533
+ "line": 44,
1534
+ "character": 20
1535
+ },
1536
+ "name": "tsConfig",
1537
+ "type": {
1538
+ "__schema": "TypeRefSchema",
1539
+ "location": {
1540
+ "filePath": "aspect.env.ts",
1541
+ "line": 44,
1542
+ "character": 30
1543
+ },
1544
+ "name": "TsConfigSourceFile",
1545
+ "packageName": "typescript"
1546
+ },
1547
+ "isOptional": false,
1548
+ "isSpread": false
1549
+ }
1550
+ ],
1551
+ "returnType": {
1552
+ "__schema": "TypeRefSchema",
1495
1553
  "location": {
1496
1554
  "filePath": "aspect.env.ts",
1497
1555
  "line": 44,
1498
- "character": 20
1499
- },
1500
- "name": "tsConfig",
1501
- "type": {
1502
- "__schema": "TypeRefSchema",
1503
- "location": {
1504
- "filePath": "aspect.env.ts",
1505
- "line": 44,
1506
- "character": 30
1507
- },
1508
- "name": "TsConfigSourceFile",
1509
- "packageName": "typescript"
1556
+ "character": 3
1510
1557
  },
1511
- "isOptional": false,
1512
- "isSpread": false
1513
- }
1514
- ],
1515
- "returnType": {
1516
- "__schema": "TypeRefSchema",
1517
- "location": {
1518
- "filePath": "aspect.env.ts",
1519
- "line": 44,
1520
- "character": 3
1558
+ "name": "Compiler",
1559
+ "componentId": {
1560
+ "scope": "teambit.compilation",
1561
+ "name": "compiler"
1562
+ }
1521
1563
  },
1522
- "name": "Compiler",
1523
- "componentId": {
1524
- "scope": "teambit.compilation",
1525
- "name": "compiler"
1526
- }
1527
- },
1528
- "modifiers": []
1529
- },
1530
- {
1531
- "__schema": "FunctionLikeSchema",
1532
- "location": {
1533
- "filePath": "aspect.env.ts",
1534
- "line": 51,
1535
- "character": 3
1564
+ "modifiers": []
1536
1565
  },
1537
- "doc": {
1538
- "__schema": "DocSchema",
1566
+ {
1567
+ "__schema": "FunctionLikeSchema",
1539
1568
  "location": {
1540
1569
  "filePath": "aspect.env.ts",
1541
- "line": 48,
1570
+ "line": 51,
1542
1571
  "character": 3
1543
1572
  },
1544
- "raw": "/**\n * returns a component tester.\n */",
1545
- "comment": "returns a component tester."
1546
- },
1547
- "signature": "(method) AspectEnv.getTester(jestConfigPath: string, jestModulePath?: string): Tester",
1548
- "name": "getTester",
1549
- "params": [
1550
- {
1551
- "__schema": "ParameterSchema",
1573
+ "doc": {
1574
+ "__schema": "DocSchema",
1552
1575
  "location": {
1553
1576
  "filePath": "aspect.env.ts",
1554
- "line": 51,
1555
- "character": 13
1577
+ "line": 48,
1578
+ "character": 3
1556
1579
  },
1557
- "name": "jestConfigPath",
1558
- "type": {
1559
- "__schema": "KeywordTypeSchema",
1580
+ "raw": "/**\n * returns a component tester.\n */",
1581
+ "comment": "returns a component tester."
1582
+ },
1583
+ "signature": "(method) AspectEnv.getTester(jestConfigPath: string, jestModulePath?: string): Tester",
1584
+ "name": "getTester",
1585
+ "params": [
1586
+ {
1587
+ "__schema": "ParameterSchema",
1560
1588
  "location": {
1561
1589
  "filePath": "aspect.env.ts",
1562
1590
  "line": 51,
1563
- "character": 29
1591
+ "character": 13
1564
1592
  },
1565
- "name": "string"
1566
- },
1567
- "isOptional": false,
1568
- "isSpread": false
1569
- },
1570
- {
1571
- "__schema": "ParameterSchema",
1572
- "location": {
1573
- "filePath": "aspect.env.ts",
1574
- "line": 51,
1575
- "character": 37
1593
+ "name": "jestConfigPath",
1594
+ "type": {
1595
+ "__schema": "KeywordTypeSchema",
1596
+ "location": {
1597
+ "filePath": "aspect.env.ts",
1598
+ "line": 51,
1599
+ "character": 29
1600
+ },
1601
+ "name": "string"
1602
+ },
1603
+ "isOptional": false,
1604
+ "isSpread": false
1576
1605
  },
1577
- "name": "jestModulePath",
1578
- "type": {
1579
- "__schema": "KeywordTypeSchema",
1606
+ {
1607
+ "__schema": "ParameterSchema",
1580
1608
  "location": {
1581
1609
  "filePath": "aspect.env.ts",
1582
1610
  "line": 51,
1583
- "character": 54
1611
+ "character": 37
1584
1612
  },
1585
- "name": "string"
1613
+ "name": "jestModulePath",
1614
+ "type": {
1615
+ "__schema": "KeywordTypeSchema",
1616
+ "location": {
1617
+ "filePath": "aspect.env.ts",
1618
+ "line": 51,
1619
+ "character": 54
1620
+ },
1621
+ "name": "string"
1622
+ },
1623
+ "isOptional": true,
1624
+ "isSpread": false
1625
+ }
1626
+ ],
1627
+ "returnType": {
1628
+ "__schema": "TypeRefSchema",
1629
+ "location": {
1630
+ "filePath": "aspect.env.ts",
1631
+ "line": 51,
1632
+ "character": 3
1586
1633
  },
1587
- "isOptional": true,
1588
- "isSpread": false
1589
- }
1590
- ],
1591
- "returnType": {
1592
- "__schema": "TypeRefSchema",
1634
+ "name": "Tester",
1635
+ "componentId": {
1636
+ "scope": "teambit.defender",
1637
+ "name": "tester"
1638
+ }
1639
+ },
1640
+ "modifiers": []
1641
+ },
1642
+ {
1643
+ "__schema": "FunctionLikeSchema",
1593
1644
  "location": {
1594
1645
  "filePath": "aspect.env.ts",
1595
- "line": 51,
1646
+ "line": 56,
1596
1647
  "character": 3
1597
1648
  },
1598
- "name": "Tester",
1599
- "componentId": {
1600
- "scope": "teambit.defender",
1601
- "name": "tester"
1602
- }
1603
- },
1604
- "modifiers": []
1605
- },
1606
- {
1607
- "__schema": "FunctionLikeSchema",
1608
- "location": {
1609
- "filePath": "aspect.env.ts",
1610
- "line": 56,
1611
- "character": 3
1612
- },
1613
- "signature": "(method) AspectEnv.getTemplateBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
1614
- "name": "getTemplateBundler",
1615
- "params": [
1616
- {
1617
- "__schema": "ParameterSchema",
1618
- "location": {
1619
- "filePath": "aspect.env.ts",
1620
- "line": 56,
1621
- "character": 28
1622
- },
1623
- "name": "context",
1624
- "type": {
1625
- "__schema": "TypeRefSchema",
1626
- "location": {
1627
- "filePath": "aspect.env.ts",
1628
- "line": 56,
1629
- "character": 37
1630
- },
1631
- "name": "BundlerContext",
1632
- "componentId": {
1633
- "scope": "teambit.compilation",
1634
- "name": "bundler"
1635
- }
1636
- },
1637
- "isOptional": false,
1638
- "isSpread": false
1639
- },
1640
- {
1641
- "__schema": "ParameterSchema",
1642
- "location": {
1643
- "filePath": "aspect.env.ts",
1644
- "line": 56,
1645
- "character": 53
1646
- },
1647
- "name": "transformers",
1648
- "type": {
1649
- "__schema": "TypeArraySchema",
1649
+ "signature": "(method) AspectEnv.getTemplateBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
1650
+ "name": "getTemplateBundler",
1651
+ "params": [
1652
+ {
1653
+ "__schema": "ParameterSchema",
1650
1654
  "location": {
1651
1655
  "filePath": "aspect.env.ts",
1652
1656
  "line": 56,
1653
- "character": 67
1657
+ "character": 28
1654
1658
  },
1659
+ "name": "context",
1655
1660
  "type": {
1656
1661
  "__schema": "TypeRefSchema",
1657
1662
  "location": {
1658
1663
  "filePath": "aspect.env.ts",
1659
1664
  "line": 56,
1660
- "character": 67
1665
+ "character": 37
1661
1666
  },
1662
- "name": "WebpackConfigTransformer",
1667
+ "name": "BundlerContext",
1663
1668
  "componentId": {
1664
- "scope": "teambit.webpack",
1665
- "name": "webpack"
1669
+ "scope": "teambit.compilation",
1670
+ "name": "bundler"
1666
1671
  }
1667
- }
1672
+ },
1673
+ "isOptional": false,
1674
+ "isSpread": false
1668
1675
  },
1669
- "isOptional": true,
1670
- "defaultValue": "[]",
1671
- "isSpread": false
1672
- }
1673
- ],
1674
- "returnType": {
1675
- "__schema": "TypeRefSchema",
1676
- "location": {
1677
- "filePath": "aspect.env.ts",
1678
- "line": 56,
1679
- "character": 101
1680
- },
1681
- "name": "Promise",
1682
- "typeArgs": [
1683
1676
  {
1684
- "__schema": "TypeRefSchema",
1677
+ "__schema": "ParameterSchema",
1685
1678
  "location": {
1686
1679
  "filePath": "aspect.env.ts",
1687
1680
  "line": 56,
1688
- "character": 109
1681
+ "character": 53
1689
1682
  },
1690
- "name": "Bundler",
1691
- "componentId": {
1692
- "scope": "teambit.compilation",
1693
- "name": "bundler"
1694
- }
1683
+ "name": "transformers",
1684
+ "type": {
1685
+ "__schema": "TypeArraySchema",
1686
+ "location": {
1687
+ "filePath": "aspect.env.ts",
1688
+ "line": 56,
1689
+ "character": 67
1690
+ },
1691
+ "type": {
1692
+ "__schema": "TypeRefSchema",
1693
+ "location": {
1694
+ "filePath": "aspect.env.ts",
1695
+ "line": 56,
1696
+ "character": 67
1697
+ },
1698
+ "name": "WebpackConfigTransformer",
1699
+ "componentId": {
1700
+ "scope": "teambit.webpack",
1701
+ "name": "webpack"
1702
+ }
1703
+ }
1704
+ },
1705
+ "isOptional": true,
1706
+ "defaultValue": "[]",
1707
+ "isSpread": false
1695
1708
  }
1696
- ]
1697
- },
1698
- "modifiers": [
1699
- "async"
1700
- ]
1701
- },
1702
- {
1703
- "__schema": "FunctionLikeSchema",
1704
- "location": {
1705
- "filePath": "aspect.env.ts",
1706
- "line": 60,
1707
- "character": 3
1708
- },
1709
- "signature": "(method) AspectEnv.createTemplateWebpackBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
1710
- "name": "createTemplateWebpackBundler",
1711
- "params": [
1712
- {
1713
- "__schema": "ParameterSchema",
1709
+ ],
1710
+ "returnType": {
1711
+ "__schema": "TypeRefSchema",
1714
1712
  "location": {
1715
1713
  "filePath": "aspect.env.ts",
1716
- "line": 61,
1717
- "character": 5
1714
+ "line": 56,
1715
+ "character": 101
1718
1716
  },
1719
- "name": "context",
1720
- "type": {
1721
- "__schema": "TypeRefSchema",
1717
+ "name": "Promise",
1718
+ "typeArgs": [
1719
+ {
1720
+ "__schema": "TypeRefSchema",
1721
+ "location": {
1722
+ "filePath": "aspect.env.ts",
1723
+ "line": 56,
1724
+ "character": 109
1725
+ },
1726
+ "name": "Bundler",
1727
+ "componentId": {
1728
+ "scope": "teambit.compilation",
1729
+ "name": "bundler"
1730
+ }
1731
+ }
1732
+ ]
1733
+ },
1734
+ "modifiers": [
1735
+ "async"
1736
+ ]
1737
+ },
1738
+ {
1739
+ "__schema": "FunctionLikeSchema",
1740
+ "location": {
1741
+ "filePath": "aspect.env.ts",
1742
+ "line": 60,
1743
+ "character": 3
1744
+ },
1745
+ "signature": "(method) AspectEnv.createTemplateWebpackBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
1746
+ "name": "createTemplateWebpackBundler",
1747
+ "params": [
1748
+ {
1749
+ "__schema": "ParameterSchema",
1722
1750
  "location": {
1723
1751
  "filePath": "aspect.env.ts",
1724
1752
  "line": 61,
1725
- "character": 14
1753
+ "character": 5
1726
1754
  },
1727
- "name": "BundlerContext",
1728
- "componentId": {
1729
- "scope": "teambit.compilation",
1730
- "name": "bundler"
1731
- }
1732
- },
1733
- "isOptional": false,
1734
- "isSpread": false
1735
- },
1736
- {
1737
- "__schema": "ParameterSchema",
1738
- "location": {
1739
- "filePath": "aspect.env.ts",
1740
- "line": 62,
1741
- "character": 5
1755
+ "name": "context",
1756
+ "type": {
1757
+ "__schema": "TypeRefSchema",
1758
+ "location": {
1759
+ "filePath": "aspect.env.ts",
1760
+ "line": 61,
1761
+ "character": 14
1762
+ },
1763
+ "name": "BundlerContext",
1764
+ "componentId": {
1765
+ "scope": "teambit.compilation",
1766
+ "name": "bundler"
1767
+ }
1768
+ },
1769
+ "isOptional": false,
1770
+ "isSpread": false
1742
1771
  },
1743
- "name": "transformers",
1744
- "type": {
1745
- "__schema": "TypeArraySchema",
1772
+ {
1773
+ "__schema": "ParameterSchema",
1746
1774
  "location": {
1747
1775
  "filePath": "aspect.env.ts",
1748
1776
  "line": 62,
1749
- "character": 19
1777
+ "character": 5
1750
1778
  },
1779
+ "name": "transformers",
1751
1780
  "type": {
1752
- "__schema": "TypeRefSchema",
1781
+ "__schema": "TypeArraySchema",
1753
1782
  "location": {
1754
1783
  "filePath": "aspect.env.ts",
1755
1784
  "line": 62,
1756
1785
  "character": 19
1757
1786
  },
1758
- "name": "WebpackConfigTransformer",
1787
+ "type": {
1788
+ "__schema": "TypeRefSchema",
1789
+ "location": {
1790
+ "filePath": "aspect.env.ts",
1791
+ "line": 62,
1792
+ "character": 19
1793
+ },
1794
+ "name": "WebpackConfigTransformer",
1795
+ "componentId": {
1796
+ "scope": "teambit.webpack",
1797
+ "name": "webpack"
1798
+ }
1799
+ }
1800
+ },
1801
+ "isOptional": true,
1802
+ "defaultValue": "[]",
1803
+ "isSpread": false
1804
+ }
1805
+ ],
1806
+ "returnType": {
1807
+ "__schema": "TypeRefSchema",
1808
+ "location": {
1809
+ "filePath": "aspect.env.ts",
1810
+ "line": 63,
1811
+ "character": 6
1812
+ },
1813
+ "name": "Promise",
1814
+ "typeArgs": [
1815
+ {
1816
+ "__schema": "TypeRefSchema",
1817
+ "location": {
1818
+ "filePath": "aspect.env.ts",
1819
+ "line": 63,
1820
+ "character": 14
1821
+ },
1822
+ "name": "Bundler",
1759
1823
  "componentId": {
1760
- "scope": "teambit.webpack",
1761
- "name": "webpack"
1824
+ "scope": "teambit.compilation",
1825
+ "name": "bundler"
1762
1826
  }
1763
1827
  }
1764
- },
1765
- "isOptional": true,
1766
- "defaultValue": "[]",
1767
- "isSpread": false
1768
- }
1769
- ],
1770
- "returnType": {
1771
- "__schema": "TypeRefSchema",
1772
- "location": {
1773
- "filePath": "aspect.env.ts",
1774
- "line": 63,
1775
- "character": 6
1828
+ ]
1776
1829
  },
1777
- "name": "Promise",
1778
- "typeArgs": [
1779
- {
1780
- "__schema": "TypeRefSchema",
1781
- "location": {
1782
- "filePath": "aspect.env.ts",
1783
- "line": 63,
1784
- "character": 14
1785
- },
1786
- "name": "Bundler",
1787
- "componentId": {
1788
- "scope": "teambit.compilation",
1789
- "name": "bundler"
1790
- }
1791
- }
1830
+ "modifiers": [
1831
+ "async"
1792
1832
  ]
1793
1833
  },
1794
- "modifiers": [
1795
- "async"
1796
- ]
1797
- },
1798
- {
1799
- "__schema": "FunctionLikeSchema",
1800
- "location": {
1801
- "filePath": "aspect.env.ts",
1802
- "line": 67,
1803
- "character": 3
1804
- },
1805
- "signature": "(method) AspectEnv.getPackageJsonProps(): PackageJsonProps",
1806
- "name": "getPackageJsonProps",
1807
- "params": [],
1808
- "returnType": {
1809
- "__schema": "TypeRefSchema",
1834
+ {
1835
+ "__schema": "FunctionLikeSchema",
1810
1836
  "location": {
1811
1837
  "filePath": "aspect.env.ts",
1812
1838
  "line": 67,
1813
1839
  "character": 3
1814
1840
  },
1815
- "name": "PackageJsonProps",
1816
- "componentId": {
1817
- "scope": "teambit.pkg",
1818
- "name": "pkg"
1819
- }
1820
- },
1821
- "modifiers": []
1822
- },
1823
- {
1824
- "__schema": "FunctionLikeSchema",
1825
- "location": {
1826
- "filePath": "aspect.env.ts",
1827
- "line": 80,
1828
- "character": 3
1841
+ "signature": "(method) AspectEnv.getPackageJsonProps(): PackageJsonProps",
1842
+ "name": "getPackageJsonProps",
1843
+ "params": [],
1844
+ "returnType": {
1845
+ "__schema": "TypeRefSchema",
1846
+ "location": {
1847
+ "filePath": "aspect.env.ts",
1848
+ "line": 67,
1849
+ "character": 3
1850
+ },
1851
+ "name": "PackageJsonProps",
1852
+ "componentId": {
1853
+ "scope": "teambit.pkg",
1854
+ "name": "pkg"
1855
+ }
1856
+ },
1857
+ "modifiers": []
1829
1858
  },
1830
- "signature": "(method) AspectEnv.getNpmIgnore(): string[]",
1831
- "name": "getNpmIgnore",
1832
- "params": [],
1833
- "returnType": {
1834
- "__schema": "InferenceTypeSchema",
1859
+ {
1860
+ "__schema": "FunctionLikeSchema",
1835
1861
  "location": {
1836
1862
  "filePath": "aspect.env.ts",
1837
1863
  "line": 80,
1838
1864
  "character": 3
1839
1865
  },
1840
- "type": "string[]"
1841
- },
1842
- "modifiers": []
1843
- },
1844
- {
1845
- "__schema": "FunctionLikeSchema",
1846
- "location": {
1847
- "filePath": "aspect.env.ts",
1848
- "line": 84,
1849
- "character": 3
1866
+ "signature": "(method) AspectEnv.getNpmIgnore(): string[]",
1867
+ "name": "getNpmIgnore",
1868
+ "params": [],
1869
+ "returnType": {
1870
+ "__schema": "InferenceTypeSchema",
1871
+ "location": {
1872
+ "filePath": "aspect.env.ts",
1873
+ "line": 80,
1874
+ "character": 3
1875
+ },
1876
+ "type": "string[]"
1877
+ },
1878
+ "modifiers": []
1850
1879
  },
1851
- "signature": "(method) AspectEnv.getPreviewConfig(): {\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}",
1852
- "name": "getPreviewConfig",
1853
- "params": [],
1854
- "returnType": {
1855
- "__schema": "InferenceTypeSchema",
1880
+ {
1881
+ "__schema": "FunctionLikeSchema",
1856
1882
  "location": {
1857
1883
  "filePath": "aspect.env.ts",
1858
1884
  "line": 84,
1859
1885
  "character": 3
1860
1886
  },
1861
- "type": "{\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}"
1862
- },
1863
- "modifiers": []
1864
- },
1865
- {
1866
- "__schema": "FunctionLikeSchema",
1867
- "location": {
1868
- "filePath": "aspect.env.ts",
1869
- "line": 91,
1870
- "character": 3
1887
+ "signature": "(method) AspectEnv.getPreviewConfig(): {\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}",
1888
+ "name": "getPreviewConfig",
1889
+ "params": [],
1890
+ "returnType": {
1891
+ "__schema": "InferenceTypeSchema",
1892
+ "location": {
1893
+ "filePath": "aspect.env.ts",
1894
+ "line": 84,
1895
+ "character": 3
1896
+ },
1897
+ "type": "{\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}"
1898
+ },
1899
+ "modifiers": []
1871
1900
  },
1872
- "signature": "(method) AspectEnv.getDependencies(): Promise<{\n dependencies: {\n react: string;\n 'react-dom': string;\n 'core-js': string;\n '@babel/runtime': string;\n };\n devDependencies: {\n react: string;\n 'react-dom': string;\n '@types/mocha': string;\n '@types/node': string;\n '@types/react': string;\n '@types/react-dom': string;\n '@types/jest': string;\n '@types/testing-library__jest-dom': string;\n };\n peerDependencies: {\n ...;\n };\n}>",
1873
- "name": "getDependencies",
1874
- "params": [],
1875
- "returnType": {
1876
- "__schema": "InferenceTypeSchema",
1901
+ {
1902
+ "__schema": "FunctionLikeSchema",
1877
1903
  "location": {
1878
1904
  "filePath": "aspect.env.ts",
1879
1905
  "line": 91,
1880
1906
  "character": 3
1881
1907
  },
1882
- "type": "Promise<{\n dependencies: {\n react: string;\n 'react-dom': string;\n 'core-js': string;\n '@babel/runtime': string;\n };\n devDependencies: {\n react: string;\n 'react-dom': string;\n '@types/mocha': string;\n '@types/node': string;\n '@types/react': string;\n '@types/react-dom': string;\n '@types/jest': string;\n '@types/testing-library__jest-dom': string;\n };\n peerDependencies: {\n ...;\n };\n}>"
1883
- },
1884
- "modifiers": [
1885
- "async"
1886
- ]
1887
- },
1888
- {
1889
- "__schema": "FunctionLikeSchema",
1890
- "location": {
1891
- "filePath": "aspect.env.ts",
1892
- "line": 119,
1893
- "character": 3
1908
+ "signature": "(method) AspectEnv.getDependencies(): Promise<{\n dependencies: {\n react: string;\n 'react-dom': string;\n 'core-js': string;\n '@babel/runtime': string;\n };\n devDependencies: {\n react: string;\n 'react-dom': string;\n '@types/mocha': string;\n '@types/node': string;\n '@types/react': string;\n '@types/react-dom': string;\n '@types/jest': string;\n '@types/testing-library__jest-dom': string;\n };\n peerDependencies: {\n ...;\n };\n}>",
1909
+ "name": "getDependencies",
1910
+ "params": [],
1911
+ "returnType": {
1912
+ "__schema": "InferenceTypeSchema",
1913
+ "location": {
1914
+ "filePath": "aspect.env.ts",
1915
+ "line": 91,
1916
+ "character": 3
1917
+ },
1918
+ "type": "Promise<{\n dependencies: {\n react: string;\n 'react-dom': string;\n 'core-js': string;\n '@babel/runtime': string;\n };\n devDependencies: {\n react: string;\n 'react-dom': string;\n '@types/mocha': string;\n '@types/node': string;\n '@types/react': string;\n '@types/react-dom': string;\n '@types/jest': string;\n '@types/testing-library__jest-dom': string;\n };\n peerDependencies: {\n ...;\n };\n}>"
1919
+ },
1920
+ "modifiers": [
1921
+ "async"
1922
+ ]
1894
1923
  },
1895
- "signature": "(method) AspectEnv.workspaceConfig(): ConfigWriterEntry[]",
1896
- "name": "workspaceConfig",
1897
- "params": [],
1898
- "returnType": {
1899
- "__schema": "TypeArraySchema",
1924
+ {
1925
+ "__schema": "FunctionLikeSchema",
1900
1926
  "location": {
1901
1927
  "filePath": "aspect.env.ts",
1902
1928
  "line": 119,
1903
- "character": 22
1929
+ "character": 3
1904
1930
  },
1905
- "type": {
1906
- "__schema": "TypeRefSchema",
1931
+ "signature": "(method) AspectEnv.workspaceConfig(): ConfigWriterEntry[]",
1932
+ "name": "workspaceConfig",
1933
+ "params": [],
1934
+ "returnType": {
1935
+ "__schema": "TypeArraySchema",
1907
1936
  "location": {
1908
1937
  "filePath": "aspect.env.ts",
1909
1938
  "line": 119,
1910
1939
  "character": 22
1911
1940
  },
1912
- "name": "ConfigWriterEntry",
1913
- "componentId": {
1914
- "scope": "teambit.workspace",
1915
- "name": "workspace-config-files"
1941
+ "type": {
1942
+ "__schema": "TypeRefSchema",
1943
+ "location": {
1944
+ "filePath": "aspect.env.ts",
1945
+ "line": 119,
1946
+ "character": 22
1947
+ },
1948
+ "name": "ConfigWriterEntry",
1949
+ "componentId": {
1950
+ "scope": "teambit.workspace",
1951
+ "name": "workspace-config-files"
1952
+ }
1916
1953
  }
1917
- }
1918
- },
1919
- "modifiers": []
1920
- }
1921
- ],
1922
- "extendsNodes": [],
1923
- "implementNodes": [
1924
- {
1925
- "__schema": "ExpressionWithTypeArgumentsSchema",
1926
- "location": {
1927
- "filePath": "aspect.env.ts",
1928
- "line": 26,
1929
- "character": 35
1930
- },
1931
- "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
1932
- "typeArgs": [],
1933
- "expression": {
1934
- "__schema": "TypeRefSchema",
1954
+ },
1955
+ "modifiers": []
1956
+ }
1957
+ ],
1958
+ "extendsNodes": [],
1959
+ "implementNodes": [
1960
+ {
1961
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1935
1962
  "location": {
1936
1963
  "filePath": "aspect.env.ts",
1937
1964
  "line": 26,
1938
1965
  "character": 35
1939
1966
  },
1940
- "name": "DependenciesEnv",
1941
- "componentId": {
1942
- "_legacy": {
1943
- "scope": "teambit.harmony",
1944
- "name": "aspect",
1945
- "version": "1.0.257"
1967
+ "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
1968
+ "typeArgs": [],
1969
+ "expression": {
1970
+ "__schema": "TypeRefSchema",
1971
+ "location": {
1972
+ "filePath": "aspect.env.ts",
1973
+ "line": 26,
1974
+ "character": 35
1946
1975
  },
1947
- "_scope": "teambit.harmony"
1976
+ "name": "DependenciesEnv",
1977
+ "componentId": {
1978
+ "_legacy": {
1979
+ "scope": "teambit.harmony",
1980
+ "name": "aspect",
1981
+ "version": "1.0.259"
1982
+ },
1983
+ "_scope": "teambit.harmony"
1984
+ }
1948
1985
  }
1949
- }
1950
- },
1951
- {
1952
- "__schema": "ExpressionWithTypeArgumentsSchema",
1953
- "location": {
1954
- "filePath": "aspect.env.ts",
1955
- "line": 26,
1956
- "character": 52
1957
1986
  },
1958
- "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
1959
- "typeArgs": [],
1960
- "expression": {
1961
- "__schema": "TypeRefSchema",
1987
+ {
1988
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1962
1989
  "location": {
1963
1990
  "filePath": "aspect.env.ts",
1964
1991
  "line": 26,
1965
1992
  "character": 52
1966
1993
  },
1967
- "name": "PackageEnv",
1968
- "componentId": {
1969
- "_legacy": {
1970
- "scope": "teambit.harmony",
1971
- "name": "aspect",
1972
- "version": "1.0.257"
1994
+ "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
1995
+ "typeArgs": [],
1996
+ "expression": {
1997
+ "__schema": "TypeRefSchema",
1998
+ "location": {
1999
+ "filePath": "aspect.env.ts",
2000
+ "line": 26,
2001
+ "character": 52
1973
2002
  },
1974
- "_scope": "teambit.harmony"
2003
+ "name": "PackageEnv",
2004
+ "componentId": {
2005
+ "_legacy": {
2006
+ "scope": "teambit.harmony",
2007
+ "name": "aspect",
2008
+ "version": "1.0.259"
2009
+ },
2010
+ "_scope": "teambit.harmony"
2011
+ }
1975
2012
  }
1976
- }
1977
- },
1978
- {
1979
- "__schema": "ExpressionWithTypeArgumentsSchema",
1980
- "location": {
1981
- "filePath": "aspect.env.ts",
1982
- "line": 26,
1983
- "character": 64
1984
2013
  },
1985
- "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
1986
- "typeArgs": [],
1987
- "expression": {
1988
- "__schema": "TypeRefSchema",
2014
+ {
2015
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1989
2016
  "location": {
1990
2017
  "filePath": "aspect.env.ts",
1991
2018
  "line": 26,
1992
2019
  "character": 64
1993
2020
  },
1994
- "name": "PreviewEnv",
1995
- "componentId": {
1996
- "_legacy": {
1997
- "scope": "teambit.harmony",
1998
- "name": "aspect",
1999
- "version": "1.0.257"
2021
+ "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
2022
+ "typeArgs": [],
2023
+ "expression": {
2024
+ "__schema": "TypeRefSchema",
2025
+ "location": {
2026
+ "filePath": "aspect.env.ts",
2027
+ "line": 26,
2028
+ "character": 64
2000
2029
  },
2001
- "_scope": "teambit.harmony"
2030
+ "name": "PreviewEnv",
2031
+ "componentId": {
2032
+ "_legacy": {
2033
+ "scope": "teambit.harmony",
2034
+ "name": "aspect",
2035
+ "version": "1.0.259"
2036
+ },
2037
+ "_scope": "teambit.harmony"
2038
+ }
2002
2039
  }
2003
2040
  }
2004
- }
2005
- ]
2041
+ ]
2042
+ }
2006
2043
  }
2007
2044
  ],
2008
2045
  "internals": []
@@ -4095,7 +4132,7 @@
4095
4132
  "_legacy": {
4096
4133
  "scope": "teambit.harmony",
4097
4134
  "name": "aspect",
4098
- "version": "1.0.257"
4135
+ "version": "1.0.259"
4099
4136
  },
4100
4137
  "_scope": "teambit.harmony"
4101
4138
  }
@@ -4122,7 +4159,7 @@
4122
4159
  "_legacy": {
4123
4160
  "scope": "teambit.harmony",
4124
4161
  "name": "aspect",
4125
- "version": "1.0.257"
4162
+ "version": "1.0.259"
4126
4163
  },
4127
4164
  "_scope": "teambit.harmony"
4128
4165
  }
@@ -4149,7 +4186,7 @@
4149
4186
  "_legacy": {
4150
4187
  "scope": "teambit.harmony",
4151
4188
  "name": "aspect",
4152
- "version": "1.0.257"
4189
+ "version": "1.0.259"
4153
4190
  },
4154
4191
  "_scope": "teambit.harmony"
4155
4192
  }
@@ -4197,7 +4234,7 @@
4197
4234
  "componentId": {
4198
4235
  "scope": "teambit.harmony",
4199
4236
  "name": "aspect",
4200
- "version": "1.0.257"
4237
+ "version": "1.0.259"
4201
4238
  },
4202
4239
  "taggedModuleExports": []
4203
4240
  }