@teambit/watcher 1.0.200 → 1.0.202

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.workspace/watcher@1.0.200" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.workspace/watcher@1.0.202" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -465,7 +465,7 @@
465
465
  "__schema": "FunctionLikeSchema",
466
466
  "location": {
467
467
  "filePath": "watcher.main.runtime.ts",
468
- "line": 34,
468
+ "line": 35,
469
469
  "character": 3
470
470
  },
471
471
  "signature": "(method) WatcherMain.watchScopeInternalFiles(): Promise<void>",
@@ -475,7 +475,7 @@
475
475
  "__schema": "InferenceTypeSchema",
476
476
  "location": {
477
477
  "filePath": "watcher.main.runtime.ts",
478
- "line": 34,
478
+ "line": 35,
479
479
  "character": 3
480
480
  },
481
481
  "type": "Promise<void>"
@@ -488,7 +488,7 @@
488
488
  "__schema": "FunctionLikeSchema",
489
489
  "location": {
490
490
  "filePath": "watcher.main.runtime.ts",
491
- "line": 38,
491
+ "line": 39,
492
492
  "character": 3
493
493
  },
494
494
  "signature": "(method) WatcherMain.triggerOnPreWatch(componentIds: ComponentID[], watchOpts: WatchOptions): Promise<void>",
@@ -498,7 +498,7 @@
498
498
  "__schema": "ParameterSchema",
499
499
  "location": {
500
500
  "filePath": "watcher.main.runtime.ts",
501
- "line": 38,
501
+ "line": 39,
502
502
  "character": 27
503
503
  },
504
504
  "name": "componentIds",
@@ -506,14 +506,14 @@
506
506
  "__schema": "TypeArraySchema",
507
507
  "location": {
508
508
  "filePath": "watcher.main.runtime.ts",
509
- "line": 38,
509
+ "line": 39,
510
510
  "character": 41
511
511
  },
