@teambit/dev-files 1.0.277 → 1.0.279

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.
@@ -60,7 +60,7 @@
60
60
  "__schema": "ClassSchema",
61
61
  "location": {
62
62
  "filePath": "dev-files.main.runtime.ts",
63
- "line": 45,
63
+ "line": 52,
64
64
  "character": 1
65
65
  },
66
66
  "signature": "class DevFilesMain",
@@ -70,7 +70,7 @@
70
70
  "__schema": "ConstructorSchema",
71
71
  "location": {
72
72
  "filePath": "dev-files.main.runtime.ts",
73
- "line": 46,
73
+ "line": 53,
74
74
  "character": 3
75
75
  },
76
76
  "signature": "constructor DevFilesMain(envs: EnvsMain, workspace: Workspace, devPatternSlot: DevPatternSlot, config: DevFilesConfig): DevFilesMain",
@@ -80,7 +80,7 @@
80
80
  "__schema": "ParameterSchema",
81
81
  "location": {
82
82
  "filePath": "dev-files.main.runtime.ts",
83
- "line": 47,
83
+ "line": 54,
84
84
  "character": 5
85
85
  },
86
86
  "name": "envs",
@@ -88,7 +88,7 @@
88
88
  "__schema": "TypeRefSchema",
89
89
  "location": {
90
90
  "filePath": "dev-files.main.runtime.ts",
91
- "line": 47,
91
+ "line": 54,
92
92
  "character": 19
93
93
  },
94
94
  "name": "EnvsMain",
@@ -104,7 +104,7 @@
104
104
  "__schema": "ParameterSchema",
105
105
  "location": {
106
106
  "filePath": "dev-files.main.runtime.ts",
107
- "line": 49,
107
+ "line": 56,
108
108
  "character": 5
109
109
  },
110
110
  "name": "workspace",
@@ -112,7 +112,7 @@
112
112
  "__schema": "TypeRefSchema",
113
113
  "location": {
114
114
  "filePath": "dev-files.main.runtime.ts",
115
- "line": 49,
115
+ "line": 56,
116
116
  "character": 24
117
117
  },
118
118
  "name": "Workspace",
@@ -128,7 +128,7 @@
128
128
  "__schema": "ParameterSchema",
129
129
  "location": {
130
130
  "filePath": "dev-files.main.runtime.ts",
131
- "line": 51,
131
+ "line": 58,
132
132
  "character": 5
133
133
  },
134
134
  "name": "devPatternSlot",
@@ -136,7 +136,7 @@
136
136
  "__schema": "TypeRefSchema",
137
137
  "location": {
138
138
  "filePath": "dev-files.main.runtime.ts",
139
- "line": 51,
139
+ "line": 58,
140
140
  "character": 29
141
141
  },
142
142
  "name": "DevPatternSlot",
@@ -149,7 +149,7 @@
149
149
  "__schema": "ParameterSchema",
150
150
  "location": {
151
151
  "filePath": "dev-files.main.runtime.ts",
152
- "line": 56,
152
+ "line": 63,
153
153
  "character": 5
154
154
  },
155
155
  "name": "config",
@@ -157,7 +157,7 @@
157
157
  "__schema": "TypeRefSchema",
158
158
  "location": {
159
159
  "filePath": "dev-files.main.runtime.ts",
160
- "line": 56,
160
+ "line": 63,
161
161
  "character": 22
162
162
  },
163
163
  "name": "DevFilesConfig",
@@ -171,7 +171,7 @@
171
171
  "__schema": "ThisTypeSchema",
172
172
  "location": {
173
173
  "filePath": "dev-files.main.runtime.ts",
174
- "line": 45,
174
+ "line": 52,
175
175
  "character": 1
176
176
  },
177
177
  "name": "DevFilesMain"
@@ -182,14 +182,14 @@
182
182
  "__schema": "FunctionLikeSchema",
183
183
  "location": {
184
184
  "filePath": "dev-files.main.runtime.ts",
185
- "line": 64,
185
+ "line": 71,
186
186
  "character": 3
187
187
  },
