@teambit/tracker 1.0.257 → 1.0.258

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