@teambit/tracker 1.0.158 → 1.0.160

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
- <testsuites>
3
- <testsuite name="teambit.component/tracker@1.0.158" tests="0" failures="0" errors="0" skipped="0"/>
2
+ <testsuites tests="0" failures="0" errors="0" skipped="0">
3
+ <testsuite name="teambit.component/tracker@1.0.160" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -0,0 +1,1271 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ClassSchema",
18
+ "location": {
19
+ "filePath": "tracker.main.runtime.ts",
20
+ "line": 22,
21
+ "character": 1
22
+ },
23
+ "signature": "class TrackerMain",
24
+ "name": "TrackerMain",
25
+ "members": [
26
+ {
27
+ "__schema": "ConstructorSchema",
28
+ "location": {
29
+ "filePath": "tracker.main.runtime.ts",
30
+ "line": 23,
31
+ "character": 3
32
+ },
33
+ "signature": "constructor TrackerMain(workspace: Workspace, logger: Logger): TrackerMain",
34
+ "name": "constructor",
35
+ "params": [
36
+ {
37
+ "__schema": "ParameterSchema",
38
+ "location": {
39
+ "filePath": "tracker.main.runtime.ts",
40
+ "line": 23,
41
+ "character": 15
42
+ },
43
+ "name": "workspace",
44
+ "type": {
45
+ "__schema": "TypeRefSchema",
46
+ "location": {
47
+ "filePath": "tracker.main.runtime.ts",
48
+ "line": 23,
49
+ "character": 34
50
+ },
51
+ "name": "Workspace"
52
+ },
53
+ "isOptional": false,
54
+ "isSpread": false
55
+ },
56
+ {
57
+ "__schema": "ParameterSchema",
58
+ "location": {
59
+ "filePath": "tracker.main.runtime.ts",
60
+ "line": 23,
61
+ "character": 45
62
+ },
63
+ "name": "logger",
64
+ "type": {
65
+ "__schema": "TypeRefSchema",
66
+ "location": {
67
+ "filePath": "tracker.main.runtime.ts",
68
+ "line": 23,
69
+ "character": 61
70
+ },
71
+ "name": "Logger"
72
+ },
73
+ "isOptional": false,
74
+ "isSpread": false
75
+ }
76
+ ],
77
+ "returnType": {
78
+ "__schema": "ThisTypeSchema",
79
+ "location": {
80
+ "filePath": "tracker.main.runtime.ts",
81
+ "line": 22,
82
+ "character": 1
83
+ },
84
+ "name": "TrackerMain"
85
+ },
86
+ "modifiers": []
87
+ },
88
+ {
89
+ "__schema": "FunctionLikeSchema",
90
+ "location": {
91
+ "filePath": "tracker.main.runtime.ts",
92
+ "line": 30,
93
+ "character": 3
94
+ },
95
+ "doc": {
96
+ "__schema": "DocSchema",
97
+ "location": {
98
+ "filePath": "tracker.main.runtime.ts",
99
+ "line": 25,
100
+ "character": 3
101
+ },
102
+ "raw": "/**\n * add a new component to the .bitmap file.\n * this method only adds the records in memory but doesn't persist to the filesystem.\n * to write the .bitmap file once completed, run \"await this.bitMap.write();\"\n */",
103
+ "comment": "add a new component to the .bitmap file.\nthis method only adds the records in memory but doesn't persist to the filesystem.\nto write the .bitmap file once completed, run \"await this.bitMap.write();\""
104
+ },
105
+ "signature": "(method) TrackerMain.track(trackData: TrackData): Promise<TrackResult>",
106
+ "name": "track",
107
+ "params": [
108
+ {
109
+ "__schema": "ParameterSchema",
110
+ "location": {
111
+ "filePath": "tracker.main.runtime.ts",
112
+ "line": 30,
113
+ "character": 15
114
+ },
115
+ "name": "trackData",
116
+ "type": {
117
+ "__schema": "TypeRefSchema",
118
+ "location": {
119
+ "filePath": "tracker.main.runtime.ts",
120
+ "line": 30,
121
+ "character": 26
122
+ },
123
+ "name": "TrackData"
124
+ },
125
+ "isOptional": false,
126
+ "isSpread": false
127
+ }
128
+ ],
129
+ "returnType": {
130
+ "__schema": "TypeRefSchema",
131
+ "location": {
132
+ "filePath": "tracker.main.runtime.ts",
133
+ "line": 30,
134
+ "character": 38
135
+ },
136
+ "name": "Promise",
137
+ "typeArgs": [
138
+ {
139
+ "__schema": "TypeRefSchema",
140
+ "location": {
141
+ "filePath": "tracker.main.runtime.ts",
142
+ "line": 30,
143
+ "character": 46
144
+ },
145
+ "name": "TrackResult"
146
+ }
147
+ ]
148
+ },
149
+ "modifiers": [
150
+ "async"
151
+ ]
152
+ },
153
+ {
154
+ "__schema": "FunctionLikeSchema",
155
+ "location": {
156
+ "filePath": "tracker.main.runtime.ts",
157
+ "line": 52,
158
+ "character": 3
159
+ },
160
+ "signature": "(method) TrackerMain.addForCLI(addProps: AddProps): Promise<AddActionResults>",
161
+ "name": "addForCLI",
162
+ "params": [
163
+ {
164
+ "__schema": "ParameterSchema",
165
+ "location": {
166
+ "filePath": "tracker.main.runtime.ts",
167
+ "line": 52,
168
+ "character": 19
169
+ },
170
+ "name": "addProps",
171
+ "type": {
172
+ "__schema": "TypeRefSchema",
173
+ "location": {
174
+ "filePath": "tracker.main.runtime.ts",
175
+ "line": 52,
176
+ "character": 29
177
+ },
178
+ "name": "AddProps"
179
+ },
180
+ "isOptional": false,
181
+ "isSpread": false
182
+ }
183
+ ],
184
+ "returnType": {
185
+ "__schema": "TypeRefSchema",
186
+ "location": {
187
+ "filePath": "tracker.main.runtime.ts",
188
+ "line": 52,
189
+ "character": 40
190
+ },
191
+ "name": "Promise",
192
+ "typeArgs": [
193
+ {
194
+ "__schema": "TypeRefSchema",
195
+ "location": {
196
+ "filePath": "tracker.main.runtime.ts",
197
+ "line": 52,
198
+ "character": 48
199
+ },
200
+ "name": "AddActionResults"
201
+ }
202
+ ]
203
+ },
204
+ "modifiers": [
205
+ "async"
206
+ ]
207
+ },
208
+ {
209
+ "__schema": "FunctionLikeSchema",
210
+ "location": {
211
+ "filePath": "tracker.main.runtime.ts",
212
+ "line": 68,
213
+ "character": 3
214
+ },
215
+ "signature": "(method) TrackerMain.addEnvToConfig(env: string, config: {\n [aspectName: string]: any;\n}): Promise<void>",
216
+ "name": "addEnvToConfig",
217
+ "params": [
218
+ {
219
+ "__schema": "ParameterSchema",
220
+ "location": {
221
+ "filePath": "tracker.main.runtime.ts",
222
+ "line": 68,
223
+ "character": 24
224
+ },
225
+ "name": "env",
226
+ "type": {
227
+ "__schema": "KeywordTypeSchema",
228
+ "location": {
229
+ "filePath": "tracker.main.runtime.ts",
230
+ "line": 68,
231
+ "character": 29
232
+ },
233
+ "name": "string"
234
+ },
235
+ "isOptional": false,
236
+ "isSpread": false
237
+ },
238
+ {
239
+ "__schema": "ParameterSchema",
240
+ "location": {
241
+ "filePath": "tracker.main.runtime.ts",
242
+ "line": 68,
243
+ "character": 37
244
+ },
245
+ "name": "config",
246
+ "type": {
247
+ "__schema": "TypeLiteralSchema",
248
+ "location": {
249
+ "filePath": "tracker.main.runtime.ts",
250
+ "line": 68,
251
+ "character": 45
252
+ },
253
+ "members": [
254
+ {
255
+ "__schema": "IndexSignatureSchema",
256
+ "location": {
257
+ "filePath": "tracker.main.runtime.ts",
258
+ "line": 68,
259
+ "character": 47
260
+ },
261
+ "keyType": {
262
+ "__schema": "ParameterSchema",
263
+ "location": {
264
+ "filePath": "tracker.main.runtime.ts",
265
+ "line": 68,
266
+ "character": 48
267
+ },
268
+ "name": "aspectName",
269
+ "type": {
270
+ "__schema": "KeywordTypeSchema",
271
+ "location": {
272
+ "filePath": "tracker.main.runtime.ts",
273
+ "line": 68,
274
+ "character": 60
275
+ },
276
+ "name": "string"
277
+ },
278
+ "isOptional": false,
279
+ "isSpread": false
280
+ },
281
+ "valueType": {
282
+ "__schema": "KeywordTypeSchema",
283
+ "location": {
284
+ "filePath": "tracker.main.runtime.ts",
285
+ "line": 68,
286
+ "character": 69
287
+ },
288
+ "name": "any"
289
+ }
290
+ }
291
+ ]
292
+ },
293
+ "isOptional": false,
294
+ "isSpread": false
295
+ }
296
+ ],
297
+ "returnType": {
298
+ "__schema": "InferenceTypeSchema",
299
+ "location": {
300
+ "filePath": "tracker.main.runtime.ts",
301
+ "line": 68,
302
+ "character": 3
303
+ },
304
+ "type": "Promise<void>"
305
+ },
306
+ "modifiers": [
307
+ "async"
308
+ ]
309
+ },
310
+ {
311
+ "__schema": "VariableLikeSchema",
312
+ "location": {
313
+ "filePath": "tracker.main.runtime.ts",
314
+ "line": 114,
315
+ "character": 3
316
+ },
317
+ "signature": "(property) TrackerMain.slots: never[]",
318
+ "name": "slots",
319
+ "type": {
320
+ "__schema": "InferenceTypeSchema",
321
+ "location": {
322
+ "filePath": "tracker.main.runtime.ts",
323
+ "line": 114,
324
+ "character": 3
325
+ },
326
+ "type": "never[]"
327
+ },
328
+ "isOptional": true,
329
+ "defaultValue": "[]"
330
+ },
331
+ {
332
+ "__schema": "VariableLikeSchema",
333
+ "location": {
334
+ "filePath": "tracker.main.runtime.ts",
335
+ "line": 115,
336
+ "character": 3
337
+ },
338
+ "signature": "(property) TrackerMain.dependencies: Aspect[]",
339
+ "name": "dependencies",
340
+ "type": {
341
+ "__schema": "InferenceTypeSchema",
342
+ "location": {
343
+ "filePath": "tracker.main.runtime.ts",
344
+ "line": 115,
345
+ "character": 3
346
+ },
347
+ "type": "Aspect[]"
348
+ },
349
+ "isOptional": true,
350
+ "defaultValue": "[CLIAspect, WorkspaceAspect, LoggerAspect]"
351
+ },
352
+ {
353
+ "__schema": "VariableLikeSchema",
354
+ "location": {
355
+ "filePath": "tracker.main.runtime.ts",
356
+ "line": 116,
357
+ "character": 3
358
+ },
359
+ "signature": "(property) TrackerMain.runtime: RuntimeDefinition",
360
+ "name": "runtime",
361
+ "type": {
362
+ "__schema": "InferenceTypeSchema",
363
+ "location": {
364
+ "filePath": "tracker.main.runtime.ts",
365
+ "line": 116,
366
+ "character": 3
367
+ },
368
+ "type": "RuntimeDefinition"
369
+ },
370
+ "isOptional": true,
371
+ "defaultValue": "MainRuntime"
372
+ },
373
+ {
374
+ "__schema": "FunctionLikeSchema",
375
+ "location": {
376
+ "filePath": "tracker.main.runtime.ts",
377
+ "line": 117,
378
+ "character": 3
379
+ },
380
+ "signature": "(method) TrackerMain.provider([cli, workspace, loggerMain]: [CLIMain, Workspace, LoggerMain]): Promise<TrackerMain>",
381
+ "name": "provider",
382
+ "params": [
383
+ {
384
+ "__schema": "ParameterSchema",
385
+ "location": {
386
+ "filePath": "tracker.main.runtime.ts",
387
+ "line": 117,
388
+ "character": 25
389
+ },
390
+ "name": "[ cli, workspace, loggerMain ]",
391
+ "type": {
392
+ "__schema": "TupleTypeSchema",
393
+ "location": {
394
+ "filePath": "tracker.main.runtime.ts",
395
+ "line": 117,
396
+ "character": 55
397
+ },
398
+ "elements": [
399
+ {
400
+ "__schema": "TypeRefSchema",
401
+ "location": {
402
+ "filePath": "tracker.main.runtime.ts",
403
+ "line": 117,
404
+ "character": 56
405
+ },
406
+ "name": "CLIMain"
407
+ },
408
+ {
409
+ "__schema": "TypeRefSchema",
410
+ "location": {
411
+ "filePath": "tracker.main.runtime.ts",
412
+ "line": 117,
413
+ "character": 65
414
+ },
415
+ "name": "Workspace"
416
+ },
417
+ {
418
+ "__schema": "TypeRefSchema",
419
+ "location": {
420
+ "filePath": "tracker.main.runtime.ts",
421
+ "line": 117,
422
+ "character": 76
423
+ },
424
+ "name": "LoggerMain"
425
+ }
426
+ ]
427
+ },
428
+ "isOptional": false,
429
+ "isSpread": false
430
+ }
431
+ ],
432
+ "returnType": {
433
+ "__schema": "InferenceTypeSchema",
434
+ "location": {
435
+ "filePath": "tracker.main.runtime.ts",
436
+ "line": 117,
437
+ "character": 3
438
+ },
439
+ "type": "Promise<TrackerMain>"
440
+ },
441
+ "modifiers": [
442
+ "static",
443
+ "async"
444
+ ]
445
+ }
446
+ ],
447
+ "extendsNodes": [],
448
+ "implementNodes": []
449
+ },
450
+ {
451
+ "__schema": "UnImplementedSchema",
452
+ "location": {
453
+ "filePath": "index.ts",
454
+ "line": 4,
455
+ "character": 16
456
+ },
457
+ "name": "TrackerAspect",
458
+ "type": "Identifier"
459
+ },
460
+ {
461
+ "__schema": "VariableLikeSchema",
462
+ "location": {
463
+ "filePath": "tracker.aspect.ts",
464
+ "line": 3,
465
+ "character": 14
466
+ },
467
+ "signature": "const TrackerAspect: Aspect",
468
+ "name": "TrackerAspect",
469
+ "type": {
470
+ "__schema": "TypeRefSchema",
471
+ "location": {
472
+ "filePath": "tracker.aspect.ts",
473
+ "line": 3,
474
+ "character": 14
475
+ },
476
+ "name": "Aspect",
477
+ "componentId": {
478
+ "scope": "teambit.harmony",
479
+ "name": "harmony",
480
+ "version": "0.4.6"
481
+ }
482
+ },
483
+ "isOptional": false,
484
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/tracker',\n})"
485
+ }
486
+ ],
487
+ "internals": []
488
+ },
489
+ "internals": [
490
+ {
491
+ "__schema": "ModuleSchema",
492
+ "location": {
493
+ "filePath": "tracker.main.runtime.ts",
494
+ "line": 1,
495
+ "character": 1
496
+ },
497
+ "exports": [
498
+ {
499
+ "__schema": "TypeSchema",
500
+ "location": {
501
+ "filePath": "tracker.main.runtime.ts",
502
+ "line": 12,
503
+ "character": 1
504
+ },
505
+ "signature": "type TrackResult = {\n files: string[];\n warnings: Warnings;\n componentId: ComponentID;\n}",
506
+ "name": "TrackResult",
507
+ "type": {
508
+ "__schema": "TypeLiteralSchema",
509
+ "location": {
510
+ "filePath": "tracker.main.runtime.ts",
511
+ "line": 12,
512
+ "character": 27
513
+ },
514
+ "members": [
515
+ {
516
+ "__schema": "VariableLikeSchema",
517
+ "location": {
518
+ "filePath": "tracker.main.runtime.ts",
519
+ "line": 12,
520
+ "character": 29
521
+ },
522
+ "signature": "(property) files: string[]",
523
+ "name": "files",
524
+ "type": {
525
+ "__schema": "TypeArraySchema",
526
+ "location": {
527
+ "filePath": "tracker.main.runtime.ts",
528
+ "line": 12,
529
+ "character": 36
530
+ },
531
+ "type": {
532
+ "__schema": "KeywordTypeSchema",
533
+ "location": {
534
+ "filePath": "tracker.main.runtime.ts",
535
+ "line": 12,
536
+ "character": 36
537
+ },
538
+ "name": "string"
539
+ }
540
+ },
541
+ "isOptional": false
542
+ },
543
+ {
544
+ "__schema": "VariableLikeSchema",
545
+ "location": {
546
+ "filePath": "tracker.main.runtime.ts",
547
+ "line": 12,
548
+ "character": 46
549
+ },
550
+ "signature": "(property) warnings: Warnings",
551
+ "name": "warnings",
552
+ "type": {
553
+ "__schema": "TypeRefSchema",
554
+ "location": {
555
+ "filePath": "tracker.main.runtime.ts",
556
+ "line": 12,
557
+ "character": 46
558
+ },
559
+ "name": "Warnings",
560
+ "internalFilePath": "add-components.ts"
561
+ },
562
+ "isOptional": false
563
+ },
564
+ {
565
+ "__schema": "VariableLikeSchema",
566
+ "location": {
567
+ "filePath": "tracker.main.runtime.ts",
568
+ "line": 12,
569
+ "character": 66
570
+ },
571
+ "signature": "(property) componentId: ComponentID",
572
+ "name": "componentId",
573
+ "type": {
574
+ "__schema": "TypeRefSchema",
575
+ "location": {
576
+ "filePath": "tracker.main.runtime.ts",
577
+ "line": 12,
578
+ "character": 66
579
+ },
580
+ "name": "ComponentID",
581
+ "componentId": {
582
+ "scope": "teambit.component",
583
+ "name": "component-id",
584
+ "version": "1.2.0"
585
+ }
586
+ },
587
+ "isOptional": false
588
+ }
589
+ ]
590
+ }
591
+ },
592
+ {
593
+ "__schema": "TypeSchema",
594
+ "location": {
595
+ "filePath": "tracker.main.runtime.ts",
596
+ "line": 14,
597
+ "character": 1
598
+ },
599
+ "signature": "type TrackData = {\n rootDir: PathOsBasedRelative | PathOsBasedAbsolute;\n componentName?: string | undefined;\n mainFile?: string | undefined;\n defaultScope?: string | undefined;\n config?: {\n [aspectName: string]: any;\n } | undefined;\n}",
600
+ "name": "TrackData",
601
+ "type": {
602
+ "__schema": "TypeLiteralSchema",
603
+ "location": {
604
+ "filePath": "tracker.main.runtime.ts",
605
+ "line": 14,
606
+ "character": 25
607
+ },
608
+ "members": [
609
+ {
610
+ "__schema": "VariableLikeSchema",
611
+ "location": {
612
+ "filePath": "tracker.main.runtime.ts",
613
+ "line": 15,
614
+ "character": 3
615
+ },
616
+ "signature": "(property) rootDir: string",
617
+ "name": "rootDir",
618
+ "type": {
619
+ "__schema": "TypeUnionSchema",
620
+ "location": {
621
+ "filePath": "tracker.main.runtime.ts",
622
+ "line": 15,
623
+ "character": 12
624
+ },
625
+ "types": [
626
+ {
627
+ "__schema": "TypeRefSchema",
628
+ "location": {
629
+ "filePath": "tracker.main.runtime.ts",
630
+ "line": 15,
631
+ "character": 12
632
+ },
633
+ "name": "PathOsBasedRelative"
634
+ },
635
+ {
636
+ "__schema": "TypeRefSchema",
637
+ "location": {
638
+ "filePath": "tracker.main.runtime.ts",
639
+ "line": 15,
640
+ "character": 34
641
+ },
642
+ "name": "PathOsBasedAbsolute"
643
+ }
644
+ ]
645
+ },
646
+ "isOptional": false
647
+ },
648
+ {
649
+ "__schema": "VariableLikeSchema",
650
+ "location": {
651
+ "filePath": "tracker.main.runtime.ts",
652
+ "line": 16,
653
+ "character": 3
654
+ },
655
+ "signature": "(property) componentName?: string | undefined",
656
+ "name": "componentName",
657
+ "type": {
658
+ "__schema": "KeywordTypeSchema",
659
+ "location": {
660
+ "filePath": "tracker.main.runtime.ts",
661
+ "line": 16,
662
+ "character": 19
663
+ },
664
+ "name": "string"
665
+ },
666
+ "isOptional": true
667
+ },
668
+ {
669
+ "__schema": "VariableLikeSchema",
670
+ "location": {
671
+ "filePath": "tracker.main.runtime.ts",
672
+ "line": 17,
673
+ "character": 3
674
+ },
675
+ "signature": "(property) mainFile?: string | undefined",
676
+ "name": "mainFile",
677
+ "type": {
678
+ "__schema": "KeywordTypeSchema",
679
+ "location": {
680
+ "filePath": "tracker.main.runtime.ts",
681
+ "line": 17,
682
+ "character": 14
683
+ },
684
+ "name": "string"
685
+ },
686
+ "isOptional": true
687
+ },
688
+ {
689
+ "__schema": "VariableLikeSchema",
690
+ "location": {
691
+ "filePath": "tracker.main.runtime.ts",
692
+ "line": 18,
693
+ "character": 3
694
+ },
695
+ "signature": "(property) defaultScope?: string | undefined",
696
+ "name": "defaultScope",
697
+ "type": {
698
+ "__schema": "KeywordTypeSchema",
699
+ "location": {
700
+ "filePath": "tracker.main.runtime.ts",
701
+ "line": 18,
702
+ "character": 18
703
+ },
704
+ "name": "string"
705
+ },
706
+ "isOptional": true
707
+ },
708
+ {
709
+ "__schema": "VariableLikeSchema",
710
+ "location": {
711
+ "filePath": "tracker.main.runtime.ts",
712
+ "line": 19,
713
+ "character": 3
714
+ },
715
+ "signature": "(property) config?: {\n [aspectName: string]: any;\n} | undefined",
716
+ "name": "config",
717
+ "type": {
718
+ "__schema": "TypeLiteralSchema",
719
+ "location": {
720
+ "filePath": "tracker.main.runtime.ts",
721
+ "line": 19,
722
+ "character": 12
723
+ },
724
+ "members": [
725
+ {
726
+ "__schema": "IndexSignatureSchema",
727
+ "location": {
728
+ "filePath": "tracker.main.runtime.ts",
729
+ "line": 19,
730
+ "character": 14
731
+ },
732
+ "keyType": {
733
+ "__schema": "ParameterSchema",
734
+ "location": {
735
+ "filePath": "tracker.main.runtime.ts",
736
+ "line": 19,
737
+ "character": 15
738
+ },
739
+ "name": "aspectName",
740
+ "type": {
741
+ "__schema": "KeywordTypeSchema",
742
+ "location": {
743
+ "filePath": "tracker.main.runtime.ts",
744
+ "line": 19,
745
+ "character": 27
746
+ },
747
+ "name": "string"
748
+ },
749
+ "isOptional": false,
750
+ "isSpread": false
751
+ },
752
+ "valueType": {
753
+ "__schema": "KeywordTypeSchema",
754
+ "location": {
755
+ "filePath": "tracker.main.runtime.ts",
756
+ "line": 19,
757
+ "character": 36
758
+ },
759
+ "name": "any"
760
+ }
761
+ }
762
+ ]
763
+ },
764
+ "isOptional": true
765
+ }
766
+ ]
767
+ }
768
+ },
769
+ {
770
+ "__schema": "ClassSchema",
771
+ "location": {
772
+ "filePath": "tracker.main.runtime.ts",
773
+ "line": 22,
774
+ "character": 1
775
+ },
776
+ "signature": "class TrackerMain",
777
+ "name": "TrackerMain",
778
+ "members": [
779
+ {
780
+ "__schema": "ConstructorSchema",
781
+ "location": {
782
+ "filePath": "tracker.main.runtime.ts",
783
+ "line": 23,
784
+ "character": 3
785
+ },
786
+ "signature": "constructor TrackerMain(workspace: Workspace, logger: Logger): TrackerMain",
787
+ "name": "constructor",
788
+ "params": [
789
+ {
790
+ "__schema": "ParameterSchema",
791
+ "location": {
792
+ "filePath": "tracker.main.runtime.ts",
793
+ "line": 23,
794
+ "character": 15
795
+ },
796
+ "name": "workspace",
797
+ "type": {
798
+ "__schema": "TypeRefSchema",
799
+ "location": {
800
+ "filePath": "tracker.main.runtime.ts",
801
+ "line": 23,
802
+ "character": 34
803
+ },
804
+ "name": "Workspace"
805
+ },
806
+ "isOptional": false,
807
+ "isSpread": false
808
+ },
809
+ {
810
+ "__schema": "ParameterSchema",
811
+ "location": {
812
+ "filePath": "tracker.main.runtime.ts",
813
+ "line": 23,
814
+ "character": 45
815
+ },
816
+ "name": "logger",
817
+ "type": {
818
+ "__schema": "TypeRefSchema",
819
+ "location": {
820
+ "filePath": "tracker.main.runtime.ts",
821
+ "line": 23,
822
+ "character": 61
823
+ },
824
+ "name": "Logger"
825
+ },
826
+ "isOptional": false,
827
+ "isSpread": false
828
+ }
829
+ ],
830
+ "returnType": {
831
+ "__schema": "ThisTypeSchema",
832
+ "location": {
833
+ "filePath": "tracker.main.runtime.ts",
834
+ "line": 22,
835
+ "character": 1
836
+ },
837
+ "name": "TrackerMain"
838
+ },
839
+ "modifiers": []
840
+ },
841
+ {
842
+ "__schema": "FunctionLikeSchema",
843
+ "location": {
844
+ "filePath": "tracker.main.runtime.ts",
845
+ "line": 30,
846
+ "character": 3
847
+ },
848
+ "doc": {
849
+ "__schema": "DocSchema",
850
+ "location": {
851
+ "filePath": "tracker.main.runtime.ts",
852
+ "line": 25,
853
+ "character": 3
854
+ },
855
+ "raw": "/**\n * add a new component to the .bitmap file.\n * this method only adds the records in memory but doesn't persist to the filesystem.\n * to write the .bitmap file once completed, run \"await this.bitMap.write();\"\n */",
856
+ "comment": "add a new component to the .bitmap file.\nthis method only adds the records in memory but doesn't persist to the filesystem.\nto write the .bitmap file once completed, run \"await this.bitMap.write();\""
857
+ },
858
+ "signature": "(method) TrackerMain.track(trackData: TrackData): Promise<TrackResult>",
859
+ "name": "track",
860
+ "params": [
861
+ {
862
+ "__schema": "ParameterSchema",
863
+ "location": {
864
+ "filePath": "tracker.main.runtime.ts",
865
+ "line": 30,
866
+ "character": 15
867
+ },
868
+ "name": "trackData",
869
+ "type": {
870
+ "__schema": "TypeRefSchema",
871
+ "location": {
872
+ "filePath": "tracker.main.runtime.ts",
873
+ "line": 30,
874
+ "character": 26
875
+ },
876
+ "name": "TrackData"
877
+ },
878
+ "isOptional": false,
879
+ "isSpread": false
880
+ }
881
+ ],
882
+ "returnType": {
883
+ "__schema": "TypeRefSchema",
884
+ "location": {
885
+ "filePath": "tracker.main.runtime.ts",
886
+ "line": 30,
887
+ "character": 38
888
+ },
889
+ "name": "Promise",
890
+ "typeArgs": [
891
+ {
892
+ "__schema": "TypeRefSchema",
893
+ "location": {
894
+ "filePath": "tracker.main.runtime.ts",
895
+ "line": 30,
896
+ "character": 46
897
+ },
898
+ "name": "TrackResult"
899
+ }
900
+ ]
901
+ },
902
+ "modifiers": [
903
+ "async"
904
+ ]
905
+ },
906
+ {
907
+ "__schema": "FunctionLikeSchema",
908
+ "location": {
909
+ "filePath": "tracker.main.runtime.ts",
910
+ "line": 52,
911
+ "character": 3
912
+ },
913
+ "signature": "(method) TrackerMain.addForCLI(addProps: AddProps): Promise<AddActionResults>",
914
+ "name": "addForCLI",
915
+ "params": [
916
+ {
917
+ "__schema": "ParameterSchema",
918
+ "location": {
919
+ "filePath": "tracker.main.runtime.ts",
920
+ "line": 52,
921
+ "character": 19
922
+ },
923
+ "name": "addProps",
924
+ "type": {
925
+ "__schema": "TypeRefSchema",
926
+ "location": {
927
+ "filePath": "tracker.main.runtime.ts",
928
+ "line": 52,
929
+ "character": 29
930
+ },
931
+ "name": "AddProps"
932
+ },
933
+ "isOptional": false,
934
+ "isSpread": false
935
+ }
936
+ ],
937
+ "returnType": {
938
+ "__schema": "TypeRefSchema",
939
+ "location": {
940
+ "filePath": "tracker.main.runtime.ts",
941
+ "line": 52,
942
+ "character": 40
943
+ },
944
+ "name": "Promise",
945
+ "typeArgs": [
946
+ {
947
+ "__schema": "TypeRefSchema",
948
+ "location": {
949
+ "filePath": "tracker.main.runtime.ts",
950
+ "line": 52,
951
+ "character": 48
952
+ },
953
+ "name": "AddActionResults"
954
+ }
955
+ ]
956
+ },
957
+ "modifiers": [
958
+ "async"
959
+ ]
960
+ },
961
+ {
962
+ "__schema": "FunctionLikeSchema",
963
+ "location": {
964
+ "filePath": "tracker.main.runtime.ts",
965
+ "line": 68,
966
+ "character": 3
967
+ },
968
+ "signature": "(method) TrackerMain.addEnvToConfig(env: string, config: {\n [aspectName: string]: any;\n}): Promise<void>",
969
+ "name": "addEnvToConfig",
970
+ "params": [
971
+ {
972
+ "__schema": "ParameterSchema",
973
+ "location": {
974
+ "filePath": "tracker.main.runtime.ts",
975
+ "line": 68,
976
+ "character": 24
977
+ },
978
+ "name": "env",
979
+ "type": {
980
+ "__schema": "KeywordTypeSchema",
981
+ "location": {
982
+ "filePath": "tracker.main.runtime.ts",
983
+ "line": 68,
984
+ "character": 29
985
+ },
986
+ "name": "string"
987
+ },
988
+ "isOptional": false,
989
+ "isSpread": false
990
+ },
991
+ {
992
+ "__schema": "ParameterSchema",
993
+ "location": {
994
+ "filePath": "tracker.main.runtime.ts",
995
+ "line": 68,
996
+ "character": 37
997
+ },
998
+ "name": "config",
999
+ "type": {
1000
+ "__schema": "TypeLiteralSchema",
1001
+ "location": {
1002
+ "filePath": "tracker.main.runtime.ts",
1003
+ "line": 68,
1004
+ "character": 45
1005
+ },
1006
+ "members": [
1007
+ {
1008
+ "__schema": "IndexSignatureSchema",
1009
+ "location": {
1010
+ "filePath": "tracker.main.runtime.ts",
1011
+ "line": 68,
1012
+ "character": 47
1013
+ },
1014
+ "keyType": {
1015
+ "__schema": "ParameterSchema",
1016
+ "location": {
1017
+ "filePath": "tracker.main.runtime.ts",
1018
+ "line": 68,
1019
+ "character": 48
1020
+ },
1021
+ "name": "aspectName",
1022
+ "type": {
1023
+ "__schema": "KeywordTypeSchema",
1024
+ "location": {
1025
+ "filePath": "tracker.main.runtime.ts",
1026
+ "line": 68,
1027
+ "character": 60
1028
+ },
1029
+ "name": "string"
1030
+ },
1031
+ "isOptional": false,
1032
+ "isSpread": false
1033
+ },
1034
+ "valueType": {
1035
+ "__schema": "KeywordTypeSchema",
1036
+ "location": {
1037
+ "filePath": "tracker.main.runtime.ts",
1038
+ "line": 68,
1039
+ "character": 69
1040
+ },
1041
+ "name": "any"
1042
+ }
1043
+ }
1044
+ ]
1045
+ },
1046
+ "isOptional": false,
1047
+ "isSpread": false
1048
+ }
1049
+ ],
1050
+ "returnType": {
1051
+ "__schema": "InferenceTypeSchema",
1052
+ "location": {
1053
+ "filePath": "tracker.main.runtime.ts",
1054
+ "line": 68,
1055
+ "character": 3
1056
+ },
1057
+ "type": "Promise<void>"
1058
+ },
1059
+ "modifiers": [
1060
+ "async"
1061
+ ]
1062
+ },
1063
+ {
1064
+ "__schema": "VariableLikeSchema",
1065
+ "location": {
1066
+ "filePath": "tracker.main.runtime.ts",
1067
+ "line": 114,
1068
+ "character": 3
1069
+ },
1070
+ "signature": "(property) TrackerMain.slots: never[]",
1071
+ "name": "slots",
1072
+ "type": {
1073
+ "__schema": "InferenceTypeSchema",
1074
+ "location": {
1075
+ "filePath": "tracker.main.runtime.ts",
1076
+ "line": 114,
1077
+ "character": 3
1078
+ },
1079
+ "type": "never[]"
1080
+ },
1081
+ "isOptional": true,
1082
+ "defaultValue": "[]"
1083
+ },
1084
+ {
1085
+ "__schema": "VariableLikeSchema",
1086
+ "location": {
1087
+ "filePath": "tracker.main.runtime.ts",
1088
+ "line": 115,
1089
+ "character": 3
1090
+ },
1091
+ "signature": "(property) TrackerMain.dependencies: Aspect[]",
1092
+ "name": "dependencies",
1093
+ "type": {
1094
+ "__schema": "InferenceTypeSchema",
1095
+ "location": {
1096
+ "filePath": "tracker.main.runtime.ts",
1097
+ "line": 115,
1098
+ "character": 3
1099
+ },
1100
+ "type": "Aspect[]"
1101
+ },
1102
+ "isOptional": true,
1103
+ "defaultValue": "[CLIAspect, WorkspaceAspect, LoggerAspect]"
1104
+ },
1105
+ {
1106
+ "__schema": "VariableLikeSchema",
1107
+ "location": {
1108
+ "filePath": "tracker.main.runtime.ts",
1109
+ "line": 116,
1110
+ "character": 3
1111
+ },
1112
+ "signature": "(property) TrackerMain.runtime: RuntimeDefinition",
1113
+ "name": "runtime",
1114
+ "type": {
1115
+ "__schema": "InferenceTypeSchema",
1116
+ "location": {
1117
+ "filePath": "tracker.main.runtime.ts",
1118
+ "line": 116,
1119
+ "character": 3
1120
+ },
1121
+ "type": "RuntimeDefinition"
1122
+ },
1123
+ "isOptional": true,
1124
+ "defaultValue": "MainRuntime"
1125
+ },
1126
+ {
1127
+ "__schema": "FunctionLikeSchema",
1128
+ "location": {
1129
+ "filePath": "tracker.main.runtime.ts",
1130
+ "line": 117,
1131
+ "character": 3
1132
+ },
1133
+ "signature": "(method) TrackerMain.provider([cli, workspace, loggerMain]: [CLIMain, Workspace, LoggerMain]): Promise<TrackerMain>",
1134
+ "name": "provider",
1135
+ "params": [
1136
+ {
1137
+ "__schema": "ParameterSchema",
1138
+ "location": {
1139
+ "filePath": "tracker.main.runtime.ts",
1140
+ "line": 117,
1141
+ "character": 25
1142
+ },
1143
+ "name": "[ cli, workspace, loggerMain ]",
1144
+ "type": {
1145
+ "__schema": "TupleTypeSchema",
1146
+ "location": {
1147
+ "filePath": "tracker.main.runtime.ts",
1148
+ "line": 117,
1149
+ "character": 55
1150
+ },
1151
+ "elements": [
1152
+ {
1153
+ "__schema": "TypeRefSchema",
1154
+ "location": {
1155
+ "filePath": "tracker.main.runtime.ts",
1156
+ "line": 117,
1157
+ "character": 56
1158
+ },
1159
+ "name": "CLIMain"
1160
+ },
1161
+ {
1162
+ "__schema": "TypeRefSchema",
1163
+ "location": {
1164
+ "filePath": "tracker.main.runtime.ts",
1165
+ "line": 117,
1166
+ "character": 65
1167
+ },
1168
+ "name": "Workspace"
1169
+ },
1170
+ {
1171
+ "__schema": "TypeRefSchema",
1172
+ "location": {
1173
+ "filePath": "tracker.main.runtime.ts",
1174
+ "line": 117,
1175
+ "character": 76
1176
+ },
1177
+ "name": "LoggerMain"
1178
+ }
1179
+ ]
1180
+ },
1181
+ "isOptional": false,
1182
+ "isSpread": false
1183
+ }
1184
+ ],
1185
+ "returnType": {
1186
+ "__schema": "InferenceTypeSchema",
1187
+ "location": {
1188
+ "filePath": "tracker.main.runtime.ts",
1189
+ "line": 117,
1190
+ "character": 3
1191
+ },
1192
+ "type": "Promise<TrackerMain>"
1193
+ },
1194
+ "modifiers": [
1195
+ "static",
1196
+ "async"
1197
+ ]
1198
+ }
1199
+ ],
1200
+ "extendsNodes": [],
1201
+ "implementNodes": []
1202
+ },
1203
+ {
1204
+ "__schema": "UnImplementedSchema",
1205
+ "location": {
1206
+ "filePath": "tracker.main.runtime.ts",
1207
+ "line": 127,
1208
+ "character": 16
1209
+ },
1210
+ "name": "TrackerMain",
1211
+ "type": "Identifier"
1212
+ }
1213
+ ],
1214
+ "internals": [
1215
+ {
1216
+ "__schema": "UnImplementedSchema",
1217
+ "location": {
1218
+ "filePath": "tracker.main.runtime.ts",
1219
+ "line": 125,
1220
+ "character": 1
1221
+ },
1222
+ "name": "TrackerAspect.addRuntime(TrackerMain);",
1223
+ "type": "ExpressionStatement"
1224
+ }
1225
+ ]
1226
+ },
1227
+ {
1228
+ "__schema": "ModuleSchema",
1229
+ "location": {
1230
+ "filePath": "tracker.aspect.ts",
1231
+ "line": 1,
1232
+ "character": 1
1233
+ },
1234
+ "exports": [
1235
+ {
1236
+ "__schema": "VariableLikeSchema",
1237
+ "location": {
1238
+ "filePath": "tracker.aspect.ts",
1239
+ "line": 3,
1240
+ "character": 14
1241
+ },
1242
+ "signature": "const TrackerAspect: Aspect",
1243
+ "name": "TrackerAspect",
1244
+ "type": {
1245
+ "__schema": "TypeRefSchema",
1246
+ "location": {
1247
+ "filePath": "tracker.aspect.ts",
1248
+ "line": 3,
1249
+ "character": 14
1250
+ },
1251
+ "name": "Aspect",
1252
+ "componentId": {
1253
+ "scope": "teambit.harmony",
1254
+ "name": "harmony",
1255
+ "version": "0.4.6"
1256
+ }
1257
+ },
1258
+ "isOptional": false,
1259
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/tracker',\n})"
1260
+ }
1261
+ ],
1262
+ "internals": []
1263
+ }
1264
+ ],
1265
+ "componentId": {
1266
+ "scope": "teambit.component",
1267
+ "name": "tracker",
1268
+ "version": "1.0.160"
1269
+ },
1270
+ "taggedModuleExports": []
1271
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/tracker",
3
- "version": "1.0.158",
3
+ "version": "1.0.160",
4
4
  "homepage": "https://bit.cloud/teambit/component/tracker",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "tracker",
9
- "version": "1.0.158"
9
+ "version": "1.0.160"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -19,18 +19,18 @@
19
19
  "@teambit/component-id": "1.2.0",
20
20
  "@teambit/legacy-bit-id": "1.1.1",
21
21
  "@teambit/harmony": "0.4.6",
22
- "@teambit/cli": "0.0.850",
22
+ "@teambit/cli": "0.0.851",
23
23
  "@teambit/workspace.modules.node-modules-linker": "0.0.163",
24
- "@teambit/workspace": "1.0.158",
25
- "@teambit/envs": "1.0.158",
26
- "@teambit/logger": "0.0.943"
24
+ "@teambit/workspace": "1.0.160",
25
+ "@teambit/envs": "1.0.160",
26
+ "@teambit/logger": "0.0.944"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/fs-extra": "9.0.7",
30
30
  "@types/lodash": "4.14.165",
31
31
  "@types/mocha": "9.1.0",
32
32
  "chai": "4.3.0",
33
- "@teambit/harmony.envs.core-aspect-env": "0.0.24"
33
+ "@teambit/harmony.envs.core-aspect-env": "0.0.25"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@teambit/legacy": "1.0.624"