@teambit/component-writer 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,481 +14,753 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "component-writer.main.runtime.ts",
20
- "line": 44,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 4,
21
+ "character": 3
22
22
  },
23
- "signature": "class ComponentWriterMain",
24
23
  "name": "ComponentWriterMain",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "component-writer.main.runtime.ts",
30
- "line": 45,
31
- "character": 3
32
- },
33
- "signature": "constructor ComponentWriterMain(installer: InstallMain, compiler: CompilerMain, workspace: Workspace, logger: Logger, mover: MoverMain, configMerge: ConfigMergerMain): ComponentWriterMain",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "component-writer.main.runtime.ts",
40
- "line": 46,
41
- "character": 5
42
- },
43
- "name": "installer",
44
- "type": {
45
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "component-writer.main.runtime.ts",
28
+ "line": 44,
29
+ "character": 1
30
+ },
31
+ "signature": "class ComponentWriterMain",
32
+ "name": "ComponentWriterMain",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "component-writer.main.runtime.ts",
38
+ "line": 45,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor ComponentWriterMain(installer: InstallMain, compiler: CompilerMain, workspace: Workspace, logger: Logger, mover: MoverMain, configMerge: ConfigMergerMain): ComponentWriterMain",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "component-writer.main.runtime.ts",
48
48
  "line": 46,
49
- "character": 24
49
+ "character": 5
50
50
  },
51
- "name": "InstallMain",
52
- "componentId": {
53
- "scope": "teambit.workspace",
54
- "name": "install"
55
- }
51
+ "name": "installer",
52
+ "type": {
53
+ "__schema": "TypeRefSchema",
54
+ "location": {
55
+ "filePath": "component-writer.main.runtime.ts",
56
+ "line": 46,
57
+ "character": 24
58
+ },
59
+ "name": "InstallMain",
60
+ "componentId": {
61
+ "scope": "teambit.workspace",
62
+ "name": "install"
63
+ }
64
+ },
65
+ "isOptional": false,
66
+ "isSpread": false
67
+ },
68
+ {
69
+ "__schema": "ParameterSchema",
70
+ "location": {
71
+ "filePath": "component-writer.main.runtime.ts",
72
+ "line": 47,
73
+ "character": 5
74
+ },
75
+ "name": "compiler",
76
+ "type": {
77
+ "__schema": "TypeRefSchema",
78
+ "location": {
79
+ "filePath": "component-writer.main.runtime.ts",
80
+ "line": 47,
81
+ "character": 23
82
+ },
83
+ "name": "CompilerMain",
84
+ "componentId": {
85
+ "scope": "teambit.compilation",
86
+ "name": "compiler"
87
+ }
88
+ },
89
+ "isOptional": false,
90
+ "isSpread": false
91
+ },
92
+ {
93
+ "__schema": "ParameterSchema",
94
+ "location": {
95
+ "filePath": "component-writer.main.runtime.ts",
96
+ "line": 48,
97
+ "character": 5
98
+ },
99
+ "name": "workspace",
100
+ "type": {
101
+ "__schema": "TypeRefSchema",
102
+ "location": {
103
+ "filePath": "component-writer.main.runtime.ts",
104
+ "line": 48,
105
+ "character": 24
106
+ },
107
+ "name": "Workspace",
108
+ "componentId": {
109
+ "scope": "teambit.workspace",
110
+ "name": "workspace"
111
+ }
112
+ },
113
+ "isOptional": false,
114
+ "isSpread": false
115
+ },
116
+ {
117
+ "__schema": "ParameterSchema",
118
+ "location": {
119
+ "filePath": "component-writer.main.runtime.ts",
120
+ "line": 49,
121
+ "character": 5
122
+ },
123
+ "name": "logger",
124
+ "type": {
125
+ "__schema": "TypeRefSchema",
126
+ "location": {
127
+ "filePath": "component-writer.main.runtime.ts",
128
+ "line": 49,
129
+ "character": 21
130
+ },
131
+ "name": "Logger",
132
+ "componentId": {
133
+ "scope": "teambit.harmony",
134
+ "name": "logger"
135
+ }
136
+ },
137
+ "isOptional": false,
138
+ "isSpread": false
139
+ },
140
+ {
141
+ "__schema": "ParameterSchema",
142
+ "location": {
143
+ "filePath": "component-writer.main.runtime.ts",
144
+ "line": 50,
145
+ "character": 5
146
+ },
147
+ "name": "mover",
148
+ "type": {
149
+ "__schema": "TypeRefSchema",
150
+ "location": {
151
+ "filePath": "component-writer.main.runtime.ts",
152
+ "line": 50,
153
+ "character": 20
154
+ },
155
+ "name": "MoverMain",
156
+ "componentId": {
157
+ "scope": "teambit.component",
158
+ "name": "mover"
159
+ }
160
+ },
161
+ "isOptional": false,
162
+ "isSpread": false
163
+ },
164
+ {
165
+ "__schema": "ParameterSchema",
166
+ "location": {
167
+ "filePath": "component-writer.main.runtime.ts",
168
+ "line": 51,
169
+ "character": 5
170
+ },
171
+ "name": "configMerge",
172
+ "type": {
173
+ "__schema": "TypeRefSchema",
174
+ "location": {
175
+ "filePath": "component-writer.main.runtime.ts",
176
+ "line": 51,
177
+ "character": 26
178
+ },
179
+ "name": "ConfigMergerMain",
180
+ "componentId": {
181
+ "scope": "teambit.workspace",
182
+ "name": "config-merger"
183
+ }
184
+ },
185
+ "isOptional": false,
186
+ "isSpread": false
187
+ }
188
+ ],
189
+ "returnType": {
190
+ "__schema": "ThisTypeSchema",
191
+ "location": {
192
+ "filePath": "component-writer.main.runtime.ts",
193
+ "line": 44,
194
+ "character": 1
56
195
  },
57
- "isOptional": false,
58
- "isSpread": false
196
+ "name": "ComponentWriterMain"
59
197
  },