188
188
  "doc": {
189
189
  "__schema": "DocSchema",
190
190
  "location": {
191
191
  "filePath": "dev-files.main.runtime.ts",
192
- "line": 59,
192
+ "line": 66,
193
193
  "character": 3
194
194
  },
195
195
  "raw": "/**\n * compute all dev patterns on a component.\n * computing of dev patterns is a merge of the configuration, the env (env.getDevPatterns(component)) and\n * the registering aspects (through registerDevPattern()).\n */",
@@ -202,7 +202,7 @@
202
202
  "__schema": "ParameterSchema",
203
203
  "location": {
204
204
  "filePath": "dev-files.main.runtime.ts",
205
- "line": 64,
205
+ "line": 71,
206
206
  "character": 28
207
207
  },
208
208
  "name": "component",
@@ -210,7 +210,7 @@
210
210
  "__schema": "TypeRefSchema",
211
211
  "location": {
212
212
  "filePath": "dev-files.main.runtime.ts",
213
- "line": 64,
213
+ "line": 71,
214
214
  "character": 39
215
215
  },
216
216
  "name": "Component",
@@ -227,7 +227,7 @@
227
227
  "__schema": "InferenceTypeSchema",
228
228
  "location": {
229
229
  "filePath": "dev-files.main.runtime.ts",
230
- "line": 64,
230
+ "line": 71,
231
231
  "character": 3
232
232
  },
233
233
  "type": "Promise<{\n config: any;\n} & {\n [id: string]: string[];\n} & {\n [id: string]: string[];\n}>"
@@ -240,14 +240,99 @@
240
240
  "__schema": "FunctionLikeSchema",
241
241
  "location": {
242
242
  "filePath": "dev-files.main.runtime.ts",
243
- "line": 161,
243
+ "line": 141,
244
+ "character": 3
245
+ },
246
+ "signature": "(method) DevFilesMain.mergeEnvManifestPatterns(parent: EnvJsonc, child: EnvJsonc): Partial<EnvJsonc>",
247
+ "name": "mergeEnvManifestPatterns",
248
+ "params": [
249
+ {
250
+ "__schema": "ParameterSchema",
251
+ "location": {
252
+ "filePath": "dev-files.main.runtime.ts",
253
+ "line": 141,
254
+ "character": 28
255
+ },
256
+ "name": "parent",
257
+ "type": {
258
+ "__schema": "TypeRefSchema",
259
+ "location": {
260
+ "filePath": "dev-files.main.runtime.ts",
261
+ "line": 141,
262
+ "character": 36
263
+ },
264
+ "name": "EnvJsonc",
265
+ "componentId": {
266
+ "scope": "teambit.envs",
267
+ "name": "envs"
268
+ }
269
+ },
270
+ "isOptional": false,
271
+ "isSpread": false
272
+ },
273
+ {
274
+ "__schema": "ParameterSchema",
275
+ "location": {
276
+ "filePath": "dev-files.main.runtime.ts",
277
+ "line": 141,
278
+ "character": 46
279
+ },
280
+ "name": "child",
281
+ "type": {
282
+ "__schema": "TypeRefSchema",
283
+ "location": {
284
+ "filePath": "dev-files.main.runtime.ts",
285
+ "line": 141,
286
+ "character": 53
287
+ },
288
+ "name": "EnvJsonc",
289
+ "componentId": {
290
+ "scope": "teambit.envs",
291
+ "name": "envs"
292
+ }
293
+ },
294
+ "isOptional": false,
295
+ "isSpread": false
296
+ }
297
+ ],
298
+ "returnType": {
299
+ "__schema": "TypeRefSchema",
300
+ "location": {
301
+ "filePath": "dev-files.main.runtime.ts",
302
+ "line": 141,
303
+ "character": 64
304
+ },
305
+ "name": "Partial",
306
+ "typeArgs": [
307
+ {
308
+ "__schema": "TypeRefSchema",
309
+ "location": {
310
+ "filePath": "dev-files.main.runtime.ts",
311
+ "line": 141,
312
+ "character": 72
313
+ },
314
+ "name": "EnvJsonc",
315
+ "componentId": {
316
+ "scope": "teambit.envs",
317
+ "name": "envs"
318
+ }
319
+ }
320
+ ]
321
+ },
322
+ "modifiers": []
323
+ },
324
+ {
325
+ "__schema": "FunctionLikeSchema",
326
+ "location": {
327
+ "filePath": "dev-files.main.runtime.ts",
328
+ "line": 170,
244
329
  "character": 3
245
330
  },
246
331
  "doc": {
247
332
  "__schema": "DocSchema",
248
333
  "location": {
249
334
  "filePath": "dev-files.main.runtime.ts",
250
- "line": 158,
335
+ "line": 167,
251
336
  "character": 3
252
337
  },
253
338
  "raw": "/**\n * get all dev files configured on a component.\n */",
@@ -260,7 +345,7 @@
260
345
  "__schema": "ParameterSchema",
261
346
  "location": {
262
347
  "filePath": "dev-files.main.runtime.ts",
263
- "line": 161,
348
+ "line": 170,
264
349
  "character": 18
265
350
  },
266
351
  "name": "component",
@@ -268,7 +353,7 @@
268
353
  "__schema": "TypeRefSchema",
269
354
  "location": {
270
355
  "filePath": "dev-files.main.runtime.ts",
271
- "line": 161,
356
+ "line": 170,
272
357
  "character": 29
273
358
  },
274
359
  "name": "Component",
@@ -284,7 +369,7 @@
284
369
  "__schema": "ParameterSchema",
285
370
  "location": {
286
371
  "filePath": "dev-files.main.runtime.ts",
287
- "line": 161,
372
+ "line": 170,
288
373
  "character": 40
289
374
  },
290
375
  "name": "aspectId",
@@ -292,7 +377,7 @@
292
377
  "__schema": "KeywordTypeSchema",
293
378
  "location": {
294
379
  "filePath": "dev-files.main.runtime.ts",
295
- "line": 161,
380
+ "line": 170,
296
381
  "character": 51
297
382
  },
298
383
  "name": "string"
@@ -305,14 +390,14 @@
305
390
  "__schema": "TypeArraySchema",
306
391
  "location": {
307
392
  "filePath": "dev-files.main.runtime.ts",
308
- "line": 161,
393
+ "line": 170,
309
394
  "character": 60
310
395
  },
311
396
  "type": {
312
397
  "__schema": "KeywordTypeSchema",
313
398
  "location": {
314
399
  "filePath": "dev-files.main.runtime.ts",
315
- "line": 161,
400
+ "line": 170,
316
401
  "character": 60
317
402
  },
318
403
  "name": "string"
@@ -324,14 +409,14 @@
324
409
  "__schema": "FunctionLikeSchema",
325
410
  "location": {
326
411
  "filePath": "dev-files.main.runtime.ts",
327
- "line": 170,
412
+ "line": 179,
328
413
  "character": 3
329
414
  },
330
415
  "doc": {
331
416
  "__schema": "DocSchema",
332
417
  "location": {
333
418
  "filePath": "dev-files.main.runtime.ts",
334
- "line": 167,
419
+ "line": 176,
335
420
  "character": 3
336
421
  },
337
422
  "raw": "/**\n * determine whether a file of a component is a dev file.\n */",
@@ -344,7 +429,7 @@
344
429
  "__schema": "ParameterSchema",
345
430
  "location": {
346
431
  "filePath": "dev-files.main.runtime.ts",
347
- "line": 170,
432
+ "line": 179,
348
433
  "character": 13
349
434
  },
350
435
  "name": "component",
@@ -352,7 +437,7 @@
352
437
  "__schema": "TypeRefSchema",
353
438
  "location": {
354
439
  "filePath": "dev-files.main.runtime.ts",
355
- "line": 170,
440
+ "line": 179,
356
441
  "character": 24
357
442
  },
358
443
  "name": "Component",
@@ -368,7 +453,7 @@
368
453
  "__schema": "ParameterSchema",
369
454
  "location": {
370
455
  "filePath": "dev-files.main.runtime.ts",
371
- "line": 170,
456
+ "line": 179,
372
457
  "character": 35
373
458
  },
374
459
  "name": "filePath",
@@ -376,7 +461,7 @@
376
461
  "__schema": "KeywordTypeSchema",
377
462
  "location": {
378
463
  "filePath": "dev-files.main.runtime.ts",
379
- "line": 170,
464
+ "line": 179,
380
465
  "character": 45
381
466
  },
382
467
  "name": "string"
@@ -389,7 +474,7 @@
389
474
  "__schema": "KeywordTypeSchema",
390
475
  "location": {
391
476
  "filePath": "dev-files.main.runtime.ts",
392
- "line": 170,
477
+ "line": 179,
393
478
  "character": 54
394
479
  },
395
480
  "name": "boolean"
@@ -400,14 +485,14 @@
400
485
  "__schema": "FunctionLikeSchema",
401
486
  "location": {
402
487
  "filePath": "dev-files.main.runtime.ts",
403
- "line": 179,
488
+ "line": 188,
404
489
  "character": 3
405
490
  },
406
491
  "doc": {
407
492
  "__schema": "DocSchema",
408
493
  "location": {
409
494
  "filePath": "dev-files.main.runtime.ts",
410
- "line": 175,
495
+ "line": 184,
411
496
  "character": 3
412
497
  },
413
498
  "raw": "/**\n * register a new dev pattern.\n * @param regex dev pattern\n */",
@@ -417,7 +502,7 @@
417
502
  "__schema": "PropertyLikeTagSchema",
418
503
  "location": {
419
504
  "filePath": "dev-files.main.runtime.ts",
420
- "line": 177,
505
+ "line": 186,
421
506
  "character": 6
422
507
  },
423
508
  "name": "regex",
@@ -433,7 +518,7 @@
433
518
  "__schema": "ParameterSchema",
434
519
  "location": {
435
520
  "filePath": "dev-files.main.runtime.ts",
436
- "line": 179,
521
+ "line": 188,
437
522
  "character": 22
438
523
  },
439
524
  "name": "pattern",
@@ -441,7 +526,7 @@
441
526
  "__schema": "TypeRefSchema",
442
527
  "location": {
443
528
  "filePath": "dev-files.main.runtime.ts",
444
- "line": 179,
529
+ "line": 188,
445
530
  "character": 31
446
531
  },
447
532
  "name": "DevPatterns",
@@ -455,7 +540,7 @@
455
540
  "__schema": "InferenceTypeSchema",
456
541
  "location": {
457
542
  "filePath": "dev-files.main.runtime.ts",
458
- "line": 179,
543
+ "line": 188,
459
544
  "character": 3
460
545
  },
461
546
  "type": "void"
@@ -466,14 +551,14 @@
466
551
  "__schema": "FunctionLikeSchema",
467
552
  "location": {
468
553
  "filePath": "dev-files.main.runtime.ts",
469
- "line": 187,
554
+ "line": 196,
470
555
  "character": 3
471
556
  },
472
557
  "doc": {
473
558
  "__schema": "DocSchema",
474
559
  "location": {
475
560
  "filePath": "dev-files.main.runtime.ts",
476
- "line": 183,
561
+ "line": 192,
477
562
  "character": 3
478
563
  },
479
564
  "raw": "/**\n * get all dev patterns registered.\n * If you want to use this during onLoad event you might need to use computeDevFiles instead, since the component might not include this data yet\n */",
@@ -486,7 +571,7 @@
486
571
  "__schema": "ParameterSchema",
487
572
  "location": {
488
573
  "filePath": "dev-files.main.runtime.ts",
489
- "line": 187,
574
+ "line": 196,
490
575
  "character": 15
491
576
  },
492
577
  "name": "component",
@@ -494,7 +579,7 @@
494
579
  "__schema": "TypeRefSchema",
495
580
  "location": {
496
581
  "filePath": "dev-files.main.runtime.ts",
497
- "line": 187,
582
+ "line": 196,
498
583
  "character": 26
499
584
  },
500
585
  "name": "Component",
@@ -511,7 +596,7 @@
511
596
  "__schema": "TypeRefSchema",
512
597
  "location": {
513
598
  "filePath": "dev-files.main.runtime.ts",
514
- "line": 187,
599
+ "line": 196,
515
600
  "character": 3
516
601
  },
517
602
  "name": "DevFiles",
@@ -523,7 +608,7 @@
523
608
  "__schema": "FunctionLikeSchema",
524
609
  "location": {
525
610
  "filePath": "dev-files.main.runtime.ts",
526
- "line": 193,
611
+ "line": 202,
527
612
  "character": 3
528
613
  },
529
614
  "signature": "(method) DevFilesMain.getDevFilesForConsumerComp(consumerComponent: LegacyComponent): Promise<string[]>",
@@ -533,7 +618,7 @@
533
618
  "__schema": "ParameterSchema",
534
619
  "location": {
535
620
  "filePath": "dev-files.main.runtime.ts",
536
- "line": 193,
621
+ "line": 202,
537
622
  "character": 36
538
623
  },
539
624
  "name": "consumerComponent",
@@ -541,7 +626,7 @@
541
626
  "__schema": "TypeRefSchema",
542
627
  "location": {
543
628
  "filePath": "dev-files.main.runtime.ts",
544
- "line": 193,
629
+ "line": 202,
545
630
  "character": 55
546
631
  },
547
632
  "name": "LegacyComponent",
@@ -555,7 +640,7 @@
555
640
  "__schema": "TypeRefSchema",
556
641
  "location": {
557
642
  "filePath": "dev-files.main.runtime.ts",
558
- "line": 193,
643
+ "line": 202,
559
644
  "character": 73
560
645
  },
561
646
  "name": "Promise",
@@ -564,14 +649,14 @@
564
649
  "__schema": "TypeArraySchema",
565
650
  "location": {
566
651
  "filePath": "dev-files.main.runtime.ts",
567
- "line": 193,
652
+ "line": 202,
568
653
  "character": 81
569
654
  },
570
655
  "type": {
571
656
  "__schema": "KeywordTypeSchema",
572
657
  "location": {
573
658
  "filePath": "dev-files.main.runtime.ts",
574
- "line": 193,
659
+ "line": 202,
575
660
  "character": 81
576
661
  },
577
662
  "name": "string"
@@ -587,14 +672,14 @@
587
672
  "__schema": "FunctionLikeSchema",
588
673
  "location": {
589
674
  "filePath": "dev-files.main.runtime.ts",
590
- "line": 205,
675
+ "line": 214,
591
676
  "character": 3
592
677
  },
593
678
  "doc": {
594
679
  "__schema": "DocSchema",
595
680
  "location": {
596
681
  "filePath": "dev-files.main.runtime.ts",
597
- "line": 202,
682
+ "line": 211,
598
683
  "character": 3
599
684
  },
600
685
  "raw": "/**\n * compute all dev files of a component.\n */",
@@ -607,7 +692,7 @@
607
692
  "__schema": "ParameterSchema",
608
693
  "location": {
609
694
  "filePath": "dev-files.main.runtime.ts",
610
- "line": 205,
695
+ "line": 214,
611
696
  "character": 25
612
697
  },
613
698
  "name": "component",
@@ -615,7 +700,7 @@
615
700
  "__schema": "TypeRefSchema",
616
701
  "location": {
617
702
  "filePath": "dev-files.main.runtime.ts",
618
- "line": 205,
703
+ "line": 214,
619
704
  "character": 36
620
705
  },
621
706
  "name": "Component",
@@ -632,7 +717,7 @@
632
717
  "__schema": "TypeRefSchema",
633
718
  "location": {
634
719
  "filePath": "dev-files.main.runtime.ts",
635
- "line": 205,
720
+ "line": 214,
636
721
  "character": 48
637
722
  },
638
723
  "name": "Promise",
@@ -641,7 +726,7 @@
641
726
  "__schema": "TypeRefSchema",
642
727
  "location": {
643
728
  "filePath": "dev-files.main.runtime.ts",
644
- "line": 205,
729
+ "line": 214,
645
730
  "character": 56
646
731
  },
647
732
  "name": "DevFiles",
@@ -657,7 +742,7 @@
657
742
  "__schema": "VariableLikeSchema",
658
743
  "location": {
659
744
  "filePath": "dev-files.main.runtime.ts",
660
- "line": 217,
745
+ "line": 226,
661
746
  "character": 3
662
747
  },
663
748
  "signature": "(property) DevFilesMain.slots: ((registerFn: () => string) => SlotRegistry<DevPatterns>)[]",
@@ -666,7 +751,7 @@
666
751
  "__schema": "InferenceTypeSchema",
667
752
  "location": {
668
753
  "filePath": "dev-files.main.runtime.ts",
669
- "line": 217,
754
+ "line": 226,
670
755
  "character": 3
671
756
  },
672
757
  "type": "((registerFn: () => string) => SlotRegistry<DevPatterns>)[]"
@@ -678,7 +763,7 @@
678
763
  "__schema": "VariableLikeSchema",
679
764
  "location": {
680
765
  "filePath": "dev-files.main.runtime.ts",
681
- "line": 219,
766
+ "line": 228,
682
767
  "character": 3
683
768
  },
684
769
  "signature": "(property) DevFilesMain.defaultConfig: {\n patterns: never[];\n}",
@@ -687,7 +772,7 @@
687
772
  "__schema": "InferenceTypeSchema",
688
773
  "location": {
689
774
  "filePath": "dev-files.main.runtime.ts",
690
- "line": 219,
775
+ "line": 228,
691
776
  "character": 3
692
777
  },
693
778
  "type": "{\n patterns: never[];\n}"
@@ -699,7 +784,7 @@
699
784
  "__schema": "VariableLikeSchema",
700
785
  "location": {
701
786
  "filePath": "dev-files.main.runtime.ts",
702
- "line": 223,
787
+ "line": 232,
703
788
  "character": 3
704
789
  },
705
790
  "signature": "(property) DevFilesMain.runtime: RuntimeDefinition",
@@ -708,7 +793,7 @@
708
793
  "__schema": "InferenceTypeSchema",
709
794
  "location": {
710
795
  "filePath": "dev-files.main.runtime.ts",
711
- "line": 223,
796
+ "line": 232,
712
797
  "character": 3
713
798
  },
714
799
  "type": "RuntimeDefinition"
@@ -720,7 +805,7 @@
720
805
  "__schema": "VariableLikeSchema",
721
806
  "location": {
722
807
  "filePath": "dev-files.main.runtime.ts",
723
- "line": 225,
808
+ "line": 234,
724
809
  "character": 3
725
810
  },
726
811
  "signature": "(property) DevFilesMain.dependencies: Aspect[]",
@@ -729,7 +814,7 @@
729
814
  "__schema": "InferenceTypeSchema",
730
815
  "location": {
731
816
  "filePath": "dev-files.main.runtime.ts",
732
- "line": 225,
817
+ "line": 234,
733
818
  "character": 3
734
819
  },
735
820
  "type": "Aspect[]"
@@ -741,7 +826,7 @@
741
826
  "__schema": "FunctionLikeSchema",
742
827
  "location": {
743
828
  "filePath": "dev-files.main.runtime.ts",
744
- "line": 227,
829
+ "line": 236,
745
830
  "character": 3
746
831
  },
747
832
  "signature": "(method) DevFilesMain.provider([envs, workspace, componentAspect, graphql, scope]: [EnvsMain, Workspace, ComponentMain, GraphqlMain, ScopeMain], config: DevFilesConfig, [devPatternSlot]: [DevPatternSlot]): Promise<DevFilesMain>",
@@ -751,7 +836,7 @@
751
836
  "__schema": "ParameterSchema",
752
837
  "location": {
753
838
  "filePath": "dev-files.main.runtime.ts",
754
- "line": 228,
839
+ "line": 237,
755
840
  "character": 5
756
841
  },
757
842
  "name": "[ envs, workspace, componentAspect, graphql, scope ]",
@@ -759,7 +844,7 @@
759
844
  "__schema": "TupleTypeSchema",
760
845
  "location": {
761
846
  "filePath": "dev-files.main.runtime.ts",
762
- "line": 228,
847
+ "line": 237,
763
848
  "character": 57
764
849
  },
765
850
  "elements": [
@@ -767,7 +852,7 @@
767
852
  "__schema": "TypeRefSchema",
768
853
  "location": {
769
854
  "filePath": "dev-files.main.runtime.ts",
770
- "line": 228,
855
+ "line": 237,
771
856
  "character": 58
772
857
  },
773
858
  "name": "EnvsMain",
@@ -780,7 +865,7 @@
780
865
  "__schema": "TypeRefSchema",
781
866
  "location": {
782
867
  "filePath": "dev-files.main.runtime.ts",
783
- "line": 228,
868
+ "line": 237,
784
869
  "character": 68
785
870
  },
786
871
  "name": "Workspace",
@@ -793,7 +878,7 @@
793
878
  "__schema": "TypeRefSchema",
794
879
  "location": {
795
880
  "filePath": "dev-files.main.runtime.ts",
796
- "line": 228,
881
+ "line": 237,
797
882
  "character": 79
798
883
  },
799
884
  "name": "ComponentMain",
@@ -806,7 +891,7 @@
806
891
  "__schema": "TypeRefSchema",
807
892
  "location": {
808
893
  "filePath": "dev-files.main.runtime.ts",
809
- "line": 228,
894
+ "line": 237,
810
895
  "character": 94
811
896
  },
812
897
  "name": "GraphqlMain",
@@ -819,7 +904,7 @@
819
904
  "__schema": "TypeRefSchema",
820
905
  "location": {
821
906
  "filePath": "dev-files.main.runtime.ts",
822
- "line": 228,
907
+ "line": 237,
823
908
  "character": 107
824
909
  },
825
910
  "name": "ScopeMain",
@@ -837,7 +922,7 @@
837
922
  "__schema": "ParameterSchema",
838
923
  "location": {
839
924
  "filePath": "dev-files.main.runtime.ts",
840
- "line": 229,
925
+ "line": 238,
841
926
  "character": 5
842
927
  },
843
928
  "name": "config",
@@ -845,7 +930,7 @@
845
930
  "__schema": "TypeRefSchema",
846
931
  "location": {
847
932
  "filePath": "dev-files.main.runtime.ts",
848
- "line": 229,
933
+ "line": 238,
849
934
  "character": 13
850
935
  },
851
936
  "name": "DevFilesConfig",
@@ -858,7 +943,7 @@
858
943
  "__schema": "ParameterSchema",
859
944
  "location": {
860
945
  "filePath": "dev-files.main.runtime.ts",
861
- "line": 230,
946
+ "line": 239,
862
947
  "character": 5
863
948
  },
864
949
  "name": "[ devPatternSlot ]",
@@ -866,7 +951,7 @@
866
951
  "__schema": "TupleTypeSchema",
867
952
  "location": {
868
953
  "filePath": "dev-files.main.runtime.ts",
869
- "line": 230,
954
+ "line": 239,
870
955
  "character": 23
871
956
  },
872
957
  "elements": [
@@ -874,7 +959,7 @@
874
959
  "__schema": "TypeRefSchema",
875
960
  "location": {
876
961
  "filePath": "dev-files.main.runtime.ts",
877
- "line": 230,
962
+ "line": 239,
878
963
  "character": 24
879
964
  },
880
965
  "name": "DevPatternSlot",
@@ -890,7 +975,7 @@
890
975
  "__schema": "InferenceTypeSchema",
891
976
  "location": {
892
977
  "filePath": "dev-files.main.runtime.ts",
893
- "line": 227,
978
+ "line": 236,
894
979
  "character": 3
895
980
  },
896
981
  "type": "Promise<DevFilesMain>"
@@ -905,6 +990,183 @@
905
990
  "implementNodes": []
906
991
  }
907
992
  },
993
+ {
994
+ "__schema": "ExportSchema",
995
+ "location": {
996
+ "filePath": "index.ts",
997
+ "line": 4,
998
+ "character": 29
999
+ },
1000
+ "name": "EnvJsoncPatterns",
1001
+ "exportNode": {
1002
+ "__schema": "TypeSchema",
1003
+ "location": {
1004
+ "filePath": "dev-files.main.runtime.ts",
1005
+ "line": 36,
1006
+ "character": 1
1007
+ },
1008
+ "signature": "type EnvJsoncPatterns = {\n [key: string]: string[] | undefined;\n compositions?: string[] | undefined;\n docs?: string[] | undefined;\n tests?: string[] | undefined;\n}",
1009
+ "name": "EnvJsoncPatterns",
1010
+ "type": {
1011
+ "__schema": "TypeLiteralSchema",
1012
+ "location": {
1013
+ "filePath": "dev-files.main.runtime.ts",
1014
+ "line": 36,
1015
+ "character": 32
1016
+ },
1017
+ "members": [
1018
+ {
1019
+ "__schema": "VariableLikeSchema",
1020
+ "location": {
1021
+ "filePath": "dev-files.main.runtime.ts",
1022
+ "line": 37,
1023
+ "character": 3
1024
+ },
1025
+ "signature": "(property) compositions?: string[] | undefined",
1026
+ "name": "compositions",
1027
+ "type": {
1028
+ "__schema": "TypeArraySchema",
1029
+ "location": {
1030
+ "filePath": "dev-files.main.runtime.ts",
1031
+ "line": 37,
1032
+ "character": 18
1033
+ },
1034
+ "type": {
1035
+ "__schema": "KeywordTypeSchema",
1036
+ "location": {
1037
+ "filePath": "dev-files.main.runtime.ts",
1038
+ "line": 37,
1039
+ "character": 18
1040
+ },
1041
+ "name": "string"
1042
+ }
1043
+ },
1044
+ "isOptional": true
1045
+ },
1046
+ {
1047
+ "__schema": "VariableLikeSchema",
1048
+ "location": {
1049
+ "filePath": "dev-files.main.runtime.ts",
1050
+ "line": 38,
1051
+ "character": 3
1052
+ },
1053
+ "signature": "(property) docs?: string[] | undefined",
1054
+ "name": "docs",
1055
+ "type": {
1056
+ "__schema": "TypeArraySchema",
1057
+ "location": {
1058
+ "filePath": "dev-files.main.runtime.ts",
1059
+ "line": 38,
1060
+ "character": 10
1061
+ },
1062
+ "type": {
1063
+ "__schema": "KeywordTypeSchema",
1064
+ "location": {
1065
+ "filePath": "dev-files.main.runtime.ts",
1066
+ "line": 38,
1067
+ "character": 10
1068
+ },
1069
+ "name": "string"
1070
+ }
1071
+ },
1072
+ "isOptional": true
1073
+ },
1074
+ {
1075
+ "__schema": "VariableLikeSchema",
1076
+ "location": {
1077
+ "filePath": "dev-files.main.runtime.ts",
1078
+ "line": 39,
1079
+ "character": 3
1080
+ },
1081
+ "signature": "(property) tests?: string[] | undefined",
1082
+ "name": "tests",
1083
+ "type": {
1084
+ "__schema": "TypeArraySchema",
1085
+ "location": {
1086
+ "filePath": "dev-files.main.runtime.ts",
1087
+ "line": 39,
1088
+ "character": 11
1089
+ },
1090
+ "type": {
1091
+ "__schema": "KeywordTypeSchema",
1092
+ "location": {
1093
+ "filePath": "dev-files.main.runtime.ts",
1094
+ "line": 39,
1095
+ "character": 11
1096
+ },
1097
+ "name": "string"
1098
+ }
1099
+ },
1100
+ "isOptional": true
1101
+ },
1102
+ {
1103
+ "__schema": "IndexSignatureSchema",
1104
+ "location": {
1105
+ "filePath": "dev-files.main.runtime.ts",
1106
+ "line": 40,
1107
+ "character": 3
1108
+ },
1109
+ "keyType": {
1110
+ "__schema": "ParameterSchema",
1111
+ "location": {
1112
+ "filePath": "dev-files.main.runtime.ts",
1113
+ "line": 40,
1114
+ "character": 4
1115
+ },
1116
+ "name": "key",
1117
+ "type": {
1118
+ "__schema": "KeywordTypeSchema",
1119
+ "location": {
1120
+ "filePath": "dev-files.main.runtime.ts",
1121
+ "line": 40,
1122
+ "character": 9
1123
+ },
1124
+ "name": "string"
1125
+ },
1126
+ "isOptional": false,
1127
+ "isSpread": false
1128
+ },
1129
+ "valueType": {
1130
+ "__schema": "TypeUnionSchema",
1131
+ "location": {
1132
+ "filePath": "dev-files.main.runtime.ts",
1133
+ "line": 40,
1134
+ "character": 18
1135
+ },
1136
+ "types": [
1137
+ {
1138
+ "__schema": "TypeArraySchema",
1139
+ "location": {
1140
+ "filePath": "dev-files.main.runtime.ts",
1141
+ "line": 40,
1142
+ "character": 18
1143
+ },
1144
+ "type": {
1145
+ "__schema": "KeywordTypeSchema",
1146
+ "location": {
1147
+ "filePath": "dev-files.main.runtime.ts",
1148
+ "line": 40,
1149
+ "character": 18
1150
+ },
1151
+ "name": "string"
1152
+ }
1153
+ },
1154
+ {
1155
+ "__schema": "KeywordTypeSchema",
1156
+ "location": {
1157
+ "filePath": "dev-files.main.runtime.ts",
1158
+ "line": 40,
1159
+ "character": 29
1160
+ },
1161
+ "name": "undefined"
1162
+ }
1163
+ ]
1164
+ }
1165
+ }
1166
+ ]
1167
+ }
1168
+ }
1169
+ },
908
1170
  {
909
1171
  "__schema": "UnImplementedSchema",
910
1172
  "location": {
@@ -1063,14 +1325,182 @@
1063
1325
  "__schema": "TypeSchema",
1064
1326
  "location": {
1065
1327
  "filePath": "dev-files.main.runtime.ts",
1066
- "line": 39,
1328
+ "line": 36,
1329
+ "character": 1
1330
+ },
1331
+ "signature": "type EnvJsoncPatterns = {\n [key: string]: string[] | undefined;\n compositions?: string[] | undefined;\n docs?: string[] | undefined;\n tests?: string[] | undefined;\n}",
1332
+ "name": "EnvJsoncPatterns",
1333
+ "type": {
1334
+ "__schema": "TypeLiteralSchema",
1335
+ "location": {
1336
+ "filePath": "dev-files.main.runtime.ts",
1337
+ "line": 36,
1338
+ "character": 32
1339
+ },
1340
+ "members": [
1341
+ {
1342
+ "__schema": "VariableLikeSchema",
1343
+ "location": {
1344
+ "filePath": "dev-files.main.runtime.ts",
1345
+ "line": 37,
1346
+ "character": 3
1347
+ },
1348
+ "signature": "(property) compositions?: string[] | undefined",
1349
+ "name": "compositions",
1350
+ "type": {
1351
+ "__schema": "TypeArraySchema",
1352
+ "location": {
1353
+ "filePath": "dev-files.main.runtime.ts",
1354
+ "line": 37,
1355
+ "character": 18
1356
+ },
1357
+ "type": {
1358
+ "__schema": "KeywordTypeSchema",
1359
+ "location": {
1360
+ "filePath": "dev-files.main.runtime.ts",
1361
+ "line": 37,
1362
+ "character": 18
1363
+ },
1364
+ "name": "string"
1365
+ }
1366
+ },
1367
+ "isOptional": true
1368
+ },
1369
+ {
1370
+ "__schema": "VariableLikeSchema",
1371
+ "location": {
1372
+ "filePath": "dev-files.main.runtime.ts",
1373
+ "line": 38,
1374
+ "character": 3
1375
+ },
1376
+ "signature": "(property) docs?: string[] | undefined",
1377
+ "name": "docs",
1378
+ "type": {
1379
+ "__schema": "TypeArraySchema",
1380
+ "location": {
1381
+ "filePath": "dev-files.main.runtime.ts",
1382
+ "line": 38,
1383
+ "character": 10
1384
+ },
1385
+ "type": {
1386
+ "__schema": "KeywordTypeSchema",
1387
+ "location": {
1388
+ "filePath": "dev-files.main.runtime.ts",
1389
+ "line": 38,
1390
+ "character": 10
1391
+ },
1392
+ "name": "string"
1393
+ }
1394
+ },
1395
+ "isOptional": true
1396
+ },
1397
+ {
1398
+ "__schema": "VariableLikeSchema",
1399
+ "location": {
1400
+ "filePath": "dev-files.main.runtime.ts",
1401
+ "line": 39,
1402
+ "character": 3
1403
+ },
1404
+ "signature": "(property) tests?: string[] | undefined",
1405
+ "name": "tests",
1406
+ "type": {
1407
+ "__schema": "TypeArraySchema",
1408
+ "location": {
1409
+ "filePath": "dev-files.main.runtime.ts",
1410
+ "line": 39,
1411
+ "character": 11
1412
+ },
1413
+ "type": {
1414
+ "__schema": "KeywordTypeSchema",
1415
+ "location": {
1416
+ "filePath": "dev-files.main.runtime.ts",
1417
+ "line": 39,
1418
+ "character": 11
1419
+ },
1420
+ "name": "string"
1421
+ }
1422
+ },
1423
+ "isOptional": true
1424
+ },
1425
+ {
1426
+ "__schema": "IndexSignatureSchema",
1427
+ "location": {
1428
+ "filePath": "dev-files.main.runtime.ts",
1429
+ "line": 40,
1430
+ "character": 3
1431
+ },
1432
+ "keyType": {
1433
+ "__schema": "ParameterSchema",
1434
+ "location": {
1435
+ "filePath": "dev-files.main.runtime.ts",
1436
+ "line": 40,
1437
+ "character": 4
1438
+ },
1439
+ "name": "key",
1440
+ "type": {
1441
+ "__schema": "KeywordTypeSchema",
1442
+ "location": {
1443
+ "filePath": "dev-files.main.runtime.ts",
1444
+ "line": 40,
1445
+ "character": 9
1446
+ },
1447
+ "name": "string"
1448
+ },
1449
+ "isOptional": false,
1450
+ "isSpread": false
1451
+ },
1452
+ "valueType": {
1453
+ "__schema": "TypeUnionSchema",
1454
+ "location": {
1455
+ "filePath": "dev-files.main.runtime.ts",
1456
+ "line": 40,
1457
+ "character": 18
1458
+ },
1459
+ "types": [
1460
+ {
1461
+ "__schema": "TypeArraySchema",
1462
+ "location": {
1463
+ "filePath": "dev-files.main.runtime.ts",
1464
+ "line": 40,
1465
+ "character": 18
1466
+ },
1467
+ "type": {
1468
+ "__schema": "KeywordTypeSchema",
1469
+ "location": {
1470
+ "filePath": "dev-files.main.runtime.ts",
1471
+ "line": 40,
1472
+ "character": 18
1473
+ },
1474
+ "name": "string"
1475
+ }
1476
+ },
1477
+ {
1478
+ "__schema": "KeywordTypeSchema",
1479
+ "location": {
1480
+ "filePath": "dev-files.main.runtime.ts",
1481
+ "line": 40,
1482
+ "character": 29
1483
+ },
1484
+ "name": "undefined"
1485
+ }
1486
+ ]
1487
+ }
1488
+ }
1489
+ ]
1490
+ }
1491
+ },
1492
+ {
1493
+ "__schema": "TypeSchema",
1494
+ "location": {
1495
+ "filePath": "dev-files.main.runtime.ts",
1496
+ "line": 46,
1067
1497
  "character": 1
1068
1498
  },
1069
1499
  "doc": {
1070
1500
  "__schema": "DocSchema",
1071
1501
  "location": {
1072
1502
  "filePath": "dev-files.main.runtime.ts",
1073
- "line": 36,
1503
+ "line": 43,
1074
1504
  "character": 1
1075
1505
  },
1076
1506
  "raw": "/**\n * slot for dev file patterns.\n */",
@@ -1082,7 +1512,7 @@
1082
1512
  "__schema": "TypeRefSchema",
1083
1513
  "location": {
1084
1514
  "filePath": "dev-files.main.runtime.ts",
1085
- "line": 39,
1515
+ "line": 46,
1086
1516
  "character": 30
1087
1517
  },
1088
1518
  "name": "SlotRegistry",
@@ -1096,7 +1526,7 @@
1096
1526
  "__schema": "TypeRefSchema",
1097
1527
  "location": {
1098
1528
  "filePath": "dev-files.main.runtime.ts",
1099
- "line": 39,
1529
+ "line": 46,
1100
1530
  "character": 43
1101
1531
  },
1102
1532
  "name": "DevPatterns",
@@ -1109,7 +1539,7 @@
1109
1539
  "__schema": "TypeSchema",
1110
1540
  "location": {
1111
1541
  "filePath": "dev-files.main.runtime.ts",
1112
- "line": 41,
1542
+ "line": 48,
1113
1543
  "character": 1
1114
1544
  },
1115
1545
  "signature": "type DevFilesConfig = {\n patterns: string[];\n}",
@@ -1118,7 +1548,7 @@
1118
1548
  "__schema": "TypeLiteralSchema",
1119
1549
  "location": {
1120
1550
  "filePath": "dev-files.main.runtime.ts",
1121
- "line": 41,
1551
+ "line": 48,
1122
1552
  "character": 30
1123
1553
  },
1124
1554
  "members": [
@@ -1126,7 +1556,7 @@
1126
1556
  "__schema": "VariableLikeSchema",
1127
1557
  "location": {
1128
1558
  "filePath": "dev-files.main.runtime.ts",
1129
- "line": 42,
1559
+ "line": 49,
1130
1560
  "character": 3
1131
1561
  },
1132
1562
  "signature": "(property) patterns: string[]",
@@ -1135,14 +1565,14 @@
1135
1565
  "__schema": "TypeArraySchema",
1136
1566
  "location": {
1137
1567
  "filePath": "dev-files.main.runtime.ts",
1138
- "line": 42,
1568
+ "line": 49,
1139
1569
  "character": 13
1140
1570
  },
1141
1571
  "type": {
1142
1572
  "__schema": "KeywordTypeSchema",
1143
1573
  "location": {
1144
1574
  "filePath": "dev-files.main.runtime.ts",
1145
- "line": 42,
1575
+ "line": 49,
1146
1576
  "character": 13
1147
1577
  },
1148
1578
  "name": "string"
@@ -1157,7 +1587,7 @@
1157
1587
  "__schema": "ClassSchema",
1158
1588
  "location": {
1159
1589
  "filePath": "dev-files.main.runtime.ts",
1160
- "line": 45,
1590
+ "line": 52,
1161
1591
  "character": 1
1162
1592
  },
1163
1593
  "signature": "class DevFilesMain",
@@ -1167,7 +1597,7 @@
1167
1597
  "__schema": "ConstructorSchema",
1168
1598
  "location": {
1169
1599
  "filePath": "dev-files.main.runtime.ts",
1170
- "line": 46,
1600
+ "line": 53,
1171
1601
  "character": 3
1172
1602
  },
1173
1603
  "signature": "constructor DevFilesMain(envs: EnvsMain, workspace: Workspace, devPatternSlot: DevPatternSlot, config: DevFilesConfig): DevFilesMain",
@@ -1177,7 +1607,7 @@
1177
1607
  "__schema": "ParameterSchema",
1178
1608
  "location": {
1179
1609
  "filePath": "dev-files.main.runtime.ts",
1180
- "line": 47,
1610
+ "line": 54,
1181
1611
  "character": 5
1182
1612
  },
1183
1613
  "name": "envs",
@@ -1185,7 +1615,7 @@
1185
1615
  "__schema": "TypeRefSchema",
1186
1616
  "location": {
1187
1617
  "filePath": "dev-files.main.runtime.ts",
1188
- "line": 47,
1618
+ "line": 54,
1189
1619
  "character": 19
1190
1620
  },
1191
1621
  "name": "EnvsMain",
@@ -1201,7 +1631,7 @@
1201
1631
  "__schema": "ParameterSchema",
1202
1632
  "location": {
1203
1633
  "filePath": "dev-files.main.runtime.ts",
1204
- "line": 49,
1634
+ "line": 56,
1205
1635
  "character": 5
1206
1636
  },
1207
1637
  "name": "workspace",
@@ -1209,7 +1639,7 @@
1209
1639
  "__schema": "TypeRefSchema",
1210
1640
  "location": {
1211
1641
  "filePath": "dev-files.main.runtime.ts",
1212
- "line": 49,
1642
+ "line": 56,
1213
1643
  "character": 24
1214
1644
  },
1215
1645
  "name": "Workspace",
@@ -1225,7 +1655,7 @@
1225
1655
  "__schema": "ParameterSchema",
1226
1656
  "location": {
1227
1657
  "filePath": "dev-files.main.runtime.ts",
1228
- "line": 51,
1658
+ "line": 58,
1229
1659
  "character": 5
1230
1660
  },
1231
1661
  "name": "devPatternSlot",
@@ -1233,7 +1663,7 @@
1233
1663
  "__schema": "TypeRefSchema",
1234
1664
  "location": {
1235
1665
  "filePath": "dev-files.main.runtime.ts",
1236
- "line": 51,
1666
+ "line": 58,
1237
1667
  "character": 29
1238
1668
  },
1239
1669
  "name": "DevPatternSlot",
@@ -1246,7 +1676,7 @@
1246
1676
  "__schema": "ParameterSchema",
1247
1677
  "location": {
1248
1678
  "filePath": "dev-files.main.runtime.ts",
1249
- "line": 56,
1679
+ "line": 63,
1250
1680
  "character": 5
1251
1681
  },
1252
1682
  "name": "config",
@@ -1254,7 +1684,7 @@
1254
1684
  "__schema": "TypeRefSchema",
1255
1685
  "location": {
1256
1686
  "filePath": "dev-files.main.runtime.ts",
1257
- "line": 56,
1687
+ "line": 63,
1258
1688
  "character": 22
1259
1689
  },
1260
1690
  "name": "DevFilesConfig",
@@ -1268,7 +1698,7 @@
1268
1698
  "__schema": "ThisTypeSchema",
1269
1699
  "location": {
1270
1700
  "filePath": "dev-files.main.runtime.ts",
1271
- "line": 45,
1701
+ "line": 52,
1272
1702
  "character": 1
1273
1703
  },
1274
1704
  "name": "DevFilesMain"
@@ -1279,14 +1709,14 @@
1279
1709
  "__schema": "FunctionLikeSchema",
1280
1710
  "location": {
1281
1711
  "filePath": "dev-files.main.runtime.ts",
1282
- "line": 64,
1712
+ "line": 71,
1283
1713
  "character": 3
1284
1714
  },
1285
1715
  "doc": {
1286
1716
  "__schema": "DocSchema",
1287
1717
  "location": {
1288
1718
  "filePath": "dev-files.main.runtime.ts",
1289
- "line": 59,
1719
+ "line": 66,
1290
1720
  "character": 3
1291
1721
  },
1292
1722
  "raw": "/**\n * compute all dev patterns on a component.\n * computing of dev patterns is a merge of the configuration, the env (env.getDevPatterns(component)) and\n * the registering aspects (through registerDevPattern()).\n */",
@@ -1299,7 +1729,7 @@
1299
1729
  "__schema": "ParameterSchema",
1300
1730
  "location": {
1301
1731
  "filePath": "dev-files.main.runtime.ts",
1302
- "line": 64,
1732
+ "line": 71,
1303
1733
  "character": 28
1304
1734
  },
1305
1735
  "name": "component",
@@ -1307,7 +1737,7 @@
1307
1737
  "__schema": "TypeRefSchema",
1308
1738
  "location": {
1309
1739
  "filePath": "dev-files.main.runtime.ts",
1310
- "line": 64,
1740
+ "line": 71,
1311
1741
  "character": 39
1312
1742
  },
1313
1743
  "name": "Component",
@@ -1324,7 +1754,7 @@
1324
1754
  "__schema": "InferenceTypeSchema",
1325
1755
  "location": {
1326
1756
  "filePath": "dev-files.main.runtime.ts",
1327
- "line": 64,
1757
+ "line": 71,
1328
1758
  "character": 3
1329
1759
  },
1330
1760
  "type": "Promise<{\n config: any;\n} & {\n [id: string]: string[];\n} & {\n [id: string]: string[];\n}>"
@@ -1337,14 +1767,99 @@
1337
1767
  "__schema": "FunctionLikeSchema",
1338
1768
  "location": {
1339
1769
  "filePath": "dev-files.main.runtime.ts",
1340
- "line": 161,
1770
+ "line": 141,
1771
+ "character": 3
1772
+ },
1773
+ "signature": "(method) DevFilesMain.mergeEnvManifestPatterns(parent: EnvJsonc, child: EnvJsonc): Partial<EnvJsonc>",
1774
+ "name": "mergeEnvManifestPatterns",
1775
+ "params": [
1776
+ {
1777
+ "__schema": "ParameterSchema",
1778
+ "location": {
1779
+ "filePath": "dev-files.main.runtime.ts",
1780
+ "line": 141,
1781
+ "character": 28
1782
+ },
1783
+ "name": "parent",
1784
+ "type": {
1785
+ "__schema": "TypeRefSchema",
1786
+ "location": {
1787
+ "filePath": "dev-files.main.runtime.ts",
1788
+ "line": 141,
1789
+ "character": 36
1790
+ },
1791
+ "name": "EnvJsonc",
1792
+ "componentId": {
1793
+ "scope": "teambit.envs",
1794
+ "name": "envs"
1795
+ }
1796
+ },
1797
+ "isOptional": false,
1798
+ "isSpread": false
1799
+ },
1800
+ {
1801
+ "__schema": "ParameterSchema",
1802
+ "location": {
1803
+ "filePath": "dev-files.main.runtime.ts",
1804
+ "line": 141,
1805
+ "character": 46
1806
+ },
1807
+ "name": "child",
1808
+ "type": {
1809
+ "__schema": "TypeRefSchema",
1810
+ "location": {
1811
+ "filePath": "dev-files.main.runtime.ts",
1812
+ "line": 141,
1813
+ "character": 53
1814
+ },
1815
+ "name": "EnvJsonc",
1816
+ "componentId": {
1817
+ "scope": "teambit.envs",
1818
+ "name": "envs"
1819
+ }
1820
+ },
1821
+ "isOptional": false,
1822
+ "isSpread": false
1823
+ }
1824
+ ],
1825
+ "returnType": {
1826
+ "__schema": "TypeRefSchema",
1827
+ "location": {
1828
+ "filePath": "dev-files.main.runtime.ts",
1829
+ "line": 141,
1830
+ "character": 64
1831
+ },
1832
+ "name": "Partial",
1833
+ "typeArgs": [
1834
+ {
1835
+ "__schema": "TypeRefSchema",
1836
+ "location": {
1837
+ "filePath": "dev-files.main.runtime.ts",
1838
+ "line": 141,
1839
+ "character": 72
1840
+ },
1841
+ "name": "EnvJsonc",
1842
+ "componentId": {
1843
+ "scope": "teambit.envs",
1844
+ "name": "envs"
1845
+ }
1846
+ }
1847
+ ]
1848
+ },
1849
+ "modifiers": []
1850
+ },
1851
+ {
1852
+ "__schema": "FunctionLikeSchema",
1853
+ "location": {
1854
+ "filePath": "dev-files.main.runtime.ts",
1855
+ "line": 170,
1341
1856
  "character": 3
1342
1857
  },
1343
1858
  "doc": {
1344
1859
  "__schema": "DocSchema",
1345
1860
  "location": {
1346
1861
  "filePath": "dev-files.main.runtime.ts",
1347
- "line": 158,
1862
+ "line": 167,
1348
1863
  "character": 3
1349
1864
  },
1350
1865
  "raw": "/**\n * get all dev files configured on a component.\n */",
@@ -1357,7 +1872,7 @@
1357
1872
  "__schema": "ParameterSchema",
1358
1873
  "location": {
1359
1874
  "filePath": "dev-files.main.runtime.ts",
1360
- "line": 161,
1875
+ "line": 170,
1361
1876
  "character": 18
1362
1877
  },
1363
1878
  "name": "component",
@@ -1365,7 +1880,7 @@
1365
1880
  "__schema": "TypeRefSchema",
1366
1881
  "location": {
1367
1882
  "filePath": "dev-files.main.runtime.ts",
1368
- "line": 161,
1883
+ "line": 170,
1369
1884
  "character": 29
1370
1885
  },
1371
1886
  "name": "Component",
@@ -1381,7 +1896,7 @@
1381
1896
  "__schema": "ParameterSchema",
1382
1897
  "location": {
1383
1898
  "filePath": "dev-files.main.runtime.ts",
1384
- "line": 161,
1899
+ "line": 170,
1385
1900
  "character": 40
1386
1901
  },
1387
1902
  "name": "aspectId",
@@ -1389,7 +1904,7 @@
1389
1904
  "__schema": "KeywordTypeSchema",
1390
1905
  "location": {
1391
1906
  "filePath": "dev-files.main.runtime.ts",
1392
- "line": 161,
1907
+ "line": 170,
1393
1908
  "character": 51
1394
1909
  },
1395
1910
  "name": "string"
@@ -1402,14 +1917,14 @@
1402
1917
  "__schema": "TypeArraySchema",
1403
1918
  "location": {
1404
1919
  "filePath": "dev-files.main.runtime.ts",
1405
- "line": 161,
1920
+ "line": 170,
1406
1921
  "character": 60
1407
1922
  },
1408
1923
  "type": {
1409
1924
  "__schema": "KeywordTypeSchema",
1410
1925
  "location": {
1411
1926
  "filePath": "dev-files.main.runtime.ts",
1412
- "line": 161,
1927
+ "line": 170,
1413
1928
  "character": 60
1414
1929
  },
1415
1930
  "name": "string"
@@ -1421,14 +1936,14 @@
1421
1936
  "__schema": "FunctionLikeSchema",
1422
1937
  "location": {
1423
1938
  "filePath": "dev-files.main.runtime.ts",
1424
- "line": 170,
1939
+ "line": 179,
1425
1940
  "character": 3
1426
1941
  },
1427
1942
  "doc": {
1428
1943
  "__schema": "DocSchema",
1429
1944
  "location": {
1430
1945
  "filePath": "dev-files.main.runtime.ts",
1431
- "line": 167,
1946
+ "line": 176,
1432
1947
  "character": 3
1433
1948
  },
1434
1949
  "raw": "/**\n * determine whether a file of a component is a dev file.\n */",
@@ -1441,7 +1956,7 @@
1441
1956
  "__schema": "ParameterSchema",
1442
1957
  "location": {
1443
1958
  "filePath": "dev-files.main.runtime.ts",
1444
- "line": 170,
1959
+ "line": 179,
1445
1960
  "character": 13
1446
1961
  },
1447
1962
  "name": "component",
@@ -1449,7 +1964,7 @@
1449
1964
  "__schema": "TypeRefSchema",
1450
1965
  "location": {
1451
1966
  "filePath": "dev-files.main.runtime.ts",
1452
- "line": 170,
1967
+ "line": 179,
1453
1968
  "character": 24
1454
1969
  },
1455
1970
  "name": "Component",
@@ -1465,7 +1980,7 @@
1465
1980
  "__schema": "ParameterSchema",
1466
1981
  "location": {
1467
1982
  "filePath": "dev-files.main.runtime.ts",
1468
- "line": 170,
1983
+ "line": 179,
1469
1984
  "character": 35
1470
1985
  },
1471
1986
  "name": "filePath",
@@ -1473,7 +1988,7 @@
1473
1988
  "__schema": "KeywordTypeSchema",
1474
1989
  "location": {
1475
1990
  "filePath": "dev-files.main.runtime.ts",
1476
- "line": 170,
1991
+ "line": 179,
1477
1992
  "character": 45
1478
1993
  },
1479
1994
  "name": "string"
@@ -1486,7 +2001,7 @@
1486
2001
  "__schema": "KeywordTypeSchema",
1487
2002
  "location": {
1488
2003
  "filePath": "dev-files.main.runtime.ts",
1489
- "line": 170,
2004
+ "line": 179,
1490
2005
  "character": 54
1491
2006
  },
1492
2007
  "name": "boolean"
@@ -1497,14 +2012,14 @@
1497
2012
  "__schema": "FunctionLikeSchema",
1498
2013
  "location": {
1499
2014
  "filePath": "dev-files.main.runtime.ts",
1500
- "line": 179,
2015
+ "line": 188,
1501
2016
  "character": 3
1502
2017
  },
1503
2018
  "doc": {
1504
2019
  "__schema": "DocSchema",
1505
2020
  "location": {
1506
2021
  "filePath": "dev-files.main.runtime.ts",
1507
- "line": 175,
2022
+ "line": 184,
1508
2023
  "character": 3
1509
2024
  },
1510
2025
  "raw": "/**\n * register a new dev pattern.\n * @param regex dev pattern\n */",
@@ -1514,7 +2029,7 @@
1514
2029
  "__schema": "PropertyLikeTagSchema",
1515
2030
  "location": {
1516
2031
  "filePath": "dev-files.main.runtime.ts",
1517
- "line": 177,
2032
+ "line": 186,
1518
2033
  "character": 6
1519
2034
  },
1520
2035
  "name": "regex",
@@ -1530,7 +2045,7 @@
1530
2045
  "__schema": "ParameterSchema",
1531
2046
  "location": {
1532
2047
  "filePath": "dev-files.main.runtime.ts",
1533
- "line": 179,
2048
+ "line": 188,
1534
2049
  "character": 22
1535
2050
  },
1536
2051
  "name": "pattern",
@@ -1538,7 +2053,7 @@
1538
2053
  "__schema": "TypeRefSchema",
1539
2054
  "location": {
1540
2055
  "filePath": "dev-files.main.runtime.ts",
1541
- "line": 179,
2056
+ "line": 188,
1542
2057
  "character": 31
1543
2058
  },
1544
2059
  "name": "DevPatterns",
@@ -1552,7 +2067,7 @@
1552
2067
  "__schema": "InferenceTypeSchema",
1553
2068
  "location": {
1554
2069
  "filePath": "dev-files.main.runtime.ts",
1555
- "line": 179,
2070
+ "line": 188,
1556
2071
  "character": 3
1557
2072
  },
1558
2073
  "type": "void"
@@ -1563,14 +2078,14 @@
1563
2078
  "__schema": "FunctionLikeSchema",
1564
2079
  "location": {
1565
2080
  "filePath": "dev-files.main.runtime.ts",
1566
- "line": 187,
2081
+ "line": 196,
1567
2082
  "character": 3
1568
2083
  },
1569
2084
  "doc": {
1570
2085
  "__schema": "DocSchema",
1571
2086
  "location": {
1572
2087
  "filePath": "dev-files.main.runtime.ts",
1573
- "line": 183,
2088
+ "line": 192,
1574
2089
  "character": 3
1575
2090
  },
1576
2091
  "raw": "/**\n * get all dev patterns registered.\n * If you want to use this during onLoad event you might need to use computeDevFiles instead, since the component might not include this data yet\n */",
@@ -1583,7 +2098,7 @@
1583
2098
  "__schema": "ParameterSchema",
1584
2099
  "location": {
1585
2100
  "filePath": "dev-files.main.runtime.ts",
1586
- "line": 187,
2101
+ "line": 196,
1587
2102
  "character": 15
1588
2103
  },
1589
2104
  "name": "component",
@@ -1591,7 +2106,7 @@
1591
2106
  "__schema": "TypeRefSchema",
1592
2107
  "location": {
1593
2108
  "filePath": "dev-files.main.runtime.ts",
1594
- "line": 187,
2109
+ "line": 196,
1595
2110
  "character": 26
1596
2111
  },
1597
2112
  "name": "Component",
@@ -1608,7 +2123,7 @@
1608
2123
  "__schema": "TypeRefSchema",
1609
2124
  "location": {
1610
2125
  "filePath": "dev-files.main.runtime.ts",
1611
- "line": 187,
2126
+ "line": 196,
1612
2127
  "character": 3
1613
2128
  },
1614
2129
  "name": "DevFiles",
@@ -1620,7 +2135,7 @@
1620
2135
  "__schema": "FunctionLikeSchema",
1621
2136
  "location": {
1622
2137
  "filePath": "dev-files.main.runtime.ts",
1623
- "line": 193,
2138
+ "line": 202,
1624
2139
  "character": 3
1625
2140
  },
1626
2141
  "signature": "(method) DevFilesMain.getDevFilesForConsumerComp(consumerComponent: LegacyComponent): Promise<string[]>",
@@ -1630,7 +2145,7 @@
1630
2145
  "__schema": "ParameterSchema",
1631
2146
  "location": {
1632
2147
  "filePath": "dev-files.main.runtime.ts",
1633
- "line": 193,
2148
+ "line": 202,
1634
2149
  "character": 36
1635
2150
  },
1636
2151
  "name": "consumerComponent",
@@ -1638,7 +2153,7 @@
1638
2153
  "__schema": "TypeRefSchema",
1639
2154
  "location": {
1640
2155
  "filePath": "dev-files.main.runtime.ts",
1641
- "line": 193,
2156
+ "line": 202,
1642
2157
  "character": 55
1643
2158
  },
1644
2159
  "name": "LegacyComponent",
@@ -1652,7 +2167,7 @@
1652
2167
  "__schema": "TypeRefSchema",
1653
2168
  "location": {
1654
2169
  "filePath": "dev-files.main.runtime.ts",
1655
- "line": 193,
2170
+ "line": 202,
1656
2171
  "character": 73
1657
2172
  },
1658
2173
  "name": "Promise",
@@ -1661,14 +2176,14 @@
1661
2176
  "__schema": "TypeArraySchema",
1662
2177
  "location": {
1663
2178
  "filePath": "dev-files.main.runtime.ts",
1664
- "line": 193,
2179
+ "line": 202,
1665
2180
  "character": 81
1666
2181
  },
1667
2182
  "type": {
1668
2183
  "__schema": "KeywordTypeSchema",
1669
2184
  "location": {
1670
2185
  "filePath": "dev-files.main.runtime.ts",
1671
- "line": 193,
2186
+ "line": 202,
1672
2187
  "character": 81
1673
2188
  },
1674
2189
  "name": "string"
@@ -1684,14 +2199,14 @@
1684
2199
  "__schema": "FunctionLikeSchema",
1685
2200
  "location": {
1686
2201
  "filePath": "dev-files.main.runtime.ts",
1687
- "line": 205,
2202
+ "line": 214,
1688
2203
  "character": 3
1689
2204
  },
1690
2205
  "doc": {
1691
2206
  "__schema": "DocSchema",
1692
2207
  "location": {
1693
2208
  "filePath": "dev-files.main.runtime.ts",
1694
- "line": 202,
2209
+ "line": 211,
1695
2210
  "character": 3
1696
2211
  },
1697
2212
  "raw": "/**\n * compute all dev files of a component.\n */",
@@ -1704,7 +2219,7 @@
1704
2219
  "__schema": "ParameterSchema",
1705
2220
  "location": {
1706
2221
  "filePath": "dev-files.main.runtime.ts",
1707
- "line": 205,
2222
+ "line": 214,
1708
2223
  "character": 25
1709
2224
  },
1710
2225
  "name": "component",
@@ -1712,7 +2227,7 @@
1712
2227
  "__schema": "TypeRefSchema",
1713
2228
  "location": {
1714
2229
  "filePath": "dev-files.main.runtime.ts",
1715
- "line": 205,
2230
+ "line": 214,
1716
2231
  "character": 36
1717
2232
  },
1718
2233
  "name": "Component",
@@ -1729,7 +2244,7 @@
1729
2244
  "__schema": "TypeRefSchema",
1730
2245
  "location": {
1731
2246
  "filePath": "dev-files.main.runtime.ts",
1732
- "line": 205,
2247
+ "line": 214,
1733
2248
  "character": 48
1734
2249
  },
1735
2250
  "name": "Promise",
@@ -1738,7 +2253,7 @@
1738
2253
  "__schema": "TypeRefSchema",
1739
2254
  "location": {
1740
2255
  "filePath": "dev-files.main.runtime.ts",
1741
- "line": 205,
2256
+ "line": 214,
1742
2257
  "character": 56
1743
2258
  },
1744
2259
  "name": "DevFiles",
@@ -1754,7 +2269,7 @@
1754
2269
  "__schema": "VariableLikeSchema",
1755
2270
  "location": {
1756
2271
  "filePath": "dev-files.main.runtime.ts",
1757
- "line": 217,
2272
+ "line": 226,
1758
2273
  "character": 3
1759
2274
  },
1760
2275
  "signature": "(property) DevFilesMain.slots: ((registerFn: () => string) => SlotRegistry<DevPatterns>)[]",
@@ -1763,7 +2278,7 @@
1763
2278
  "__schema": "InferenceTypeSchema",
1764
2279
  "location": {
1765
2280
  "filePath": "dev-files.main.runtime.ts",
1766
- "line": 217,
2281
+ "line": 226,
1767
2282
  "character": 3
1768
2283
  },
1769
2284
  "type": "((registerFn: () => string) => SlotRegistry<DevPatterns>)[]"
@@ -1775,7 +2290,7 @@
1775
2290
  "__schema": "VariableLikeSchema",
1776
2291
  "location": {
1777
2292
  "filePath": "dev-files.main.runtime.ts",
1778
- "line": 219,
2293
+ "line": 228,
1779
2294
  "character": 3
1780
2295
  },
1781
2296
  "signature": "(property) DevFilesMain.defaultConfig: {\n patterns: never[];\n}",
@@ -1784,7 +2299,7 @@
1784
2299
  "__schema": "InferenceTypeSchema",
1785
2300
  "location": {
1786
2301
  "filePath": "dev-files.main.runtime.ts",
1787
- "line": 219,
2302
+ "line": 228,
1788
2303
  "character": 3
1789
2304
  },
1790
2305
  "type": "{\n patterns: never[];\n}"
@@ -1796,7 +2311,7 @@
1796
2311
  "__schema": "VariableLikeSchema",
1797
2312
  "location": {
1798
2313
  "filePath": "dev-files.main.runtime.ts",
1799
- "line": 223,
2314
+ "line": 232,
1800
2315
  "character": 3
1801
2316
  },
1802
2317
  "signature": "(property) DevFilesMain.runtime: RuntimeDefinition",
@@ -1805,7 +2320,7 @@
1805
2320
  "__schema": "InferenceTypeSchema",
1806
2321
  "location": {
1807
2322
  "filePath": "dev-files.main.runtime.ts",
1808
- "line": 223,
2323
+ "line": 232,
1809
2324
  "character": 3
1810
2325
  },
1811
2326
  "type": "RuntimeDefinition"
@@ -1817,7 +2332,7 @@
1817
2332
  "__schema": "VariableLikeSchema",
1818
2333
  "location": {
1819
2334
  "filePath": "dev-files.main.runtime.ts",
1820
- "line": 225,
2335
+ "line": 234,
1821
2336
  "character": 3
1822
2337
  },
1823
2338
  "signature": "(property) DevFilesMain.dependencies: Aspect[]",
@@ -1826,7 +2341,7 @@
1826
2341
  "__schema": "InferenceTypeSchema",
1827
2342
  "location": {
1828
2343
  "filePath": "dev-files.main.runtime.ts",
1829
- "line": 225,
2344
+ "line": 234,
1830
2345
  "character": 3
1831
2346
  },
1832
2347
  "type": "Aspect[]"
@@ -1838,7 +2353,7 @@
1838
2353
  "__schema": "FunctionLikeSchema",
1839
2354
  "location": {
1840
2355
  "filePath": "dev-files.main.runtime.ts",
1841
- "line": 227,
2356
+ "line": 236,
1842
2357
  "character": 3
1843
2358
  },
1844
2359
  "signature": "(method) DevFilesMain.provider([envs, workspace, componentAspect, graphql, scope]: [EnvsMain, Workspace, ComponentMain, GraphqlMain, ScopeMain], config: DevFilesConfig, [devPatternSlot]: [DevPatternSlot]): Promise<DevFilesMain>",
@@ -1848,7 +2363,7 @@
1848
2363
  "__schema": "ParameterSchema",
1849
2364
  "location": {
1850
2365
  "filePath": "dev-files.main.runtime.ts",
1851
- "line": 228,
2366
+ "line": 237,
1852
2367
  "character": 5
1853
2368
  },
1854
2369
  "name": "[ envs, workspace, componentAspect, graphql, scope ]",
@@ -1856,7 +2371,7 @@
1856
2371
  "__schema": "TupleTypeSchema",
1857
2372
  "location": {
1858
2373
  "filePath": "dev-files.main.runtime.ts",
1859
- "line": 228,
2374
+ "line": 237,
1860
2375
  "character": 57
1861
2376
  },
1862
2377
  "elements": [
@@ -1864,7 +2379,7 @@
1864
2379
  "__schema": "TypeRefSchema",
1865
2380
  "location": {
1866
2381
  "filePath": "dev-files.main.runtime.ts",
1867
- "line": 228,
2382
+ "line": 237,
1868
2383
  "character": 58
1869
2384
  },
1870
2385
  "name": "EnvsMain",
@@ -1877,7 +2392,7 @@
1877
2392
  "__schema": "TypeRefSchema",
1878
2393
  "location": {
1879
2394
  "filePath": "dev-files.main.runtime.ts",
1880
- "line": 228,
2395
+ "line": 237,
1881
2396
  "character": 68
1882
2397
  },
1883
2398
  "name": "Workspace",
@@ -1890,7 +2405,7 @@
1890
2405
  "__schema": "TypeRefSchema",
1891
2406
  "location": {
1892
2407
  "filePath": "dev-files.main.runtime.ts",
1893
- "line": 228,
2408
+ "line": 237,
1894
2409
  "character": 79
1895
2410
  },
1896
2411
  "name": "ComponentMain",
@@ -1903,7 +2418,7 @@
1903
2418
  "__schema": "TypeRefSchema",
1904
2419
  "location": {
1905
2420
  "filePath": "dev-files.main.runtime.ts",
1906
- "line": 228,
2421
+ "line": 237,
1907
2422
  "character": 94
1908
2423
  },
1909
2424
  "name": "GraphqlMain",
@@ -1916,7 +2431,7 @@
1916
2431
  "__schema": "TypeRefSchema",
1917
2432
  "location": {
1918
2433
  "filePath": "dev-files.main.runtime.ts",
1919
- "line": 228,
2434
+ "line": 237,
1920
2435
  "character": 107
1921
2436
  },
1922
2437
  "name": "ScopeMain",
@@ -1934,7 +2449,7 @@
1934
2449
  "__schema": "ParameterSchema",
1935
2450
  "location": {
1936
2451
  "filePath": "dev-files.main.runtime.ts",
1937
- "line": 229,
2452
+ "line": 238,
1938
2453
  "character": 5
1939
2454
  },
1940
2455
  "name": "config",
@@ -1942,7 +2457,7 @@
1942
2457
  "__schema": "TypeRefSchema",
1943
2458
  "location": {
1944
2459
  "filePath": "dev-files.main.runtime.ts",
1945
- "line": 229,
2460
+ "line": 238,
1946
2461
  "character": 13
1947
2462
  },
1948
2463
  "name": "DevFilesConfig",
@@ -1955,7 +2470,7 @@
1955
2470
  "__schema": "ParameterSchema",
1956
2471
  "location": {
1957
2472
  "filePath": "dev-files.main.runtime.ts",
1958
- "line": 230,
2473
+ "line": 239,
1959
2474
  "character": 5
1960
2475
  },
1961
2476
  "name": "[ devPatternSlot ]",
@@ -1963,7 +2478,7 @@
1963
2478
  "__schema": "TupleTypeSchema",
1964
2479
  "location": {
1965
2480
  "filePath": "dev-files.main.runtime.ts",
1966
- "line": 230,
2481
+ "line": 239,
1967
2482
  "character": 23
1968
2483
  },
1969
2484
  "elements": [
@@ -1971,7 +2486,7 @@
1971
2486
  "__schema": "TypeRefSchema",
1972
2487
  "location": {
1973
2488
  "filePath": "dev-files.main.runtime.ts",
1974
- "line": 230,
2489
+ "line": 239,
1975
2490
  "character": 24
1976
2491
  },
1977
2492
  "name": "DevPatternSlot",
@@ -1987,7 +2502,7 @@
1987
2502
  "__schema": "InferenceTypeSchema",
1988
2503
  "location": {
1989
2504
  "filePath": "dev-files.main.runtime.ts",
1990
- "line": 227,
2505
+ "line": 236,
1991
2506
  "character": 3
1992
2507
  },
1993
2508
  "type": "Promise<DevFilesMain>"
@@ -2142,7 +2657,7 @@
2142
2657
  "__schema": "UnImplementedSchema",
2143
2658
  "location": {
2144
2659
  "filePath": "dev-files.main.runtime.ts",
2145
- "line": 254,
2660
+ "line": 264,
2146
2661
  "character": 1
2147
2662
  },
2148
2663
  "name": "DevFilesAspect.addRuntime(DevFilesMain);",
@@ -2154,7 +2669,7 @@
2154
2669
  "componentId": {
2155
2670
  "scope": "teambit.component",
2156
2671
  "name": "dev-files",
2157
- "version": "1.0.277"
2672
+ "version": "1.0.279"
2158
2673
  },
2159
2674
  "taggedModuleExports": []
2160
2675
  }