@teambit/ipc-events 1.0.424 → 1.0.426

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.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.harmony/ipc-events@1.0.424" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.harmony/ipc-events@1.0.426" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -57,16 +57,16 @@
57
57
  "__schema": "ParameterSchema",
58
58
  "location": {
59
59
  "filePath": "ipc-events.main.runtime.ts",
60
- "line": 33,
61
- "character": 15
60
+ "line": 34,
61
+ "character": 5
62
62
  },
63
63
  "name": "scope",
64
64
  "type": {
65
65
  "__schema": "TypeRefSchema",
66
66
  "location": {
67
67
  "filePath": "ipc-events.main.runtime.ts",
68
- "line": 33,
69
- "character": 30
68
+ "line": 34,
69
+ "character": 20
70
70
  },
71
71
  "name": "ScopeMain",
72
72
  "componentId": {
@@ -81,16 +81,16 @@
81
81
  "__schema": "ParameterSchema",
82
82
  "location": {
83
83
  "filePath": "ipc-events.main.runtime.ts",
84
- "line": 33,
85
- "character": 41
84
+ "line": 35,
85
+ "character": 5
86
86
  },
87
87
  "name": "gotEventSlot",
88
88
  "type": {
89
89
  "__schema": "TypeRefSchema",
90
90
  "location": {
91
91
  "filePath": "ipc-events.main.runtime.ts",
92
- "line": 33,
93
- "character": 63
92
+ "line": 35,
93
+ "character": 27
94
94
  },
95
95
  "name": "GotEventSlot",
96
96
  "internalFilePath": "ipc-events.main.runtime.ts"
@@ -102,16 +102,16 @@
102
102
  "__schema": "ParameterSchema",
103
103
  "location": {
104
104
  "filePath": "ipc-events.main.runtime.ts",
105
- "line": 33,
106
- "character": 77
105
+ "line": 36,
106
+ "character": 5
107
107
  },
108
108
  "name": "logger",
109
109
  "type": {
110
110
  "__schema": "TypeRefSchema",
111
111
  "location": {
112
112
  "filePath": "ipc-events.main.runtime.ts",
113
- "line": 33,
114
- "character": 93
113
+ "line": 36,
114
+ "character": 21
115
115
  },
116
116
  "name": "Logger",
117
117
  "componentId": {
@@ -138,7 +138,7 @@
138
138
  "__schema": "FunctionLikeSchema",
139
139
  "location": {
140
140
  "filePath": "ipc-events.main.runtime.ts",
141
- "line": 35,
141
+ "line": 39,
142
142
  "character": 3
143
143
  },
144
144
  "signature": "(method) IpcEventsMain.registerGotEventSlot(fn: GotEvent): void",
@@ -148,7 +148,7 @@
148
148
  "__schema": "ParameterSchema",
149
149
  "location": {
150
150
  "filePath": "ipc-events.main.runtime.ts",
151
- "line": 35,
151
+ "line": 39,
152
152
  "character": 24
153
153
  },
154
154
  "name": "fn",
@@ -156,7 +156,7 @@
156
156
  "__schema": "TypeRefSchema",
157
157
  "location": {
158
158
  "filePath": "ipc-events.main.runtime.ts",
159
- "line": 35,
159
+ "line": 39,
160
160
  "character": 28
161
161
  },
162
162
  "name": "GotEvent",
@@ -170,7 +170,7 @@
170
170
  "__schema": "InferenceTypeSchema",
171
171
  "location": {
172
172
  "filePath": "ipc-events.main.runtime.ts",
173
- "line": 35,
173
+ "line": 39,
174
174
  "character": 3
175
175
  },
176
176
  "type": "void"
@@ -181,14 +181,14 @@
181
181
  "__schema": "FunctionLikeSchema",
182
182
  "location": {
183
183
  "filePath": "ipc-events.main.runtime.ts",
184
- "line": 43,
184
+ "line": 47,
185
185
  "character": 3
186
186
  },
187
187
  "doc": {
188
188
  "__schema": "DocSchema",
189
189
  "location": {
190
190
  "filePath": "ipc-events.main.runtime.ts",
191
- "line": 39,
191
+ "line": 43,
192
192
  "character": 3
193
193
  },
194
194
  "raw": "/**\n * this gets called from the watcher only.\n * as soon as the watcher finds out that a new event has been written to the filesystem, it triggers this function\n */",
@@ -202,7 +202,7 @@
202
202
  "__schema": "ParameterSchema",
203
203
  "location": {
204
204
  "filePath": "ipc-events.main.runtime.ts",
205
- "line": 43,
205
+ "line": 47,
206
206
  "character": 25
207
207
  },
208
208
  "name": "eventName",
@@ -210,7 +210,7 @@
210
210
  "__schema": "TypeRefSchema",
211
211
  "location": {
212
212
  "filePath": "ipc-events.main.runtime.ts",
213
- "line": 43,
213
+ "line": 47,
214
214
  "character": 36
215
215
  },
216
216
  "name": "EventName",
@@ -224,7 +224,7 @@
224
224
  "__schema": "InferenceTypeSchema",
225
225
  "location": {
226
226
  "filePath": "ipc-events.main.runtime.ts",
227
- "line": 43,
227
+ "line": 47,
228
228
  "character": 3
229
229
  },
230
230
  "type": "Promise<void>"
@@ -237,14 +237,14 @@
237
237
  "__schema": "FunctionLikeSchema",
238
238
  "location": {
239
239
  "filePath": "ipc-events.main.runtime.ts",
240
- "line": 52,
240
+ "line": 56,
241
241
  "character": 3
242
242
  },
243
243
  "doc": {
244
244
  "__schema": "DocSchema",
245
245
  "location": {
246
246
  "filePath": "ipc-events.main.runtime.ts",
247
- "line": 48,
247
+ "line": 52,
248
248
  "character": 3
249
249
  },
250
250
  "raw": "/**\n * write event data into the filesystem, so then other processes, such as \"bit start\", \"bit watch\", could use the\n * watcher to get the event data.\n */",
@@ -258,7 +258,7 @@
258
258
  "__schema": "ParameterSchema",
259
259
  "location": {
260
260
  "filePath": "ipc-events.main.runtime.ts",
261
- "line": 52,
261
+ "line": 56,
262
262
  "character": 25
263
263
  },
264
264
  "name": "eventName",
@@ -266,7 +266,7 @@
266
266
  "__schema": "TypeRefSchema",
267
267
  "location": {
268
268
  "filePath": "ipc-events.main.runtime.ts",
269
- "line": 52,
269
+ "line": 56,
270
270
  "character": 36
271
271
  },
272
272
  "name": "EventName",
@@ -279,7 +279,7 @@
279
279
  "__schema": "ParameterSchema",
280
280
  "location": {
281
281
  "filePath": "ipc-events.main.runtime.ts",
282
- "line": 52,
282
+ "line": 56,
283
283
  "character": 47
284
284
  },
285
285
  "name": "data",
@@ -287,7 +287,7 @@
287
287
  "__schema": "TypeRefSchema",
288
288
  "location": {
289
289
  "filePath": "ipc-events.main.runtime.ts",
290
- "line": 52,
290
+ "line": 56,
291
291
  "character": 54
292
292
  },
293
293
  "name": "Record",
@@ -296,7 +296,7 @@
296
296
  "__schema": "KeywordTypeSchema",
297
297
  "location": {
298
298
  "filePath": "ipc-events.main.runtime.ts",
299
- "line": 52,
299
+ "line": 56,
300
300
  "character": 61
301
301
  },
302
302
  "name": "string"
@@ -305,7 +305,7 @@
305
305
  "__schema": "KeywordTypeSchema",
306
306
  "location": {
307
307
  "filePath": "ipc-events.main.runtime.ts",
308
- "line": 52,
308
+ "line": 56,
309
309
  "character": 69
310
310
  },
311
311
  "name": "any"
@@ -320,7 +320,7 @@
320
320
  "__schema": "InferenceTypeSchema",
321
321
  "location": {
322
322
  "filePath": "ipc-events.main.runtime.ts",
323
- "line": 52,
323
+ "line": 56,
324
324
  "character": 3
325
325
  },
326
326
  "type": "Promise<void>"
@@ -333,7 +333,7 @@
333
333
  "__schema": "GetAccessorSchema",
334
334
  "location": {
335
335
  "filePath": "ipc-events.main.runtime.ts",
336
- "line": 58,
336
+ "line": 62,
337
337
  "character": 3
338
338
  },
339
339
  "signature": "(getter) IpcEventsMain.eventsDir: string",
@@ -342,7 +342,7 @@
342
342
  "__schema": "InferenceTypeSchema",
343
343
  "location": {
344
344
  "filePath": "ipc-events.main.runtime.ts",
345
- "line": 58,
345
+ "line": 62,
346
346
  "character": 3
347
347
  },
348
348
  "type": "string"
@@ -352,7 +352,7 @@
352
352
  "__schema": "VariableLikeSchema",
353
353
  "location": {
354
354
  "filePath": "ipc-events.main.runtime.ts",
355
- "line": 62,
355
+ "line": 66,
356
356
  "character": 3
357
357
  },
358
358
  "signature": "(property) IpcEventsMain.slots: ((registerFn: () => string) => SlotRegistry<GotEventSlot>)[]",
@@ -361,7 +361,7 @@
361
361
  "__schema": "InferenceTypeSchema",
362
362
  "location": {
363
363
  "filePath": "ipc-events.main.runtime.ts",
364
- "line": 62,
364
+ "line": 66,
365
365
  "character": 3
366
366
  },
367
367
  "type": "((registerFn: () => string) => SlotRegistry<GotEventSlot>)[]"
@@ -373,7 +373,7 @@
373
373
  "__schema": "VariableLikeSchema",
374
374
  "location": {
375
375
  "filePath": "ipc-events.main.runtime.ts",
376
- "line": 63,
376
+ "line": 67,
377
377
  "character": 3
378
378
  },
379
379
  "signature": "(property) IpcEventsMain.dependencies: Aspect[]",
@@ -382,7 +382,7 @@
382
382
  "__schema": "InferenceTypeSchema",
383
383
  "location": {
384
384
  "filePath": "ipc-events.main.runtime.ts",
385
- "line": 63,
385
+ "line": 67,
386
386
  "character": 3
387
387
  },
388
388
  "type": "Aspect[]"
@@ -394,7 +394,7 @@
394
394
  "__schema": "VariableLikeSchema",
395
395
  "location": {
396
396
  "filePath": "ipc-events.main.runtime.ts",
397
- "line": 64,
397
+ "line": 68,
398
398
  "character": 3
399
399
  },
400
400
  "signature": "(property) IpcEventsMain.runtime: RuntimeDefinition",
@@ -403,7 +403,7 @@
403
403
  "__schema": "InferenceTypeSchema",
404
404
  "location": {
405
405
  "filePath": "ipc-events.main.runtime.ts",
406
- "line": 64,
406
+ "line": 68,
407
407
  "character": 3
408
408
  },
409
409
  "type": "RuntimeDefinition"
@@ -415,7 +415,7 @@
415
415
  "__schema": "FunctionLikeSchema",
416
416
  "location": {
417
417
  "filePath": "ipc-events.main.runtime.ts",
418
- "line": 66,
418
+ "line": 70,
419
419
  "character": 3
420
420
  },
421
421
  "signature": "(method) IpcEventsMain.provider([scope, loggerMain]: [ScopeMain, LoggerMain], _: any, [gotEventSlot]: [GotEventSlot]): Promise<IpcEventsMain>",
@@ -425,7 +425,7 @@
425
425
  "__schema": "ParameterSchema",
426
426
  "location": {
427
427
  "filePath": "ipc-events.main.runtime.ts",
428
- "line": 66,
428
+ "line": 70,
429
429
  "character": 25
430
430
  },
431
431
  "name": "[ scope, loggerMain ]",
@@ -433,7 +433,7 @@
433
433
  "__schema": "TupleTypeSchema",
434
434
  "location": {
435
435
  "filePath": "ipc-events.main.runtime.ts",
436
- "line": 66,
436
+ "line": 70,
437
437
  "character": 46
438
438
  },
439
439
  "elements": [
@@ -441,7 +441,7 @@
441
441
  "__schema": "TypeRefSchema",
442
442
  "location": {
443
443
  "filePath": "ipc-events.main.runtime.ts",
444
- "line": 66,
444
+ "line": 70,
445
445
  "character": 47
446
446
  },
447
447
  "name": "ScopeMain",
@@ -454,7 +454,7 @@
454
454
  "__schema": "TypeRefSchema",
455
455
  "location": {
456
456
  "filePath": "ipc-events.main.runtime.ts",
457
- "line": 66,
457
+ "line": 70,
458
458
  "character": 58
459
459
  },
460
460
  "name": "LoggerMain",
@@ -472,7 +472,7 @@
472
472
  "__schema": "ParameterSchema",
473
473
  "location": {
474
474
  "filePath": "ipc-events.main.runtime.ts",
475
- "line": 66,
475
+ "line": 70,
476
476
  "character": 71
477
477
  },
478
478
  "name": "_",
@@ -480,7 +480,7 @@
480
480
  "__schema": "InferenceTypeSchema",
481
481
  "location": {
482
482
  "filePath": "ipc-events.main.runtime.ts",
483
- "line": 66,
483
+ "line": 70,
484
484
  "character": 71
485
485
  },
486
486
  "type": "any"
@@ -492,7 +492,7 @@
492
492
  "__schema": "ParameterSchema",
493
493
  "location": {
494
494
  "filePath": "ipc-events.main.runtime.ts",
495
- "line": 66,
495
+ "line": 70,
496
496
  "character": 74
497
497
  },
498
498
  "name": "[ gotEventSlot ]",
@@ -500,7 +500,7 @@
500
500
  "__schema": "TupleTypeSchema",
501
501
  "location": {
502
502
  "filePath": "ipc-events.main.runtime.ts",
503
- "line": 66,
503
+ "line": 70,
504
504
  "character": 90
505
505
  },
506
506
  "elements": [
@@ -508,7 +508,7 @@
508
508
  "__schema": "TypeRefSchema",
509
509
  "location": {
510
510
  "filePath": "ipc-events.main.runtime.ts",
511
- "line": 66,
511
+ "line": 70,
512
512
  "character": 91
513
513
  },
514
514
  "name": "GotEventSlot",
@@ -524,7 +524,7 @@
524
524
  "__schema": "InferenceTypeSchema",
525
525
  "location": {
526
526
  "filePath": "ipc-events.main.runtime.ts",
527
- "line": 66,
527
+ "line": 70,
528
528
  "character": 3
529
529
  },
530
530
  "type": "Promise<IpcEventsMain>"
@@ -632,16 +632,16 @@
632
632
  "__schema": "ParameterSchema",
633
633
  "location": {
634
634
  "filePath": "ipc-events.main.runtime.ts",
635
- "line": 33,
636
- "character": 15
635
+ "line": 34,
636
+ "character": 5
637
637
  },
638
638
  "name": "scope",
639
639
  "type": {
640
640
  "__schema": "TypeRefSchema",
641
641
  "location": {
642
642
  "filePath": "ipc-events.main.runtime.ts",
643
- "line": 33,
644
- "character": 30
643
+ "line": 34,
644
+ "character": 20
645
645
  },
646
646
  "name": "ScopeMain",
647
647
  "componentId": {
@@ -656,16 +656,16 @@
656
656
  "__schema": "ParameterSchema",
657
657
  "location": {
658
658
  "filePath": "ipc-events.main.runtime.ts",
659
- "line": 33,
660
- "character": 41
659
+ "line": 35,
660
+ "character": 5
661
661
  },
662
662
  "name": "gotEventSlot",
663
663
  "type": {
664
664
  "__schema": "TypeRefSchema",
665
665
  "location": {
666
666
  "filePath": "ipc-events.main.runtime.ts",
667
- "line": 33,
668
- "character": 63
667
+ "line": 35,
668
+ "character": 27
669
669
  },
670
670
  "name": "GotEventSlot",
671
671
  "internalFilePath": "ipc-events.main.runtime.ts"
@@ -677,16 +677,16 @@
677
677
  "__schema": "ParameterSchema",
678
678
  "location": {
679
679
  "filePath": "ipc-events.main.runtime.ts",
680
- "line": 33,
681
- "character": 77
680
+ "line": 36,
681
+ "character": 5
682
682
  },
683
683
  "name": "logger",
684
684
  "type": {
685
685
  "__schema": "TypeRefSchema",
686
686
  "location": {
687
687
  "filePath": "ipc-events.main.runtime.ts",
688
- "line": 33,
689
- "character": 93
688
+ "line": 36,
689
+ "character": 21
690
690
  },
691
691
  "name": "Logger",
692
692
  "componentId": {
@@ -713,7 +713,7 @@
713
713
  "__schema": "FunctionLikeSchema",
714
714
  "location": {
715
715
  "filePath": "ipc-events.main.runtime.ts",
716
- "line": 35,
716
+ "line": 39,
717
717
  "character": 3
718
718
  },
719
719
  "signature": "(method) IpcEventsMain.registerGotEventSlot(fn: GotEvent): void",
@@ -723,7 +723,7 @@
723
723
  "__schema": "ParameterSchema",
724
724
  "location": {
725
725
  "filePath": "ipc-events.main.runtime.ts",
726
- "line": 35,
726
+ "line": 39,
727
727
  "character": 24
728
728
  },
729
729
  "name": "fn",
@@ -731,7 +731,7 @@
731
731
  "__schema": "TypeRefSchema",
732
732
  "location": {
733
733
  "filePath": "ipc-events.main.runtime.ts",
734
- "line": 35,
734
+ "line": 39,
735
735
  "character": 28
736
736
  },
737
737
  "name": "GotEvent",
@@ -745,7 +745,7 @@
745
745
  "__schema": "InferenceTypeSchema",
746
746
  "location": {
747
747
  "filePath": "ipc-events.main.runtime.ts",
748
- "line": 35,
748
+ "line": 39,
749
749
  "character": 3
750
750
  },
751
751
  "type": "void"
@@ -756,14 +756,14 @@
756
756
  "__schema": "FunctionLikeSchema",
757
757
  "location": {
758
758
  "filePath": "ipc-events.main.runtime.ts",
759
- "line": 43,
759
+ "line": 47,
760
760
  "character": 3
761
761
  },
762
762
  "doc": {
763
763
  "__schema": "DocSchema",
764
764
  "location": {
765
765
  "filePath": "ipc-events.main.runtime.ts",
766
- "line": 39,
766
+ "line": 43,
767
767
  "character": 3
768
768
  },
769
769
  "raw": "/**\n * this gets called from the watcher only.\n * as soon as the watcher finds out that a new event has been written to the filesystem, it triggers this function\n */",
@@ -777,7 +777,7 @@
777
777
  "__schema": "ParameterSchema",
778
778
  "location": {
779
779
  "filePath": "ipc-events.main.runtime.ts",
780
- "line": 43,
780
+ "line": 47,
781
781
  "character": 25
782
782
  },
783
783
  "name": "eventName",
@@ -785,7 +785,7 @@
785
785
  "__schema": "TypeRefSchema",
786
786
  "location": {
787
787
  "filePath": "ipc-events.main.runtime.ts",
788
- "line": 43,
788
+ "line": 47,
789
789
  "character": 36
790
790
  },
791
791
  "name": "EventName",
@@ -799,7 +799,7 @@
799
799
  "__schema": "InferenceTypeSchema",
800
800
  "location": {
801
801
  "filePath": "ipc-events.main.runtime.ts",
802
- "line": 43,
802
+ "line": 47,
803
803
  "character": 3
804
804
  },
805
805
  "type": "Promise<void>"
@@ -812,14 +812,14 @@
812
812
  "__schema": "FunctionLikeSchema",
813
813
  "location": {
814
814
  "filePath": "ipc-events.main.runtime.ts",
815
- "line": 52,
815
+ "line": 56,
816
816
  "character": 3
817
817
  },
818
818
  "doc": {
819
819
  "__schema": "DocSchema",
820
820
  "location": {
821
821
  "filePath": "ipc-events.main.runtime.ts",
822
- "line": 48,
822
+ "line": 52,
823
823
  "character": 3
824
824
  },
825
825
  "raw": "/**\n * write event data into the filesystem, so then other processes, such as \"bit start\", \"bit watch\", could use the\n * watcher to get the event data.\n */",
@@ -833,7 +833,7 @@
833
833
  "__schema": "ParameterSchema",
834
834
  "location": {
835
835
  "filePath": "ipc-events.main.runtime.ts",
836
- "line": 52,
836
+ "line": 56,
837
837
  "character": 25
838
838
  },
839
839
  "name": "eventName",
@@ -841,7 +841,7 @@
841
841
  "__schema": "TypeRefSchema",
842
842
  "location": {
843
843
  "filePath": "ipc-events.main.runtime.ts",
844
- "line": 52,
844
+ "line": 56,
845
845
  "character": 36
846
846
  },
847
847
  "name": "EventName",
@@ -854,7 +854,7 @@
854
854
  "__schema": "ParameterSchema",
855
855
  "location": {
856
856
  "filePath": "ipc-events.main.runtime.ts",
857
- "line": 52,
857
+ "line": 56,
858
858
  "character": 47
859
859
  },
860
860
  "name": "data",
@@ -862,7 +862,7 @@
862
862
  "__schema": "TypeRefSchema",
863
863
  "location": {
864
864
  "filePath": "ipc-events.main.runtime.ts",
865
- "line": 52,
865
+ "line": 56,
866
866
  "character": 54
867
867
  },
868
868
  "name": "Record",
@@ -871,7 +871,7 @@
871
871
  "__schema": "KeywordTypeSchema",
872
872
  "location": {
873
873
  "filePath": "ipc-events.main.runtime.ts",
874
- "line": 52,
874
+ "line": 56,
875
875
  "character": 61
876
876
  },
877
877
  "name": "string"
@@ -880,7 +880,7 @@
880
880
  "__schema": "KeywordTypeSchema",
881
881
  "location": {
882
882
  "filePath": "ipc-events.main.runtime.ts",
883
- "line": 52,
883
+ "line": 56,
884
884
  "character": 69
885
885
  },
886
886
  "name": "any"
@@ -895,7 +895,7 @@
895
895
  "__schema": "InferenceTypeSchema",
896
896
  "location": {
897
897
  "filePath": "ipc-events.main.runtime.ts",
898
- "line": 52,
898
+ "line": 56,
899
899
  "character": 3
900
900
  },
901
901
  "type": "Promise<void>"
@@ -908,7 +908,7 @@
908
908
  "__schema": "GetAccessorSchema",
909
909
  "location": {
910
910
  "filePath": "ipc-events.main.runtime.ts",
911
- "line": 58,
911
+ "line": 62,
912
912
  "character": 3
913
913
  },
914
914
  "signature": "(getter) IpcEventsMain.eventsDir: string",
@@ -917,7 +917,7 @@
917
917
  "__schema": "InferenceTypeSchema",
918
918
  "location": {
919
919
  "filePath": "ipc-events.main.runtime.ts",
920
- "line": 58,
920
+ "line": 62,
921
921
  "character": 3
922
922
  },
923
923
  "type": "string"
@@ -927,7 +927,7 @@
927
927
  "__schema": "VariableLikeSchema",
928
928
  "location": {
929
929
  "filePath": "ipc-events.main.runtime.ts",
930
- "line": 62,
930
+ "line": 66,
931
931
  "character": 3
932
932
  },
933
933
  "signature": "(property) IpcEventsMain.slots: ((registerFn: () => string) => SlotRegistry<GotEventSlot>)[]",
@@ -936,7 +936,7 @@
936
936
  "__schema": "InferenceTypeSchema",
937
937
  "location": {
938
938
  "filePath": "ipc-events.main.runtime.ts",
939
- "line": 62,
939
+ "line": 66,
940
940
  "character": 3
941
941
  },
942
942
  "type": "((registerFn: () => string) => SlotRegistry<GotEventSlot>)[]"
@@ -948,7 +948,7 @@
948
948
  "__schema": "VariableLikeSchema",
949
949
  "location": {
950
950
  "filePath": "ipc-events.main.runtime.ts",
951
- "line": 63,
951
+ "line": 67,
952
952
  "character": 3
953
953
  },
954
954
  "signature": "(property) IpcEventsMain.dependencies: Aspect[]",
@@ -957,7 +957,7 @@
957
957
  "__schema": "InferenceTypeSchema",
958
958
  "location": {
959
959
  "filePath": "ipc-events.main.runtime.ts",
960
- "line": 63,
960
+ "line": 67,
961
961
  "character": 3
962
962
  },
963
963
  "type": "Aspect[]"
@@ -969,7 +969,7 @@
969
969
  "__schema": "VariableLikeSchema",
970
970
  "location": {
971
971
  "filePath": "ipc-events.main.runtime.ts",
972
- "line": 64,
972
+ "line": 68,
973
973
  "character": 3
974
974
  },
975
975
  "signature": "(property) IpcEventsMain.runtime: RuntimeDefinition",
@@ -978,7 +978,7 @@
978
978
  "__schema": "InferenceTypeSchema",
979
979
  "location": {
980
980
  "filePath": "ipc-events.main.runtime.ts",
981
- "line": 64,
981
+ "line": 68,
982
982
  "character": 3
983
983
  },
984
984
  "type": "RuntimeDefinition"
@@ -990,7 +990,7 @@
990
990
  "__schema": "FunctionLikeSchema",
991
991
  "location": {
992
992
  "filePath": "ipc-events.main.runtime.ts",
993
- "line": 66,
993
+ "line": 70,
994
994
  "character": 3
995
995
  },
996
996
  "signature": "(method) IpcEventsMain.provider([scope, loggerMain]: [ScopeMain, LoggerMain], _: any, [gotEventSlot]: [GotEventSlot]): Promise<IpcEventsMain>",
@@ -1000,7 +1000,7 @@
1000
1000
  "__schema": "ParameterSchema",
1001
1001
  "location": {
1002
1002
  "filePath": "ipc-events.main.runtime.ts",
1003
- "line": 66,
1003
+ "line": 70,
1004
1004
  "character": 25
1005
1005
  },
1006
1006
  "name": "[ scope, loggerMain ]",
@@ -1008,7 +1008,7 @@
1008
1008
  "__schema": "TupleTypeSchema",
1009
1009
  "location": {
1010
1010
  "filePath": "ipc-events.main.runtime.ts",
1011
- "line": 66,
1011
+ "line": 70,
1012
1012
  "character": 46
1013
1013
  },
1014
1014
  "elements": [
@@ -1016,7 +1016,7 @@
1016
1016
  "__schema": "TypeRefSchema",
1017
1017
  "location": {
1018
1018
  "filePath": "ipc-events.main.runtime.ts",
1019
- "line": 66,
1019
+ "line": 70,
1020
1020
  "character": 47
1021
1021
  },
1022
1022
  "name": "ScopeMain",
@@ -1029,7 +1029,7 @@
1029
1029
  "__schema": "TypeRefSchema",
1030
1030
  "location": {
1031
1031
  "filePath": "ipc-events.main.runtime.ts",
1032
- "line": 66,
1032
+ "line": 70,
1033
1033
  "character": 58
1034
1034
  },
1035
1035
  "name": "LoggerMain",
@@ -1047,7 +1047,7 @@
1047
1047
  "__schema": "ParameterSchema",
1048
1048
  "location": {
1049
1049
  "filePath": "ipc-events.main.runtime.ts",
1050
- "line": 66,
1050
+ "line": 70,
1051
1051
  "character": 71
1052
1052
  },
1053
1053
  "name": "_",
@@ -1055,7 +1055,7 @@
1055
1055
  "__schema": "InferenceTypeSchema",
1056
1056
  "location": {
1057
1057
  "filePath": "ipc-events.main.runtime.ts",
1058
- "line": 66,
1058
+ "line": 70,
1059
1059
  "character": 71
1060
1060
  },
1061
1061
  "type": "any"
@@ -1067,7 +1067,7 @@
1067
1067
  "__schema": "ParameterSchema",
1068
1068
  "location": {
1069
1069
  "filePath": "ipc-events.main.runtime.ts",
1070
- "line": 66,
1070
+ "line": 70,
1071
1071
  "character": 74
1072
1072
  },
1073
1073
  "name": "[ gotEventSlot ]",
@@ -1075,7 +1075,7 @@
1075
1075
  "__schema": "TupleTypeSchema",
1076
1076
  "location": {
1077
1077
  "filePath": "ipc-events.main.runtime.ts",
1078
- "line": 66,
1078
+ "line": 70,
1079
1079
  "character": 90
1080
1080
  },
1081
1081
  "elements": [
@@ -1083,7 +1083,7 @@
1083
1083
  "__schema": "TypeRefSchema",
1084
1084
  "location": {
1085
1085
  "filePath": "ipc-events.main.runtime.ts",
1086
- "line": 66,
1086
+ "line": 70,
1087
1087
  "character": 91
1088
1088
  },
1089
1089
  "name": "GotEventSlot",
@@ -1099,7 +1099,7 @@
1099
1099
  "__schema": "InferenceTypeSchema",
1100
1100
  "location": {
1101
1101
  "filePath": "ipc-events.main.runtime.ts",
1102
- "line": 66,
1102
+ "line": 70,
1103
1103
  "character": 3
1104
1104
  },
1105
1105
  "type": "Promise<IpcEventsMain>"
@@ -1117,7 +1117,7 @@
1117
1117
  "__schema": "UnImplementedSchema",
1118
1118
  "location": {
1119
1119
  "filePath": "ipc-events.main.runtime.ts",
1120
- "line": 89,
1120
+ "line": 93,
1121
1121
  "character": 16
1122
1122
  },
1123
1123
  "name": "IpcEventsMain",
@@ -1299,7 +1299,7 @@
1299
1299
  "__schema": "UnImplementedSchema",
1300
1300
  "location": {
1301
1301
  "filePath": "ipc-events.main.runtime.ts",
1302
- "line": 87,
1302
+ "line": 91,
1303
1303
  "character": 1
1304
1304
  },
1305
1305
  "name": "IpcEventsAspect.addRuntime(IpcEventsMain);",
@@ -1348,7 +1348,7 @@
1348
1348
  "componentId": {
1349
1349
  "scope": "teambit.harmony",
1350
1350
  "name": "ipc-events",
1351
- "version": "1.0.424"
1351
+ "version": "1.0.426"
1352
1352
  },
1353
1353
  "taggedModuleExports": []
1354
1354
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_scope","data","require","_harmony","_logger","_pMapSeries","_interopRequireDefault","_cli","_path","_fsExtra","_ipcEvents","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","EVENTS_DIR","IpcEventsMain","constructor","scope","gotEventSlot","logger","registerGotEventSlot","fn","register","triggerGotEvent","eventName","info","pMapSeries","values","publishIpcEvent","filename","path","join","eventsDir","content","JSON","stringify","undefined","fs","outputFile","provider","loggerMain","_","createLogger","IpcEventsAspect","id","ipcEventsMain","registerOnPostObjectsPersist","legacyScope","objects","clearObjectsFromCache","exports","Slot","withType","ScopeAspect","LoggerAspect","MainRuntime","addRuntime","_default"],"sources":["ipc-events.main.runtime.ts"],"sourcesContent":["import { ScopeAspect, ScopeMain } from '@teambit/scope';\nimport { Slot, SlotRegistry } from '@teambit/harmony';\nimport { Logger, LoggerAspect, LoggerMain } from '@teambit/logger';\nimport pMapSeries from 'p-map-series';\nimport { MainRuntime } from '@teambit/cli';\nimport path from 'path';\nimport fs from 'fs-extra';\nimport { IpcEventsAspect } from './ipc-events.aspect';\n\ntype EventName = 'onPostInstall' | 'onPostObjectsPersist';\n\ntype GotEvent = (eventName: EventName) => Promise<void>;\ntype GotEventSlot = SlotRegistry<GotEvent>;\n\nconst EVENTS_DIR = 'events';\n\n/**\n * imagine you have multiple processes running in the background, such as `bit watch`, `bit start`, `bit server`.\n * the user is running `bit install` from the cli, how do you let these processes know that the installation is complete?\n * `bit start` for instance could use ths info to clear the \"component issues\" of the components that were missing packages.\n *\n * this class provides a mechanism to achieve this by writing the event into the filesystem (`.bit/events/event-name`),\n * while each one of the processes has a watcher in the background watch this file. once they got the data from the watcher,\n * they can act upon it.\n *\n * in the previous example, when the user is running `bit install`, the install aspect runs `this.publishIpcEvent` to\n * write `.bit/events/onPostInstall` to the filesystem. then, the watcher of `bit start` process got a notification\n * that this file has changed/added and it runs `triggerGotEvent` to run all aspects registered to its gotEventSlot.\n * the installer in turn is registered to this slot and once its function is triggered, it check whether the eventName\n * is onPostInstall and then triggers its own OnPostInstall slot.\n */\nexport class IpcEventsMain {\n constructor(private scope: ScopeMain, private gotEventSlot: GotEventSlot, private logger: Logger) {}\n\n registerGotEventSlot(fn: GotEvent) {\n this.gotEventSlot.register(fn);\n }\n\n /**\n * this gets called from the watcher only.\n * as soon as the watcher finds out that a new event has been written to the filesystem, it triggers this function\n */\n async triggerGotEvent(eventName: EventName) {\n this.logger.info(`triggering got event ${eventName}`);\n await pMapSeries(this.gotEventSlot.values(), (fn) => fn(eventName));\n }\n\n /**\n * write event data into the filesystem, so then other processes, such as \"bit start\", \"bit watch\", could use the\n * watcher to get the event data.\n */\n async publishIpcEvent(eventName: EventName, data?: Record<string, any>) {\n const filename = path.join(this.eventsDir, eventName);\n const content = data ? JSON.stringify(data, undefined, 2) : '';\n await fs.outputFile(filename, content);\n }\n\n get eventsDir() {\n return path.join(this.scope.path, EVENTS_DIR);\n }\n\n static slots = [Slot.withType<GotEventSlot>()];\n static dependencies = [ScopeAspect, LoggerAspect];\n static runtime = MainRuntime;\n\n static async provider([scope, loggerMain]: [ScopeMain, LoggerMain], _, [gotEventSlot]: [GotEventSlot]) {\n const logger = loggerMain.createLogger(IpcEventsAspect.id);\n const ipcEventsMain = new IpcEventsMain(scope, gotEventSlot, logger);\n\n if (scope) {\n // in case commands like \"bit export\" are running from the cli, long-running processes should clear their cache.\n // otherwise, objects like \"ModelComponent\" are out-of-date and could have the wrong head and the \"state\"/\"local\" data.\n scope.registerOnPostObjectsPersist(async () => {\n await ipcEventsMain.publishIpcEvent('onPostObjectsPersist');\n });\n ipcEventsMain.registerGotEventSlot(async (eventName) => {\n if (eventName === 'onPostObjectsPersist') {\n scope.legacyScope.objects.clearObjectsFromCache();\n }\n });\n }\n\n return ipcEventsMain;\n }\n}\n\nIpcEventsAspect.addRuntime(IpcEventsMain);\n\nexport default IpcEventsMain;\n"],"mappings":";;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,QAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,OAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,YAAA;EAAA,MAAAJ,IAAA,GAAAK,sBAAA,CAAAJ,OAAA;EAAAG,WAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,KAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,IAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAO,MAAA;EAAA,MAAAP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C,MAAM,GAAGqB,UAAU,CAACE,YAAY,CAACC,4BAAe,CAACC,EAAE,CAAC;IAC1D,MAAMC,aAAa,GAAG,IAAI9B,aAAa,CAACE,KAAK,EAAEC,YAAY,EAAEC,MAAM,CAAC;IAEpE,IAAIF,KAAK,EAAE;MACT;MACA;MACAA,KAAK,CAAC6B,4BAA4B,CAAC,YAAY;QAC7C,MAAMD,aAAa,CAACjB,eAAe,CAAC,sBAAsB,CAAC;MAC7D,CAAC,CAAC;MACFiB,aAAa,CAACzB,oBAAoB,CAAC,MAAOI,SAAS,IAAK;QACtD,IAAIA,SAAS,KAAK,sBAAsB,EAAE;UACxCP,KAAK,CAAC8B,WAAW,CAACC,OAAO,CAACC,qBAAqB,CAAC,CAAC;QACnD;MACF,CAAC,CAAC;IACJ;IAEA,OAAOJ,aAAa;EACtB;AACF;AAACK,OAAA,CAAAnC,aAAA,GAAAA,aAAA;AAAAnB,eAAA,CArDYmB,aAAa,WA8BT,CAACoC,eAAI,CAACC,QAAQ,CAAe,CAAC,CAAC;AAAAxD,eAAA,CA9BnCmB,aAAa,kBA+BF,CAACsC,oBAAW,EAAEC,sBAAY,CAAC;AAAA1D,eAAA,CA/BtCmB,aAAa,aAgCPwC,kBAAW;AAuB9BZ,4BAAe,CAACa,UAAU,CAACzC,aAAa,CAAC;AAAC,IAAA0C,QAAA,GAAAP,OAAA,CAAAvD,OAAA,GAE3BoB,aAAa","ignoreList":[]}
1
+ {"version":3,"names":["_scope","data","require","_harmony","_logger","_pMapSeries","_interopRequireDefault","_cli","_path","_fsExtra","_ipcEvents","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","EVENTS_DIR","IpcEventsMain","constructor","scope","gotEventSlot","logger","registerGotEventSlot","fn","register","triggerGotEvent","eventName","info","pMapSeries","values","publishIpcEvent","filename","path","join","eventsDir","content","JSON","stringify","undefined","fs","outputFile","provider","loggerMain","_","createLogger","IpcEventsAspect","id","ipcEventsMain","registerOnPostObjectsPersist","legacyScope","objects","clearObjectsFromCache","exports","Slot","withType","ScopeAspect","LoggerAspect","MainRuntime","addRuntime","_default"],"sources":["ipc-events.main.runtime.ts"],"sourcesContent":["import { ScopeAspect, ScopeMain } from '@teambit/scope';\nimport { Slot, SlotRegistry } from '@teambit/harmony';\nimport { Logger, LoggerAspect, LoggerMain } from '@teambit/logger';\nimport pMapSeries from 'p-map-series';\nimport { MainRuntime } from '@teambit/cli';\nimport path from 'path';\nimport fs from 'fs-extra';\nimport { IpcEventsAspect } from './ipc-events.aspect';\n\ntype EventName = 'onPostInstall' | 'onPostObjectsPersist';\n\ntype GotEvent = (eventName: EventName) => Promise<void>;\ntype GotEventSlot = SlotRegistry<GotEvent>;\n\nconst EVENTS_DIR = 'events';\n\n/**\n * imagine you have multiple processes running in the background, such as `bit watch`, `bit start`, `bit server`.\n * the user is running `bit install` from the cli, how do you let these processes know that the installation is complete?\n * `bit start` for instance could use ths info to clear the \"component issues\" of the components that were missing packages.\n *\n * this class provides a mechanism to achieve this by writing the event into the filesystem (`.bit/events/event-name`),\n * while each one of the processes has a watcher in the background watch this file. once they got the data from the watcher,\n * they can act upon it.\n *\n * in the previous example, when the user is running `bit install`, the install aspect runs `this.publishIpcEvent` to\n * write `.bit/events/onPostInstall` to the filesystem. then, the watcher of `bit start` process got a notification\n * that this file has changed/added and it runs `triggerGotEvent` to run all aspects registered to its gotEventSlot.\n * the installer in turn is registered to this slot and once its function is triggered, it check whether the eventName\n * is onPostInstall and then triggers its own OnPostInstall slot.\n */\nexport class IpcEventsMain {\n constructor(\n private scope: ScopeMain,\n private gotEventSlot: GotEventSlot,\n private logger: Logger\n ) {}\n\n registerGotEventSlot(fn: GotEvent) {\n this.gotEventSlot.register(fn);\n }\n\n /**\n * this gets called from the watcher only.\n * as soon as the watcher finds out that a new event has been written to the filesystem, it triggers this function\n */\n async triggerGotEvent(eventName: EventName) {\n this.logger.info(`triggering got event ${eventName}`);\n await pMapSeries(this.gotEventSlot.values(), (fn) => fn(eventName));\n }\n\n /**\n * write event data into the filesystem, so then other processes, such as \"bit start\", \"bit watch\", could use the\n * watcher to get the event data.\n */\n async publishIpcEvent(eventName: EventName, data?: Record<string, any>) {\n const filename = path.join(this.eventsDir, eventName);\n const content = data ? JSON.stringify(data, undefined, 2) : '';\n await fs.outputFile(filename, content);\n }\n\n get eventsDir() {\n return path.join(this.scope.path, EVENTS_DIR);\n }\n\n static slots = [Slot.withType<GotEventSlot>()];\n static dependencies = [ScopeAspect, LoggerAspect];\n static runtime = MainRuntime;\n\n static async provider([scope, loggerMain]: [ScopeMain, LoggerMain], _, [gotEventSlot]: [GotEventSlot]) {\n const logger = loggerMain.createLogger(IpcEventsAspect.id);\n const ipcEventsMain = new IpcEventsMain(scope, gotEventSlot, logger);\n\n if (scope) {\n // in case commands like \"bit export\" are running from the cli, long-running processes should clear their cache.\n // otherwise, objects like \"ModelComponent\" are out-of-date and could have the wrong head and the \"state\"/\"local\" data.\n scope.registerOnPostObjectsPersist(async () => {\n await ipcEventsMain.publishIpcEvent('onPostObjectsPersist');\n });\n ipcEventsMain.registerGotEventSlot(async (eventName) => {\n if (eventName === 'onPostObjectsPersist') {\n scope.legacyScope.objects.clearObjectsFromCache();\n }\n });\n }\n\n return ipcEventsMain;\n }\n}\n\nIpcEventsAspect.addRuntime(IpcEventsMain);\n\nexport default IpcEventsMain;\n"],"mappings":";;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,QAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,OAAA,YAAAA,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,aAAa","ignoreList":[]}
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@teambit/ipc-events",
3
- "version": "1.0.424",
3
+ "version": "1.0.426",
4
4
  "homepage": "https://bit.cloud/teambit/harmony/ipc-events",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "ipc-events",
9
- "version": "1.0.424"
9
+ "version": "1.0.426"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
13
13
  "p-map-series": "2.1.0",
14
14
  "@teambit/harmony": "0.4.6",
15
- "@teambit/cli": "0.0.1001",
16
- "@teambit/logger": "0.0.1094",
17
- "@teambit/scope": "1.0.424"
15
+ "@teambit/cli": "0.0.1003",
16
+ "@teambit/logger": "0.0.1096",
17
+ "@teambit/scope": "1.0.426"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/fs-extra": "9.0.7",