512
512
  "type": {
513
513
  "__schema": "TypeRefSchema",
514
514
  "location": {
515
515
  "filePath": "watcher.main.runtime.ts",
516
- "line": 38,
516
+ "line": 39,
517
517
  "character": 41
518
518
  },
519
519
  "name": "ComponentID",
@@ -531,7 +531,7 @@
531
531
  "__schema": "ParameterSchema",
532
532
  "location": {
533
533
  "filePath": "watcher.main.runtime.ts",
534
- "line": 38,
534
+ "line": 39,
535
535
  "character": 56
536
536
  },
537
537
  "name": "watchOpts",
@@ -539,7 +539,7 @@
539
539
  "__schema": "TypeRefSchema",
540
540
  "location": {
541
541
  "filePath": "watcher.main.runtime.ts",
542
- "line": 38,
542
+ "line": 39,
543
543
  "character": 67
544
544
  },
545
545
  "name": "WatchOptions"
@@ -552,7 +552,7 @@
552
552
  "__schema": "InferenceTypeSchema",
553
553
  "location": {
554
554
  "filePath": "watcher.main.runtime.ts",
555
- "line": 38,
555
+ "line": 39,
556
556
  "character": 3
557
557
  },
558
558
  "type": "Promise<void>"
@@ -565,7 +565,7 @@
565
565
  "__schema": "FunctionLikeSchema",
566
566
  "location": {
567
567
  "filePath": "watcher.main.runtime.ts",
568
- "line": 45,
568
+ "line": 46,
569
569
  "character": 3
570
570
  },
571
571
  "signature": "(method) WatcherMain.registerOnPreWatch(onPreWatchFunc: OnPreWatch): this",
@@ -575,7 +575,7 @@
575
575
  "__schema": "ParameterSchema",
576
576
  "location": {
577
577
  "filePath": "watcher.main.runtime.ts",
578
- "line": 45,
578
+ "line": 46,
579
579
  "character": 22
580
580
  },
581
581
  "name": "onPreWatchFunc",
@@ -583,7 +583,7 @@
583
583
  "__schema": "TypeRefSchema",
584
584
  "location": {
585
585
  "filePath": "watcher.main.runtime.ts",
586
- "line": 45,
586
+ "line": 46,
587
587
  "character": 38
588
588
  },
589
589
  "name": "OnPreWatch",
@@ -597,7 +597,7 @@
597
597
  "__schema": "TypeRefSchema",
598
598
  "location": {
599
599
  "filePath": "watcher.main.runtime.ts",
600
- "line": 45,
600
+ "line": 46,
601
601
  "character": 3
602
602
  },
603
603
  "name": "WatcherMain"
@@ -608,7 +608,7 @@
608
608
  "__schema": "VariableLikeSchema",
609
609
  "location": {
610
610
  "filePath": "watcher.main.runtime.ts",
611
- "line": 50,
611
+ "line": 51,
612
612
  "character": 3
613
613
  },
614
614
  "signature": "(property) WatcherMain.slots: ((registerFn: () => string) => SlotRegistry<OnPreWatch>)[]",
@@ -617,7 +617,7 @@
617
617
  "__schema": "InferenceTypeSchema",
618
618
  "location": {
619
619
  "filePath": "watcher.main.runtime.ts",
620
- "line": 50,
620
+ "line": 51,
621
621
  "character": 3
622
622
  },
623
623
  "type": "((registerFn: () => string) => SlotRegistry<OnPreWatch>)[]"
@@ -629,7 +629,7 @@
629
629
  "__schema": "VariableLikeSchema",
630
630
  "location": {
631
631
  "filePath": "watcher.main.runtime.ts",
632
- "line": 51,
632
+ "line": 52,
633
633
  "character": 3
634
634
  },
635
635
  "signature": "(property) WatcherMain.dependencies: Aspect[]",
@@ -638,7 +638,7 @@
638
638
  "__schema": "InferenceTypeSchema",
639
639
  "location": {
640
640
  "filePath": "watcher.main.runtime.ts",
641
- "line": 51,
641
+ "line": 52,
642
642
  "character": 3
643
643
  },
644
644
  "type": "Aspect[]"
@@ -650,7 +650,7 @@
650
650
  "__schema": "VariableLikeSchema",
651
651
  "location": {
652
652
  "filePath": "watcher.main.runtime.ts",
653
- "line": 60,
653
+ "line": 61,
654
654
  "character": 3
655
655
  },
656
656
  "signature": "(property) WatcherMain.runtime: RuntimeDefinition",
@@ -659,7 +659,7 @@
659
659
  "__schema": "InferenceTypeSchema",
660
660
  "location": {
661
661
  "filePath": "watcher.main.runtime.ts",
662
- "line": 60,
662
+ "line": 61,
663
663
  "character": 3
664
664
  },
665
665
  "type": "RuntimeDefinition"
@@ -671,7 +671,7 @@
671
671
  "__schema": "FunctionLikeSchema",
672
672
  "location": {
673
673
  "filePath": "watcher.main.runtime.ts",
674
- "line": 62,
674
+ "line": 63,
675
675
  "character": 3
676
676
  },
677
677
  "signature": "(method) WatcherMain.provider([cli, workspace, scope, pubsub, loggerMain, ipcEvents, globalConfig]: [\n CLIMain,\n Workspace,\n ScopeMain,\n PubsubMain,\n LoggerMain,\n IpcEventsMain,\n GlobalConfigMain\n], _: any, [onPreWatchSlot]: [OnPreWatchSlot]): Promise<WatcherMain>",
@@ -681,7 +681,7 @@
681
681
  "__schema": "ParameterSchema",
682
682
  "location": {
683
683
  "filePath": "watcher.main.runtime.ts",
684
- "line": 63,
684
+ "line": 64,
685
685
  "character": 5
686
686
  },
687
687
  "name": "[ cli, workspace, scope, pubsub, loggerMain, ipcEvents, globalConfig ]",
@@ -689,7 +689,7 @@
689
689
  "__schema": "TupleTypeSchema",
690
690
  "location": {
691
691
  "filePath": "watcher.main.runtime.ts",
692
- "line": 63,
692
+ "line": 64,
693
693
  "character": 75
694
694
  },
695
695
  "elements": [
@@ -697,7 +697,7 @@
697
697
  "__schema": "TypeRefSchema",
698
698
  "location": {
699
699
  "filePath": "watcher.main.runtime.ts",
700
- "line": 64,
700
+ "line": 65,
701
701
  "character": 7
702
702
  },
703
703
  "name": "CLIMain",
@@ -710,7 +710,7 @@
710
710
  "__schema": "TypeRefSchema",
711
711
  "location": {
712
712
  "filePath": "watcher.main.runtime.ts",
713
- "line": 65,
713
+ "line": 66,
714
714
  "character": 7
715
715
  },
716
716
  "name": "Workspace",
@@ -723,7 +723,7 @@
723
723
  "__schema": "TypeRefSchema",
724
724
  "location": {
725
725
  "filePath": "watcher.main.runtime.ts",
726
- "line": 66,
726
+ "line": 67,
727
727
  "character": 7
728
728
  },
729
729
  "name": "ScopeMain",
@@ -736,7 +736,7 @@
736
736
  "__schema": "TypeRefSchema",
737
737
  "location": {
738
738
  "filePath": "watcher.main.runtime.ts",
739
- "line": 67,
739
+ "line": 68,
740
740
  "character": 7
741
741
  },
742
742
  "name": "PubsubMain",
@@ -749,7 +749,7 @@
749
749
  "__schema": "TypeRefSchema",
750
750
  "location": {
751
751
  "filePath": "watcher.main.runtime.ts",
752
- "line": 68,
752
+ "line": 69,
753
753
  "character": 7
754
754
  },
755
755
  "name": "LoggerMain",
@@ -762,7 +762,7 @@
762
762
  "__schema": "TypeRefSchema",
763
763
  "location": {
764
764
  "filePath": "watcher.main.runtime.ts",
765
- "line": 69,
765
+ "line": 70,
766
766
  "character": 7
767
767
  },
768
768
  "name": "IpcEventsMain",
@@ -775,7 +775,7 @@
775
775
  "__schema": "TypeRefSchema",
776
776
  "location": {
777
777
  "filePath": "watcher.main.runtime.ts",
778
- "line": 70,
778
+ "line": 71,
779
779
  "character": 7
780
780
  },
781
781
  "name": "GlobalConfigMain",
@@ -793,7 +793,7 @@
793
793
  "__schema": "ParameterSchema",
794
794
  "location": {
795
795
  "filePath": "watcher.main.runtime.ts",
796
- "line": 72,
796
+ "line": 73,
797
797
  "character": 5
798
798
  },
799
799
  "name": "_",
@@ -801,7 +801,7 @@
801
801
  "__schema": "InferenceTypeSchema",
802
802
  "location": {
803
803
  "filePath": "watcher.main.runtime.ts",
804
- "line": 72,
804
+ "line": 73,
805
805
  "character": 5
806
806
  },
807
807
  "type": "any"
@@ -813,7 +813,7 @@
813
813
  "__schema": "ParameterSchema",
814
814
  "location": {
815
815
  "filePath": "watcher.main.runtime.ts",
816
- "line": 73,
816
+ "line": 74,
817
817
  "character": 5
818
818
  },
819
819
  "name": "[ onPreWatchSlot ]",
@@ -821,7 +821,7 @@
821
821
  "__schema": "TupleTypeSchema",
822
822
  "location": {
823
823
  "filePath": "watcher.main.runtime.ts",
824
- "line": 73,
824
+ "line": 74,
825
825
  "character": 23
826
826
  },
827
827
  "elements": [
@@ -829,7 +829,7 @@
829
829
  "__schema": "TypeRefSchema",
830
830
  "location": {
831
831
  "filePath": "watcher.main.runtime.ts",
832
- "line": 73,
832
+ "line": 74,
833
833
  "character": 24
834
834
  },
835
835
  "name": "OnPreWatchSlot",
@@ -845,7 +845,7 @@
845
845
  "__schema": "InferenceTypeSchema",
846
846
  "location": {
847
847
  "filePath": "watcher.main.runtime.ts",
848
- "line": 62,
848
+ "line": 63,
849
849
  "character": 3
850
850
  },
851
851
  "type": "Promise<WatcherMain>"
@@ -2093,7 +2093,7 @@
2093
2093
  "__schema": "FunctionLikeSchema",
2094
2094
  "location": {
2095
2095
  "filePath": "watcher.main.runtime.ts",
2096
- "line": 34,
2096
+ "line": 35,
2097
2097
  "character": 3
2098
2098
  },
2099
2099
  "signature": "(method) WatcherMain.watchScopeInternalFiles(): Promise<void>",
@@ -2103,7 +2103,7 @@
2103
2103
  "__schema": "InferenceTypeSchema",
2104
2104
  "location": {
2105
2105
  "filePath": "watcher.main.runtime.ts",
2106
- "line": 34,
2106
+ "line": 35,
2107
2107
  "character": 3
2108
2108
  },
2109
2109
  "type": "Promise<void>"
@@ -2116,7 +2116,7 @@
2116
2116
  "__schema": "FunctionLikeSchema",
2117
2117
  "location": {
2118
2118
  "filePath": "watcher.main.runtime.ts",
2119
- "line": 38,
2119
+ "line": 39,
2120
2120
  "character": 3
2121
2121
  },
2122
2122
  "signature": "(method) WatcherMain.triggerOnPreWatch(componentIds: ComponentID[], watchOpts: WatchOptions): Promise<void>",
@@ -2126,7 +2126,7 @@
2126
2126
  "__schema": "ParameterSchema",
2127
2127
  "location": {
2128
2128
  "filePath": "watcher.main.runtime.ts",
2129
- "line": 38,
2129
+ "line": 39,
2130
2130
  "character": 27
2131
2131
  },
2132
2132
  "name": "componentIds",
@@ -2134,14 +2134,14 @@
2134
2134
  "__schema": "TypeArraySchema",
2135
2135
  "location": {
2136
2136
  "filePath": "watcher.main.runtime.ts",
2137
- "line": 38,
2137
+ "line": 39,
2138
2138
  "character": 41
2139
2139
  },
2140
2140
  "type": {
2141
2141
  "__schema": "TypeRefSchema",
2142
2142
  "location": {
2143
2143
  "filePath": "watcher.main.runtime.ts",
2144
- "line": 38,
2144
+ "line": 39,
2145
2145
  "character": 41
2146
2146
  },
2147
2147
  "name": "ComponentID",
@@ -2159,7 +2159,7 @@
2159
2159
  "__schema": "ParameterSchema",
2160
2160
  "location": {
2161
2161
  "filePath": "watcher.main.runtime.ts",
2162
- "line": 38,
2162
+ "line": 39,
2163
2163
  "character": 56
2164
2164
  },
2165
2165
  "name": "watchOpts",
@@ -2167,7 +2167,7 @@
2167
2167
  "__schema": "TypeRefSchema",
2168
2168
  "location": {
2169
2169
  "filePath": "watcher.main.runtime.ts",
2170
- "line": 38,
2170
+ "line": 39,
2171
2171
  "character": 67
2172
2172
  },
2173
2173
  "name": "WatchOptions"
@@ -2180,7 +2180,7 @@
2180
2180
  "__schema": "InferenceTypeSchema",
2181
2181
  "location": {
2182
2182
  "filePath": "watcher.main.runtime.ts",
2183
- "line": 38,
2183
+ "line": 39,
2184
2184
  "character": 3
2185
2185
  },
2186
2186
  "type": "Promise<void>"
@@ -2193,7 +2193,7 @@
2193
2193
  "__schema": "FunctionLikeSchema",
2194
2194
  "location": {
2195
2195
  "filePath": "watcher.main.runtime.ts",
2196
- "line": 45,
2196
+ "line": 46,
2197
2197
  "character": 3
2198
2198
  },
2199
2199
  "signature": "(method) WatcherMain.registerOnPreWatch(onPreWatchFunc: OnPreWatch): this",
@@ -2203,7 +2203,7 @@
2203
2203
  "__schema": "ParameterSchema",
2204
2204
  "location": {
2205
2205
  "filePath": "watcher.main.runtime.ts",
2206
- "line": 45,
2206
+ "line": 46,
2207
2207
  "character": 22
2208
2208
  },
2209
2209
  "name": "onPreWatchFunc",
@@ -2211,7 +2211,7 @@
2211
2211
  "__schema": "TypeRefSchema",
2212
2212
  "location": {
2213
2213
  "filePath": "watcher.main.runtime.ts",
2214
- "line": 45,
2214
+ "line": 46,
2215
2215
  "character": 38
2216
2216
  },
2217
2217
  "name": "OnPreWatch",
@@ -2225,7 +2225,7 @@
2225
2225
  "__schema": "TypeRefSchema",
2226
2226
  "location": {
2227
2227
  "filePath": "watcher.main.runtime.ts",
2228
- "line": 45,
2228
+ "line": 46,
2229
2229
  "character": 3
2230
2230
  },
2231
2231
  "name": "WatcherMain"
@@ -2236,7 +2236,7 @@
2236
2236
  "__schema": "VariableLikeSchema",
2237
2237
  "location": {
2238
2238
  "filePath": "watcher.main.runtime.ts",
2239
- "line": 50,
2239
+ "line": 51,
2240
2240
  "character": 3
2241
2241
  },
2242
2242
  "signature": "(property) WatcherMain.slots: ((registerFn: () => string) => SlotRegistry<OnPreWatch>)[]",
@@ -2245,7 +2245,7 @@
2245
2245
  "__schema": "InferenceTypeSchema",
2246
2246
  "location": {
2247
2247
  "filePath": "watcher.main.runtime.ts",
2248
- "line": 50,
2248
+ "line": 51,
2249
2249
  "character": 3
2250
2250
  },
2251
2251
  "type": "((registerFn: () => string) => SlotRegistry<OnPreWatch>)[]"
@@ -2257,7 +2257,7 @@
2257
2257
  "__schema": "VariableLikeSchema",
2258
2258
  "location": {
2259
2259
  "filePath": "watcher.main.runtime.ts",
2260
- "line": 51,
2260
+ "line": 52,
2261
2261
  "character": 3
2262
2262
  },
2263
2263
  "signature": "(property) WatcherMain.dependencies: Aspect[]",
@@ -2266,7 +2266,7 @@
2266
2266
  "__schema": "InferenceTypeSchema",
2267
2267
  "location": {
2268
2268
  "filePath": "watcher.main.runtime.ts",
2269
- "line": 51,
2269
+ "line": 52,
2270
2270
  "character": 3
2271
2271
  },
2272
2272
  "type": "Aspect[]"
@@ -2278,7 +2278,7 @@
2278
2278
  "__schema": "VariableLikeSchema",
2279
2279
  "location": {
2280
2280
  "filePath": "watcher.main.runtime.ts",
2281
- "line": 60,
2281
+ "line": 61,
2282
2282
  "character": 3
2283
2283
  },
2284
2284
  "signature": "(property) WatcherMain.runtime: RuntimeDefinition",
@@ -2287,7 +2287,7 @@
2287
2287
  "__schema": "InferenceTypeSchema",
2288
2288
  "location": {
2289
2289
  "filePath": "watcher.main.runtime.ts",
2290
- "line": 60,
2290
+ "line": 61,
2291
2291
  "character": 3
2292
2292
  },
2293
2293
  "type": "RuntimeDefinition"
@@ -2299,7 +2299,7 @@
2299
2299
  "__schema": "FunctionLikeSchema",
2300
2300
  "location": {
2301
2301
  "filePath": "watcher.main.runtime.ts",
2302
- "line": 62,
2302
+ "line": 63,
2303
2303
  "character": 3
2304
2304
  },
2305
2305
  "signature": "(method) WatcherMain.provider([cli, workspace, scope, pubsub, loggerMain, ipcEvents, globalConfig]: [\n CLIMain,\n Workspace,\n ScopeMain,\n PubsubMain,\n LoggerMain,\n IpcEventsMain,\n GlobalConfigMain\n], _: any, [onPreWatchSlot]: [OnPreWatchSlot]): Promise<WatcherMain>",
@@ -2309,7 +2309,7 @@
2309
2309
  "__schema": "ParameterSchema",
2310
2310
  "location": {
2311
2311
  "filePath": "watcher.main.runtime.ts",
2312
- "line": 63,
2312
+ "line": 64,
2313
2313
  "character": 5
2314
2314
  },
2315
2315
  "name": "[ cli, workspace, scope, pubsub, loggerMain, ipcEvents, globalConfig ]",
@@ -2317,7 +2317,7 @@
2317
2317
  "__schema": "TupleTypeSchema",
2318
2318
  "location": {
2319
2319
  "filePath": "watcher.main.runtime.ts",
2320
- "line": 63,
2320
+ "line": 64,
2321
2321
  "character": 75
2322
2322
  },
2323
2323
  "elements": [
@@ -2325,7 +2325,7 @@
2325
2325
  "__schema": "TypeRefSchema",
2326
2326
  "location": {
2327
2327
  "filePath": "watcher.main.runtime.ts",
2328
- "line": 64,
2328
+ "line": 65,
2329
2329
  "character": 7
2330
2330
  },
2331
2331
  "name": "CLIMain",
@@ -2338,7 +2338,7 @@
2338
2338
  "__schema": "TypeRefSchema",
2339
2339
  "location": {
2340
2340
  "filePath": "watcher.main.runtime.ts",
2341
- "line": 65,
2341
+ "line": 66,
2342
2342
  "character": 7
2343
2343
  },
2344
2344
  "name": "Workspace",
@@ -2351,7 +2351,7 @@
2351
2351
  "__schema": "TypeRefSchema",
2352
2352
  "location": {
2353
2353
  "filePath": "watcher.main.runtime.ts",
2354
- "line": 66,
2354
+ "line": 67,
2355
2355
  "character": 7
2356
2356
  },
2357
2357
  "name": "ScopeMain",
@@ -2364,7 +2364,7 @@
2364
2364
  "__schema": "TypeRefSchema",
2365
2365
  "location": {
2366
2366
  "filePath": "watcher.main.runtime.ts",
2367
- "line": 67,
2367
+ "line": 68,
2368
2368
  "character": 7
2369
2369
  },
2370
2370
  "name": "PubsubMain",
@@ -2377,7 +2377,7 @@
2377
2377
  "__schema": "TypeRefSchema",
2378
2378
  "location": {
2379
2379
  "filePath": "watcher.main.runtime.ts",
2380
- "line": 68,
2380
+ "line": 69,
2381
2381
  "character": 7
2382
2382
  },
2383
2383
  "name": "LoggerMain",
@@ -2390,7 +2390,7 @@
2390
2390
  "__schema": "TypeRefSchema",
2391
2391
  "location": {
2392
2392
  "filePath": "watcher.main.runtime.ts",
2393
- "line": 69,
2393
+ "line": 70,
2394
2394
  "character": 7
2395
2395
  },
2396
2396
  "name": "IpcEventsMain",
@@ -2403,7 +2403,7 @@
2403
2403
  "__schema": "TypeRefSchema",
2404
2404
  "location": {
2405
2405
  "filePath": "watcher.main.runtime.ts",
2406
- "line": 70,
2406
+ "line": 71,
2407
2407
  "character": 7
2408
2408
  },
2409
2409
  "name": "GlobalConfigMain",
@@ -2421,7 +2421,7 @@
2421
2421
  "__schema": "ParameterSchema",
2422
2422
  "location": {
2423
2423
  "filePath": "watcher.main.runtime.ts",
2424
- "line": 72,
2424
+ "line": 73,
2425
2425
  "character": 5
2426
2426
  },
2427
2427
  "name": "_",
@@ -2429,7 +2429,7 @@
2429
2429
  "__schema": "InferenceTypeSchema",
2430
2430
  "location": {
2431
2431
  "filePath": "watcher.main.runtime.ts",
2432
- "line": 72,
2432
+ "line": 73,
2433
2433
  "character": 5
2434
2434
  },
2435
2435
  "type": "any"
@@ -2441,7 +2441,7 @@
2441
2441
  "__schema": "ParameterSchema",
2442
2442
  "location": {
2443
2443
  "filePath": "watcher.main.runtime.ts",
2444
- "line": 73,
2444
+ "line": 74,
2445
2445
  "character": 5
2446
2446
  },
2447
2447
  "name": "[ onPreWatchSlot ]",
@@ -2449,7 +2449,7 @@
2449
2449
  "__schema": "TupleTypeSchema",
2450
2450
  "location": {
2451
2451
  "filePath": "watcher.main.runtime.ts",
2452
- "line": 73,
2452
+ "line": 74,
2453
2453
  "character": 23
2454
2454
  },
2455
2455
  "elements": [
@@ -2457,7 +2457,7 @@
2457
2457
  "__schema": "TypeRefSchema",
2458
2458
  "location": {
2459
2459
  "filePath": "watcher.main.runtime.ts",
2460
- "line": 73,
2460
+ "line": 74,
2461
2461
  "character": 24
2462
2462
  },
2463
2463
  "name": "OnPreWatchSlot",
@@ -2473,7 +2473,7 @@
2473
2473
  "__schema": "InferenceTypeSchema",
2474
2474
  "location": {
2475
2475
  "filePath": "watcher.main.runtime.ts",
2476
- "line": 62,
2476
+ "line": 63,
2477
2477
  "character": 3
2478
2478
  },
2479
2479
  "type": "Promise<WatcherMain>"
@@ -2491,7 +2491,7 @@
2491
2491
  "__schema": "UnImplementedSchema",
2492
2492
  "location": {
2493
2493
  "filePath": "watcher.main.runtime.ts",
2494
- "line": 85,
2494
+ "line": 86,
2495
2495
  "character": 16
2496
2496
  },
2497
2497
  "name": "WatcherMain",
@@ -2503,7 +2503,7 @@
2503
2503
  "__schema": "UnImplementedSchema",
2504
2504
  "location": {
2505
2505
  "filePath": "watcher.main.runtime.ts",
2506
- "line": 83,
2506
+ "line": 84,
2507
2507
  "character": 1
2508
2508
  },
2509
2509
  "name": "WatcherAspect.addRuntime(WatcherMain);",
@@ -2552,7 +2552,7 @@
2552
2552
  "componentId": {
2553
2553
  "scope": "teambit.workspace",
2554
2554
  "name": "watcher",
2555
- "version": "1.0.200"
2555
+ "version": "1.0.202"
2556
2556
  },
2557
2557
  "taggedModuleExports": []
2558
2558
  }
@@ -103,6 +103,7 @@ class WatcherMain {
103
103
  this.globalConfig = globalConfig;
104
104
  }
105
105
  async watch(opts) {
106
+ if (!this.workspace) throw new (_workspace().OutsideWorkspaceError)();
106
107
  const watcher = new (_watcher().Watcher)(this.workspace, this.pubsub, this, opts);
107
108
  await watcher.watch();
108
109
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_cli","data","require","_harmony","_globalConfig","_scope","_ipcEvents","_logger","_pubsub","_workspace","_pMapSeries","_interopRequireDefault","_watch","_watcher","_watcher2","obj","__esModule","default","_defineProperty","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","WatcherMain","constructor","workspace","scope","pubsub","onPreWatchSlot","ipcEvents","logger","globalConfig","watch","opts","watcher","Watcher","watchScopeInternalFiles","triggerOnPreWatch","componentIds","watchOpts","preWatchFunctions","values","pMapSeries","func","registerOnPreWatch","onPreWatchFunc","register","provider","cli","loggerMain","_","createLogger","WatcherAspect","id","watcherMain","watchCmd","WatchCommand","exports","Slot","withType","CLIAspect","WorkspaceAspect","ScopeAspect","PubsubAspect","LoggerAspect","IpcEventsAspect","GlobalConfigAspect","MainRuntime","addRuntime","_default"],"sources":["watcher.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport { SlotRegistry, Slot } from '@teambit/harmony';\nimport { GlobalConfigAspect, GlobalConfigMain } from '@teambit/global-config';\nimport { ScopeAspect, ScopeMain } from '@teambit/scope';\nimport { ComponentID } from '@teambit/component-id';\nimport { IpcEventsAspect, IpcEventsMain } from '@teambit/ipc-events';\nimport { Logger, LoggerAspect, LoggerMain } from '@teambit/logger';\nimport { PubsubAspect, PubsubMain } from '@teambit/pubsub';\nimport { WorkspaceAspect, Workspace } from '@teambit/workspace';\nimport pMapSeries from 'p-map-series';\nimport { WatchCommand } from './watch.cmd';\nimport { Watcher, WatchOptions } from './watcher';\nimport { WatcherAspect } from './watcher.aspect';\n\nexport type OnPreWatch = (componentIds: ComponentID[], watchOpts: WatchOptions) => Promise<void>;\nexport type OnPreWatchSlot = SlotRegistry<OnPreWatch>;\n\nexport class WatcherMain {\n constructor(\n private workspace: Workspace,\n private scope: ScopeMain,\n private pubsub: PubsubMain,\n private onPreWatchSlot: OnPreWatchSlot,\n readonly ipcEvents: IpcEventsMain,\n readonly logger: Logger,\n readonly globalConfig: GlobalConfigMain\n ) {}\n\n async watch(opts: WatchOptions) {\n const watcher = new Watcher(this.workspace, this.pubsub, this, opts);\n await watcher.watch();\n }\n\n async watchScopeInternalFiles() {\n await this.scope.watchScopeInternalFiles();\n }\n\n async triggerOnPreWatch(componentIds: ComponentID[], watchOpts: WatchOptions) {\n const preWatchFunctions = this.onPreWatchSlot.values();\n await pMapSeries(preWatchFunctions, async (func) => {\n await func(componentIds, watchOpts);\n });\n }\n\n registerOnPreWatch(onPreWatchFunc: OnPreWatch) {\n this.onPreWatchSlot.register(onPreWatchFunc);\n return this;\n }\n\n static slots = [Slot.withType<OnPreWatch>()];\n static dependencies = [\n CLIAspect,\n WorkspaceAspect,\n ScopeAspect,\n PubsubAspect,\n LoggerAspect,\n IpcEventsAspect,\n GlobalConfigAspect,\n ];\n static runtime = MainRuntime;\n\n static async provider(\n [cli, workspace, scope, pubsub, loggerMain, ipcEvents, globalConfig]: [\n CLIMain,\n Workspace,\n ScopeMain,\n PubsubMain,\n LoggerMain,\n IpcEventsMain,\n GlobalConfigMain\n ],\n _,\n [onPreWatchSlot]: [OnPreWatchSlot]\n ) {\n const logger = loggerMain.createLogger(WatcherAspect.id);\n const watcherMain = new WatcherMain(workspace, scope, pubsub, onPreWatchSlot, ipcEvents, logger, globalConfig);\n const watchCmd = new WatchCommand(pubsub, logger, watcherMain);\n cli.register(watchCmd);\n return watcherMain;\n }\n}\n\nWatcherAspect.addRuntime(WatcherMain);\n\nexport default WatcherMain;\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,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,cAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,aAAA,YAAAA,CAAA;IAAA,OA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ACF;AAACG,OAAA,CAAAlC,WAAA,GAAAA,WAAA;AAAApB,eAAA,CA/DYoB,WAAW,WAgCP,CAACmC,eAAI,CAACC,QAAQ,CAAa,CAAC,CAAC;AAAAxD,eAAA,CAhCjCoB,WAAW,kBAiCA,CACpBqC,gBAAS,EACTC,4BAAe,EACfC,oBAAW,EACXC,sBAAY,EACZC,sBAAY,EACZC,4BAAe,EACfC,kCAAkB,CACnB;AAAA/D,eAAA,CAzCUoB,WAAW,aA0CL4C,kBAAW;AAuB9Bf,yBAAa,CAACgB,UAAU,CAAC7C,WAAW,CAAC;AAAC,IAAA8C,QAAA,GAAAZ,OAAA,CAAAvD,OAAA,GAEvBqB,WAAW","ignoreList":[]}
1
+ {"version":3,"names":["_cli","data","require","_harmony","_globalConfig","_scope","_ipcEvents","_logger","_pubsub","_workspace","_pMapSeries","_interopRequireDefault","_watch","_watcher","_watcher2","obj","__esModule","default","_defineProperty","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","WatcherMain","constructor","workspace","scope","pubsub","onPreWatchSlot","ipcEvents","logger","globalConfig","watch","opts","OutsideWorkspaceError","watcher","Watcher","watchScopeInternalFiles","triggerOnPreWatch","componentIds","watchOpts","preWatchFunctions","values","pMapSeries","func","registerOnPreWatch","onPreWatchFunc","register","provider","cli","loggerMain","_","createLogger","WatcherAspect","id","watcherMain","watchCmd","WatchCommand","exports","Slot","withType","CLIAspect","WorkspaceAspect","ScopeAspect","PubsubAspect","LoggerAspect","IpcEventsAspect","GlobalConfigAspect","MainRuntime","addRuntime","_default"],"sources":["watcher.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport { SlotRegistry, Slot } from '@teambit/harmony';\nimport { GlobalConfigAspect, GlobalConfigMain } from '@teambit/global-config';\nimport { ScopeAspect, ScopeMain } from '@teambit/scope';\nimport { ComponentID } from '@teambit/component-id';\nimport { IpcEventsAspect, IpcEventsMain } from '@teambit/ipc-events';\nimport { Logger, LoggerAspect, LoggerMain } from '@teambit/logger';\nimport { PubsubAspect, PubsubMain } from '@teambit/pubsub';\nimport { WorkspaceAspect, Workspace, OutsideWorkspaceError } from '@teambit/workspace';\nimport pMapSeries from 'p-map-series';\nimport { WatchCommand } from './watch.cmd';\nimport { Watcher, WatchOptions } from './watcher';\nimport { WatcherAspect } from './watcher.aspect';\n\nexport type OnPreWatch = (componentIds: ComponentID[], watchOpts: WatchOptions) => Promise<void>;\nexport type OnPreWatchSlot = SlotRegistry<OnPreWatch>;\n\nexport class WatcherMain {\n constructor(\n private workspace: Workspace,\n private scope: ScopeMain,\n private pubsub: PubsubMain,\n private onPreWatchSlot: OnPreWatchSlot,\n readonly ipcEvents: IpcEventsMain,\n readonly logger: Logger,\n readonly globalConfig: GlobalConfigMain\n ) {}\n\n async watch(opts: WatchOptions) {\n if (!this.workspace) throw new OutsideWorkspaceError();\n const watcher = new Watcher(this.workspace, this.pubsub, this, opts);\n await watcher.watch();\n }\n\n async watchScopeInternalFiles() {\n await this.scope.watchScopeInternalFiles();\n }\n\n async triggerOnPreWatch(componentIds: ComponentID[], watchOpts: WatchOptions) {\n const preWatchFunctions = this.onPreWatchSlot.values();\n await pMapSeries(preWatchFunctions, async (func) => {\n await func(componentIds, watchOpts);\n });\n }\n\n registerOnPreWatch(onPreWatchFunc: OnPreWatch) {\n this.onPreWatchSlot.register(onPreWatchFunc);\n return this;\n }\n\n static slots = [Slot.withType<OnPreWatch>()];\n static dependencies = [\n CLIAspect,\n WorkspaceAspect,\n ScopeAspect,\n PubsubAspect,\n LoggerAspect,\n IpcEventsAspect,\n GlobalConfigAspect,\n ];\n static runtime = MainRuntime;\n\n static async provider(\n [cli, workspace, scope, pubsub, loggerMain, ipcEvents, globalConfig]: [\n CLIMain,\n Workspace,\n ScopeMain,\n PubsubMain,\n LoggerMain,\n IpcEventsMain,\n GlobalConfigMain\n ],\n _,\n [onPreWatchSlot]: [OnPreWatchSlot]\n ) {\n const logger = loggerMain.createLogger(WatcherAspect.id);\n const watcherMain = new WatcherMain(workspace, scope, pubsub, onPreWatchSlot, ipcEvents, logger, globalConfig);\n const watchCmd = new WatchCommand(pubsub, logger, watcherMain);\n cli.register(watchCmd);\n return watcherMain;\n }\n}\n\nWatcherAspect.addRuntime(WatcherMain);\n\nexport default WatcherMain;\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,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,cAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,aAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,OAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,MAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAK,WAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,UAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,QAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,OAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAO,QAAA;EAAA,MAAAP,IAAA,GAAAC,OAAA;EAAAM,OAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAQ,WAAA;EAAA,MAAAR,IAAA,GAAAC,OAAA;EAAAO,UAAA,YAAAA,CAAA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J;EAEAK,kBAAkBA,CAACC,cAA0B,EAAE;IAC7C,IAAI,CAAClB,cAAc,CAACmB,QAAQ,CAACD,cAAc,CAAC;IAC5C,OAAO,IAAI;EACb;EAcA,aAAaE,QAAQA,CACnB,CAACC,GAAG,EAAExB,SAAS,EAAEC,KAAK,EAAEC,MAAM,EAAEuB,UAAU,EAAErB,SAAS,EAAEE,YAAY,CAQlE,EACDoB,CAAC,EACD,CAACvB,cAAc,CAAmB,EAClC;IACA,MAAME,MAAM,GAAGoB,UAAU,CAACE,YAAY,CAACC,yBAAa,CAACC,EAAE,CAAC;IACxD,MAAMC,WAAW,GAAG,IAAIhC,WAAW,CAACE,SAAS,EAAEC,KAAK,EAAEC,MAAM,EAAEC,cAAc,EAAEC,SAAS,EAAEC,MAAM,EAAEC,YAAY,CAAC;IAC9G,MAAMyB,QAAQ,GAAG,KAAIC,qBAAY,EAAC9B,MAAM,EAAEG,MAAM,EAAEyB,WAAW,CAAC;IAC9DN,GAAG,CAACF,QAAQ,CAACS,QAAQ,CAAC;IACtB,OAAOD,WAAW;EACpB;AACF;AAACG,OAAA,CAAAnC,WAAA,GAAAA,WAAA;AAAApB,eAAA,CAhEYoB,WAAW,WAiCP,CAACoC,eAAI,CAACC,QAAQ,CAAa,CAAC,CAAC;AAAAzD,eAAA,CAjCjCoB,WAAW,kBAkCA,CACpBsC,gBAAS,EACTC,4BAAe,EACfC,oBAAW,EACXC,sBAAY,EACZC,sBAAY,EACZC,4BAAe,EACfC,kCAAkB,CACnB;AAAAhE,eAAA,CA1CUoB,WAAW,aA2CL6C,kBAAW;AAuB9Bf,yBAAa,CAACgB,UAAU,CAAC9C,WAAW,CAAC;AAAC,IAAA+C,QAAA,GAAAZ,OAAA,CAAAxD,OAAA,GAEvBqB,WAAW","ignoreList":[]}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/watcher",
3
- "version": "1.0.200",
3
+ "version": "1.0.202",
4
4
  "homepage": "https://bit.cloud/teambit/workspace/watcher",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.workspace",
8
8
  "name": "watcher",
9
- "version": "1.0.200"
9
+ "version": "1.0.202"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -19,13 +19,13 @@
19
19
  "@teambit/harmony": "0.4.6",
20
20
  "@teambit/component-id": "1.2.0",
21
21
  "@teambit/logger": "0.0.950",
22
- "@teambit/workspace": "1.0.200",
22
+ "@teambit/workspace": "1.0.202",
23
23
  "@teambit/cli": "0.0.857",
24
- "@teambit/compiler": "1.0.200",
25
- "@teambit/pubsub": "1.0.200",
24
+ "@teambit/compiler": "1.0.202",
25
+ "@teambit/pubsub": "1.0.202",
26
26
  "@teambit/global-config": "0.0.860",
27
- "@teambit/ipc-events": "1.0.200",
28
- "@teambit/scope": "1.0.200"
27
+ "@teambit/ipc-events": "1.0.202",
28
+ "@teambit/scope": "1.0.202"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/fs-extra": "9.0.7",