@teambit/new-component-helper 1.0.453 → 1.0.455

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.
@@ -26,7 +26,7 @@
26
26
  "__schema": "ClassSchema",
27
27
  "location": {
28
28
  "filePath": "new-component-helper.main.runtime.ts",
29
- "line": 21,
29
+ "line": 24,
30
30
  "character": 1
31
31
  },
32
32
  "signature": "class NewComponentHelperMain",
@@ -36,7 +36,7 @@
36
36
  "__schema": "ConstructorSchema",
37
37
  "location": {
38
38
  "filePath": "new-component-helper.main.runtime.ts",
39
- "line": 22,
39
+ "line": 25,
40
40
  "character": 3
41
41
  },
42
42
  "signature": "constructor NewComponentHelperMain(workspace: Workspace, harmony: Harmony, tracker: TrackerMain): NewComponentHelperMain",
@@ -46,7 +46,7 @@
46
46
  "__schema": "ParameterSchema",
47
47
  "location": {
48
48
  "filePath": "new-component-helper.main.runtime.ts",
49
- "line": 23,
49
+ "line": 26,
50
50
  "character": 5
51
51
  },
52
52
  "name": "workspace",
@@ -54,7 +54,7 @@
54
54
  "__schema": "TypeRefSchema",
55
55
  "location": {
56
56
  "filePath": "new-component-helper.main.runtime.ts",
57
- "line": 23,
57
+ "line": 26,
58
58
  "character": 24
59
59
  },
60
60
  "name": "Workspace",
@@ -70,7 +70,7 @@
70
70
  "__schema": "ParameterSchema",
71
71
  "location": {
72
72
  "filePath": "new-component-helper.main.runtime.ts",
73
- "line": 24,
73
+ "line": 27,
74
74
  "character": 5
75
75
  },
76
76
  "name": "harmony",
@@ -78,7 +78,7 @@
78
78
  "__schema": "TypeRefSchema",
79
79
  "location": {
80
80
  "filePath": "new-component-helper.main.runtime.ts",
81
- "line": 24,
81
+ "line": 27,
82
82
  "character": 22
83
83
  },
84
84
  "name": "Harmony",
@@ -95,7 +95,7 @@
95
95
  "__schema": "ParameterSchema",
96
96
  "location": {
97
97
  "filePath": "new-component-helper.main.runtime.ts",
98
- "line": 25,
98
+ "line": 28,
99
99
  "character": 5
100
100
  },
101
101
  "name": "tracker",
@@ -103,7 +103,7 @@
103
103
  "__schema": "TypeRefSchema",
104
104
  "location": {
105
105
  "filePath": "new-component-helper.main.runtime.ts",
106
- "line": 25,
106
+ "line": 28,
107
107
  "character": 22
108
108
  },
109
109
  "name": "TrackerMain",
@@ -120,7 +120,7 @@
120
120
  "__schema": "ThisTypeSchema",
121
121
  "location": {
122
122
  "filePath": "new-component-helper.main.runtime.ts",
123
- "line": 21,
123
+ "line": 24,
124
124
  "character": 1
125
125
  },
126
126
  "name": "NewComponentHelperMain"
@@ -131,14 +131,14 @@
131
131
  "__schema": "FunctionLikeSchema",
132
132
  "location": {
133
133
  "filePath": "new-component-helper.main.runtime.ts",
134
- "line": 31,
134
+ "line": 34,
135
135
  "character": 3
136
136
  },