60
- {
61
- "__schema": "ParameterSchema",
198
+ "modifiers": []
199
+ },
200
+ {
201
+ "__schema": "GetAccessorSchema",
202
+ "location": {
203
+ "filePath": "component-writer.main.runtime.ts",
204
+ "line": 54,
205
+ "character": 3
206
+ },
207
+ "signature": "(getter) ComponentWriterMain.consumer: Consumer",
208
+ "name": "consumer",
209
+ "type": {
210
+ "__schema": "TypeRefSchema",
62
211
  "location": {
63
212
  "filePath": "component-writer.main.runtime.ts",
64
- "line": 47,
65
- "character": 5
213
+ "line": 54,
214
+ "character": 3
66
215
  },
67
- "name": "compiler",
68
- "type": {
69
- "__schema": "TypeRefSchema",
216
+ "name": "Consumer",
217
+ "packageName": "@teambit/legacy/dist/consumer/consumer"
218
+ }
219
+ },
220
+ {
221
+ "__schema": "FunctionLikeSchema",
222
+ "location": {
223
+ "filePath": "component-writer.main.runtime.ts",
224
+ "line": 58,
225
+ "character": 3
226
+ },
227
+ "signature": "(method) ComponentWriterMain.writeMany(opts: ManyComponentsWriterParams): Promise<ComponentWriterResults>",
228
+ "name": "writeMany",
229
+ "params": [
230
+ {
231
+ "__schema": "ParameterSchema",
70
232
  "location": {
71
233
  "filePath": "component-writer.main.runtime.ts",
72
- "line": 47,
73
- "character": 23
234
+ "line": 58,
235
+ "character": 19
74
236
  },
75
- "name": "CompilerMain",
76
- "componentId": {
77
- "scope": "teambit.compilation",
78
- "name": "compiler"
237
+ "name": "opts",
238
+ "type": {
239
+ "__schema": "TypeRefSchema",
240
+ "location": {
241
+ "filePath": "component-writer.main.runtime.ts",
242
+ "line": 58,
243
+ "character": 25
244
+ },
245
+ "name": "ManyComponentsWriterParams"
246
+ },
247
+ "isOptional": false,
248
+ "isSpread": false
249
+ }
250
+ ],
251
+ "returnType": {
252
+ "__schema": "TypeRefSchema",
253
+ "location": {
254
+ "filePath": "component-writer.main.runtime.ts",
255
+ "line": 58,
256
+ "character": 54
257
+ },
258
+ "name": "Promise",
259
+ "typeArgs": [
260
+ {
261
+ "__schema": "TypeRefSchema",
262
+ "location": {
263
+ "filePath": "component-writer.main.runtime.ts",
264
+ "line": 58,
265
+ "character": 62
266
+ },
267
+ "name": "ComponentWriterResults"
79
268
  }
269
+ ]
270
+ },
271
+ "modifiers": [
272
+ "async"
273
+ ]
274
+ },
275
+ {
276
+ "__schema": "VariableLikeSchema",
277
+ "location": {
278
+ "filePath": "component-writer.main.runtime.ts",
279
+ "line": 296,
280
+ "character": 3
281
+ },
282
+ "signature": "(property) ComponentWriterMain.slots: never[]",
283
+ "name": "slots",
284
+ "type": {
285
+ "__schema": "InferenceTypeSchema",
286
+ "location": {
287
+ "filePath": "component-writer.main.runtime.ts",
288
+ "line": 296,
289
+ "character": 3
80
290
  },
81
- "isOptional": false,
82
- "isSpread": false
291
+ "type": "never[]"
83
292
  },
84
- {
85
- "__schema": "ParameterSchema",
293
+ "isOptional": true,
294
+ "defaultValue": "[]"
295
+ },
296
+ {
297
+ "__schema": "VariableLikeSchema",
298
+ "location": {
299
+ "filePath": "component-writer.main.runtime.ts",
300
+ "line": 297,
301
+ "character": 3
302
+ },
303
+ "signature": "(property) ComponentWriterMain.dependencies: Aspect[]",
304
+ "name": "dependencies",
305
+ "type": {
306
+ "__schema": "InferenceTypeSchema",
86
307
  "location": {
87
308
  "filePath": "component-writer.main.runtime.ts",
88
- "line": 48,
89
- "character": 5
309
+ "line": 297,
310
+ "character": 3
90
311
  },
91
- "name": "workspace",
92
- "type": {
93
- "__schema": "TypeRefSchema",
312
+ "type": "Aspect[]"
313
+ },
314
+ "isOptional": true,
315
+ "defaultValue": "[InstallAspect, CompilerAspect, LoggerAspect, WorkspaceAspect, MoverAspect, ConfigMergerAspect]"
316
+ },
317
+ {
318
+ "__schema": "VariableLikeSchema",
319
+ "location": {
320
+ "filePath": "component-writer.main.runtime.ts",
321
+ "line": 298,
322
+ "character": 3
323
+ },
324
+ "signature": "(property) ComponentWriterMain.runtime: RuntimeDefinition",
325
+ "name": "runtime",
326
+ "type": {
327
+ "__schema": "InferenceTypeSchema",
328
+ "location": {
329
+ "filePath": "component-writer.main.runtime.ts",
330
+ "line": 298,
331
+ "character": 3
332
+ },
333
+ "type": "RuntimeDefinition"
334
+ },
335
+ "isOptional": true,
336
+ "defaultValue": "MainRuntime"
337
+ },
338
+ {
339
+ "__schema": "FunctionLikeSchema",
340
+ "location": {
341
+ "filePath": "component-writer.main.runtime.ts",
342
+ "line": 299,
343
+ "character": 3
344
+ },
345
+ "signature": "(method) ComponentWriterMain.provider([install, compiler, loggerMain, workspace, mover, configMerger]: [\n InstallMain,\n CompilerMain,\n LoggerMain,\n Workspace,\n MoverMain,\n ConfigMergerMain\n]): Promise<ComponentWriterMain>",
346
+ "name": "provider",
347
+ "params": [
348
+ {
349
+ "__schema": "ParameterSchema",
94
350
  "location": {
95
351
  "filePath": "component-writer.main.runtime.ts",
96
- "line": 48,
97
- "character": 24
352
+ "line": 299,
353
+ "character": 25
98
354
  },
99
- "name": "Workspace",
100
- "componentId": {
101
- "scope": "teambit.workspace",
102
- "name": "workspace"
103
- }
355
+ "name": "[ install, compiler, loggerMain, workspace, mover, configMerger ]",
356
+ "type": {
357
+ "__schema": "TupleTypeSchema",
358
+ "location": {
359
+ "filePath": "component-writer.main.runtime.ts",
360
+ "line": 299,
361
+ "character": 90
362
+ },
363
+ "elements": [
364
+ {
365
+ "__schema": "TypeRefSchema",
366
+ "location": {
367
+ "filePath": "component-writer.main.runtime.ts",
368
+ "line": 300,
369
+ "character": 5
370
+ },
371
+ "name": "InstallMain",
372
+ "componentId": {
373
+ "scope": "teambit.workspace",
374
+ "name": "install"
375
+ }
376
+ },
377
+ {
378
+ "__schema": "TypeRefSchema",
379
+ "location": {
380
+ "filePath": "component-writer.main.runtime.ts",
381
+ "line": 301,
382
+ "character": 5
383
+ },
384
+ "name": "CompilerMain",
385
+ "componentId": {
386
+ "scope": "teambit.compilation",
387
+ "name": "compiler"
388
+ }
389
+ },
390
+ {
391
+ "__schema": "TypeRefSchema",
392
+ "location": {
393
+ "filePath": "component-writer.main.runtime.ts",
394
+ "line": 302,
395
+ "character": 5
396
+ },
397
+ "name": "LoggerMain",
398
+ "componentId": {
399
+ "scope": "teambit.harmony",
400
+ "name": "logger"
401
+ }
402
+ },
403
+ {
404
+ "__schema": "TypeRefSchema",
405
+ "location": {
406
+ "filePath": "component-writer.main.runtime.ts",
407
+ "line": 303,
408
+ "character": 5
409
+ },
410
+ "name": "Workspace",
411
+ "componentId": {
412
+ "scope": "teambit.workspace",
413
+ "name": "workspace"
414
+ }
415
+ },
416
+ {
417
+ "__schema": "TypeRefSchema",
418
+ "location": {
419
+ "filePath": "component-writer.main.runtime.ts",
420
+ "line": 304,
421
+ "character": 5
422
+ },
423
+ "name": "MoverMain",
424
+ "componentId": {
425
+ "scope": "teambit.component",
426
+ "name": "mover"
427
+ }
428
+ },
429
+ {
430
+ "__schema": "TypeRefSchema",
431
+ "location": {
432
+ "filePath": "component-writer.main.runtime.ts",
433
+ "line": 305,
434
+ "character": 5
435
+ },
436
+ "name": "ConfigMergerMain",
437
+ "componentId": {
438
+ "scope": "teambit.workspace",
439
+ "name": "config-merger"
440
+ }
441
+ }
442
+ ]
443
+ },
444
+ "isOptional": false,
445
+ "isSpread": false
446
+ }
447
+ ],
448
+ "returnType": {
449
+ "__schema": "InferenceTypeSchema",
450
+ "location": {
451
+ "filePath": "component-writer.main.runtime.ts",
452
+ "line": 299,
453
+ "character": 3
104
454
  },
105
- "isOptional": false,
106
- "isSpread": false
455
+ "type": "Promise<ComponentWriterMain>"
107
456
  },
457
+ "modifiers": [
458
+ "static",
459
+ "async"
460
+ ]
461
+ }
462
+ ],
463
+ "extendsNodes": [],
464
+ "implementNodes": []
465
+ }
466
+ },
467
+ {
468
+ "__schema": "ExportSchema",
469
+ "location": {
470
+ "filePath": "index.ts",
471
+ "line": 5,
472
+ "character": 3
473
+ },
474
+ "name": "ComponentWriterResults",
475
+ "exportNode": {
476
+ "__schema": "TypeSchema",
477
+ "location": {
478
+ "filePath": "component-writer.main.runtime.ts",
479
+ "line": 38,
480
+ "character": 1
481
+ },
482
+ "signature": "type ComponentWriterResults = {\n installationError?: Error | undefined;\n compilationError?: Error | undefined;\n workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult | undefined;\n}",
483
+ "name": "ComponentWriterResults",
484
+ "type": {
485
+ "__schema": "TypeLiteralSchema",
486
+ "location": {
487
+ "filePath": "component-writer.main.runtime.ts",
488
+ "line": 38,
489
+ "character": 38
490
+ },
491
+ "members": [
108
492
  {
109
- "__schema": "ParameterSchema",
493
+ "__schema": "VariableLikeSchema",
110
494
  "location": {
111
495
  "filePath": "component-writer.main.runtime.ts",
112
- "line": 49,
113
- "character": 5
496
+ "line": 39,
497
+ "character": 3
114
498
  },
115
- "name": "logger",
499
+ "signature": "(property) installationError?: Error | undefined",
500
+ "name": "installationError",
116
501
  "type": {
117
502
  "__schema": "TypeRefSchema",
118
503
  "location": {
119
504
  "filePath": "component-writer.main.runtime.ts",
120
- "line": 49,
121
- "character": 21
505
+ "line": 39,
506
+ "character": 23
122
507
  },
123
- "name": "Logger",
124
- "componentId": {
125
- "scope": "teambit.harmony",
126
- "name": "logger"
127
- }
508
+ "name": "Error"
128
509
  },
129
- "isOptional": false,
130
- "isSpread": false
510
+ "isOptional": true
131
511
  },
132
512
  {
133
- "__schema": "ParameterSchema",
513
+ "__schema": "VariableLikeSchema",
134
514
  "location": {
135
515
  "filePath": "component-writer.main.runtime.ts",
136
- "line": 50,
137
- "character": 5
516
+ "line": 40,
517
+ "character": 3
138
518
  },
139
- "name": "mover",
519
+ "signature": "(property) compilationError?: Error | undefined",
520
+ "name": "compilationError",
140
521
  "type": {
141
522
  "__schema": "TypeRefSchema",
142
523
  "location": {
143
524
  "filePath": "component-writer.main.runtime.ts",
144
- "line": 50,
145
- "character": 20
525
+ "line": 40,
526
+ "character": 22
146
527
  },
147
- "name": "MoverMain",
148
- "componentId": {
149
- "scope": "teambit.component",
150
- "name": "mover"
151
- }
528
+ "name": "Error"
152
529
  },
153
- "isOptional": false,
154
- "isSpread": false
530
+ "isOptional": true
155
531
  },
156
532
  {
157
- "__schema": "ParameterSchema",
533
+ "__schema": "VariableLikeSchema",
158
534
  "location": {
159
535
  "filePath": "component-writer.main.runtime.ts",
160
- "line": 51,
161
- "character": 5
536
+ "line": 41,
537
+ "character": 3
162
538
  },
163
- "name": "configMerge",
539
+ "signature": "(property) workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult | undefined",
540
+ "name": "workspaceConfigUpdateResult",
164
541
  "type": {
165
542
  "__schema": "TypeRefSchema",
166
543
  "location": {
167
544
  "filePath": "component-writer.main.runtime.ts",
168
- "line": 51,
169
- "character": 26
545
+ "line": 41,
546
+ "character": 33
170
547
  },
171
- "name": "ConfigMergerMain",
548
+ "name": "WorkspaceConfigUpdateResult",
172
549
  "componentId": {
173
550
  "scope": "teambit.workspace",
174
551
  "name": "config-merger"
175
552
  }
176
553
  },
177
- "isOptional": false,
178
- "isSpread": false
554
+ "isOptional": true
179
555
  }
180
- ],
181
- "returnType": {
182
- "__schema": "ThisTypeSchema",
183
- "location": {
184
- "filePath": "component-writer.main.runtime.ts",
185
- "line": 44,
186
- "character": 1
187
- },
188
- "name": "ComponentWriterMain"
189
- },
190
- "modifiers": []
556
+ ]
557
+ }
558
+ }
559
+ },
560
+ {
561
+ "__schema": "ExportSchema",
562
+ "location": {
563
+ "filePath": "index.ts",
564
+ "line": 6,
565
+ "character": 3
566
+ },
567
+ "name": "ManyComponentsWriterParams",
568
+ "exportNode": {
569
+ "__schema": "InterfaceSchema",
570
+ "location": {
571
+ "filePath": "component-writer.main.runtime.ts",
572
+ "line": 23,
573
+ "character": 1
191
574
  },
192
- {
193
- "__schema": "GetAccessorSchema",
194
- "location": {
195
- "filePath": "component-writer.main.runtime.ts",
196
- "line": 54,
197
- "character": 3
198
- },
199
- "signature": "(getter) ComponentWriterMain.consumer: Consumer",
200
- "name": "consumer",
201
- "type": {
202
- "__schema": "TypeRefSchema",
575
+ "signature": "interface ManyComponentsWriterParams",
576
+ "name": "ManyComponentsWriterParams",
577
+ "members": [
578
+ {
579
+ "__schema": "VariableLikeSchema",
203
580
  "location": {
204
581
  "filePath": "component-writer.main.runtime.ts",
205
- "line": 54,
582
+ "line": 24,
206
583
  "character": 3
207
584
  },
208
- "name": "Consumer",
209
- "packageName": "@teambit/legacy/dist/consumer/consumer"
210
- }
211
- },
212
- {
213
- "__schema": "FunctionLikeSchema",
214
- "location": {
215
- "filePath": "component-writer.main.runtime.ts",
216
- "line": 58,
217
- "character": 3
218
- },
219
- "signature": "(method) ComponentWriterMain.writeMany(opts: ManyComponentsWriterParams): Promise<ComponentWriterResults>",
220
- "name": "writeMany",
221
- "params": [
222
- {
223
- "__schema": "ParameterSchema",
585
+ "signature": "(property) ManyComponentsWriterParams.components: ConsumerComponent[]",
586
+ "name": "components",
587
+ "type": {
588
+ "__schema": "TypeArraySchema",
224
589
  "location": {
225
590
  "filePath": "component-writer.main.runtime.ts",
226
- "line": 58,
227
- "character": 19
591
+ "line": 24,
592
+ "character": 15
228
593
  },
229
- "name": "opts",
230
594
  "type": {
231
595
  "__schema": "TypeRefSchema",
232
596
  "location": {
233
597
  "filePath": "component-writer.main.runtime.ts",
234
- "line": 58,
235
- "character": 25
598
+ "line": 24,
599
+ "character": 15
236
600
  },
237
- "name": "ManyComponentsWriterParams"
238
- },
239
- "isOptional": false,
240
- "isSpread": false
241
- }
242
- ],
243
- "returnType": {
244
- "__schema": "TypeRefSchema",
601
+ "name": "ConsumerComponent",
602
+ "packageName": "@teambit/legacy/dist/consumer/component"
603
+ }
604
+ },
605
+ "isOptional": false
606
+ },
607
+ {
608
+ "__schema": "VariableLikeSchema",
245
609
  "location": {
246
610
  "filePath": "component-writer.main.runtime.ts",
247
- "line": 58,
248
- "character": 54
611
+ "line": 25,
612
+ "character": 3
249
613
  },
250
- "name": "Promise",
251
- "typeArgs": [
252
- {
253
- "__schema": "TypeRefSchema",
254
- "location": {
255
- "filePath": "component-writer.main.runtime.ts",
256
- "line": 58,
257
- "character": 62
258
- },
259
- "name": "ComponentWriterResults"
260
- }
261
- ]
262
- },
263
- "modifiers": [
264
- "async"
265
- ]
266
- },
267
- {
268
- "__schema": "VariableLikeSchema",
269
- "location": {
270
- "filePath": "component-writer.main.runtime.ts",
271
- "line": 296,
272
- "character": 3
614
+ "signature": "(property) ManyComponentsWriterParams.writeToPath?: string | undefined",
615
+ "name": "writeToPath",
616
+ "type": {
617
+ "__schema": "KeywordTypeSchema",
618
+ "location": {
619
+ "filePath": "component-writer.main.runtime.ts",
620
+ "line": 25,
621
+ "character": 17
622
+ },
623
+ "name": "string"
624
+ },
625
+ "isOptional": true
273
626
  },
274
- "signature": "(property) ComponentWriterMain.slots: never[]",
275
- "name": "slots",
276
- "type": {
277
- "__schema": "InferenceTypeSchema",
627
+ {
628
+ "__schema": "VariableLikeSchema",
278
629
  "location": {
279
630
  "filePath": "component-writer.main.runtime.ts",
280
- "line": 296,
631
+ "line": 26,
281
632
  "character": 3
282
633
  },
283
- "type": "never[]"
284
- },
285
- "isOptional": true,
286
- "defaultValue": "[]"
287
- },
288
- {
289
- "__schema": "VariableLikeSchema",
290
- "location": {
291
- "filePath": "component-writer.main.runtime.ts",
292
- "line": 297,
293
- "character": 3
634
+ "signature": "(property) ManyComponentsWriterParams.throwForExistingDir?: boolean | undefined",
635
+ "name": "throwForExistingDir",
636
+ "type": {
637
+ "__schema": "KeywordTypeSchema",
638
+ "location": {
639
+ "filePath": "component-writer.main.runtime.ts",
640
+ "line": 26,
641
+ "character": 25
642
+ },
643
+ "name": "boolean"
644
+ },
645
+ "isOptional": true
294
646
  },
295
- "signature": "(property) ComponentWriterMain.dependencies: Aspect[]",
296
- "name": "dependencies",
297
- "type": {
298
- "__schema": "InferenceTypeSchema",
647
+ {
648
+ "__schema": "VariableLikeSchema",
299
649
  "location": {
300
650
  "filePath": "component-writer.main.runtime.ts",
301
- "line": 297,
651
+ "line": 27,
302
652
  "character": 3
303
653
  },
304
- "type": "Aspect[]"
305
- },
306
- "isOptional": true,
307
- "defaultValue": "[InstallAspect, CompilerAspect, LoggerAspect, WorkspaceAspect, MoverAspect, ConfigMergerAspect]"
308
- },
309
- {
310
- "__schema": "VariableLikeSchema",
311
- "location": {
312
- "filePath": "component-writer.main.runtime.ts",
313
- "line": 298,
314
- "character": 3
654
+ "signature": "(property) ManyComponentsWriterParams.writeConfig?: boolean | undefined",
655
+ "name": "writeConfig",
656
+ "type": {
657
+ "__schema": "KeywordTypeSchema",
658
+ "location": {
659
+ "filePath": "component-writer.main.runtime.ts",
660
+ "line": 27,
661
+ "character": 17
662
+ },
663
+ "name": "boolean"
664
+ },
665
+ "isOptional": true
315
666
  },
316
- "signature": "(property) ComponentWriterMain.runtime: RuntimeDefinition",
317
- "name": "runtime",
318
- "type": {
319
- "__schema": "InferenceTypeSchema",
667
+ {
668
+ "__schema": "VariableLikeSchema",
320
669
  "location": {
321
670
  "filePath": "component-writer.main.runtime.ts",
322
- "line": 298,
671
+ "line": 28,
323
672
  "character": 3
324
673
  },
325
- "type": "RuntimeDefinition"
326
- },
327
- "isOptional": true,
328
- "defaultValue": "MainRuntime"
329
- },
330
- {
331
- "__schema": "FunctionLikeSchema",
332
- "location": {
333
- "filePath": "component-writer.main.runtime.ts",
334
- "line": 299,
335
- "character": 3
336
- },
337
- "signature": "(method) ComponentWriterMain.provider([install, compiler, loggerMain, workspace, mover, configMerger]: [\n InstallMain,\n CompilerMain,\n LoggerMain,\n Workspace,\n MoverMain,\n ConfigMergerMain\n]): Promise<ComponentWriterMain>",
338
- "name": "provider",
339
- "params": [
340
- {
341
- "__schema": "ParameterSchema",
674
+ "signature": "(property) ManyComponentsWriterParams.skipDependencyInstallation?: boolean | undefined",
675
+ "name": "skipDependencyInstallation",
676
+ "type": {
677
+ "__schema": "KeywordTypeSchema",
342
678
  "location": {
343
679
  "filePath": "component-writer.main.runtime.ts",
344
- "line": 299,
345
- "character": 25
680
+ "line": 28,
681
+ "character": 32
346
682
  },
347
- "name": "[ install, compiler, loggerMain, workspace, mover, configMerger ]",
348
- "type": {
349
- "__schema": "TupleTypeSchema",
350
- "location": {
351
- "filePath": "component-writer.main.runtime.ts",
352
- "line": 299,
353
- "character": 90
354
- },
355
- "elements": [
356
- {
357
- "__schema": "TypeRefSchema",
358
- "location": {
359
- "filePath": "component-writer.main.runtime.ts",
360
- "line": 300,
361
- "character": 5
362
- },
363
- "name": "InstallMain",
364
- "componentId": {
365
- "scope": "teambit.workspace",
366
- "name": "install"
367
- }
368
- },
369
- {
370
- "__schema": "TypeRefSchema",
371
- "location": {
372
- "filePath": "component-writer.main.runtime.ts",
373
- "line": 301,
374
- "character": 5
375
- },
376
- "name": "CompilerMain",
377
- "componentId": {
378
- "scope": "teambit.compilation",
379
- "name": "compiler"
380
- }
381
- },
382
- {
383
- "__schema": "TypeRefSchema",
384
- "location": {
385
- "filePath": "component-writer.main.runtime.ts",
386
- "line": 302,
387
- "character": 5
388
- },
389
- "name": "LoggerMain",
390
- "componentId": {
391
- "scope": "teambit.harmony",
392
- "name": "logger"
393
- }
394
- },
395
- {
396
- "__schema": "TypeRefSchema",
397
- "location": {
398
- "filePath": "component-writer.main.runtime.ts",
399
- "line": 303,
400
- "character": 5
401
- },
402
- "name": "Workspace",
403
- "componentId": {
404
- "scope": "teambit.workspace",
405
- "name": "workspace"
406
- }
407
- },
408
- {
409
- "__schema": "TypeRefSchema",
410
- "location": {
411
- "filePath": "component-writer.main.runtime.ts",
412
- "line": 304,
413
- "character": 5
414
- },
415
- "name": "MoverMain",
416
- "componentId": {
417
- "scope": "teambit.component",
418
- "name": "mover"
419
- }
420
- },
421
- {
422
- "__schema": "TypeRefSchema",
423
- "location": {
424
- "filePath": "component-writer.main.runtime.ts",
425
- "line": 305,
426
- "character": 5
427
- },
428
- "name": "ConfigMergerMain",
429
- "componentId": {
430
- "scope": "teambit.workspace",
431
- "name": "config-merger"
432
- }
433
- }
434
- ]
683
+ "name": "boolean"
684
+ },
685
+ "isOptional": true
686
+ },
687
+ {
688
+ "__schema": "VariableLikeSchema",
689
+ "location": {
690
+ "filePath": "component-writer.main.runtime.ts",
691
+ "line": 29,
692
+ "character": 3
693
+ },
694
+ "signature": "(property) ManyComponentsWriterParams.verbose?: boolean | undefined",
695
+ "name": "verbose",
696
+ "type": {
697
+ "__schema": "KeywordTypeSchema",
698
+ "location": {
699
+ "filePath": "component-writer.main.runtime.ts",
700
+ "line": 29,
701
+ "character": 13
435
702
  },
436
- "isOptional": false,
437
- "isSpread": false
438
- }
439
- ],
440
- "returnType": {
441
- "__schema": "InferenceTypeSchema",
703
+ "name": "boolean"
704
+ },
705
+ "isOptional": true
706
+ },
707
+ {
708
+ "__schema": "VariableLikeSchema",
442
709
  "location": {
443
710
  "filePath": "component-writer.main.runtime.ts",
444
- "line": 299,
711
+ "line": 30,
445
712
  "character": 3
446
713
  },
447
- "type": "Promise<ComponentWriterMain>"
714
+ "signature": "(property) ManyComponentsWriterParams.resetConfig?: boolean | undefined",
715
+ "name": "resetConfig",
716
+ "type": {
717
+ "__schema": "KeywordTypeSchema",
718
+ "location": {
719
+ "filePath": "component-writer.main.runtime.ts",
720
+ "line": 30,
721
+ "character": 17
722
+ },
723
+ "name": "boolean"
724
+ },
725
+ "isOptional": true
726
+ },
727
+ {
728
+ "__schema": "VariableLikeSchema",
729
+ "location": {
730
+ "filePath": "component-writer.main.runtime.ts",
731
+ "line": 31,
732
+ "character": 3
733
+ },
734
+ "signature": "(property) ManyComponentsWriterParams.skipWritingToFs?: boolean | undefined",
735
+ "name": "skipWritingToFs",
736
+ "type": {
737
+ "__schema": "KeywordTypeSchema",
738
+ "location": {
739
+ "filePath": "component-writer.main.runtime.ts",
740
+ "line": 31,
741
+ "character": 21
742
+ },
743
+ "name": "boolean"
744
+ },
745
+ "isOptional": true
448
746
  },
449
- "modifiers": [
450
- "static",
451
- "async"
452
- ]
453
- }
454
- ],
455
- "extendsNodes": [],
456
- "implementNodes": []
457
- },
458
- {
459
- "__schema": "TypeSchema",
460
- "location": {
461
- "filePath": "component-writer.main.runtime.ts",
462
- "line": 38,
463
- "character": 1
464
- },
465
- "signature": "type ComponentWriterResults = {\n installationError?: Error | undefined;\n compilationError?: Error | undefined;\n workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult | undefined;\n}",
466
- "name": "ComponentWriterResults",
467
- "type": {
468
- "__schema": "TypeLiteralSchema",
469
- "location": {
470
- "filePath": "component-writer.main.runtime.ts",
471
- "line": 38,
472
- "character": 38
473
- },
474
- "members": [
475
747
  {
476
748
  "__schema": "VariableLikeSchema",
477
749
  "location": {
478
750
  "filePath": "component-writer.main.runtime.ts",
479
- "line": 39,
751
+ "line": 32,
480
752
  "character": 3
481
753
  },
482
- "signature": "(property) installationError?: Error | undefined",
483
- "name": "installationError",
754
+ "signature": "(property) ManyComponentsWriterParams.skipUpdatingBitMap?: boolean | undefined",
755
+ "name": "skipUpdatingBitMap",
484
756
  "type": {
485
- "__schema": "TypeRefSchema",
757
+ "__schema": "KeywordTypeSchema",
486
758
  "location": {
487
759
  "filePath": "component-writer.main.runtime.ts",
488
- "line": 39,
489
- "character": 23
760
+ "line": 32,
761
+ "character": 24
490
762
  },
491
- "name": "Error"
763
+ "name": "boolean"
492
764
  },
493
765
  "isOptional": true
494
766
  },
@@ -496,19 +768,19 @@
496
768
  "__schema": "VariableLikeSchema",
497
769
  "location": {
498
770
  "filePath": "component-writer.main.runtime.ts",
499
- "line": 40,
771
+ "line": 33,
500
772
  "character": 3
501
773
  },
502
- "signature": "(property) compilationError?: Error | undefined",
503
- "name": "compilationError",
774
+ "signature": "(property) ManyComponentsWriterParams.skipWriteConfigFiles?: boolean | undefined",
775
+ "name": "skipWriteConfigFiles",
504
776
  "type": {
505
- "__schema": "TypeRefSchema",
777
+ "__schema": "KeywordTypeSchema",
506
778
  "location": {
507
779
  "filePath": "component-writer.main.runtime.ts",
508
- "line": 40,
509
- "character": 22
780
+ "line": 33,
781
+ "character": 26
510
782
  },
511
- "name": "Error"
783
+ "name": "boolean"
512
784
  },
513
785
  "isOptional": true
514
786
  },
@@ -516,362 +788,126 @@
516
788
  "__schema": "VariableLikeSchema",
517
789
  "location": {
518
790
  "filePath": "component-writer.main.runtime.ts",
519
- "line": 41,
791
+ "line": 34,
520
792
  "character": 3
521
793
  },
522
- "signature": "(property) workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult | undefined",
523
- "name": "workspaceConfigUpdateResult",
794
+ "signature": "(property) ManyComponentsWriterParams.reasonForBitmapChange?: string | undefined",
795
+ "name": "reasonForBitmapChange",
524
796
  "type": {
525
- "__schema": "TypeRefSchema",
797
+ "__schema": "KeywordTypeSchema",
526
798
  "location": {
527
799
  "filePath": "component-writer.main.runtime.ts",
528
- "line": 41,
529
- "character": 33
800
+ "line": 34,
801
+ "character": 27
530
802
  },
531
- "name": "WorkspaceConfigUpdateResult",
532
- "componentId": {
533
- "scope": "teambit.workspace",
534
- "name": "config-merger"
535
- }
803
+ "name": "string"
536
804
  },
537
805
  "isOptional": true
538
- }
539
- ]
540
- }
541
- },
542
- {
543
- "__schema": "InterfaceSchema",
544
- "location": {
545
- "filePath": "component-writer.main.runtime.ts",
546
- "line": 23,
547
- "character": 1
548
- },
549
- "signature": "interface ManyComponentsWriterParams",
550
- "name": "ManyComponentsWriterParams",
551
- "members": [
552
- {
553
- "__schema": "VariableLikeSchema",
554
- "location": {
555
- "filePath": "component-writer.main.runtime.ts",
556
- "line": 24,
557
- "character": 3
558
806
  },
559
- "signature": "(property) ManyComponentsWriterParams.components: ConsumerComponent[]",
560
- "name": "components",
561
- "type": {
562
- "__schema": "TypeArraySchema",
807
+ {
808
+ "__schema": "VariableLikeSchema",
563
809
  "location": {
564
810
  "filePath": "component-writer.main.runtime.ts",
565
- "line": 24,
566
- "character": 15
811
+ "line": 35,
812
+ "character": 3
567
813
  },
814
+ "signature": "(property) ManyComponentsWriterParams.shouldUpdateWorkspaceConfig?: boolean | undefined",
815
+ "name": "shouldUpdateWorkspaceConfig",
568
816
  "type": {
569
- "__schema": "TypeRefSchema",
817
+ "__schema": "KeywordTypeSchema",
570
818
  "location": {
571
819
  "filePath": "component-writer.main.runtime.ts",
572
- "line": 24,
573
- "character": 15
820
+ "line": 35,
821
+ "character": 33
574
822
  },
575
- "name": "ConsumerComponent",
576
- "packageName": "@teambit/legacy/dist/consumer/component"
577
- }
578
- },
579
- "isOptional": false
580
- },
581
- {
582
- "__schema": "VariableLikeSchema",
583
- "location": {
584
- "filePath": "component-writer.main.runtime.ts",
585
- "line": 25,
586
- "character": 3
587
- },
588
- "signature": "(property) ManyComponentsWriterParams.writeToPath?: string | undefined",
589
- "name": "writeToPath",
590
- "type": {
591
- "__schema": "KeywordTypeSchema",
592
- "location": {
593
- "filePath": "component-writer.main.runtime.ts",
594
- "line": 25,
595
- "character": 17
596
- },
597
- "name": "string"
598
- },
599
- "isOptional": true
600
- },
601
- {
602
- "__schema": "VariableLikeSchema",
603
- "location": {
604
- "filePath": "component-writer.main.runtime.ts",
605
- "line": 26,
606
- "character": 3
607
- },
608
- "signature": "(property) ManyComponentsWriterParams.throwForExistingDir?: boolean | undefined",
609
- "name": "throwForExistingDir",
610
- "type": {
611
- "__schema": "KeywordTypeSchema",
612
- "location": {
613
- "filePath": "component-writer.main.runtime.ts",
614
- "line": 26,
615
- "character": 25
616
- },
617
- "name": "boolean"
618
- },
619
- "isOptional": true
620
- },
621
- {
622
- "__schema": "VariableLikeSchema",
623
- "location": {
624
- "filePath": "component-writer.main.runtime.ts",
625
- "line": 27,
626
- "character": 3
627
- },
628
- "signature": "(property) ManyComponentsWriterParams.writeConfig?: boolean | undefined",
629
- "name": "writeConfig",
630
- "type": {
631
- "__schema": "KeywordTypeSchema",
632
- "location": {
633
- "filePath": "component-writer.main.runtime.ts",
634
- "line": 27,
635
- "character": 17
636
- },
637
- "name": "boolean"
638
- },
639
- "isOptional": true
640
- },
641
- {
642
- "__schema": "VariableLikeSchema",
643
- "location": {
644
- "filePath": "component-writer.main.runtime.ts",
645
- "line": 28,
646
- "character": 3
647
- },
648
- "signature": "(property) ManyComponentsWriterParams.skipDependencyInstallation?: boolean | undefined",
649
- "name": "skipDependencyInstallation",
650
- "type": {
651
- "__schema": "KeywordTypeSchema",
652
- "location": {
653
- "filePath": "component-writer.main.runtime.ts",
654
- "line": 28,
655
- "character": 32
656
- },
657
- "name": "boolean"
658
- },
659
- "isOptional": true
660
- },
661
- {
662
- "__schema": "VariableLikeSchema",
663
- "location": {
664
- "filePath": "component-writer.main.runtime.ts",
665
- "line": 29,
666
- "character": 3
667
- },
668
- "signature": "(property) ManyComponentsWriterParams.verbose?: boolean | undefined",
669
- "name": "verbose",
670
- "type": {
671
- "__schema": "KeywordTypeSchema",
672
- "location": {
673
- "filePath": "component-writer.main.runtime.ts",
674
- "line": 29,
675
- "character": 13
676
- },
677
- "name": "boolean"
678
- },
679
- "isOptional": true
680
- },
681
- {
682
- "__schema": "VariableLikeSchema",
683
- "location": {
684
- "filePath": "component-writer.main.runtime.ts",
685
- "line": 30,
686
- "character": 3
687
- },
688
- "signature": "(property) ManyComponentsWriterParams.resetConfig?: boolean | undefined",
689
- "name": "resetConfig",
690
- "type": {
691
- "__schema": "KeywordTypeSchema",
692
- "location": {
693
- "filePath": "component-writer.main.runtime.ts",
694
- "line": 30,
695
- "character": 17
696
- },
697
- "name": "boolean"
698
- },
699
- "isOptional": true
700
- },
701
- {
702
- "__schema": "VariableLikeSchema",
703
- "location": {
704
- "filePath": "component-writer.main.runtime.ts",
705
- "line": 31,
706
- "character": 3
707
- },
708
- "signature": "(property) ManyComponentsWriterParams.skipWritingToFs?: boolean | undefined",
709
- "name": "skipWritingToFs",
710
- "type": {
711
- "__schema": "KeywordTypeSchema",
712
- "location": {
713
- "filePath": "component-writer.main.runtime.ts",
714
- "line": 31,
715
- "character": 21
716
- },
717
- "name": "boolean"
718
- },
719
- "isOptional": true
720
- },
721
- {
722
- "__schema": "VariableLikeSchema",
723
- "location": {
724
- "filePath": "component-writer.main.runtime.ts",
725
- "line": 32,
726
- "character": 3
727
- },
728
- "signature": "(property) ManyComponentsWriterParams.skipUpdatingBitMap?: boolean | undefined",
729
- "name": "skipUpdatingBitMap",
730
- "type": {
731
- "__schema": "KeywordTypeSchema",
732
- "location": {
733
- "filePath": "component-writer.main.runtime.ts",
734
- "line": 32,
735
- "character": 24
736
- },
737
- "name": "boolean"
738
- },
739
- "isOptional": true
740
- },
741
- {
742
- "__schema": "VariableLikeSchema",
743
- "location": {
744
- "filePath": "component-writer.main.runtime.ts",
745
- "line": 33,
746
- "character": 3
747
- },
748
- "signature": "(property) ManyComponentsWriterParams.skipWriteConfigFiles?: boolean | undefined",
749
- "name": "skipWriteConfigFiles",
750
- "type": {
751
- "__schema": "KeywordTypeSchema",
752
- "location": {
753
- "filePath": "component-writer.main.runtime.ts",
754
- "line": 33,
755
- "character": 26
756
- },
757
- "name": "boolean"
758
- },
759
- "isOptional": true
760
- },
761
- {
762
- "__schema": "VariableLikeSchema",
763
- "location": {
764
- "filePath": "component-writer.main.runtime.ts",
765
- "line": 34,
766
- "character": 3
767
- },
768
- "signature": "(property) ManyComponentsWriterParams.reasonForBitmapChange?: string | undefined",
769
- "name": "reasonForBitmapChange",
770
- "type": {
771
- "__schema": "KeywordTypeSchema",
772
- "location": {
773
- "filePath": "component-writer.main.runtime.ts",
774
- "line": 34,
775
- "character": 27
776
- },
777
- "name": "string"
778
- },
779
- "isOptional": true
780
- },
781
- {
782
- "__schema": "VariableLikeSchema",
783
- "location": {
784
- "filePath": "component-writer.main.runtime.ts",
785
- "line": 35,
786
- "character": 3
787
- },
788
- "signature": "(property) ManyComponentsWriterParams.shouldUpdateWorkspaceConfig?: boolean | undefined",
789
- "name": "shouldUpdateWorkspaceConfig",
790
- "type": {
791
- "__schema": "KeywordTypeSchema",
792
- "location": {
793
- "filePath": "component-writer.main.runtime.ts",
794
- "line": 35,
795
- "character": 33
823
+ "name": "boolean"
796
824
  },
797
- "name": "boolean"
798
- },
799
- "isOptional": true
800
- }
801
- ],
802
- "extendsNodes": []
825
+ "isOptional": true
826
+ }
827
+ ],
828
+ "extendsNodes": []
829
+ }
803
830
  },
804
831
  {
805
- "__schema": "FunctionLikeSchema",
832
+ "__schema": "ExportSchema",
806
833
  "location": {
807
- "filePath": "component-writer.main.runtime.ts",
808
- "line": 316,
809
- "character": 1
834
+ "filePath": "index.ts",
835
+ "line": 8,
836
+ "character": 10
810
837
  },
811
- "signature": "function incrementPathRecursively(p: string, allPaths: string[]): string",
812
838
  "name": "incrementPathRecursively",
813
- "params": [
814
- {
815
- "__schema": "ParameterSchema",
816
- "location": {
817
- "filePath": "component-writer.main.runtime.ts",
818
- "line": 316,
819
- "character": 42
820
- },
821
- "name": "p",
822
- "type": {
823
- "__schema": "KeywordTypeSchema",
839
+ "exportNode": {
840
+ "__schema": "FunctionLikeSchema",
841
+ "location": {
842
+ "filePath": "component-writer.main.runtime.ts",
843
+ "line": 316,
844
+ "character": 1
845
+ },
846
+ "signature": "function incrementPathRecursively(p: string, allPaths: string[]): string",
847
+ "name": "incrementPathRecursively",
848
+ "params": [
849
+ {
850
+ "__schema": "ParameterSchema",
824
851
  "location": {
825
852
  "filePath": "component-writer.main.runtime.ts",
826
853
  "line": 316,
827
- "character": 45
854
+ "character": 42
828
855
  },
829
- "name": "string"
830
- },
831
- "isOptional": false,
832
- "isSpread": false
833
- },
834
- {
835
- "__schema": "ParameterSchema",
836
- "location": {
837
- "filePath": "component-writer.main.runtime.ts",
838
- "line": 316,
839
- "character": 53
856
+ "name": "p",
857
+ "type": {
858
+ "__schema": "KeywordTypeSchema",
859
+ "location": {
860
+ "filePath": "component-writer.main.runtime.ts",
861
+ "line": 316,
862
+ "character": 45
863
+ },
864
+ "name": "string"
865
+ },
866
+ "isOptional": false,
867
+ "isSpread": false
840
868
  },
841
- "name": "allPaths",
842
- "type": {
843
- "__schema": "TypeArraySchema",
869
+ {
870
+ "__schema": "ParameterSchema",
844
871
  "location": {
845
872
  "filePath": "component-writer.main.runtime.ts",
846
873
  "line": 316,
847
- "character": 63
874
+ "character": 53
848
875
  },
876
+ "name": "allPaths",
849
877
  "type": {
850
- "__schema": "KeywordTypeSchema",
878
+ "__schema": "TypeArraySchema",
851
879
  "location": {
852
880
  "filePath": "component-writer.main.runtime.ts",
853
881
  "line": 316,
854
882
  "character": 63
855
883
  },
856
- "name": "string"
857
- }
884
+ "type": {
885
+ "__schema": "KeywordTypeSchema",
886
+ "location": {
887
+ "filePath": "component-writer.main.runtime.ts",
888
+ "line": 316,
889
+ "character": 63
890
+ },
891
+ "name": "string"
892
+ }
893
+ },
894
+ "isOptional": false,
895
+ "isSpread": false
896
+ }
897
+ ],
898
+ "returnType": {
899
+ "__schema": "InferenceTypeSchema",
900
+ "location": {
901
+ "filePath": "component-writer.main.runtime.ts",
902
+ "line": 316,
903
+ "character": 1
858
904
  },
859
- "isOptional": false,
860
- "isSpread": false
861
- }
862
- ],
863
- "returnType": {
864
- "__schema": "InferenceTypeSchema",
865
- "location": {
866
- "filePath": "component-writer.main.runtime.ts",
867
- "line": 316,
868
- "character": 1
905
+ "type": "string"
869
906
  },
870
- "type": "string"
871
- },
872
- "modifiers": [
873
- "export"
874
- ]
907
+ "modifiers": [
908
+ "export"
909
+ ]
910
+ }
875
911
  },
876
912
  {
877
913
  "__schema": "UnImplementedSchema",
@@ -884,30 +920,39 @@
884
920
  "type": "Identifier"
885
921
  },
886
922
  {
887
- "__schema": "VariableLikeSchema",
923
+ "__schema": "ExportSchema",
888
924
  "location": {
889
- "filePath": "component-writer.aspect.ts",
890
- "line": 3,
891
- "character": 14
925
+ "filePath": "index.ts",
926
+ "line": 10,
927
+ "character": 10
892
928
  },
893
- "signature": "const ComponentWriterAspect: Aspect",
894
929
  "name": "ComponentWriterAspect",
895
- "type": {
896
- "__schema": "TypeRefSchema",
930
+ "exportNode": {
931
+ "__schema": "VariableLikeSchema",
897
932
  "location": {
898
933
  "filePath": "component-writer.aspect.ts",
899
934
  "line": 3,
900
935
  "character": 14
901
936
  },
902
- "name": "Aspect",
903
- "componentId": {
904
- "scope": "teambit.harmony",
905
- "name": "harmony",
906
- "version": "0.4.6"
907
- }
908
- },
909
- "isOptional": false,
910
- "defaultValue": "Aspect.create({\n id: 'teambit.component/component-writer',\n})"
937
+ "signature": "const ComponentWriterAspect: Aspect",
938
+ "name": "ComponentWriterAspect",
939
+ "type": {
940
+ "__schema": "TypeRefSchema",
941
+ "location": {
942
+ "filePath": "component-writer.aspect.ts",
943
+ "line": 3,
944
+ "character": 14
945
+ },
946
+ "name": "Aspect",
947
+ "componentId": {
948
+ "scope": "teambit.harmony",
949
+ "name": "harmony",
950
+ "version": "0.4.6"
951
+ }
952
+ },
953
+ "isOptional": false,
954
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/component-writer',\n})"
955
+ }
911
956
  }
912
957
  ],
913
958
  "internals": []
@@ -1846,7 +1891,7 @@
1846
1891
  "componentId": {
1847
1892
  "scope": "teambit.component",
1848
1893
  "name": "component-writer",
1849
- "version": "1.0.257"
1894
+ "version": "1.0.259"
1850
1895
  },
1851
1896
  "taggedModuleExports": []
1852
1897
  }