137
137
  "doc": {
138
138
  "__schema": "DocSchema",
139
139
  "location": {
140
140
  "filePath": "new-component-helper.main.runtime.ts",
141
- "line": 27,
141
+ "line": 30,
142
142
  "character": 3
143
143
  },
144
144
  "raw": "/**\n * when creating/forking a component, the user provides the new name and optionally the scope/namespace.\n * from this user input, create a ComponentID.\n */",
@@ -152,7 +152,7 @@
152
152
  "__schema": "ParameterSchema",
153
153
  "location": {
154
154
  "filePath": "new-component-helper.main.runtime.ts",
155
- "line": 31,
155
+ "line": 34,
156
156
  "character": 21
157
157
  },
158
158
  "name": "name",
@@ -160,7 +160,7 @@
160
160
  "__schema": "KeywordTypeSchema",
161
161
  "location": {
162
162
  "filePath": "new-component-helper.main.runtime.ts",
163
- "line": 31,
163
+ "line": 34,
164
164
  "character": 27
165
165
  },
166
166
  "name": "string"
@@ -172,7 +172,7 @@
172
172
  "__schema": "ParameterSchema",
173
173
  "location": {
174
174
  "filePath": "new-component-helper.main.runtime.ts",
175
- "line": 31,
175
+ "line": 34,
176
176
  "character": 35
177
177
  },
178
178
  "name": "namespace",
@@ -180,7 +180,7 @@
180
180
  "__schema": "KeywordTypeSchema",
181
181
  "location": {
182
182
  "filePath": "new-component-helper.main.runtime.ts",
183
- "line": 31,
183
+ "line": 34,
184
184
  "character": 47
185
185
  },
186
186
  "name": "string"
@@ -192,7 +192,7 @@
192
192
  "__schema": "ParameterSchema",
193
193
  "location": {
194
194
  "filePath": "new-component-helper.main.runtime.ts",
195
- "line": 31,
195
+ "line": 34,
196
196
  "character": 55
197
197
  },
198
198
  "name": "scope",
@@ -200,7 +200,7 @@
200
200
  "__schema": "KeywordTypeSchema",
201
201
  "location": {
202
202
  "filePath": "new-component-helper.main.runtime.ts",
203
- "line": 31,
203
+ "line": 34,
204
204
  "character": 63
205
205
  },
206
206
  "name": "string"
@@ -213,7 +213,7 @@
213
213
  "__schema": "TypeRefSchema",
214
214
  "location": {
215
215
  "filePath": "new-component-helper.main.runtime.ts",
216
- "line": 31,
216
+ "line": 34,
217
217
  "character": 3
218
218
  },
219
219
  "name": "ComponentID",
@@ -229,14 +229,14 @@
229
229
  "__schema": "FunctionLikeSchema",
230
230
  "location": {
231
231
  "filePath": "new-component-helper.main.runtime.ts",
232
- "line": 47,
232
+ "line": 50,
233
233
  "character": 3
234
234
  },
235
235
  "doc": {
236
236
  "__schema": "DocSchema",
237
237
  "location": {
238
238
  "filePath": "new-component-helper.main.runtime.ts",
239
- "line": 42,
239
+ "line": 45,
240
240
  "character": 3
241
241
  },
242
242
  "raw": "/**\n * when creating/forking a component, the user may or may not provide a path.\n * if not provided, generate the path based on the component-id.\n * the component will be written to that path.\n */",
@@ -250,7 +250,7 @@
250
250
  "__schema": "ParameterSchema",
251
251
  "location": {
252
252
  "filePath": "new-component-helper.main.runtime.ts",
253
- "line": 48,
253
+ "line": 51,
254
254
  "character": 5
255
255
  },
256
256
  "name": "componentId",
@@ -258,7 +258,7 @@
258
258
  "__schema": "TypeRefSchema",
259
259
  "location": {
260
260
  "filePath": "new-component-helper.main.runtime.ts",
261
- "line": 48,
261
+ "line": 51,
262
262
  "character": 18
263
263
  },
264
264
  "name": "ComponentID",
@@ -275,7 +275,7 @@
275
275
  "__schema": "ParameterSchema",
276
276
  "location": {
277
277
  "filePath": "new-component-helper.main.runtime.ts",
278
- "line": 49,
278
+ "line": 52,
279
279
  "character": 5
280
280
  },
281
281
  "name": "{ pathFromUser, componentsToCreate, incrementPathIfConflicted }",
@@ -283,7 +283,7 @@
283
283
  "__schema": "TypeLiteralSchema",
284
284
  "location": {
285
285
  "filePath": "new-component-helper.main.runtime.ts",
286
- "line": 53,
286
+ "line": 56,
287
287
  "character": 8
288
288
  },
289
289
  "members": [
@@ -291,7 +291,7 @@
291
291
  "__schema": "VariableLikeSchema",
292
292
  "location": {
293
293
  "filePath": "new-component-helper.main.runtime.ts",
294
- "line": 53,
294
+ "line": 56,
295
295
  "character": 10
296
296
  },
297
297
  "signature": "(property) pathFromUser?: string | undefined",
@@ -300,7 +300,7 @@
300
300
  "__schema": "KeywordTypeSchema",
301
301
  "location": {
302
302
  "filePath": "new-component-helper.main.runtime.ts",
303
- "line": 53,
303
+ "line": 56,
304
304
  "character": 25
305
305
  },
306
306
  "name": "string"
@@ -311,7 +311,7 @@
311
311
  "__schema": "VariableLikeSchema",
312
312
  "location": {
313
313
  "filePath": "new-component-helper.main.runtime.ts",
314
- "line": 53,
314
+ "line": 56,
315
315
  "character": 33
316
316
  },
317
317
  "signature": "(property) componentsToCreate?: number | undefined",
@@ -320,7 +320,7 @@
320
320
  "__schema": "KeywordTypeSchema",
321
321
  "location": {
322
322
  "filePath": "new-component-helper.main.runtime.ts",
323
- "line": 53,
323
+ "line": 56,
324
324
  "character": 54
325
325
  },
326
326
  "name": "number"
@@ -331,7 +331,7 @@
331
331
  "__schema": "VariableLikeSchema",
332
332
  "location": {
333
333
  "filePath": "new-component-helper.main.runtime.ts",
334
- "line": 53,
334
+ "line": 56,
335
335
  "character": 62
336
336
  },
337
337
  "signature": "(property) incrementPathIfConflicted?: boolean | undefined",
@@ -340,7 +340,7 @@
340
340
  "__schema": "KeywordTypeSchema",
341
341
  "location": {
342
342
  "filePath": "new-component-helper.main.runtime.ts",
343
- "line": 53,
343
+ "line": 56,
344
344
  "character": 90
345
345
  },
346
346
  "name": "boolean"
@@ -356,7 +356,7 @@
356
356
  "__schema": "VariableLikeSchema",
357
357
  "location": {
358
358
  "filePath": "new-component-helper.main.runtime.ts",
359
- "line": 53,
359
+ "line": 56,
360
360
  "character": 10
361
361
  },
362
362
  "signature": "(property) pathFromUser?: string | undefined",
@@ -365,7 +365,7 @@
365
365
  "__schema": "KeywordTypeSchema",
366
366
  "location": {
367
367
  "filePath": "new-component-helper.main.runtime.ts",
368
- "line": 53,
368
+ "line": 56,
369
369
  "character": 25
370
370
  },
371
371
  "name": "string"
@@ -376,7 +376,7 @@
376
376
  "__schema": "VariableLikeSchema",
377
377
  "location": {
378
378
  "filePath": "new-component-helper.main.runtime.ts",
379
- "line": 53,
379
+ "line": 56,
380
380
  "character": 33
381
381
  },
382
382
  "signature": "(property) componentsToCreate?: number | undefined",
@@ -385,7 +385,7 @@
385
385
  "__schema": "KeywordTypeSchema",
386
386
  "location": {
387
387
  "filePath": "new-component-helper.main.runtime.ts",
388
- "line": 53,
388
+ "line": 56,
389
389
  "character": 54
390
390
  },
391
391
  "name": "number"
@@ -396,7 +396,7 @@
396
396
  "__schema": "VariableLikeSchema",
397
397
  "location": {
398
398
  "filePath": "new-component-helper.main.runtime.ts",
399
- "line": 53,
399
+ "line": 56,
400
400
  "character": 62
401
401
  },
402
402
  "signature": "(property) incrementPathIfConflicted?: boolean | undefined",
@@ -405,7 +405,7 @@
405
405
  "__schema": "KeywordTypeSchema",
406
406
  "location": {
407
407
  "filePath": "new-component-helper.main.runtime.ts",
408
- "line": 53,
408
+ "line": 56,
409
409
  "character": 90
410
410
  },
411
411
  "name": "boolean"
@@ -420,7 +420,7 @@
420
420
  "__schema": "TypeRefSchema",
421
421
  "location": {
422
422
  "filePath": "new-component-helper.main.runtime.ts",
423
- "line": 47,
423
+ "line": 50,
424
424
  "character": 3
425
425
  },
426
426
  "name": "PathLinuxRelative",
@@ -436,7 +436,7 @@
436
436
  "__schema": "FunctionLikeSchema",
437
437
  "location": {
438
438
  "filePath": "new-component-helper.main.runtime.ts",
439
- "line": 89,
439
+ "line": 92,
440
440
  "character": 3
441
441
  },
442
442
  "signature": "(method) NewComponentHelperMain.writeAndAddNewComp(comp: Component, targetId: ComponentID, options?: {\n path?: string;\n scope?: string;\n env?: string;\n incrementPathIfConflicted?: boolean;\n}, config?: {\n [aspectName: string]: any;\n} | undefined): Promise<void>",
@@ -446,7 +446,7 @@
446
446
  "__schema": "ParameterSchema",
447
447
  "location": {
448
448
  "filePath": "new-component-helper.main.runtime.ts",
449
- "line": 90,
449
+ "line": 93,
450
450
  "character": 5
451
451
  },
452
452
  "name": "comp",
@@ -454,7 +454,7 @@
454
454
  "__schema": "TypeRefSchema",
455
455
  "location": {
456
456
  "filePath": "new-component-helper.main.runtime.ts",
457
- "line": 90,
457
+ "line": 93,
458
458
  "character": 11
459
459
  },
460
460
  "name": "Component",
@@ -470,7 +470,7 @@
470
470
  "__schema": "ParameterSchema",
471
471
  "location": {
472
472
  "filePath": "new-component-helper.main.runtime.ts",
473
- "line": 91,
473
+ "line": 94,
474
474
  "character": 5
475
475
  },
476
476
  "name": "targetId",
@@ -478,7 +478,7 @@
478
478
  "__schema": "TypeRefSchema",
479
479
  "location": {
480
480
  "filePath": "new-component-helper.main.runtime.ts",
481
- "line": 91,
481
+ "line": 94,
482
482
  "character": 15
483
483
  },
484
484
  "name": "ComponentID",
@@ -495,7 +495,7 @@
495
495
  "__schema": "ParameterSchema",
496
496
  "location": {
497
497
  "filePath": "new-component-helper.main.runtime.ts",
498
- "line": 92,
498
+ "line": 95,
499
499
  "character": 5
500
500
  },
501
501
  "name": "options",
@@ -503,7 +503,7 @@
503
503
  "__schema": "TypeLiteralSchema",
504
504
  "location": {
505
505
  "filePath": "new-component-helper.main.runtime.ts",
506
- "line": 92,
506
+ "line": 95,
507
507
  "character": 15
508
508
  },
509
509
  "members": [
@@ -511,7 +511,7 @@
511
511
  "__schema": "VariableLikeSchema",
512
512
  "location": {
513
513
  "filePath": "new-component-helper.main.runtime.ts",
514
- "line": 92,
514
+ "line": 95,
515
515
  "character": 17
516
516
  },
517
517
  "signature": "(property) path?: string | undefined",
@@ -520,7 +520,7 @@
520
520
  "__schema": "KeywordTypeSchema",
521
521
  "location": {
522
522
  "filePath": "new-component-helper.main.runtime.ts",
523
- "line": 92,
523
+ "line": 95,
524
524
  "character": 24
525
525
  },
526
526
  "name": "string"
@@ -531,7 +531,7 @@
531
531
  "__schema": "VariableLikeSchema",
532
532
  "location": {
533
533
  "filePath": "new-component-helper.main.runtime.ts",
534
- "line": 92,
534
+ "line": 95,
535
535
  "character": 32
536
536
  },
537
537
  "signature": "(property) scope?: string | undefined",
@@ -540,7 +540,7 @@
540
540
  "__schema": "KeywordTypeSchema",
541
541
  "location": {
542
542
  "filePath": "new-component-helper.main.runtime.ts",
543
- "line": 92,
543
+ "line": 95,
544
544
  "character": 40
545
545
  },
546
546
  "name": "string"
@@ -551,7 +551,7 @@
551
551
  "__schema": "VariableLikeSchema",
552
552
  "location": {
553
553
  "filePath": "new-component-helper.main.runtime.ts",
554
- "line": 92,
554
+ "line": 95,
555
555
  "character": 48
556
556
  },
557
557
  "signature": "(property) env?: string | undefined",
@@ -560,7 +560,7 @@
560
560
  "__schema": "KeywordTypeSchema",
561
561
  "location": {
562
562
  "filePath": "new-component-helper.main.runtime.ts",
563
- "line": 92,
563
+ "line": 95,
564
564
  "character": 54
565
565
  },
566
566
  "name": "string"
@@ -571,7 +571,7 @@
571
571
  "__schema": "VariableLikeSchema",
572
572
  "location": {
573
573
  "filePath": "new-component-helper.main.runtime.ts",
574
- "line": 92,
574
+ "line": 95,
575
575
  "character": 62
576
576
  },
577
577
  "signature": "(property) incrementPathIfConflicted?: boolean | undefined",
@@ -580,7 +580,7 @@
580
580
  "__schema": "KeywordTypeSchema",
581
581
  "location": {
582
582
  "filePath": "new-component-helper.main.runtime.ts",
583
- "line": 92,
583
+ "line": 95,
584
584
  "character": 90
585
585
  },
586
586
  "name": "boolean"
@@ -596,7 +596,7 @@
596
596
  "__schema": "ParameterSchema",
597
597
  "location": {
598
598
  "filePath": "new-component-helper.main.runtime.ts",
599
- "line": 93,
599
+ "line": 96,
600
600
  "character": 5
601
601
  },
602
602
  "name": "config",
@@ -604,7 +604,7 @@
604
604
  "__schema": "TypeLiteralSchema",
605
605
  "location": {
606
606
  "filePath": "new-component-helper.main.runtime.ts",
607
- "line": 93,
607
+ "line": 96,
608
608
  "character": 14
609
609
  },
610
610
  "members": [
@@ -612,14 +612,14 @@
612
612
  "__schema": "IndexSignatureSchema",
613
613
  "location": {
614
614
  "filePath": "new-component-helper.main.runtime.ts",
615
- "line": 93,
615
+ "line": 96,
616
616
  "character": 16
617
617
  },
618
618
  "keyType": {
619
619
  "__schema": "ParameterSchema",
620
620
  "location": {
621
621
  "filePath": "new-component-helper.main.runtime.ts",
622
- "line": 93,
622
+ "line": 96,
623
623
  "character": 17
624
624
  },
625
625
  "name": "aspectName",
@@ -627,7 +627,7 @@
627
627
  "__schema": "KeywordTypeSchema",
628
628
  "location": {
629
629
  "filePath": "new-component-helper.main.runtime.ts",
630
- "line": 93,
630
+ "line": 96,
631
631
  "character": 29
632
632
  },
633
633
  "name": "string"
@@ -639,7 +639,7 @@
639
639
  "__schema": "KeywordTypeSchema",
640
640
  "location": {
641
641
  "filePath": "new-component-helper.main.runtime.ts",
642
- "line": 93,
642
+ "line": 96,
643
643
  "character": 38
644
644
  },
645
645
  "name": "any"
@@ -655,7 +655,7 @@
655
655
  "__schema": "InferenceTypeSchema",
656
656
  "location": {
657
657
  "filePath": "new-component-helper.main.runtime.ts",
658
- "line": 89,
658
+ "line": 92,
659
659
  "character": 3
660
660
  },
661
661
  "type": "Promise<void>"
@@ -668,166 +668,62 @@
668
668
  "__schema": "FunctionLikeSchema",
669
669
  "location": {
670
670
  "filePath": "new-component-helper.main.runtime.ts",
671
- "line": 148,
671
+ "line": 133,
672
672
  "character": 3
673
673
  },
674
- "signature": "(method) NewComponentHelperMain.getConfigFromExistingToNewComponent(comp: Component): Promise<{}>",
675
- "name": "getConfigFromExistingToNewComponent",
674
+ "signature": "(method) NewComponentHelperMain.writeAndAddNewCompFromFiles(files: File[], targetId: ComponentID, mainFile: string, options?: {\n path?: string;\n incrementPathIfConflicted?: boolean;\n}, config?: {\n [aspectName: string]: any;\n} | undefined): Promise<void>",
675
+ "name": "writeAndAddNewCompFromFiles",
676
676
  "params": [
677
677
  {
678
678
  "__schema": "ParameterSchema",
679
679
  "location": {
680
680
  "filePath": "new-component-helper.main.runtime.ts",
681
- "line": 148,
682
- "character": 45
681
+ "line": 134,
682
+ "character": 5
683
683
  },
684
- "name": "comp",
684
+ "name": "files",
685
685
  "type": {
686
- "__schema": "TypeRefSchema",
686
+ "__schema": "TypeArraySchema",
687
687
  "location": {
688
688
  "filePath": "new-component-helper.main.runtime.ts",
689
- "line": 148,
690
- "character": 51
689
+ "line": 134,
690
+ "character": 12
691
691
  },
692
- "name": "Component",
693
- "componentId": {
694
- "scope": "teambit.component",
695
- "name": "component"
692
+ "type": {
693
+ "__schema": "TypeRefSchema",
694
+ "location": {
695
+ "filePath": "new-component-helper.main.runtime.ts",
696
+ "line": 134,
697
+ "character": 12
698
+ },
699
+ "name": "File",
700
+ "internalFilePath": "new-component-helper.main.runtime.ts"
696
701
  }
697
702
  },
698
703
  "isOptional": false,
699
704
  "isSpread": false
700
- }
701
- ],
702
- "returnType": {
703
- "__schema": "InferenceTypeSchema",
704
- "location": {
705
- "filePath": "new-component-helper.main.runtime.ts",
706
- "line": 148,
707
- "character": 3
708
- },
709
- "type": "Promise<{}>"
710
- },
711
- "modifiers": [
712
- "async"
713
- ]
714
- },
715
- {
716
- "__schema": "VariableLikeSchema",
717
- "location": {
718
- "filePath": "new-component-helper.main.runtime.ts",
719
- "line": 163,
720
- "character": 3
721
- },
722
- "signature": "(property) NewComponentHelperMain.slots: never[]",
723
- "name": "slots",
724
- "type": {
725
- "__schema": "InferenceTypeSchema",
726
- "location": {
727
- "filePath": "new-component-helper.main.runtime.ts",
728
- "line": 163,
729
- "character": 3
730
- },
731
- "type": "never[]"
732
- },
733
- "isOptional": true,
734
- "defaultValue": "[]"
735
- },
736
- {
737
- "__schema": "VariableLikeSchema",
738
- "location": {
739
- "filePath": "new-component-helper.main.runtime.ts",
740
- "line": 164,
741
- "character": 3
742
- },
743
- "signature": "(property) NewComponentHelperMain.dependencies: Aspect[]",
744
- "name": "dependencies",
745
- "type": {
746
- "__schema": "InferenceTypeSchema",
747
- "location": {
748
- "filePath": "new-component-helper.main.runtime.ts",
749
- "line": 164,
750
- "character": 3
751
- },
752
- "type": "Aspect[]"
753
- },
754
- "isOptional": true,
755
- "defaultValue": "[WorkspaceAspect, TrackerAspect]"
756
- },
757
- {
758
- "__schema": "VariableLikeSchema",
759
- "location": {
760
- "filePath": "new-component-helper.main.runtime.ts",
761
- "line": 165,
762
- "character": 3
763
- },
764
- "signature": "(property) NewComponentHelperMain.runtime: RuntimeDefinition",
765
- "name": "runtime",
766
- "type": {
767
- "__schema": "InferenceTypeSchema",
768
- "location": {
769
- "filePath": "new-component-helper.main.runtime.ts",
770
- "line": 165,
771
- "character": 3
772
705
  },
773
- "type": "RuntimeDefinition"
774
- },
775
- "isOptional": true,
776
- "defaultValue": "MainRuntime"
777
- },
778
- {
779
- "__schema": "FunctionLikeSchema",
780
- "location": {
781
- "filePath": "new-component-helper.main.runtime.ts",
782
- "line": 166,
783
- "character": 3
784
- },
785
- "signature": "(method) NewComponentHelperMain.provider([workspace, tracker]: [Workspace, TrackerMain], config: any, _: any, harmony: Harmony): Promise<NewComponentHelperMain>",
786
- "name": "provider",
787
- "params": [
788
706
  {
789
707
  "__schema": "ParameterSchema",
790
708
  "location": {
791
709
  "filePath": "new-component-helper.main.runtime.ts",
792
- "line": 166,
793
- "character": 25
710
+ "line": 135,
711
+ "character": 5
794
712
  },
795
- "name": "[ workspace, tracker ]",
713
+ "name": "targetId",
796
714
  "type": {
797
- "__schema": "TupleTypeSchema",
715
+ "__schema": "TypeRefSchema",
798
716
  "location": {
799
717
  "filePath": "new-component-helper.main.runtime.ts",
800
- "line": 166,
801
- "character": 47
718
+ "line": 135,
719
+ "character": 15
802
720
  },
803
- "elements": [
804
- {
805
- "__schema": "TypeRefSchema",
806
- "location": {
807
- "filePath": "new-component-helper.main.runtime.ts",
808
- "line": 166,
809
- "character": 48
810
- },
811
- "name": "Workspace",
812
- "componentId": {
813
- "scope": "teambit.workspace",
814
- "name": "workspace"
815
- }
816
- },
817
- {
818
- "__schema": "TypeRefSchema",
819
- "location": {
820
- "filePath": "new-component-helper.main.runtime.ts",
821
- "line": 166,
822
- "character": 59
823
- },
824
- "name": "TrackerMain",
825
- "componentId": {
826
- "scope": "teambit.component",
827
- "name": "tracker"
828
- }
829
- }
830
- ]
721
+ "name": "ComponentID",
722
+ "componentId": {
723
+ "scope": "teambit.component",
724
+ "name": "component-id",
725
+ "version": "1.2.2"
726
+ }
831
727
  },
832
728
  "isOptional": false,
833
729
  "isSpread": false
@@ -836,18 +732,18 @@
836
732
  "__schema": "ParameterSchema",
837
733
  "location": {
838
734
  "filePath": "new-component-helper.main.runtime.ts",
839
- "line": 166,
840
- "character": 73
735
+ "line": 136,
736
+ "character": 5
841
737
  },
842
- "name": "config",
738
+ "name": "mainFile",
843
739
  "type": {
844
- "__schema": "InferenceTypeSchema",
740
+ "__schema": "KeywordTypeSchema",
845
741
  "location": {
846
742
  "filePath": "new-component-helper.main.runtime.ts",
847
- "line": 166,
848
- "character": 73
743
+ "line": 136,
744
+ "character": 15
849
745
  },
850
- "type": "any"
746
+ "name": "string"
851
747
  },
852
748
  "isOptional": false,
853
749
  "isSpread": false
@@ -856,45 +752,119 @@
856
752
  "__schema": "ParameterSchema",
857
753
  "location": {
858
754
  "filePath": "new-component-helper.main.runtime.ts",
859
- "line": 166,
860
- "character": 81
755
+ "line": 137,
756
+ "character": 5
861
757
  },
862
- "name": "_",
758
+ "name": "options",
863
759
  "type": {
864
- "__schema": "InferenceTypeSchema",
760
+ "__schema": "TypeLiteralSchema",
865
761
  "location": {
866
762
  "filePath": "new-component-helper.main.runtime.ts",
867
- "line": 166,
868
- "character": 81
763
+ "line": 137,
764
+ "character": 15
869
765
  },
870
- "type": "any"
766
+ "members": [
767
+ {
768
+ "__schema": "VariableLikeSchema",
769
+ "location": {
770
+ "filePath": "new-component-helper.main.runtime.ts",
771
+ "line": 137,
772
+ "character": 17
773
+ },
774
+ "signature": "(property) path?: string | undefined",
775
+ "name": "path",
776
+ "type": {
777
+ "__schema": "KeywordTypeSchema",
778
+ "location": {
779
+ "filePath": "new-component-helper.main.runtime.ts",
780
+ "line": 137,
781
+ "character": 24
782
+ },
783
+ "name": "string"
784
+ },
785
+ "isOptional": true
786
+ },
787
+ {
788
+ "__schema": "VariableLikeSchema",
789
+ "location": {
790
+ "filePath": "new-component-helper.main.runtime.ts",
791
+ "line": 137,
792
+ "character": 32
793
+ },
794
+ "signature": "(property) incrementPathIfConflicted?: boolean | undefined",
795
+ "name": "incrementPathIfConflicted",
796
+ "type": {
797
+ "__schema": "KeywordTypeSchema",
798
+ "location": {
799
+ "filePath": "new-component-helper.main.runtime.ts",
800
+ "line": 137,
801
+ "character": 60
802
+ },
803
+ "name": "boolean"
804
+ },
805
+ "isOptional": true
806
+ }
807
+ ]
871
808
  },
872
- "isOptional": false,
809
+ "isOptional": true,
873
810
  "isSpread": false
874
811
  },
875
812
  {
876
813
  "__schema": "ParameterSchema",
877
814
  "location": {
878
815
  "filePath": "new-component-helper.main.runtime.ts",
879
- "line": 166,
880
- "character": 84
816
+ "line": 138,
817
+ "character": 5
881
818
  },
882
- "name": "harmony",
819
+ "name": "config",
883
820
  "type": {
884
- "__schema": "TypeRefSchema",
821
+ "__schema": "TypeLiteralSchema",
885
822
  "location": {
886
823
  "filePath": "new-component-helper.main.runtime.ts",
887
- "line": 166,
888
- "character": 93
824
+ "line": 138,
825
+ "character": 14
889
826
  },
890
- "name": "Harmony",
891
- "componentId": {
892
- "scope": "teambit.harmony",
893
- "name": "harmony",
894
- "version": "0.4.6"
895
- }
827
+ "members": [
828
+ {
829
+ "__schema": "IndexSignatureSchema",
830
+ "location": {
831
+ "filePath": "new-component-helper.main.runtime.ts",
832
+ "line": 138,
833
+ "character": 16
834
+ },
835
+ "keyType": {
836
+ "__schema": "ParameterSchema",
837
+ "location": {
838
+ "filePath": "new-component-helper.main.runtime.ts",
839
+ "line": 138,
840
+ "character": 17
841
+ },
842
+ "name": "aspectName",
843
+ "type": {
844
+ "__schema": "KeywordTypeSchema",
845
+ "location": {
846
+ "filePath": "new-component-helper.main.runtime.ts",
847
+ "line": 138,
848
+ "character": 29
849
+ },
850
+ "name": "string"
851
+ },
852
+ "isOptional": false,
853
+ "isSpread": false
854
+ },
855
+ "valueType": {
856
+ "__schema": "KeywordTypeSchema",
857
+ "location": {
858
+ "filePath": "new-component-helper.main.runtime.ts",
859
+ "line": 138,
860
+ "character": 38
861
+ },
862
+ "name": "any"
863
+ }
864
+ }
865
+ ]
896
866
  },
897
- "isOptional": false,
867
+ "isOptional": true,
898
868
  "isSpread": false
899
869
  }
900
870
  ],
@@ -902,20 +872,375 @@
902
872
  "__schema": "InferenceTypeSchema",
903
873
  "location": {
904
874
  "filePath": "new-component-helper.main.runtime.ts",
905
- "line": 166,
875
+ "line": 133,
906
876
  "character": 3
907
877
  },
908
- "type": "Promise<NewComponentHelperMain>"
878
+ "type": "Promise<void>"
909
879
  },
910
880
  "modifiers": [
911
- "static",
912
881
  "async"
913
882
  ]
914
- }
915
- ],
916
- "extendsNodes": [],
917
- "implementNodes": []
918
- }
883
+ },
884
+ {
885
+ "__schema": "FunctionLikeSchema",
886
+ "location": {
887
+ "filePath": "new-component-helper.main.runtime.ts",
888
+ "line": 168,
889
+ "character": 3
890
+ },
891
+ "doc": {
892
+ "__schema": "DocSchema",
893
+ "location": {
894
+ "filePath": "new-component-helper.main.runtime.ts",
895
+ "line": 165,
896
+ "character": 3
897
+ },
898
+ "raw": "/**\n * writes component files into the specified directory.\n */",
899
+ "comment": "writes component files into the specified directory.",
900
+ "tags": []
901
+ },
902
+ "signature": "(method) NewComponentHelperMain.writeComponentFiles(componentPath: string, files: File[]): Promise<PathOsBasedRelative[]>",
903
+ "name": "writeComponentFiles",
904
+ "params": [
905
+ {
906
+ "__schema": "ParameterSchema",
907
+ "location": {
908
+ "filePath": "new-component-helper.main.runtime.ts",
909
+ "line": 168,
910
+ "character": 29
911
+ },
912
+ "name": "componentPath",
913
+ "type": {
914
+ "__schema": "KeywordTypeSchema",
915
+ "location": {
916
+ "filePath": "new-component-helper.main.runtime.ts",
917
+ "line": 168,
918
+ "character": 44
919
+ },
920
+ "name": "string"
921
+ },
922
+ "isOptional": false,
923
+ "isSpread": false
924
+ },
925
+ {
926
+ "__schema": "ParameterSchema",
927
+ "location": {
928
+ "filePath": "new-component-helper.main.runtime.ts",
929
+ "line": 168,
930
+ "character": 52
931
+ },
932
+ "name": "files",
933
+ "type": {
934
+ "__schema": "TypeArraySchema",
935
+ "location": {
936
+ "filePath": "new-component-helper.main.runtime.ts",
937
+ "line": 168,
938
+ "character": 59
939
+ },
940
+ "type": {
941
+ "__schema": "TypeRefSchema",
942
+ "location": {
943
+ "filePath": "new-component-helper.main.runtime.ts",
944
+ "line": 168,
945
+ "character": 59
946
+ },
947
+ "name": "File",
948
+ "internalFilePath": "new-component-helper.main.runtime.ts"
949
+ }
950
+ },
951
+ "isOptional": false,
952
+ "isSpread": false
953
+ }
954
+ ],
955
+ "returnType": {
956
+ "__schema": "TypeRefSchema",
957
+ "location": {
958
+ "filePath": "new-component-helper.main.runtime.ts",
959
+ "line": 168,
960
+ "character": 68
961
+ },
962
+ "name": "Promise",
963
+ "typeArgs": [
964
+ {
965
+ "__schema": "TypeArraySchema",
966
+ "location": {
967
+ "filePath": "new-component-helper.main.runtime.ts",
968
+ "line": 168,
969
+ "character": 76
970
+ },
971
+ "type": {
972
+ "__schema": "TypeRefSchema",
973
+ "location": {
974
+ "filePath": "new-component-helper.main.runtime.ts",
975
+ "line": 168,
976
+ "character": 76
977
+ },
978
+ "name": "PathOsBasedRelative",
979
+ "componentId": {
980
+ "scope": "teambit.toolbox",
981
+ "name": "path/path",
982
+ "version": "0.0.4"
983
+ }
984
+ }
985
+ }
986
+ ]
987
+ },
988
+ "modifiers": [
989
+ "async"
990
+ ]
991
+ },
992
+ {
993
+ "__schema": "FunctionLikeSchema",
994
+ "location": {
995
+ "filePath": "new-component-helper.main.runtime.ts",
996
+ "line": 203,
997
+ "character": 3
998
+ },
999
+ "signature": "(method) NewComponentHelperMain.getConfigFromExistingToNewComponent(comp: Component): Promise<{}>",
1000
+ "name": "getConfigFromExistingToNewComponent",
1001
+ "params": [
1002
+ {
1003
+ "__schema": "ParameterSchema",
1004
+ "location": {
1005
+ "filePath": "new-component-helper.main.runtime.ts",
1006
+ "line": 203,
1007
+ "character": 45
1008
+ },
1009
+ "name": "comp",
1010
+ "type": {
1011
+ "__schema": "TypeRefSchema",
1012
+ "location": {
1013
+ "filePath": "new-component-helper.main.runtime.ts",
1014
+ "line": 203,
1015
+ "character": 51
1016
+ },
1017
+ "name": "Component",
1018
+ "componentId": {
1019
+ "scope": "teambit.component",
1020
+ "name": "component"
1021
+ }
1022
+ },
1023
+ "isOptional": false,
1024
+ "isSpread": false
1025
+ }
1026
+ ],
1027
+ "returnType": {
1028
+ "__schema": "InferenceTypeSchema",
1029
+ "location": {
1030
+ "filePath": "new-component-helper.main.runtime.ts",
1031
+ "line": 203,
1032
+ "character": 3
1033
+ },
1034
+ "type": "Promise<{}>"
1035
+ },
1036
+ "modifiers": [
1037
+ "async"
1038
+ ]
1039
+ },
1040
+ {
1041
+ "__schema": "VariableLikeSchema",
1042
+ "location": {
1043
+ "filePath": "new-component-helper.main.runtime.ts",
1044
+ "line": 218,
1045
+ "character": 3
1046
+ },
1047
+ "signature": "(property) NewComponentHelperMain.slots: never[]",
1048
+ "name": "slots",
1049
+ "type": {
1050
+ "__schema": "InferenceTypeSchema",
1051
+ "location": {
1052
+ "filePath": "new-component-helper.main.runtime.ts",
1053
+ "line": 218,
1054
+ "character": 3
1055
+ },
1056
+ "type": "never[]"
1057
+ },
1058
+ "isOptional": true,
1059
+ "defaultValue": "[]"
1060
+ },
1061
+ {
1062
+ "__schema": "VariableLikeSchema",
1063
+ "location": {
1064
+ "filePath": "new-component-helper.main.runtime.ts",
1065
+ "line": 219,
1066
+ "character": 3
1067
+ },
1068
+ "signature": "(property) NewComponentHelperMain.dependencies: Aspect[]",
1069
+ "name": "dependencies",
1070
+ "type": {
1071
+ "__schema": "InferenceTypeSchema",
1072
+ "location": {
1073
+ "filePath": "new-component-helper.main.runtime.ts",
1074
+ "line": 219,
1075
+ "character": 3
1076
+ },
1077
+ "type": "Aspect[]"
1078
+ },
1079
+ "isOptional": true,
1080
+ "defaultValue": "[WorkspaceAspect, TrackerAspect]"
1081
+ },
1082
+ {
1083
+ "__schema": "VariableLikeSchema",
1084
+ "location": {
1085
+ "filePath": "new-component-helper.main.runtime.ts",
1086
+ "line": 220,
1087
+ "character": 3
1088
+ },
1089
+ "signature": "(property) NewComponentHelperMain.runtime: RuntimeDefinition",
1090
+ "name": "runtime",
1091
+ "type": {
1092
+ "__schema": "InferenceTypeSchema",
1093
+ "location": {
1094
+ "filePath": "new-component-helper.main.runtime.ts",
1095
+ "line": 220,
1096
+ "character": 3
1097
+ },
1098
+ "type": "RuntimeDefinition"
1099
+ },
1100
+ "isOptional": true,
1101
+ "defaultValue": "MainRuntime"
1102
+ },
1103
+ {
1104
+ "__schema": "FunctionLikeSchema",
1105
+ "location": {
1106
+ "filePath": "new-component-helper.main.runtime.ts",
1107
+ "line": 221,
1108
+ "character": 3
1109
+ },
1110
+ "signature": "(method) NewComponentHelperMain.provider([workspace, tracker]: [Workspace, TrackerMain], config: any, _: any, harmony: Harmony): Promise<NewComponentHelperMain>",
1111
+ "name": "provider",
1112
+ "params": [
1113
+ {
1114
+ "__schema": "ParameterSchema",
1115
+ "location": {
1116
+ "filePath": "new-component-helper.main.runtime.ts",
1117
+ "line": 221,
1118
+ "character": 25
1119
+ },
1120
+ "name": "[ workspace, tracker ]",
1121
+ "type": {
1122
+ "__schema": "TupleTypeSchema",
1123
+ "location": {
1124
+ "filePath": "new-component-helper.main.runtime.ts",
1125
+ "line": 221,
1126
+ "character": 47
1127
+ },
1128
+ "elements": [
1129
+ {
1130
+ "__schema": "TypeRefSchema",
1131
+ "location": {
1132
+ "filePath": "new-component-helper.main.runtime.ts",
1133
+ "line": 221,
1134
+ "character": 48
1135
+ },
1136
+ "name": "Workspace",
1137
+ "componentId": {
1138
+ "scope": "teambit.workspace",
1139
+ "name": "workspace"
1140
+ }
1141
+ },
1142
+ {
1143
+ "__schema": "TypeRefSchema",
1144
+ "location": {
1145
+ "filePath": "new-component-helper.main.runtime.ts",
1146
+ "line": 221,
1147
+ "character": 59
1148
+ },
1149
+ "name": "TrackerMain",
1150
+ "componentId": {
1151
+ "scope": "teambit.component",
1152
+ "name": "tracker"
1153
+ }
1154
+ }
1155
+ ]
1156
+ },
1157
+ "isOptional": false,
1158
+ "isSpread": false
1159
+ },
1160
+ {
1161
+ "__schema": "ParameterSchema",
1162
+ "location": {
1163
+ "filePath": "new-component-helper.main.runtime.ts",
1164
+ "line": 221,
1165
+ "character": 73
1166
+ },
1167
+ "name": "config",
1168
+ "type": {
1169
+ "__schema": "InferenceTypeSchema",
1170
+ "location": {
1171
+ "filePath": "new-component-helper.main.runtime.ts",
1172
+ "line": 221,
1173
+ "character": 73
1174
+ },
1175
+ "type": "any"
1176
+ },
1177
+ "isOptional": false,
1178
+ "isSpread": false
1179
+ },
1180
+ {
1181
+ "__schema": "ParameterSchema",
1182
+ "location": {
1183
+ "filePath": "new-component-helper.main.runtime.ts",
1184
+ "line": 221,
1185
+ "character": 81
1186
+ },
1187
+ "name": "_",
1188
+ "type": {
1189
+ "__schema": "InferenceTypeSchema",
1190
+ "location": {
1191
+ "filePath": "new-component-helper.main.runtime.ts",
1192
+ "line": 221,
1193
+ "character": 81
1194
+ },
1195
+ "type": "any"
1196
+ },
1197
+ "isOptional": false,
1198
+ "isSpread": false
1199
+ },
1200
+ {
1201
+ "__schema": "ParameterSchema",
1202
+ "location": {
1203
+ "filePath": "new-component-helper.main.runtime.ts",
1204
+ "line": 221,
1205
+ "character": 84
1206
+ },
1207
+ "name": "harmony",
1208
+ "type": {
1209
+ "__schema": "TypeRefSchema",
1210
+ "location": {
1211
+ "filePath": "new-component-helper.main.runtime.ts",
1212
+ "line": 221,
1213
+ "character": 93
1214
+ },
1215
+ "name": "Harmony",
1216
+ "componentId": {
1217
+ "scope": "teambit.harmony",
1218
+ "name": "harmony",
1219
+ "version": "0.4.6"
1220
+ }
1221
+ },
1222
+ "isOptional": false,
1223
+ "isSpread": false
1224
+ }
1225
+ ],
1226
+ "returnType": {
1227
+ "__schema": "InferenceTypeSchema",
1228
+ "location": {
1229
+ "filePath": "new-component-helper.main.runtime.ts",
1230
+ "line": 221,
1231
+ "character": 3
1232
+ },
1233
+ "type": "Promise<NewComponentHelperMain>"
1234
+ },
1235
+ "modifiers": [
1236
+ "static",
1237
+ "async"
1238
+ ]
1239
+ }
1240
+ ],
1241
+ "extendsNodes": [],
1242
+ "implementNodes": []
1243
+ }
919
1244
  },
920
1245
  {
921
1246
  "__schema": "UnImplementedSchema",
@@ -979,7 +1304,7 @@
979
1304
  "__schema": "ClassSchema",
980
1305
  "location": {
981
1306
  "filePath": "new-component-helper.main.runtime.ts",
982
- "line": 21,
1307
+ "line": 24,
983
1308
  "character": 1
984
1309
  },
985
1310
  "signature": "class NewComponentHelperMain",
@@ -989,7 +1314,7 @@
989
1314
  "__schema": "ConstructorSchema",
990
1315
  "location": {
991
1316
  "filePath": "new-component-helper.main.runtime.ts",
992
- "line": 22,
1317
+ "line": 25,
993
1318
  "character": 3
994
1319
  },
995
1320
  "signature": "constructor NewComponentHelperMain(workspace: Workspace, harmony: Harmony, tracker: TrackerMain): NewComponentHelperMain",
@@ -999,7 +1324,7 @@
999
1324
  "__schema": "ParameterSchema",
1000
1325
  "location": {
1001
1326
  "filePath": "new-component-helper.main.runtime.ts",
1002
- "line": 23,
1327
+ "line": 26,
1003
1328
  "character": 5
1004
1329
  },
1005
1330
  "name": "workspace",
@@ -1007,7 +1332,7 @@
1007
1332
  "__schema": "TypeRefSchema",
1008
1333
  "location": {
1009
1334
  "filePath": "new-component-helper.main.runtime.ts",
1010
- "line": 23,
1335
+ "line": 26,
1011
1336
  "character": 24
1012
1337
  },
1013
1338
  "name": "Workspace",
@@ -1023,7 +1348,7 @@
1023
1348
  "__schema": "ParameterSchema",
1024
1349
  "location": {
1025
1350
  "filePath": "new-component-helper.main.runtime.ts",
1026
- "line": 24,
1351
+ "line": 27,
1027
1352
  "character": 5
1028
1353
  },
1029
1354
  "name": "harmony",
@@ -1031,7 +1356,7 @@
1031
1356
  "__schema": "TypeRefSchema",
1032
1357
  "location": {
1033
1358
  "filePath": "new-component-helper.main.runtime.ts",
1034
- "line": 24,
1359
+ "line": 27,
1035
1360
  "character": 22
1036
1361
  },
1037
1362
  "name": "Harmony",
@@ -1048,7 +1373,7 @@
1048
1373
  "__schema": "ParameterSchema",
1049
1374
  "location": {
1050
1375
  "filePath": "new-component-helper.main.runtime.ts",
1051
- "line": 25,
1376
+ "line": 28,
1052
1377
  "character": 5
1053
1378
  },
1054
1379
  "name": "tracker",
@@ -1056,27 +1381,332 @@
1056
1381
  "__schema": "TypeRefSchema",
1057
1382
  "location": {
1058
1383
  "filePath": "new-component-helper.main.runtime.ts",
1059
- "line": 25,
1384
+ "line": 28,
1060
1385
  "character": 22
1061
1386
  },
1062
- "name": "TrackerMain",
1063
- "componentId": {
1064
- "scope": "teambit.component",
1065
- "name": "tracker"
1387
+ "name": "TrackerMain",
1388
+ "componentId": {
1389
+ "scope": "teambit.component",
1390
+ "name": "tracker"
1391
+ }
1392
+ },
1393
+ "isOptional": false,
1394
+ "isSpread": false
1395
+ }
1396
+ ],
1397
+ "returnType": {
1398
+ "__schema": "ThisTypeSchema",
1399
+ "location": {
1400
+ "filePath": "new-component-helper.main.runtime.ts",
1401
+ "line": 24,
1402
+ "character": 1
1403
+ },
1404
+ "name": "NewComponentHelperMain"
1405
+ },
1406
+ "modifiers": []
1407
+ },
1408
+ {
1409
+ "__schema": "FunctionLikeSchema",
1410
+ "location": {
1411
+ "filePath": "new-component-helper.main.runtime.ts",
1412
+ "line": 34,
1413
+ "character": 3
1414
+ },
1415
+ "doc": {
1416
+ "__schema": "DocSchema",
1417
+ "location": {
1418
+ "filePath": "new-component-helper.main.runtime.ts",
1419
+ "line": 30,
1420
+ "character": 3
1421
+ },
1422
+ "raw": "/**\n * when creating/forking a component, the user provides the new name and optionally the scope/namespace.\n * from this user input, create a ComponentID.\n */",
1423
+ "comment": "when creating/forking a component, the user provides the new name and optionally the scope/namespace.\nfrom this user input, create a ComponentID.",
1424
+ "tags": []
1425
+ },
1426
+ "signature": "(method) NewComponentHelperMain.getNewComponentId(name: string, namespace?: string, scope?: string): ComponentID",
1427
+ "name": "getNewComponentId",
1428
+ "params": [
1429
+ {
1430
+ "__schema": "ParameterSchema",
1431
+ "location": {
1432
+ "filePath": "new-component-helper.main.runtime.ts",
1433
+ "line": 34,
1434
+ "character": 21
1435
+ },
1436
+ "name": "name",
1437
+ "type": {
1438
+ "__schema": "KeywordTypeSchema",
1439
+ "location": {
1440
+ "filePath": "new-component-helper.main.runtime.ts",
1441
+ "line": 34,
1442
+ "character": 27
1443
+ },
1444
+ "name": "string"
1445
+ },
1446
+ "isOptional": false,
1447
+ "isSpread": false
1448
+ },
1449
+ {
1450
+ "__schema": "ParameterSchema",
1451
+ "location": {
1452
+ "filePath": "new-component-helper.main.runtime.ts",
1453
+ "line": 34,
1454
+ "character": 35
1455
+ },
1456
+ "name": "namespace",
1457
+ "type": {
1458
+ "__schema": "KeywordTypeSchema",
1459
+ "location": {
1460
+ "filePath": "new-component-helper.main.runtime.ts",
1461
+ "line": 34,
1462
+ "character": 47
1463
+ },
1464
+ "name": "string"
1465
+ },
1466
+ "isOptional": true,
1467
+ "isSpread": false
1468
+ },
1469
+ {
1470
+ "__schema": "ParameterSchema",
1471
+ "location": {
1472
+ "filePath": "new-component-helper.main.runtime.ts",
1473
+ "line": 34,
1474
+ "character": 55
1475
+ },
1476
+ "name": "scope",
1477
+ "type": {
1478
+ "__schema": "KeywordTypeSchema",
1479
+ "location": {
1480
+ "filePath": "new-component-helper.main.runtime.ts",
1481
+ "line": 34,
1482
+ "character": 63
1483
+ },
1484
+ "name": "string"
1485
+ },
1486
+ "isOptional": true,
1487
+ "isSpread": false
1488
+ }
1489
+ ],
1490
+ "returnType": {
1491
+ "__schema": "TypeRefSchema",
1492
+ "location": {
1493
+ "filePath": "new-component-helper.main.runtime.ts",
1494
+ "line": 34,
1495
+ "character": 3
1496
+ },
1497
+ "name": "ComponentID",
1498
+ "componentId": {
1499
+ "scope": "teambit.component",
1500
+ "name": "component-id",
1501
+ "version": "1.2.2"
1502
+ }
1503
+ },
1504
+ "modifiers": []
1505
+ },
1506
+ {
1507
+ "__schema": "FunctionLikeSchema",
1508
+ "location": {
1509
+ "filePath": "new-component-helper.main.runtime.ts",
1510
+ "line": 50,
1511
+ "character": 3
1512
+ },
1513
+ "doc": {
1514
+ "__schema": "DocSchema",
1515
+ "location": {
1516
+ "filePath": "new-component-helper.main.runtime.ts",
1517
+ "line": 45,
1518
+ "character": 3
1519
+ },
1520
+ "raw": "/**\n * when creating/forking a component, the user may or may not provide a path.\n * if not provided, generate the path based on the component-id.\n * the component will be written to that path.\n */",
1521
+ "comment": "when creating/forking a component, the user may or may not provide a path.\nif not provided, generate the path based on the component-id.\nthe component will be written to that path.",
1522
+ "tags": []
1523
+ },
1524
+ "signature": "(method) NewComponentHelperMain.getNewComponentPath(componentId: ComponentID, { pathFromUser, componentsToCreate, incrementPathIfConflicted, }?: {\n pathFromUser?: string;\n componentsToCreate?: number;\n incrementPathIfConflicted?: boolean;\n}): PathLinuxRelative",
1525
+ "name": "getNewComponentPath",
1526
+ "params": [
1527
+ {
1528
+ "__schema": "ParameterSchema",
1529
+ "location": {
1530
+ "filePath": "new-component-helper.main.runtime.ts",
1531
+ "line": 51,
1532
+ "character": 5
1533
+ },
1534
+ "name": "componentId",
1535
+ "type": {
1536
+ "__schema": "TypeRefSchema",
1537
+ "location": {
1538
+ "filePath": "new-component-helper.main.runtime.ts",
1539
+ "line": 51,
1540
+ "character": 18
1541
+ },
1542
+ "name": "ComponentID",
1543
+ "componentId": {
1544
+ "scope": "teambit.component",
1545
+ "name": "component-id",
1546
+ "version": "1.2.2"
1547
+ }
1548
+ },
1549
+ "isOptional": false,
1550
+ "isSpread": false
1551
+ },
1552
+ {
1553
+ "__schema": "ParameterSchema",
1554
+ "location": {
1555
+ "filePath": "new-component-helper.main.runtime.ts",
1556
+ "line": 52,
1557
+ "character": 5
1558
+ },
1559
+ "name": "{ pathFromUser, componentsToCreate, incrementPathIfConflicted }",
1560
+ "type": {
1561
+ "__schema": "TypeLiteralSchema",
1562
+ "location": {
1563
+ "filePath": "new-component-helper.main.runtime.ts",
1564
+ "line": 56,
1565
+ "character": 8
1566
+ },
1567
+ "members": [
1568
+ {
1569
+ "__schema": "VariableLikeSchema",
1570
+ "location": {
1571
+ "filePath": "new-component-helper.main.runtime.ts",
1572
+ "line": 56,
1573
+ "character": 10
1574
+ },
1575
+ "signature": "(property) pathFromUser?: string | undefined",
1576
+ "name": "pathFromUser",
1577
+ "type": {
1578
+ "__schema": "KeywordTypeSchema",
1579
+ "location": {
1580
+ "filePath": "new-component-helper.main.runtime.ts",
1581
+ "line": 56,
1582
+ "character": 25
1583
+ },
1584
+ "name": "string"
1585
+ },
1586
+ "isOptional": true
1587
+ },
1588
+ {
1589
+ "__schema": "VariableLikeSchema",
1590
+ "location": {
1591
+ "filePath": "new-component-helper.main.runtime.ts",
1592
+ "line": 56,
1593
+ "character": 33
1594
+ },
1595
+ "signature": "(property) componentsToCreate?: number | undefined",
1596
+ "name": "componentsToCreate",
1597
+ "type": {
1598
+ "__schema": "KeywordTypeSchema",
1599
+ "location": {
1600
+ "filePath": "new-component-helper.main.runtime.ts",
1601
+ "line": 56,
1602
+ "character": 54
1603
+ },
1604
+ "name": "number"
1605
+ },
1606
+ "isOptional": true
1607
+ },
1608
+ {
1609
+ "__schema": "VariableLikeSchema",
1610
+ "location": {
1611
+ "filePath": "new-component-helper.main.runtime.ts",
1612
+ "line": 56,
1613
+ "character": 62
1614
+ },
1615
+ "signature": "(property) incrementPathIfConflicted?: boolean | undefined",
1616
+ "name": "incrementPathIfConflicted",
1617
+ "type": {
1618
+ "__schema": "KeywordTypeSchema",
1619
+ "location": {
1620
+ "filePath": "new-component-helper.main.runtime.ts",
1621
+ "line": 56,
1622
+ "character": 90
1623
+ },
1624
+ "name": "boolean"
1625
+ },
1626
+ "isOptional": true
1627
+ }
1628
+ ]
1629
+ },
1630
+ "isOptional": true,
1631
+ "defaultValue": "{}",
1632
+ "objectBindingNodes": [
1633
+ {
1634
+ "__schema": "VariableLikeSchema",
1635
+ "location": {
1636
+ "filePath": "new-component-helper.main.runtime.ts",
1637
+ "line": 56,
1638
+ "character": 10
1639
+ },
1640
+ "signature": "(property) pathFromUser?: string | undefined",
1641
+ "name": "pathFromUser",
1642
+ "type": {
1643
+ "__schema": "KeywordTypeSchema",
1644
+ "location": {
1645
+ "filePath": "new-component-helper.main.runtime.ts",
1646
+ "line": 56,
1647
+ "character": 25
1648
+ },
1649
+ "name": "string"
1650
+ },
1651
+ "isOptional": true
1652
+ },
1653
+ {
1654
+ "__schema": "VariableLikeSchema",
1655
+ "location": {
1656
+ "filePath": "new-component-helper.main.runtime.ts",
1657
+ "line": 56,
1658
+ "character": 33
1659
+ },
1660
+ "signature": "(property) componentsToCreate?: number | undefined",
1661
+ "name": "componentsToCreate",
1662
+ "type": {
1663
+ "__schema": "KeywordTypeSchema",
1664
+ "location": {
1665
+ "filePath": "new-component-helper.main.runtime.ts",
1666
+ "line": 56,
1667
+ "character": 54
1668
+ },
1669
+ "name": "number"
1670
+ },
1671
+ "isOptional": true
1672
+ },
1673
+ {
1674
+ "__schema": "VariableLikeSchema",
1675
+ "location": {
1676
+ "filePath": "new-component-helper.main.runtime.ts",
1677
+ "line": 56,
1678
+ "character": 62
1679
+ },
1680
+ "signature": "(property) incrementPathIfConflicted?: boolean | undefined",
1681
+ "name": "incrementPathIfConflicted",
1682
+ "type": {
1683
+ "__schema": "KeywordTypeSchema",
1684
+ "location": {
1685
+ "filePath": "new-component-helper.main.runtime.ts",
1686
+ "line": 56,
1687
+ "character": 90
1688
+ },
1689
+ "name": "boolean"
1690
+ },
1691
+ "isOptional": true
1066
1692
  }
1067
- },
1068
- "isOptional": false,
1693
+ ],
1069
1694
  "isSpread": false
1070
1695
  }
1071
1696
  ],
1072
1697
  "returnType": {
1073
- "__schema": "ThisTypeSchema",
1698
+ "__schema": "TypeRefSchema",
1074
1699
  "location": {
1075
1700
  "filePath": "new-component-helper.main.runtime.ts",
1076
- "line": 21,
1077
- "character": 1
1701
+ "line": 50,
1702
+ "character": 3
1078
1703
  },
1079
- "name": "NewComponentHelperMain"
1704
+ "name": "PathLinuxRelative",
1705
+ "componentId": {
1706
+ "scope": "teambit.toolbox",
1707
+ "name": "path/path",
1708
+ "version": "0.0.4"
1709
+ }
1080
1710
  },
1081
1711
  "modifiers": []
1082
1712
  },
@@ -1084,39 +1714,32 @@
1084
1714
  "__schema": "FunctionLikeSchema",
1085
1715
  "location": {
1086
1716
  "filePath": "new-component-helper.main.runtime.ts",
1087
- "line": 31,
1717
+ "line": 92,
1088
1718
  "character": 3
1089
1719
  },
1090
- "doc": {
1091
- "__schema": "DocSchema",
1092
- "location": {
1093
- "filePath": "new-component-helper.main.runtime.ts",
1094
- "line": 27,
1095
- "character": 3
1096
- },
1097
- "raw": "/**\n * when creating/forking a component, the user provides the new name and optionally the scope/namespace.\n * from this user input, create a ComponentID.\n */",
1098
- "comment": "when creating/forking a component, the user provides the new name and optionally the scope/namespace.\nfrom this user input, create a ComponentID.",
1099
- "tags": []
1100
- },
1101
- "signature": "(method) NewComponentHelperMain.getNewComponentId(name: string, namespace?: string, scope?: string): ComponentID",
1102
- "name": "getNewComponentId",
1720
+ "signature": "(method) NewComponentHelperMain.writeAndAddNewComp(comp: Component, targetId: ComponentID, options?: {\n path?: string;\n scope?: string;\n env?: string;\n incrementPathIfConflicted?: boolean;\n}, config?: {\n [aspectName: string]: any;\n} | undefined): Promise<void>",
1721
+ "name": "writeAndAddNewComp",
1103
1722
  "params": [
1104
1723
  {
1105
1724
  "__schema": "ParameterSchema",
1106
1725
  "location": {
1107
1726
  "filePath": "new-component-helper.main.runtime.ts",
1108
- "line": 31,
1109
- "character": 21
1727
+ "line": 93,
1728
+ "character": 5
1110
1729
  },
1111
- "name": "name",
1730
+ "name": "comp",
1112
1731
  "type": {
1113
- "__schema": "KeywordTypeSchema",
1732
+ "__schema": "TypeRefSchema",
1114
1733
  "location": {
1115
1734
  "filePath": "new-component-helper.main.runtime.ts",
1116
- "line": 31,
1117
- "character": 27
1735
+ "line": 93,
1736
+ "character": 11
1118
1737
  },
1119
- "name": "string"
1738
+ "name": "Component",
1739
+ "componentId": {
1740
+ "scope": "teambit.component",
1741
+ "name": "component"
1742
+ }
1120
1743
  },
1121
1744
  "isOptional": false,
1122
1745
  "isSpread": false
@@ -1125,94 +1748,16 @@
1125
1748
  "__schema": "ParameterSchema",
1126
1749
  "location": {
1127
1750
  "filePath": "new-component-helper.main.runtime.ts",
1128
- "line": 31,
1129
- "character": 35
1130
- },
1131
- "name": "namespace",
1132
- "type": {
1133
- "__schema": "KeywordTypeSchema",
1134
- "location": {
1135
- "filePath": "new-component-helper.main.runtime.ts",
1136
- "line": 31,
1137
- "character": 47
1138
- },
1139
- "name": "string"
1140
- },
1141
- "isOptional": true,
1142
- "isSpread": false
1143
- },
1144
- {
1145
- "__schema": "ParameterSchema",
1146
- "location": {
1147
- "filePath": "new-component-helper.main.runtime.ts",
1148
- "line": 31,
1149
- "character": 55
1150
- },
1151
- "name": "scope",
1152
- "type": {
1153
- "__schema": "KeywordTypeSchema",
1154
- "location": {
1155
- "filePath": "new-component-helper.main.runtime.ts",
1156
- "line": 31,
1157
- "character": 63
1158
- },
1159
- "name": "string"
1160
- },
1161
- "isOptional": true,
1162
- "isSpread": false
1163
- }
1164
- ],
1165
- "returnType": {
1166
- "__schema": "TypeRefSchema",
1167
- "location": {
1168
- "filePath": "new-component-helper.main.runtime.ts",
1169
- "line": 31,
1170
- "character": 3
1171
- },
1172
- "name": "ComponentID",
1173
- "componentId": {
1174
- "scope": "teambit.component",
1175
- "name": "component-id",
1176
- "version": "1.2.2"
1177
- }
1178
- },
1179
- "modifiers": []
1180
- },
1181
- {
1182
- "__schema": "FunctionLikeSchema",
1183
- "location": {
1184
- "filePath": "new-component-helper.main.runtime.ts",
1185
- "line": 47,
1186
- "character": 3
1187
- },
1188
- "doc": {
1189
- "__schema": "DocSchema",
1190
- "location": {
1191
- "filePath": "new-component-helper.main.runtime.ts",
1192
- "line": 42,
1193
- "character": 3
1194
- },
1195
- "raw": "/**\n * when creating/forking a component, the user may or may not provide a path.\n * if not provided, generate the path based on the component-id.\n * the component will be written to that path.\n */",
1196
- "comment": "when creating/forking a component, the user may or may not provide a path.\nif not provided, generate the path based on the component-id.\nthe component will be written to that path.",
1197
- "tags": []
1198
- },
1199
- "signature": "(method) NewComponentHelperMain.getNewComponentPath(componentId: ComponentID, { pathFromUser, componentsToCreate, incrementPathIfConflicted, }?: {\n pathFromUser?: string;\n componentsToCreate?: number;\n incrementPathIfConflicted?: boolean;\n}): PathLinuxRelative",
1200
- "name": "getNewComponentPath",
1201
- "params": [
1202
- {
1203
- "__schema": "ParameterSchema",
1204
- "location": {
1205
- "filePath": "new-component-helper.main.runtime.ts",
1206
- "line": 48,
1751
+ "line": 94,
1207
1752
  "character": 5
1208
1753
  },
1209
- "name": "componentId",
1754
+ "name": "targetId",
1210
1755
  "type": {
1211
1756
  "__schema": "TypeRefSchema",
1212
1757
  "location": {
1213
1758
  "filePath": "new-component-helper.main.runtime.ts",
1214
- "line": 48,
1215
- "character": 18
1759
+ "line": 94,
1760
+ "character": 15
1216
1761
  },
1217
1762
  "name": "ComponentID",
1218
1763
  "componentId": {
@@ -1228,33 +1773,33 @@
1228
1773
  "__schema": "ParameterSchema",
1229
1774
  "location": {
1230
1775
  "filePath": "new-component-helper.main.runtime.ts",
1231
- "line": 49,
1776
+ "line": 95,
1232
1777
  "character": 5
1233
1778
  },
1234
- "name": "{ pathFromUser, componentsToCreate, incrementPathIfConflicted }",
1779
+ "name": "options",
1235
1780
  "type": {
1236
1781
  "__schema": "TypeLiteralSchema",
1237
1782
  "location": {
1238
1783
  "filePath": "new-component-helper.main.runtime.ts",
1239
- "line": 53,
1240
- "character": 8
1784
+ "line": 95,
1785
+ "character": 15
1241
1786
  },
1242
1787
  "members": [
1243
1788
  {
1244
1789
  "__schema": "VariableLikeSchema",
1245
1790
  "location": {
1246
1791
  "filePath": "new-component-helper.main.runtime.ts",
1247
- "line": 53,
1248
- "character": 10
1792
+ "line": 95,
1793
+ "character": 17
1249
1794
  },
1250
- "signature": "(property) pathFromUser?: string | undefined",
1251
- "name": "pathFromUser",
1795
+ "signature": "(property) path?: string | undefined",
1796
+ "name": "path",
1252
1797
  "type": {
1253
1798
  "__schema": "KeywordTypeSchema",
1254
1799
  "location": {
1255
1800
  "filePath": "new-component-helper.main.runtime.ts",
1256
- "line": 53,
1257
- "character": 25
1801
+ "line": 95,
1802
+ "character": 24
1258
1803
  },
1259
1804
  "name": "string"
1260
1805
  },
@@ -1264,19 +1809,39 @@
1264
1809
  "__schema": "VariableLikeSchema",
1265
1810
  "location": {
1266
1811
  "filePath": "new-component-helper.main.runtime.ts",
1267
- "line": 53,
1268
- "character": 33
1812
+ "line": 95,
1813
+ "character": 32
1269
1814
  },
1270
- "signature": "(property) componentsToCreate?: number | undefined",
1271
- "name": "componentsToCreate",
1815
+ "signature": "(property) scope?: string | undefined",
1816
+ "name": "scope",
1817
+ "type": {
1818
+ "__schema": "KeywordTypeSchema",
1819
+ "location": {
1820
+ "filePath": "new-component-helper.main.runtime.ts",
1821
+ "line": 95,
1822
+ "character": 40
1823
+ },
1824
+ "name": "string"
1825
+ },
1826
+ "isOptional": true
1827
+ },
1828
+ {
1829
+ "__schema": "VariableLikeSchema",
1830
+ "location": {
1831
+ "filePath": "new-component-helper.main.runtime.ts",
1832
+ "line": 95,
1833
+ "character": 48
1834
+ },
1835
+ "signature": "(property) env?: string | undefined",
1836
+ "name": "env",
1272
1837
  "type": {
1273
1838
  "__schema": "KeywordTypeSchema",
1274
1839
  "location": {
1275
1840
  "filePath": "new-component-helper.main.runtime.ts",
1276
- "line": 53,
1841
+ "line": 95,
1277
1842
  "character": 54
1278
1843
  },
1279
- "name": "number"
1844
+ "name": "string"
1280
1845
  },
1281
1846
  "isOptional": true
1282
1847
  },
@@ -1284,136 +1849,133 @@
1284
1849
  "__schema": "VariableLikeSchema",
1285
1850
  "location": {
1286
1851
  "filePath": "new-component-helper.main.runtime.ts",
1287
- "line": 53,
1852
+ "line": 95,
1288
1853
  "character": 62
1289
1854
  },
1290
- "signature": "(property) incrementPathIfConflicted?: boolean | undefined",
1291
- "name": "incrementPathIfConflicted",
1292
- "type": {
1855
+ "signature": "(property) incrementPathIfConflicted?: boolean | undefined",
1856
+ "name": "incrementPathIfConflicted",
1857
+ "type": {
1858
+ "__schema": "KeywordTypeSchema",
1859
+ "location": {
1860
+ "filePath": "new-component-helper.main.runtime.ts",
1861
+ "line": 95,
1862
+ "character": 90
1863
+ },
1864
+ "name": "boolean"
1865
+ },
1866
+ "isOptional": true
1867
+ }
1868
+ ]
1869
+ },
1870
+ "isOptional": true,
1871
+ "isSpread": false
1872
+ },
1873
+ {
1874
+ "__schema": "ParameterSchema",
1875
+ "location": {
1876
+ "filePath": "new-component-helper.main.runtime.ts",
1877
+ "line": 96,
1878
+ "character": 5
1879
+ },
1880
+ "name": "config",
1881
+ "type": {
1882
+ "__schema": "TypeLiteralSchema",
1883
+ "location": {
1884
+ "filePath": "new-component-helper.main.runtime.ts",
1885
+ "line": 96,
1886
+ "character": 14
1887
+ },
1888
+ "members": [
1889
+ {
1890
+ "__schema": "IndexSignatureSchema",
1891
+ "location": {
1892
+ "filePath": "new-component-helper.main.runtime.ts",
1893
+ "line": 96,
1894
+ "character": 16
1895
+ },
1896
+ "keyType": {
1897
+ "__schema": "ParameterSchema",
1898
+ "location": {
1899
+ "filePath": "new-component-helper.main.runtime.ts",
1900
+ "line": 96,
1901
+ "character": 17
1902
+ },
1903
+ "name": "aspectName",
1904
+ "type": {
1905
+ "__schema": "KeywordTypeSchema",
1906
+ "location": {
1907
+ "filePath": "new-component-helper.main.runtime.ts",
1908
+ "line": 96,
1909
+ "character": 29
1910
+ },
1911
+ "name": "string"
1912
+ },
1913
+ "isOptional": false,
1914
+ "isSpread": false
1915
+ },
1916
+ "valueType": {
1293
1917
  "__schema": "KeywordTypeSchema",
1294
1918
  "location": {
1295
1919
  "filePath": "new-component-helper.main.runtime.ts",
1296
- "line": 53,
1297
- "character": 90
1920
+ "line": 96,
1921
+ "character": 38
1298
1922
  },
1299
- "name": "boolean"
1300
- },
1301
- "isOptional": true
1923
+ "name": "any"
1924
+ }
1302
1925
  }
1303
1926
  ]
1304
1927
  },
1305
1928
  "isOptional": true,
1306
- "defaultValue": "{}",
1307
- "objectBindingNodes": [
1308
- {
1309
- "__schema": "VariableLikeSchema",
1310
- "location": {
1311
- "filePath": "new-component-helper.main.runtime.ts",
1312
- "line": 53,
1313
- "character": 10
1314
- },
1315
- "signature": "(property) pathFromUser?: string | undefined",
1316
- "name": "pathFromUser",
1317
- "type": {
1318
- "__schema": "KeywordTypeSchema",
1319
- "location": {
1320
- "filePath": "new-component-helper.main.runtime.ts",
1321
- "line": 53,
1322
- "character": 25
1323
- },
1324
- "name": "string"
1325
- },
1326
- "isOptional": true
1327
- },
1328
- {
1329
- "__schema": "VariableLikeSchema",
1330
- "location": {
1331
- "filePath": "new-component-helper.main.runtime.ts",
1332
- "line": 53,
1333
- "character": 33
1334
- },
1335
- "signature": "(property) componentsToCreate?: number | undefined",
1336
- "name": "componentsToCreate",
1337
- "type": {
1338
- "__schema": "KeywordTypeSchema",
1339
- "location": {
1340
- "filePath": "new-component-helper.main.runtime.ts",
1341
- "line": 53,
1342
- "character": 54
1343
- },
1344
- "name": "number"
1345
- },
1346
- "isOptional": true
1347
- },
1348
- {
1349
- "__schema": "VariableLikeSchema",
1350
- "location": {
1351
- "filePath": "new-component-helper.main.runtime.ts",
1352
- "line": 53,
1353
- "character": 62
1354
- },
1355
- "signature": "(property) incrementPathIfConflicted?: boolean | undefined",
1356
- "name": "incrementPathIfConflicted",
1357
- "type": {
1358
- "__schema": "KeywordTypeSchema",
1359
- "location": {
1360
- "filePath": "new-component-helper.main.runtime.ts",
1361
- "line": 53,
1362
- "character": 90
1363
- },
1364
- "name": "boolean"
1365
- },
1366
- "isOptional": true
1367
- }
1368
- ],
1369
1929
  "isSpread": false
1370
1930
  }
1371
1931
  ],
1372
1932
  "returnType": {
1373
- "__schema": "TypeRefSchema",
1933
+ "__schema": "InferenceTypeSchema",
1374
1934
  "location": {
1375
1935
  "filePath": "new-component-helper.main.runtime.ts",
1376
- "line": 47,
1936
+ "line": 92,
1377
1937
  "character": 3
1378
1938
  },
1379
- "name": "PathLinuxRelative",
1380
- "componentId": {
1381
- "scope": "teambit.toolbox",
1382
- "name": "path/path",
1383
- "version": "0.0.4"
1384
- }
1939
+ "type": "Promise<void>"
1385
1940
  },
1386
- "modifiers": []
1941
+ "modifiers": [
1942
+ "async"
1943
+ ]
1387
1944
  },
1388
1945
  {
1389
1946
  "__schema": "FunctionLikeSchema",
1390
1947
  "location": {
1391
1948
  "filePath": "new-component-helper.main.runtime.ts",
1392
- "line": 89,
1949
+ "line": 133,
1393
1950
  "character": 3
1394
1951
  },
1395
- "signature": "(method) NewComponentHelperMain.writeAndAddNewComp(comp: Component, targetId: ComponentID, options?: {\n path?: string;\n scope?: string;\n env?: string;\n incrementPathIfConflicted?: boolean;\n}, config?: {\n [aspectName: string]: any;\n} | undefined): Promise<void>",
1396
- "name": "writeAndAddNewComp",
1952
+ "signature": "(method) NewComponentHelperMain.writeAndAddNewCompFromFiles(files: File[], targetId: ComponentID, mainFile: string, options?: {\n path?: string;\n incrementPathIfConflicted?: boolean;\n}, config?: {\n [aspectName: string]: any;\n} | undefined): Promise<void>",
1953
+ "name": "writeAndAddNewCompFromFiles",
1397
1954
  "params": [
1398
1955
  {
1399
1956
  "__schema": "ParameterSchema",
1400
1957
  "location": {
1401
1958
  "filePath": "new-component-helper.main.runtime.ts",
1402
- "line": 90,
1959
+ "line": 134,
1403
1960
  "character": 5
1404
1961
  },
1405
- "name": "comp",
1962
+ "name": "files",
1406
1963
  "type": {
1407
- "__schema": "TypeRefSchema",
1964
+ "__schema": "TypeArraySchema",
1408
1965
  "location": {
1409
1966
  "filePath": "new-component-helper.main.runtime.ts",
1410
- "line": 90,
1411
- "character": 11
1967
+ "line": 134,
1968
+ "character": 12
1412
1969
  },
1413
- "name": "Component",
1414
- "componentId": {
1415
- "scope": "teambit.component",
1416
- "name": "component"
1970
+ "type": {
1971
+ "__schema": "TypeRefSchema",
1972
+ "location": {
1973
+ "filePath": "new-component-helper.main.runtime.ts",
1974
+ "line": 134,
1975
+ "character": 12
1976
+ },
1977
+ "name": "File",
1978
+ "internalFilePath": "new-component-helper.main.runtime.ts"
1417
1979
  }
1418
1980
  },
1419
1981
  "isOptional": false,
@@ -1423,7 +1985,7 @@
1423
1985
  "__schema": "ParameterSchema",
1424
1986
  "location": {
1425
1987
  "filePath": "new-component-helper.main.runtime.ts",
1426
- "line": 91,
1988
+ "line": 135,
1427
1989
  "character": 5
1428
1990
  },
1429
1991
  "name": "targetId",
@@ -1431,7 +1993,7 @@
1431
1993
  "__schema": "TypeRefSchema",
1432
1994
  "location": {
1433
1995
  "filePath": "new-component-helper.main.runtime.ts",
1434
- "line": 91,
1996
+ "line": 135,
1435
1997
  "character": 15
1436
1998
  },
1437
1999
  "name": "ComponentID",
@@ -1448,7 +2010,27 @@
1448
2010
  "__schema": "ParameterSchema",
1449
2011
  "location": {
1450
2012
  "filePath": "new-component-helper.main.runtime.ts",
1451
- "line": 92,
2013
+ "line": 136,
2014
+ "character": 5
2015
+ },
2016
+ "name": "mainFile",
2017
+ "type": {
2018
+ "__schema": "KeywordTypeSchema",
2019
+ "location": {
2020
+ "filePath": "new-component-helper.main.runtime.ts",
2021
+ "line": 136,
2022
+ "character": 15
2023
+ },
2024
+ "name": "string"
2025
+ },
2026
+ "isOptional": false,
2027
+ "isSpread": false
2028
+ },
2029
+ {
2030
+ "__schema": "ParameterSchema",
2031
+ "location": {
2032
+ "filePath": "new-component-helper.main.runtime.ts",
2033
+ "line": 137,
1452
2034
  "character": 5
1453
2035
  },
1454
2036
  "name": "options",
@@ -1456,7 +2038,7 @@
1456
2038
  "__schema": "TypeLiteralSchema",
1457
2039
  "location": {
1458
2040
  "filePath": "new-component-helper.main.runtime.ts",
1459
- "line": 92,
2041
+ "line": 137,
1460
2042
  "character": 15
1461
2043
  },
1462
2044
  "members": [
@@ -1464,7 +2046,7 @@
1464
2046
  "__schema": "VariableLikeSchema",
1465
2047
  "location": {
1466
2048
  "filePath": "new-component-helper.main.runtime.ts",
1467
- "line": 92,
2049
+ "line": 137,
1468
2050
  "character": 17
1469
2051
  },
1470
2052
  "signature": "(property) path?: string | undefined",
@@ -1473,7 +2055,7 @@
1473
2055
  "__schema": "KeywordTypeSchema",
1474
2056
  "location": {
1475
2057
  "filePath": "new-component-helper.main.runtime.ts",
1476
- "line": 92,
2058
+ "line": 137,
1477
2059
  "character": 24
1478
2060
  },
1479
2061
  "name": "string"
@@ -1484,57 +2066,17 @@
1484
2066
  "__schema": "VariableLikeSchema",
1485
2067
  "location": {
1486
2068
  "filePath": "new-component-helper.main.runtime.ts",
1487
- "line": 92,
2069
+ "line": 137,
1488
2070
  "character": 32
1489
2071
  },
1490
- "signature": "(property) scope?: string | undefined",
1491
- "name": "scope",
1492
- "type": {
1493
- "__schema": "KeywordTypeSchema",
1494
- "location": {
1495
- "filePath": "new-component-helper.main.runtime.ts",
1496
- "line": 92,
1497
- "character": 40
1498
- },
1499
- "name": "string"
1500
- },
1501
- "isOptional": true
1502
- },
1503
- {
1504
- "__schema": "VariableLikeSchema",
1505
- "location": {
1506
- "filePath": "new-component-helper.main.runtime.ts",
1507
- "line": 92,
1508
- "character": 48
1509
- },
1510
- "signature": "(property) env?: string | undefined",
1511
- "name": "env",
1512
- "type": {
1513
- "__schema": "KeywordTypeSchema",
1514
- "location": {
1515
- "filePath": "new-component-helper.main.runtime.ts",
1516
- "line": 92,
1517
- "character": 54
1518
- },
1519
- "name": "string"
1520
- },
1521
- "isOptional": true
1522
- },
1523
- {
1524
- "__schema": "VariableLikeSchema",
1525
- "location": {
1526
- "filePath": "new-component-helper.main.runtime.ts",
1527
- "line": 92,
1528
- "character": 62
1529
- },
1530
2072
  "signature": "(property) incrementPathIfConflicted?: boolean | undefined",
1531
2073
  "name": "incrementPathIfConflicted",
1532
2074
  "type": {
1533
2075
  "__schema": "KeywordTypeSchema",
1534
2076
  "location": {
1535
2077
  "filePath": "new-component-helper.main.runtime.ts",
1536
- "line": 92,
1537
- "character": 90
2078
+ "line": 137,
2079
+ "character": 60
1538
2080
  },
1539
2081
  "name": "boolean"
1540
2082
  },
@@ -1549,7 +2091,7 @@
1549
2091
  "__schema": "ParameterSchema",
1550
2092
  "location": {
1551
2093
  "filePath": "new-component-helper.main.runtime.ts",
1552
- "line": 93,
2094
+ "line": 138,
1553
2095
  "character": 5
1554
2096
  },
1555
2097
  "name": "config",
@@ -1557,7 +2099,7 @@
1557
2099
  "__schema": "TypeLiteralSchema",
1558
2100
  "location": {
1559
2101
  "filePath": "new-component-helper.main.runtime.ts",
1560
- "line": 93,
2102
+ "line": 138,
1561
2103
  "character": 14
1562
2104
  },
1563
2105
  "members": [
@@ -1565,14 +2107,14 @@
1565
2107
  "__schema": "IndexSignatureSchema",
1566
2108
  "location": {
1567
2109
  "filePath": "new-component-helper.main.runtime.ts",
1568
- "line": 93,
2110
+ "line": 138,
1569
2111
  "character": 16
1570
2112
  },
1571
2113
  "keyType": {
1572
2114
  "__schema": "ParameterSchema",
1573
2115
  "location": {
1574
2116
  "filePath": "new-component-helper.main.runtime.ts",
1575
- "line": 93,
2117
+ "line": 138,
1576
2118
  "character": 17
1577
2119
  },
1578
2120
  "name": "aspectName",
@@ -1580,7 +2122,7 @@
1580
2122
  "__schema": "KeywordTypeSchema",
1581
2123
  "location": {
1582
2124
  "filePath": "new-component-helper.main.runtime.ts",
1583
- "line": 93,
2125
+ "line": 138,
1584
2126
  "character": 29
1585
2127
  },
1586
2128
  "name": "string"
@@ -1592,7 +2134,7 @@
1592
2134
  "__schema": "KeywordTypeSchema",
1593
2135
  "location": {
1594
2136
  "filePath": "new-component-helper.main.runtime.ts",
1595
- "line": 93,
2137
+ "line": 138,
1596
2138
  "character": 38
1597
2139
  },
1598
2140
  "name": "any"
@@ -1608,7 +2150,7 @@
1608
2150
  "__schema": "InferenceTypeSchema",
1609
2151
  "location": {
1610
2152
  "filePath": "new-component-helper.main.runtime.ts",
1611
- "line": 89,
2153
+ "line": 133,
1612
2154
  "character": 3
1613
2155
  },
1614
2156
  "type": "Promise<void>"
@@ -1621,7 +2163,115 @@
1621
2163
  "__schema": "FunctionLikeSchema",
1622
2164
  "location": {
1623
2165
  "filePath": "new-component-helper.main.runtime.ts",
1624
- "line": 148,
2166
+ "line": 168,
2167
+ "character": 3
2168
+ },
2169
+ "doc": {
2170
+ "__schema": "DocSchema",
2171
+ "location": {
2172
+ "filePath": "new-component-helper.main.runtime.ts",
2173
+ "line": 165,
2174
+ "character": 3
2175
+ },
2176
+ "raw": "/**\n * writes component files into the specified directory.\n */",
2177
+ "comment": "writes component files into the specified directory.",
2178
+ "tags": []
2179
+ },
2180
+ "signature": "(method) NewComponentHelperMain.writeComponentFiles(componentPath: string, files: File[]): Promise<PathOsBasedRelative[]>",
2181
+ "name": "writeComponentFiles",
2182
+ "params": [
2183
+ {
2184
+ "__schema": "ParameterSchema",
2185
+ "location": {
2186
+ "filePath": "new-component-helper.main.runtime.ts",
2187
+ "line": 168,
2188
+ "character": 29
2189
+ },
2190
+ "name": "componentPath",
2191
+ "type": {
2192
+ "__schema": "KeywordTypeSchema",
2193
+ "location": {
2194
+ "filePath": "new-component-helper.main.runtime.ts",
2195
+ "line": 168,
2196
+ "character": 44
2197
+ },
2198
+ "name": "string"
2199
+ },
2200
+ "isOptional": false,
2201
+ "isSpread": false
2202
+ },
2203
+ {
2204
+ "__schema": "ParameterSchema",
2205
+ "location": {
2206
+ "filePath": "new-component-helper.main.runtime.ts",
2207
+ "line": 168,
2208
+ "character": 52
2209
+ },
2210
+ "name": "files",
2211
+ "type": {
2212
+ "__schema": "TypeArraySchema",
2213
+ "location": {
2214
+ "filePath": "new-component-helper.main.runtime.ts",
2215
+ "line": 168,
2216
+ "character": 59
2217
+ },
2218
+ "type": {
2219
+ "__schema": "TypeRefSchema",
2220
+ "location": {
2221
+ "filePath": "new-component-helper.main.runtime.ts",
2222
+ "line": 168,
2223
+ "character": 59
2224
+ },
2225
+ "name": "File",
2226
+ "internalFilePath": "new-component-helper.main.runtime.ts"
2227
+ }
2228
+ },
2229
+ "isOptional": false,
2230
+ "isSpread": false
2231
+ }
2232
+ ],
2233
+ "returnType": {
2234
+ "__schema": "TypeRefSchema",
2235
+ "location": {
2236
+ "filePath": "new-component-helper.main.runtime.ts",
2237
+ "line": 168,
2238
+ "character": 68
2239
+ },
2240
+ "name": "Promise",
2241
+ "typeArgs": [
2242
+ {
2243
+ "__schema": "TypeArraySchema",
2244
+ "location": {
2245
+ "filePath": "new-component-helper.main.runtime.ts",
2246
+ "line": 168,
2247
+ "character": 76
2248
+ },
2249
+ "type": {
2250
+ "__schema": "TypeRefSchema",
2251
+ "location": {
2252
+ "filePath": "new-component-helper.main.runtime.ts",
2253
+ "line": 168,
2254
+ "character": 76
2255
+ },
2256
+ "name": "PathOsBasedRelative",
2257
+ "componentId": {
2258
+ "scope": "teambit.toolbox",
2259
+ "name": "path/path",
2260
+ "version": "0.0.4"
2261
+ }
2262
+ }
2263
+ }
2264
+ ]
2265
+ },
2266
+ "modifiers": [
2267
+ "async"
2268
+ ]
2269
+ },
2270
+ {
2271
+ "__schema": "FunctionLikeSchema",
2272
+ "location": {
2273
+ "filePath": "new-component-helper.main.runtime.ts",
2274
+ "line": 203,
1625
2275
  "character": 3
1626
2276
  },
1627
2277
  "signature": "(method) NewComponentHelperMain.getConfigFromExistingToNewComponent(comp: Component): Promise<{}>",
@@ -1631,7 +2281,7 @@
1631
2281
  "__schema": "ParameterSchema",
1632
2282
  "location": {
1633
2283
  "filePath": "new-component-helper.main.runtime.ts",
1634
- "line": 148,
2284
+ "line": 203,
1635
2285
  "character": 45
1636
2286
  },
1637
2287
  "name": "comp",
@@ -1639,7 +2289,7 @@
1639
2289
  "__schema": "TypeRefSchema",
1640
2290
  "location": {
1641
2291
  "filePath": "new-component-helper.main.runtime.ts",
1642
- "line": 148,
2292
+ "line": 203,
1643
2293
  "character": 51
1644
2294
  },
1645
2295
  "name": "Component",
@@ -1656,7 +2306,7 @@
1656
2306
  "__schema": "InferenceTypeSchema",
1657
2307
  "location": {
1658
2308
  "filePath": "new-component-helper.main.runtime.ts",
1659
- "line": 148,
2309
+ "line": 203,
1660
2310
  "character": 3
1661
2311
  },
1662
2312
  "type": "Promise<{}>"
@@ -1669,7 +2319,7 @@
1669
2319
  "__schema": "VariableLikeSchema",
1670
2320
  "location": {
1671
2321
  "filePath": "new-component-helper.main.runtime.ts",
1672
- "line": 163,
2322
+ "line": 218,
1673
2323
  "character": 3
1674
2324
  },
1675
2325
  "signature": "(property) NewComponentHelperMain.slots: never[]",
@@ -1678,7 +2328,7 @@
1678
2328
  "__schema": "InferenceTypeSchema",
1679
2329
  "location": {
1680
2330
  "filePath": "new-component-helper.main.runtime.ts",
1681
- "line": 163,
2331
+ "line": 218,
1682
2332
  "character": 3
1683
2333
  },
1684
2334
  "type": "never[]"
@@ -1690,7 +2340,7 @@
1690
2340
  "__schema": "VariableLikeSchema",
1691
2341
  "location": {
1692
2342
  "filePath": "new-component-helper.main.runtime.ts",
1693
- "line": 164,
2343
+ "line": 219,
1694
2344
  "character": 3
1695
2345
  },
1696
2346
  "signature": "(property) NewComponentHelperMain.dependencies: Aspect[]",
@@ -1699,7 +2349,7 @@
1699
2349
  "__schema": "InferenceTypeSchema",
1700
2350
  "location": {
1701
2351
  "filePath": "new-component-helper.main.runtime.ts",
1702
- "line": 164,
2352
+ "line": 219,
1703
2353
  "character": 3
1704
2354
  },
1705
2355
  "type": "Aspect[]"
@@ -1711,7 +2361,7 @@
1711
2361
  "__schema": "VariableLikeSchema",
1712
2362
  "location": {
1713
2363
  "filePath": "new-component-helper.main.runtime.ts",
1714
- "line": 165,
2364
+ "line": 220,
1715
2365
  "character": 3
1716
2366
  },
1717
2367
  "signature": "(property) NewComponentHelperMain.runtime: RuntimeDefinition",
@@ -1720,7 +2370,7 @@
1720
2370
  "__schema": "InferenceTypeSchema",
1721
2371
  "location": {
1722
2372
  "filePath": "new-component-helper.main.runtime.ts",
1723
- "line": 165,
2373
+ "line": 220,
1724
2374
  "character": 3
1725
2375
  },
1726
2376
  "type": "RuntimeDefinition"
@@ -1732,7 +2382,7 @@
1732
2382
  "__schema": "FunctionLikeSchema",
1733
2383
  "location": {
1734
2384
  "filePath": "new-component-helper.main.runtime.ts",
1735
- "line": 166,
2385
+ "line": 221,
1736
2386
  "character": 3
1737
2387
  },
1738
2388
  "signature": "(method) NewComponentHelperMain.provider([workspace, tracker]: [Workspace, TrackerMain], config: any, _: any, harmony: Harmony): Promise<NewComponentHelperMain>",
@@ -1742,7 +2392,7 @@
1742
2392
  "__schema": "ParameterSchema",
1743
2393
  "location": {
1744
2394
  "filePath": "new-component-helper.main.runtime.ts",
1745
- "line": 166,
2395
+ "line": 221,
1746
2396
  "character": 25
1747
2397
  },
1748
2398
  "name": "[ workspace, tracker ]",
@@ -1750,7 +2400,7 @@
1750
2400
  "__schema": "TupleTypeSchema",
1751
2401
  "location": {
1752
2402
  "filePath": "new-component-helper.main.runtime.ts",
1753
- "line": 166,
2403
+ "line": 221,
1754
2404
  "character": 47
1755
2405
  },
1756
2406
  "elements": [
@@ -1758,7 +2408,7 @@
1758
2408
  "__schema": "TypeRefSchema",
1759
2409
  "location": {
1760
2410
  "filePath": "new-component-helper.main.runtime.ts",
1761
- "line": 166,
2411
+ "line": 221,
1762
2412
  "character": 48
1763
2413
  },
1764
2414
  "name": "Workspace",
@@ -1771,7 +2421,7 @@
1771
2421
  "__schema": "TypeRefSchema",
1772
2422
  "location": {
1773
2423
  "filePath": "new-component-helper.main.runtime.ts",
1774
- "line": 166,
2424
+ "line": 221,
1775
2425
  "character": 59
1776
2426
  },
1777
2427
  "name": "TrackerMain",
@@ -1789,7 +2439,7 @@
1789
2439
  "__schema": "ParameterSchema",
1790
2440
  "location": {
1791
2441
  "filePath": "new-component-helper.main.runtime.ts",
1792
- "line": 166,
2442
+ "line": 221,
1793
2443
  "character": 73
1794
2444
  },
1795
2445
  "name": "config",
@@ -1797,7 +2447,7 @@
1797
2447
  "__schema": "InferenceTypeSchema",
1798
2448
  "location": {
1799
2449
  "filePath": "new-component-helper.main.runtime.ts",
1800
- "line": 166,
2450
+ "line": 221,
1801
2451
  "character": 73
1802
2452
  },
1803
2453
  "type": "any"
@@ -1809,7 +2459,7 @@
1809
2459
  "__schema": "ParameterSchema",
1810
2460
  "location": {
1811
2461
  "filePath": "new-component-helper.main.runtime.ts",
1812
- "line": 166,
2462
+ "line": 221,
1813
2463
  "character": 81
1814
2464
  },
1815
2465
  "name": "_",
@@ -1817,7 +2467,7 @@
1817
2467
  "__schema": "InferenceTypeSchema",
1818
2468
  "location": {
1819
2469
  "filePath": "new-component-helper.main.runtime.ts",
1820
- "line": 166,
2470
+ "line": 221,
1821
2471
  "character": 81
1822
2472
  },
1823
2473
  "type": "any"
@@ -1829,7 +2479,7 @@
1829
2479
  "__schema": "ParameterSchema",
1830
2480
  "location": {
1831
2481
  "filePath": "new-component-helper.main.runtime.ts",
1832
- "line": 166,
2482
+ "line": 221,
1833
2483
  "character": 84
1834
2484
  },
1835
2485
  "name": "harmony",
@@ -1837,7 +2487,7 @@
1837
2487
  "__schema": "TypeRefSchema",
1838
2488
  "location": {
1839
2489
  "filePath": "new-component-helper.main.runtime.ts",
1840
- "line": 166,
2490
+ "line": 221,
1841
2491
  "character": 93
1842
2492
  },
1843
2493
  "name": "Harmony",
@@ -1855,7 +2505,7 @@
1855
2505
  "__schema": "InferenceTypeSchema",
1856
2506
  "location": {
1857
2507
  "filePath": "new-component-helper.main.runtime.ts",
1858
- "line": 166,
2508
+ "line": 221,
1859
2509
  "character": 3
1860
2510
  },
1861
2511
  "type": "Promise<NewComponentHelperMain>"
@@ -1875,7 +2525,7 @@
1875
2525
  "__schema": "ModuleSchema",
1876
2526
  "location": {
1877
2527
  "filePath": "new-component-helper.main.runtime.ts",
1878
- "line": 19,
2528
+ "line": 21,
1879
2529
  "character": 1
1880
2530
  },
1881
2531
  "exports": [
@@ -1883,7 +2533,7 @@
1883
2533
  "__schema": "VariableLikeSchema",
1884
2534
  "location": {
1885
2535
  "filePath": "new-component-helper.main.runtime.ts",
1886
- "line": 19,
2536
+ "line": 21,
1887
2537
  "character": 7
1888
2538
  },
1889
2539
  "signature": "const aspectsConfigToIgnore: string[]",
@@ -1892,14 +2542,14 @@
1892
2542
  "__schema": "TypeArraySchema",
1893
2543
  "location": {
1894
2544
  "filePath": "new-component-helper.main.runtime.ts",
1895
- "line": 19,
2545
+ "line": 21,
1896
2546
  "character": 30
1897
2547
  },
1898
2548
  "type": {
1899
2549
  "__schema": "KeywordTypeSchema",
1900
2550
  "location": {
1901
2551
  "filePath": "new-component-helper.main.runtime.ts",
1902
- "line": 19,
2552
+ "line": 21,
1903
2553
  "character": 30
1904
2554
  },
1905
2555
  "name": "string"
@@ -1911,11 +2561,71 @@
1911
2561
  ],
1912
2562
  "internals": []
1913
2563
  },
2564
+ {
2565
+ "__schema": "TypeSchema",
2566
+ "location": {
2567
+ "filePath": "new-component-helper.main.runtime.ts",
2568
+ "line": 22,
2569
+ "character": 1
2570
+ },
2571
+ "signature": "type File = {\n path: string;\n content: string;\n}",
2572
+ "name": "File",
2573
+ "type": {
2574
+ "__schema": "TypeLiteralSchema",
2575
+ "location": {
2576
+ "filePath": "new-component-helper.main.runtime.ts",
2577
+ "line": 22,
2578
+ "character": 13
2579
+ },
2580
+ "members": [
2581
+ {
2582
+ "__schema": "VariableLikeSchema",
2583
+ "location": {
2584
+ "filePath": "new-component-helper.main.runtime.ts",
2585
+ "line": 22,
2586
+ "character": 15
2587
+ },
2588
+ "signature": "(property) path: string",
2589
+ "name": "path",
2590
+ "type": {
2591
+ "__schema": "KeywordTypeSchema",
2592
+ "location": {
2593
+ "filePath": "new-component-helper.main.runtime.ts",
2594
+ "line": 22,
2595
+ "character": 21
2596
+ },
2597
+ "name": "string"
2598
+ },
2599
+ "isOptional": false
2600
+ },
2601
+ {
2602
+ "__schema": "VariableLikeSchema",
2603
+ "location": {
2604
+ "filePath": "new-component-helper.main.runtime.ts",
2605
+ "line": 22,
2606
+ "character": 29
2607
+ },
2608
+ "signature": "(property) content: string",
2609
+ "name": "content",
2610
+ "type": {
2611
+ "__schema": "KeywordTypeSchema",
2612
+ "location": {
2613
+ "filePath": "new-component-helper.main.runtime.ts",
2614
+ "line": 22,
2615
+ "character": 38
2616
+ },
2617
+ "name": "string"
2618
+ },
2619
+ "isOptional": false
2620
+ }
2621
+ ]
2622
+ }
2623
+ },
1914
2624
  {
1915
2625
  "__schema": "UnImplementedSchema",
1916
2626
  "location": {
1917
2627
  "filePath": "new-component-helper.main.runtime.ts",
1918
- "line": 171,
2628
+ "line": 226,
1919
2629
  "character": 1
1920
2630
  },
1921
2631
  "name": "NewComponentHelperAspect.addRuntime(NewComponentHelperMain);",
@@ -1964,7 +2674,7 @@
1964
2674
  "componentId": {
1965
2675
  "scope": "teambit.component",
1966
2676
  "name": "new-component-helper",
1967
- "version": "1.0.453"
2677
+ "version": "1.0.455"
1968
2678
  },
1969
2679
  "taggedModuleExports": []
1970
2680
  }