@teambit/component-log 1.0.504 → 1.0.506
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.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_component_component_log-preview.js +1 -1
- package/artifacts/schema.json +101 -101
- package/dist/component-log.main.runtime.js +6 -1
- package/dist/component-log.main.runtime.js.map +1 -1
- package/dist/{preview-1736179639539.js → preview-1736306355320.js} +2 -2
- package/package.json +7 -7
|
@@ -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/component-log@1.0.
|
|
3
|
+
<testsuite name="teambit.component/component-log@1.0.506" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-log-preview"]=t():e["teambit.component/component-log-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-log-preview"]=t():e["teambit.component/component-log-preview"]=t()}(self,(()=>(()=>{"use strict";var e={35402:(e,t,o)=>{var n={id:"teambit.component/component-log@1.0.506",homepage:"https://bit.cloud/teambit/component/component-log",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const c=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/component-log.svg"}));c.__bit_component=n,t.Logo=c},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.r(n),o.d(n,{compositions:()=>m,compositions_metadata:()=>v,overview:()=>f});var r={};o.r(r),o.d(r,{default:()=>d});var i=o(35402);o(41594);const c=MdxJsReact,p=TeambitMdxUiMdxScopeContext;var a=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},s.apply(null,arguments)}var l={},u="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,a);return(0,c.mdx)(u,s({},l,o,{components:t,mdxType:"MDXLayout"}),(0,c.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const m=[i],f=[r],v={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"__schema": "FunctionLikeSchema",
|
|
193
193
|
"location": {
|
|
194
194
|
"filePath": "component-log.main.runtime.ts",
|
|
195
|
-
"line":
|
|
195
|
+
"line": 91,
|
|
196
196
|
"character": 3
|
|
197
197
|
},
|
|
198
198
|
"signature": "(method) ComponentLogMain.getLogsWithParents(id: string, options: LogOpts): Promise<string[]>",
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"__schema": "ParameterSchema",
|
|
203
203
|
"location": {
|
|
204
204
|
"filePath": "component-log.main.runtime.ts",
|
|
205
|
-
"line":
|
|
205
|
+
"line": 91,
|
|
206
206
|
"character": 28
|
|
207
207
|
},
|
|
208
208
|
"name": "id",
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
"__schema": "KeywordTypeSchema",
|
|
211
211
|
"location": {
|
|
212
212
|
"filePath": "component-log.main.runtime.ts",
|
|
213
|
-
"line":
|
|
213
|
+
"line": 91,
|
|
214
214
|
"character": 32
|
|
215
215
|
},
|
|
216
216
|
"name": "string"
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
"__schema": "ParameterSchema",
|
|
223
223
|
"location": {
|
|
224
224
|
"filePath": "component-log.main.runtime.ts",
|
|
225
|
-
"line":
|
|
225
|
+
"line": 91,
|
|
226
226
|
"character": 40
|
|
227
227
|
},
|
|
228
228
|
"name": "options",
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
"__schema": "TypeRefSchema",
|
|
231
231
|
"location": {
|
|
232
232
|
"filePath": "component-log.main.runtime.ts",
|
|
233
|
-
"line":
|
|
233
|
+
"line": 91,
|
|
234
234
|
"character": 49
|
|
235
235
|
},
|
|
236
236
|
"name": "LogOpts"
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
"__schema": "InferenceTypeSchema",
|
|
244
244
|
"location": {
|
|
245
245
|
"filePath": "component-log.main.runtime.ts",
|
|
246
|
-
"line":
|
|
246
|
+
"line": 91,
|
|
247
247
|
"character": 3
|
|
248
248
|
},
|
|
249
249
|
"type": "Promise<string[]>"
|
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
"__schema": "FunctionLikeSchema",
|
|
257
257
|
"location": {
|
|
258
258
|
"filePath": "component-log.main.runtime.ts",
|
|
259
|
-
"line":
|
|
259
|
+
"line": 98,
|
|
260
260
|
"character": 3
|
|
261
261
|
},
|
|
262
262
|
"signature": "(method) ComponentLogMain.getChangedFilesFromParent(id: string): Promise<FileHashDiffFromParent[]>",
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
"__schema": "ParameterSchema",
|
|
267
267
|
"location": {
|
|
268
268
|
"filePath": "component-log.main.runtime.ts",
|
|
269
|
-
"line":
|
|
269
|
+
"line": 98,
|
|
270
270
|
"character": 35
|
|
271
271
|
},
|
|
272
272
|
"name": "id",
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
"__schema": "KeywordTypeSchema",
|
|
275
275
|
"location": {
|
|
276
276
|
"filePath": "component-log.main.runtime.ts",
|
|
277
|
-
"line":
|
|
277
|
+
"line": 98,
|
|
278
278
|
"character": 39
|
|
279
279
|
},
|
|
280
280
|
"name": "string"
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
"__schema": "TypeRefSchema",
|
|
288
288
|
"location": {
|
|
289
289
|
"filePath": "component-log.main.runtime.ts",
|
|
290
|
-
"line":
|
|
290
|
+
"line": 98,
|
|
291
291
|
"character": 48
|
|
292
292
|
},
|
|
293
293
|
"name": "Promise",
|
|
@@ -296,14 +296,14 @@
|
|
|
296
296
|
"__schema": "TypeArraySchema",
|
|
297
297
|
"location": {
|
|
298
298
|
"filePath": "component-log.main.runtime.ts",
|
|
299
|
-
"line":
|
|
299
|
+
"line": 98,
|
|
300
300
|
"character": 56
|
|
301
301
|
},
|
|
302
302
|
"type": {
|
|
303
303
|
"__schema": "TypeRefSchema",
|
|
304
304
|
"location": {
|
|
305
305
|
"filePath": "component-log.main.runtime.ts",
|
|
306
|
-
"line":
|
|
306
|
+
"line": 98,
|
|
307
307
|
"character": 56
|
|
308
308
|
},
|
|
309
309
|
"name": "FileHashDiffFromParent"
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
"__schema": "FunctionLikeSchema",
|
|
320
320
|
"location": {
|
|
321
321
|
"filePath": "component-log.main.runtime.ts",
|
|
322
|
-
"line":
|
|
322
|
+
"line": 138,
|
|
323
323
|
"character": 3
|
|
324
324
|
},
|
|
325
325
|
"signature": "(method) ComponentLogMain.getFileHistoryHashes(filePath: PathOsBasedAbsolute): Promise<FileLog[]>",
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
"__schema": "ParameterSchema",
|
|
330
330
|
"location": {
|
|
331
331
|
"filePath": "component-log.main.runtime.ts",
|
|
332
|
-
"line":
|
|
332
|
+
"line": 138,
|
|
333
333
|
"character": 30
|
|
334
334
|
},
|
|
335
335
|
"name": "filePath",
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
"__schema": "TypeRefSchema",
|
|
338
338
|
"location": {
|
|
339
339
|
"filePath": "component-log.main.runtime.ts",
|
|
340
|
-
"line":
|
|
340
|
+
"line": 138,
|
|
341
341
|
"character": 40
|
|
342
342
|
},
|
|
343
343
|
"name": "PathOsBasedAbsolute"
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
"__schema": "TypeRefSchema",
|
|
351
351
|
"location": {
|
|
352
352
|
"filePath": "component-log.main.runtime.ts",
|
|
353
|
-
"line":
|
|
353
|
+
"line": 138,
|
|
354
354
|
"character": 62
|
|
355
355
|
},
|
|
356
356
|
"name": "Promise",
|
|
@@ -359,14 +359,14 @@
|
|
|
359
359
|
"__schema": "TypeArraySchema",
|
|
360
360
|
"location": {
|
|
361
361
|
"filePath": "component-log.main.runtime.ts",
|
|
362
|
-
"line":
|
|
362
|
+
"line": 138,
|
|
363
363
|
"character": 70
|
|
364
364
|
},
|
|
365
365
|
"type": {
|
|
366
366
|
"__schema": "TypeRefSchema",
|
|
367
367
|
"location": {
|
|
368
368
|
"filePath": "component-log.main.runtime.ts",
|
|
369
|
-
"line":
|
|
369
|
+
"line": 138,
|
|
370
370
|
"character": 70
|
|
371
371
|
},
|
|
372
372
|
"name": "FileLog"
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
"__schema": "FunctionLikeSchema",
|
|
383
383
|
"location": {
|
|
384
384
|
"filePath": "component-log.main.runtime.ts",
|
|
385
|
-
"line":
|
|
385
|
+
"line": 216,
|
|
386
386
|
"character": 3
|
|
387
387
|
},
|
|
388
388
|
"signature": "(method) ComponentLogMain.blame(filePath: PathOsBased): Promise<BlameLineInfo[]>",
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
"__schema": "ParameterSchema",
|
|
393
393
|
"location": {
|
|
394
394
|
"filePath": "component-log.main.runtime.ts",
|
|
395
|
-
"line":
|
|
395
|
+
"line": 216,
|
|
396
396
|
"character": 15
|
|
397
397
|
},
|
|
398
398
|
"name": "filePath",
|
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
"__schema": "TypeRefSchema",
|
|
401
401
|
"location": {
|
|
402
402
|
"filePath": "component-log.main.runtime.ts",
|
|
403
|
-
"line":
|
|
403
|
+
"line": 216,
|
|
404
404
|
"character": 25
|
|
405
405
|
},
|
|
406
406
|
"name": "PathOsBased"
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
"__schema": "TypeRefSchema",
|
|
414
414
|
"location": {
|
|
415
415
|
"filePath": "component-log.main.runtime.ts",
|
|
416
|
-
"line":
|
|
416
|
+
"line": 216,
|
|
417
417
|
"character": 39
|
|
418
418
|
},
|
|
419
419
|
"name": "Promise",
|
|
@@ -422,14 +422,14 @@
|
|
|
422
422
|
"__schema": "TypeArraySchema",
|
|
423
423
|
"location": {
|
|
424
424
|
"filePath": "component-log.main.runtime.ts",
|
|
425
|
-
"line":
|
|
425
|
+
"line": 216,
|
|
426
426
|
"character": 47
|
|
427
427
|
},
|
|
428
428
|
"type": {
|
|
429
429
|
"__schema": "TypeRefSchema",
|
|
430
430
|
"location": {
|
|
431
431
|
"filePath": "component-log.main.runtime.ts",
|
|
432
|
-
"line":
|
|
432
|
+
"line": 216,
|
|
433
433
|
"character": 47
|
|
434
434
|
},
|
|
435
435
|
"name": "BlameLineInfo"
|
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
"__schema": "FunctionLikeSchema",
|
|
446
446
|
"location": {
|
|
447
447
|
"filePath": "component-log.main.runtime.ts",
|
|
448
|
-
"line":
|
|
448
|
+
"line": 311,
|
|
449
449
|
"character": 3
|
|
450
450
|
},
|
|
451
451
|
"signature": "(method) ComponentLogMain.getFileLog(filePath: string): Promise<FileLog[]>",
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
"__schema": "ParameterSchema",
|
|
456
456
|
"location": {
|
|
457
457
|
"filePath": "component-log.main.runtime.ts",
|
|
458
|
-
"line":
|
|
458
|
+
"line": 311,
|
|
459
459
|
"character": 20
|
|
460
460
|
},
|
|
461
461
|
"name": "filePath",
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
"__schema": "KeywordTypeSchema",
|
|
464
464
|
"location": {
|
|
465
465
|
"filePath": "component-log.main.runtime.ts",
|
|
466
|
-
"line":
|
|
466
|
+
"line": 311,
|
|
467
467
|
"character": 30
|
|
468
468
|
},
|
|
469
469
|
"name": "string"
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
"__schema": "InferenceTypeSchema",
|
|
477
477
|
"location": {
|
|
478
478
|
"filePath": "component-log.main.runtime.ts",
|
|
479
|
-
"line":
|
|
479
|
+
"line": 311,
|
|
480
480
|
"character": 3
|
|
481
481
|
},
|
|
482
482
|
"type": "Promise<FileLog[]>"
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
"__schema": "VariableLikeSchema",
|
|
490
490
|
"location": {
|
|
491
491
|
"filePath": "component-log.main.runtime.ts",
|
|
492
|
-
"line":
|
|
492
|
+
"line": 368,
|
|
493
493
|
"character": 3
|
|
494
494
|
},
|
|
495
495
|
"signature": "(property) ComponentLogMain.slots: never[]",
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
"__schema": "InferenceTypeSchema",
|
|
499
499
|
"location": {
|
|
500
500
|
"filePath": "component-log.main.runtime.ts",
|
|
501
|
-
"line":
|
|
501
|
+
"line": 368,
|
|
502
502
|
"character": 3
|
|
503
503
|
},
|
|
504
504
|
"type": "never[]"
|
|
@@ -510,7 +510,7 @@
|
|
|
510
510
|
"__schema": "VariableLikeSchema",
|
|
511
511
|
"location": {
|
|
512
512
|
"filePath": "component-log.main.runtime.ts",
|
|
513
|
-
"line":
|
|
513
|
+
"line": 369,
|
|
514
514
|
"character": 3
|
|
515
515
|
},
|
|
516
516
|
"signature": "(property) ComponentLogMain.dependencies: Aspect[]",
|
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
"__schema": "InferenceTypeSchema",
|
|
520
520
|
"location": {
|
|
521
521
|
"filePath": "component-log.main.runtime.ts",
|
|
522
|
-
"line":
|
|
522
|
+
"line": 369,
|
|
523
523
|
"character": 3
|
|
524
524
|
},
|
|
525
525
|
"type": "Aspect[]"
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
"__schema": "VariableLikeSchema",
|
|
532
532
|
"location": {
|
|
533
533
|
"filePath": "component-log.main.runtime.ts",
|
|
534
|
-
"line":
|
|
534
|
+
"line": 370,
|
|
535
535
|
"character": 3
|
|
536
536
|
},
|
|
537
537
|
"signature": "(property) ComponentLogMain.runtime: RuntimeDefinition",
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
"__schema": "InferenceTypeSchema",
|
|
541
541
|
"location": {
|
|
542
542
|
"filePath": "component-log.main.runtime.ts",
|
|
543
|
-
"line":
|
|
543
|
+
"line": 370,
|
|
544
544
|
"character": 3
|
|
545
545
|
},
|
|
546
546
|
"type": "RuntimeDefinition"
|
|
@@ -552,7 +552,7 @@
|
|
|
552
552
|
"__schema": "FunctionLikeSchema",
|
|
553
553
|
"location": {
|
|
554
554
|
"filePath": "component-log.main.runtime.ts",
|
|
555
|
-
"line":
|
|
555
|
+
"line": 371,
|
|
556
556
|
"character": 3
|
|
557
557
|
},
|
|
558
558
|
"signature": "(method) ComponentLogMain.provider([cli, workspace]: [CLIMain, Workspace]): Promise<ComponentLogMain>",
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
"__schema": "ParameterSchema",
|
|
563
563
|
"location": {
|
|
564
564
|
"filePath": "component-log.main.runtime.ts",
|
|
565
|
-
"line":
|
|
565
|
+
"line": 371,
|
|
566
566
|
"character": 25
|
|
567
567
|
},
|
|
568
568
|
"name": "[ cli, workspace ]",
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
"__schema": "TupleTypeSchema",
|
|
571
571
|
"location": {
|
|
572
572
|
"filePath": "component-log.main.runtime.ts",
|
|
573
|
-
"line":
|
|
573
|
+
"line": 371,
|
|
574
574
|
"character": 43
|
|
575
575
|
},
|
|
576
576
|
"elements": [
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
"__schema": "TypeRefSchema",
|
|
579
579
|
"location": {
|
|
580
580
|
"filePath": "component-log.main.runtime.ts",
|
|
581
|
-
"line":
|
|
581
|
+
"line": 371,
|
|
582
582
|
"character": 44
|
|
583
583
|
},
|
|
584
584
|
"name": "CLIMain"
|
|
@@ -587,7 +587,7 @@
|
|
|
587
587
|
"__schema": "TypeRefSchema",
|
|
588
588
|
"location": {
|
|
589
589
|
"filePath": "component-log.main.runtime.ts",
|
|
590
|
-
"line":
|
|
590
|
+
"line": 371,
|
|
591
591
|
"character": 53
|
|
592
592
|
},
|
|
593
593
|
"name": "Workspace"
|
|
@@ -602,7 +602,7 @@
|
|
|
602
602
|
"__schema": "InferenceTypeSchema",
|
|
603
603
|
"location": {
|
|
604
604
|
"filePath": "component-log.main.runtime.ts",
|
|
605
|
-
"line":
|
|
605
|
+
"line": 371,
|
|
606
606
|
"character": 3
|
|
607
607
|
},
|
|
608
608
|
"type": "Promise<ComponentLogMain>"
|
|
@@ -1563,7 +1563,7 @@
|
|
|
1563
1563
|
"__schema": "FunctionLikeSchema",
|
|
1564
1564
|
"location": {
|
|
1565
1565
|
"filePath": "component-log.main.runtime.ts",
|
|
1566
|
-
"line":
|
|
1566
|
+
"line": 91,
|
|
1567
1567
|
"character": 3
|
|
1568
1568
|
},
|
|
1569
1569
|
"signature": "(method) ComponentLogMain.getLogsWithParents(id: string, options: LogOpts): Promise<string[]>",
|
|
@@ -1573,7 +1573,7 @@
|
|
|
1573
1573
|
"__schema": "ParameterSchema",
|
|
1574
1574
|
"location": {
|
|
1575
1575
|
"filePath": "component-log.main.runtime.ts",
|
|
1576
|
-
"line":
|
|
1576
|
+
"line": 91,
|
|
1577
1577
|
"character": 28
|
|
1578
1578
|
},
|
|
1579
1579
|
"name": "id",
|
|
@@ -1581,7 +1581,7 @@
|
|
|
1581
1581
|
"__schema": "KeywordTypeSchema",
|
|
1582
1582
|
"location": {
|
|
1583
1583
|
"filePath": "component-log.main.runtime.ts",
|
|
1584
|
-
"line":
|
|
1584
|
+
"line": 91,
|
|
1585
1585
|
"character": 32
|
|
1586
1586
|
},
|
|
1587
1587
|
"name": "string"
|
|
@@ -1593,7 +1593,7 @@
|
|
|
1593
1593
|
"__schema": "ParameterSchema",
|
|
1594
1594
|
"location": {
|
|
1595
1595
|
"filePath": "component-log.main.runtime.ts",
|
|
1596
|
-
"line":
|
|
1596
|
+
"line": 91,
|
|
1597
1597
|
"character": 40
|
|
1598
1598
|
},
|
|
1599
1599
|
"name": "options",
|
|
@@ -1601,7 +1601,7 @@
|
|
|
1601
1601
|
"__schema": "TypeRefSchema",
|
|
1602
1602
|
"location": {
|
|
1603
1603
|
"filePath": "component-log.main.runtime.ts",
|
|
1604
|
-
"line":
|
|
1604
|
+
"line": 91,
|
|
1605
1605
|
"character": 49
|
|
1606
1606
|
},
|
|
1607
1607
|
"name": "LogOpts"
|
|
@@ -1614,7 +1614,7 @@
|
|
|
1614
1614
|
"__schema": "InferenceTypeSchema",
|
|
1615
1615
|
"location": {
|
|
1616
1616
|
"filePath": "component-log.main.runtime.ts",
|
|
1617
|
-
"line":
|
|
1617
|
+
"line": 91,
|
|
1618
1618
|
"character": 3
|
|
1619
1619
|
},
|
|
1620
1620
|
"type": "Promise<string[]>"
|
|
@@ -1627,7 +1627,7 @@
|
|
|
1627
1627
|
"__schema": "FunctionLikeSchema",
|
|
1628
1628
|
"location": {
|
|
1629
1629
|
"filePath": "component-log.main.runtime.ts",
|
|
1630
|
-
"line":
|
|
1630
|
+
"line": 98,
|
|
1631
1631
|
"character": 3
|
|
1632
1632
|
},
|
|
1633
1633
|
"signature": "(method) ComponentLogMain.getChangedFilesFromParent(id: string): Promise<FileHashDiffFromParent[]>",
|
|
@@ -1637,7 +1637,7 @@
|
|
|
1637
1637
|
"__schema": "ParameterSchema",
|
|
1638
1638
|
"location": {
|
|
1639
1639
|
"filePath": "component-log.main.runtime.ts",
|
|
1640
|
-
"line":
|
|
1640
|
+
"line": 98,
|
|
1641
1641
|
"character": 35
|
|
1642
1642
|
},
|
|
1643
1643
|
"name": "id",
|
|
@@ -1645,7 +1645,7 @@
|
|
|
1645
1645
|
"__schema": "KeywordTypeSchema",
|
|
1646
1646
|
"location": {
|
|
1647
1647
|
"filePath": "component-log.main.runtime.ts",
|
|
1648
|
-
"line":
|
|
1648
|
+
"line": 98,
|
|
1649
1649
|
"character": 39
|
|
1650
1650
|
},
|
|
1651
1651
|
"name": "string"
|
|
@@ -1658,7 +1658,7 @@
|
|
|
1658
1658
|
"__schema": "TypeRefSchema",
|
|
1659
1659
|
"location": {
|
|
1660
1660
|
"filePath": "component-log.main.runtime.ts",
|
|
1661
|
-
"line":
|
|
1661
|
+
"line": 98,
|
|
1662
1662
|
"character": 48
|
|
1663
1663
|
},
|
|
1664
1664
|
"name": "Promise",
|
|
@@ -1667,14 +1667,14 @@
|
|
|
1667
1667
|
"__schema": "TypeArraySchema",
|
|
1668
1668
|
"location": {
|
|
1669
1669
|
"filePath": "component-log.main.runtime.ts",
|
|
1670
|
-
"line":
|
|
1670
|
+
"line": 98,
|
|
1671
1671
|
"character": 56
|
|
1672
1672
|
},
|
|
1673
1673
|
"type": {
|
|
1674
1674
|
"__schema": "TypeRefSchema",
|
|
1675
1675
|
"location": {
|
|
1676
1676
|
"filePath": "component-log.main.runtime.ts",
|
|
1677
|
-
"line":
|
|
1677
|
+
"line": 98,
|
|
1678
1678
|
"character": 56
|
|
1679
1679
|
},
|
|
1680
1680
|
"name": "FileHashDiffFromParent"
|
|
@@ -1690,7 +1690,7 @@
|
|
|
1690
1690
|
"__schema": "FunctionLikeSchema",
|
|
1691
1691
|
"location": {
|
|
1692
1692
|
"filePath": "component-log.main.runtime.ts",
|
|
1693
|
-
"line":
|
|
1693
|
+
"line": 138,
|
|
1694
1694
|
"character": 3
|
|
1695
1695
|
},
|
|
1696
1696
|
"signature": "(method) ComponentLogMain.getFileHistoryHashes(filePath: PathOsBasedAbsolute): Promise<FileLog[]>",
|
|
@@ -1700,7 +1700,7 @@
|
|
|
1700
1700
|
"__schema": "ParameterSchema",
|
|
1701
1701
|
"location": {
|
|
1702
1702
|
"filePath": "component-log.main.runtime.ts",
|
|
1703
|
-
"line":
|
|
1703
|
+
"line": 138,
|
|
1704
1704
|
"character": 30
|
|
1705
1705
|
},
|
|
1706
1706
|
"name": "filePath",
|
|
@@ -1708,7 +1708,7 @@
|
|
|
1708
1708
|
"__schema": "TypeRefSchema",
|
|
1709
1709
|
"location": {
|
|
1710
1710
|
"filePath": "component-log.main.runtime.ts",
|
|
1711
|
-
"line":
|
|
1711
|
+
"line": 138,
|
|
1712
1712
|
"character": 40
|
|
1713
1713
|
},
|
|
1714
1714
|
"name": "PathOsBasedAbsolute"
|
|
@@ -1721,7 +1721,7 @@
|
|
|
1721
1721
|
"__schema": "TypeRefSchema",
|
|
1722
1722
|
"location": {
|
|
1723
1723
|
"filePath": "component-log.main.runtime.ts",
|
|
1724
|
-
"line":
|
|
1724
|
+
"line": 138,
|
|
1725
1725
|
"character": 62
|
|
1726
1726
|
},
|
|
1727
1727
|
"name": "Promise",
|
|
@@ -1730,14 +1730,14 @@
|
|
|
1730
1730
|
"__schema": "TypeArraySchema",
|
|
1731
1731
|
"location": {
|
|
1732
1732
|
"filePath": "component-log.main.runtime.ts",
|
|
1733
|
-
"line":
|
|
1733
|
+
"line": 138,
|
|
1734
1734
|
"character": 70
|
|
1735
1735
|
},
|
|
1736
1736
|
"type": {
|
|
1737
1737
|
"__schema": "TypeRefSchema",
|
|
1738
1738
|
"location": {
|
|
1739
1739
|
"filePath": "component-log.main.runtime.ts",
|
|
1740
|
-
"line":
|
|
1740
|
+
"line": 138,
|
|
1741
1741
|
"character": 70
|
|
1742
1742
|
},
|
|
1743
1743
|
"name": "FileLog"
|
|
@@ -1753,7 +1753,7 @@
|
|
|
1753
1753
|
"__schema": "FunctionLikeSchema",
|
|
1754
1754
|
"location": {
|
|
1755
1755
|
"filePath": "component-log.main.runtime.ts",
|
|
1756
|
-
"line":
|
|
1756
|
+
"line": 216,
|
|
1757
1757
|
"character": 3
|
|
1758
1758
|
},
|
|
1759
1759
|
"signature": "(method) ComponentLogMain.blame(filePath: PathOsBased): Promise<BlameLineInfo[]>",
|
|
@@ -1763,7 +1763,7 @@
|
|
|
1763
1763
|
"__schema": "ParameterSchema",
|
|
1764
1764
|
"location": {
|
|
1765
1765
|
"filePath": "component-log.main.runtime.ts",
|
|
1766
|
-
"line":
|
|
1766
|
+
"line": 216,
|
|
1767
1767
|
"character": 15
|
|
1768
1768
|
},
|
|
1769
1769
|
"name": "filePath",
|
|
@@ -1771,7 +1771,7 @@
|
|
|
1771
1771
|
"__schema": "TypeRefSchema",
|
|
1772
1772
|
"location": {
|
|
1773
1773
|
"filePath": "component-log.main.runtime.ts",
|
|
1774
|
-
"line":
|
|
1774
|
+
"line": 216,
|
|
1775
1775
|
"character": 25
|
|
1776
1776
|
},
|
|
1777
1777
|
"name": "PathOsBased"
|
|
@@ -1784,7 +1784,7 @@
|
|
|
1784
1784
|
"__schema": "TypeRefSchema",
|
|
1785
1785
|
"location": {
|
|
1786
1786
|
"filePath": "component-log.main.runtime.ts",
|
|
1787
|
-
"line":
|
|
1787
|
+
"line": 216,
|
|
1788
1788
|
"character": 39
|
|
1789
1789
|
},
|
|
1790
1790
|
"name": "Promise",
|
|
@@ -1793,14 +1793,14 @@
|
|
|
1793
1793
|
"__schema": "TypeArraySchema",
|
|
1794
1794
|
"location": {
|
|
1795
1795
|
"filePath": "component-log.main.runtime.ts",
|
|
1796
|
-
"line":
|
|
1796
|
+
"line": 216,
|
|
1797
1797
|
"character": 47
|
|
1798
1798
|
},
|
|
1799
1799
|
"type": {
|
|
1800
1800
|
"__schema": "TypeRefSchema",
|
|
1801
1801
|
"location": {
|
|
1802
1802
|
"filePath": "component-log.main.runtime.ts",
|
|
1803
|
-
"line":
|
|
1803
|
+
"line": 216,
|
|
1804
1804
|
"character": 47
|
|
1805
1805
|
},
|
|
1806
1806
|
"name": "BlameLineInfo"
|
|
@@ -1816,7 +1816,7 @@
|
|
|
1816
1816
|
"__schema": "FunctionLikeSchema",
|
|
1817
1817
|
"location": {
|
|
1818
1818
|
"filePath": "component-log.main.runtime.ts",
|
|
1819
|
-
"line":
|
|
1819
|
+
"line": 311,
|
|
1820
1820
|
"character": 3
|
|
1821
1821
|
},
|
|
1822
1822
|
"signature": "(method) ComponentLogMain.getFileLog(filePath: string): Promise<FileLog[]>",
|
|
@@ -1826,7 +1826,7 @@
|
|
|
1826
1826
|
"__schema": "ParameterSchema",
|
|
1827
1827
|
"location": {
|
|
1828
1828
|
"filePath": "component-log.main.runtime.ts",
|
|
1829
|
-
"line":
|
|
1829
|
+
"line": 311,
|
|
1830
1830
|
"character": 20
|
|
1831
1831
|
},
|
|
1832
1832
|
"name": "filePath",
|
|
@@ -1834,7 +1834,7 @@
|
|
|
1834
1834
|
"__schema": "KeywordTypeSchema",
|
|
1835
1835
|
"location": {
|
|
1836
1836
|
"filePath": "component-log.main.runtime.ts",
|
|
1837
|
-
"line":
|
|
1837
|
+
"line": 311,
|
|
1838
1838
|
"character": 30
|
|
1839
1839
|
},
|
|
1840
1840
|
"name": "string"
|
|
@@ -1847,7 +1847,7 @@
|
|
|
1847
1847
|
"__schema": "InferenceTypeSchema",
|
|
1848
1848
|
"location": {
|
|
1849
1849
|
"filePath": "component-log.main.runtime.ts",
|
|
1850
|
-
"line":
|
|
1850
|
+
"line": 311,
|
|
1851
1851
|
"character": 3
|
|
1852
1852
|
},
|
|
1853
1853
|
"type": "Promise<FileLog[]>"
|
|
@@ -1860,7 +1860,7 @@
|
|
|
1860
1860
|
"__schema": "VariableLikeSchema",
|
|
1861
1861
|
"location": {
|
|
1862
1862
|
"filePath": "component-log.main.runtime.ts",
|
|
1863
|
-
"line":
|
|
1863
|
+
"line": 368,
|
|
1864
1864
|
"character": 3
|
|
1865
1865
|
},
|
|
1866
1866
|
"signature": "(property) ComponentLogMain.slots: never[]",
|
|
@@ -1869,7 +1869,7 @@
|
|
|
1869
1869
|
"__schema": "InferenceTypeSchema",
|
|
1870
1870
|
"location": {
|
|
1871
1871
|
"filePath": "component-log.main.runtime.ts",
|
|
1872
|
-
"line":
|
|
1872
|
+
"line": 368,
|
|
1873
1873
|
"character": 3
|
|
1874
1874
|
},
|
|
1875
1875
|
"type": "never[]"
|
|
@@ -1881,7 +1881,7 @@
|
|
|
1881
1881
|
"__schema": "VariableLikeSchema",
|
|
1882
1882
|
"location": {
|
|
1883
1883
|
"filePath": "component-log.main.runtime.ts",
|
|
1884
|
-
"line":
|
|
1884
|
+
"line": 369,
|
|
1885
1885
|
"character": 3
|
|
1886
1886
|
},
|
|
1887
1887
|
"signature": "(property) ComponentLogMain.dependencies: Aspect[]",
|
|
@@ -1890,7 +1890,7 @@
|
|
|
1890
1890
|
"__schema": "InferenceTypeSchema",
|
|
1891
1891
|
"location": {
|
|
1892
1892
|
"filePath": "component-log.main.runtime.ts",
|
|
1893
|
-
"line":
|
|
1893
|
+
"line": 369,
|
|
1894
1894
|
"character": 3
|
|
1895
1895
|
},
|
|
1896
1896
|
"type": "Aspect[]"
|
|
@@ -1902,7 +1902,7 @@
|
|
|
1902
1902
|
"__schema": "VariableLikeSchema",
|
|
1903
1903
|
"location": {
|
|
1904
1904
|
"filePath": "component-log.main.runtime.ts",
|
|
1905
|
-
"line":
|
|
1905
|
+
"line": 370,
|
|
1906
1906
|
"character": 3
|
|
1907
1907
|
},
|
|
1908
1908
|
"signature": "(property) ComponentLogMain.runtime: RuntimeDefinition",
|
|
@@ -1911,7 +1911,7 @@
|
|
|
1911
1911
|
"__schema": "InferenceTypeSchema",
|
|
1912
1912
|
"location": {
|
|
1913
1913
|
"filePath": "component-log.main.runtime.ts",
|
|
1914
|
-
"line":
|
|
1914
|
+
"line": 370,
|
|
1915
1915
|
"character": 3
|
|
1916
1916
|
},
|
|
1917
1917
|
"type": "RuntimeDefinition"
|
|
@@ -1923,7 +1923,7 @@
|
|
|
1923
1923
|
"__schema": "FunctionLikeSchema",
|
|
1924
1924
|
"location": {
|
|
1925
1925
|
"filePath": "component-log.main.runtime.ts",
|
|
1926
|
-
"line":
|
|
1926
|
+
"line": 371,
|
|
1927
1927
|
"character": 3
|
|
1928
1928
|
},
|
|
1929
1929
|
"signature": "(method) ComponentLogMain.provider([cli, workspace]: [CLIMain, Workspace]): Promise<ComponentLogMain>",
|
|
@@ -1933,7 +1933,7 @@
|
|
|
1933
1933
|
"__schema": "ParameterSchema",
|
|
1934
1934
|
"location": {
|
|
1935
1935
|
"filePath": "component-log.main.runtime.ts",
|
|
1936
|
-
"line":
|
|
1936
|
+
"line": 371,
|
|
1937
1937
|
"character": 25
|
|
1938
1938
|
},
|
|
1939
1939
|
"name": "[ cli, workspace ]",
|
|
@@ -1941,7 +1941,7 @@
|
|
|
1941
1941
|
"__schema": "TupleTypeSchema",
|
|
1942
1942
|
"location": {
|
|
1943
1943
|
"filePath": "component-log.main.runtime.ts",
|
|
1944
|
-
"line":
|
|
1944
|
+
"line": 371,
|
|
1945
1945
|
"character": 43
|
|
1946
1946
|
},
|
|
1947
1947
|
"elements": [
|
|
@@ -1949,7 +1949,7 @@
|
|
|
1949
1949
|
"__schema": "TypeRefSchema",
|
|
1950
1950
|
"location": {
|
|
1951
1951
|
"filePath": "component-log.main.runtime.ts",
|
|
1952
|
-
"line":
|
|
1952
|
+
"line": 371,
|
|
1953
1953
|
"character": 44
|
|
1954
1954
|
},
|
|
1955
1955
|
"name": "CLIMain"
|
|
@@ -1958,7 +1958,7 @@
|
|
|
1958
1958
|
"__schema": "TypeRefSchema",
|
|
1959
1959
|
"location": {
|
|
1960
1960
|
"filePath": "component-log.main.runtime.ts",
|
|
1961
|
-
"line":
|
|
1961
|
+
"line": 371,
|
|
1962
1962
|
"character": 53
|
|
1963
1963
|
},
|
|
1964
1964
|
"name": "Workspace"
|
|
@@ -1973,7 +1973,7 @@
|
|
|
1973
1973
|
"__schema": "InferenceTypeSchema",
|
|
1974
1974
|
"location": {
|
|
1975
1975
|
"filePath": "component-log.main.runtime.ts",
|
|
1976
|
-
"line":
|
|
1976
|
+
"line": 371,
|
|
1977
1977
|
"character": 3
|
|
1978
1978
|
},
|
|
1979
1979
|
"type": "Promise<ComponentLogMain>"
|
|
@@ -1991,7 +1991,7 @@
|
|
|
1991
1991
|
"__schema": "TypeSchema",
|
|
1992
1992
|
"location": {
|
|
1993
1993
|
"filePath": "component-log.main.runtime.ts",
|
|
1994
|
-
"line":
|
|
1994
|
+
"line": 380,
|
|
1995
1995
|
"character": 1
|
|
1996
1996
|
},
|
|
1997
1997
|
"signature": "type ComponentLogInfo = {\n hash: string;\n message: string;\n onLane?: boolean | undefined;\n parents: string[];\n username?: string | undefined;\n email?: string | undefined;\n date?: string | undefined;\n tag?: string | undefined;\n}",
|
|
@@ -2000,7 +2000,7 @@
|
|
|
2000
2000
|
"__schema": "TypeLiteralSchema",
|
|
2001
2001
|
"location": {
|
|
2002
2002
|
"filePath": "component-log.main.runtime.ts",
|
|
2003
|
-
"line":
|
|
2003
|
+
"line": 380,
|
|
2004
2004
|
"character": 32
|
|
2005
2005
|
},
|
|
2006
2006
|
"members": [
|
|
@@ -2008,7 +2008,7 @@
|
|
|
2008
2008
|
"__schema": "VariableLikeSchema",
|
|
2009
2009
|
"location": {
|
|
2010
2010
|
"filePath": "component-log.main.runtime.ts",
|
|
2011
|
-
"line":
|
|
2011
|
+
"line": 381,
|
|
2012
2012
|
"character": 3
|
|
2013
2013
|
},
|
|
2014
2014
|
"signature": "(property) hash: string",
|
|
@@ -2017,7 +2017,7 @@
|
|
|
2017
2017
|
"__schema": "KeywordTypeSchema",
|
|
2018
2018
|
"location": {
|
|
2019
2019
|
"filePath": "component-log.main.runtime.ts",
|
|
2020
|
-
"line":
|
|
2020
|
+
"line": 381,
|
|
2021
2021
|
"character": 9
|
|
2022
2022
|
},
|
|
2023
2023
|
"name": "string"
|
|
@@ -2028,7 +2028,7 @@
|
|
|
2028
2028
|
"__schema": "VariableLikeSchema",
|
|
2029
2029
|
"location": {
|
|
2030
2030
|
"filePath": "component-log.main.runtime.ts",
|
|
2031
|
-
"line":
|
|
2031
|
+
"line": 382,
|
|
2032
2032
|
"character": 3
|
|
2033
2033
|
},
|
|
2034
2034
|
"signature": "(property) message: string",
|
|
@@ -2037,7 +2037,7 @@
|
|
|
2037
2037
|
"__schema": "KeywordTypeSchema",
|
|
2038
2038
|
"location": {
|
|
2039
2039
|
"filePath": "component-log.main.runtime.ts",
|
|
2040
|
-
"line":
|
|
2040
|
+
"line": 382,
|
|
2041
2041
|
"character": 12
|
|
2042
2042
|
},
|
|
2043
2043
|
"name": "string"
|
|
@@ -2048,7 +2048,7 @@
|
|
|
2048
2048
|
"__schema": "VariableLikeSchema",
|
|
2049
2049
|
"location": {
|
|
2050
2050
|
"filePath": "component-log.main.runtime.ts",
|
|
2051
|
-
"line":
|
|
2051
|
+
"line": 383,
|
|
2052
2052
|
"character": 3
|
|
2053
2053
|
},
|
|
2054
2054
|
"signature": "(property) onLane?: boolean | undefined",
|
|
@@ -2057,7 +2057,7 @@
|
|
|
2057
2057
|
"__schema": "KeywordTypeSchema",
|
|
2058
2058
|
"location": {
|
|
2059
2059
|
"filePath": "component-log.main.runtime.ts",
|
|
2060
|
-
"line":
|
|
2060
|
+
"line": 383,
|
|
2061
2061
|
"character": 12
|
|
2062
2062
|
},
|
|
2063
2063
|
"name": "boolean"
|
|
@@ -2068,7 +2068,7 @@
|
|
|
2068
2068
|
"__schema": "VariableLikeSchema",
|
|
2069
2069
|
"location": {
|
|
2070
2070
|
"filePath": "component-log.main.runtime.ts",
|
|
2071
|
-
"line":
|
|
2071
|
+
"line": 384,
|
|
2072
2072
|
"character": 3
|
|
2073
2073
|
},
|
|
2074
2074
|
"signature": "(property) parents: string[]",
|
|
@@ -2077,14 +2077,14 @@
|
|
|
2077
2077
|
"__schema": "TypeArraySchema",
|
|
2078
2078
|
"location": {
|
|
2079
2079
|
"filePath": "component-log.main.runtime.ts",
|
|
2080
|
-
"line":
|
|
2080
|
+
"line": 384,
|
|
2081
2081
|
"character": 12
|
|
2082
2082
|
},
|
|
2083
2083
|
"type": {
|
|
2084
2084
|
"__schema": "KeywordTypeSchema",
|
|
2085
2085
|
"location": {
|
|
2086
2086
|
"filePath": "component-log.main.runtime.ts",
|
|
2087
|
-
"line":
|
|
2087
|
+
"line": 384,
|
|
2088
2088
|
"character": 12
|
|
2089
2089
|
},
|
|
2090
2090
|
"name": "string"
|
|
@@ -2096,7 +2096,7 @@
|
|
|
2096
2096
|
"__schema": "VariableLikeSchema",
|
|
2097
2097
|
"location": {
|
|
2098
2098
|
"filePath": "component-log.main.runtime.ts",
|
|
2099
|
-
"line":
|
|
2099
|
+
"line": 385,
|
|
2100
2100
|
"character": 3
|
|
2101
2101
|
},
|
|
2102
2102
|
"signature": "(property) username?: string | undefined",
|
|
@@ -2105,7 +2105,7 @@
|
|
|
2105
2105
|
"__schema": "KeywordTypeSchema",
|
|
2106
2106
|
"location": {
|
|
2107
2107
|
"filePath": "component-log.main.runtime.ts",
|
|
2108
|
-
"line":
|
|
2108
|
+
"line": 385,
|
|
2109
2109
|
"character": 14
|
|
2110
2110
|
},
|
|
2111
2111
|
"name": "string"
|
|
@@ -2116,7 +2116,7 @@
|
|
|
2116
2116
|
"__schema": "VariableLikeSchema",
|
|
2117
2117
|
"location": {
|
|
2118
2118
|
"filePath": "component-log.main.runtime.ts",
|
|
2119
|
-
"line":
|
|
2119
|
+
"line": 386,
|
|
2120
2120
|
"character": 3
|
|
2121
2121
|
},
|
|
2122
2122
|
"signature": "(property) email?: string | undefined",
|
|
@@ -2125,7 +2125,7 @@
|
|
|
2125
2125
|
"__schema": "KeywordTypeSchema",
|
|
2126
2126
|
"location": {
|
|
2127
2127
|
"filePath": "component-log.main.runtime.ts",
|
|
2128
|
-
"line":
|
|
2128
|
+
"line": 386,
|
|
2129
2129
|
"character": 11
|
|
2130
2130
|
},
|
|
2131
2131
|
"name": "string"
|
|
@@ -2136,7 +2136,7 @@
|
|
|
2136
2136
|
"__schema": "VariableLikeSchema",
|
|
2137
2137
|
"location": {
|
|
2138
2138
|
"filePath": "component-log.main.runtime.ts",
|
|
2139
|
-
"line":
|
|
2139
|
+
"line": 387,
|
|
2140
2140
|
"character": 3
|
|
2141
2141
|
},
|
|
2142
2142
|
"signature": "(property) date?: string | undefined",
|
|
@@ -2145,7 +2145,7 @@
|
|
|
2145
2145
|
"__schema": "KeywordTypeSchema",
|
|
2146
2146
|
"location": {
|
|
2147
2147
|
"filePath": "component-log.main.runtime.ts",
|
|
2148
|
-
"line":
|
|
2148
|
+
"line": 387,
|
|
2149
2149
|
"character": 10
|
|
2150
2150
|
},
|
|
2151
2151
|
"name": "string"
|
|
@@ -2156,7 +2156,7 @@
|
|
|
2156
2156
|
"__schema": "VariableLikeSchema",
|
|
2157
2157
|
"location": {
|
|
2158
2158
|
"filePath": "component-log.main.runtime.ts",
|
|
2159
|
-
"line":
|
|
2159
|
+
"line": 388,
|
|
2160
2160
|
"character": 3
|
|
2161
2161
|
},
|
|
2162
2162
|
"signature": "(property) tag?: string | undefined",
|
|
@@ -2165,7 +2165,7 @@
|
|
|
2165
2165
|
"__schema": "KeywordTypeSchema",
|
|
2166
2166
|
"location": {
|
|
2167
2167
|
"filePath": "component-log.main.runtime.ts",
|
|
2168
|
-
"line":
|
|
2168
|
+
"line": 388,
|
|
2169
2169
|
"character": 9
|
|
2170
2170
|
},
|
|
2171
2171
|
"name": "string"
|
|
@@ -2181,7 +2181,7 @@
|
|
|
2181
2181
|
"__schema": "UnImplementedSchema",
|
|
2182
2182
|
"location": {
|
|
2183
2183
|
"filePath": "component-log.main.runtime.ts",
|
|
2184
|
-
"line":
|
|
2184
|
+
"line": 378,
|
|
2185
2185
|
"character": 1
|
|
2186
2186
|
},
|
|
2187
2187
|
"name": "ComponentLogAspect.addRuntime(ComponentLogMain);",
|
|
@@ -2230,7 +2230,7 @@
|
|
|
2230
2230
|
"componentId": {
|
|
2231
2231
|
"scope": "teambit.component",
|
|
2232
2232
|
"name": "component-log",
|
|
2233
|
-
"version": "1.0.
|
|
2233
|
+
"version": "1.0.506"
|
|
2234
2234
|
},
|
|
2235
2235
|
"taggedModuleExports": []
|
|
2236
2236
|
}
|
|
@@ -163,7 +163,12 @@ class ComponentLogMain {
|
|
|
163
163
|
}
|
|
164
164
|
if (!this.workspace) throw new (_workspace().OutsideWorkspaceError)();
|
|
165
165
|
const componentId = await this.workspace.resolveComponentId(id);
|
|
166
|
-
if (!componentId.hasVersion())
|
|
166
|
+
if (!componentId.hasVersion()) {
|
|
167
|
+
const inWs = this.workspace.getIdIfExist(componentId);
|
|
168
|
+
if (inWs && !inWs.hasVersion()) {
|
|
169
|
+
return []; // component is new
|
|
170
|
+
}
|
|
171
|
+
}
|
|
167
172
|
const logs = await this.workspace.scope.getLogs(componentId, shortHash, undefined, true);
|
|
168
173
|
logs.forEach(log => {
|
|
169
174
|
log.date = log.date ? (0, _moment().default)(new Date(parseInt(log.date))).format('YYYY-MM-DD HH:mm:ss') : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_cli","data","require","_componentId","_path","_interopRequireDefault","_moment","_pMap","_workspace","_lodash","_pMapSeries","_scope","_toolboxPath","_legacy","_chalk","_scope2","_diff","_componentLog","_logCmd","_snapGraph","_logFileCmd","_blameCmd","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ComponentLogMain","constructor","workspace","getLogs","id","options","isRemote","shortHash","shortMessage","consumer","bitId","ComponentID","fromString","remote","getRemoteByName","scope","log","OutsideWorkspaceError","componentId","resolveComponentId","hasVersion","logs","undefined","forEach","date","moment","Date","parseInt","format","message","split","showHidden","filter","l","hidden","getLogsWithParents","graph","buildSnapGraph","sorted","toposort","map","node","stringifyLogInfoOneLine","attr","getChangedFilesFromParent","modelComp","getBitObjectModelComponent","versionObj","getBitObjectVersion","version","firstParent","parents","parentObj","toString","compDir","componentDir","ignoreVersion","results","compact","files","file","parentFile","find","f","relativePath","isEqual","filePath","path","join","hash","parentHash","filesOnParentOnly","length","push","getFileHistoryHashes","getComponentIdByPath","rootDir","filePathAsLinux","pathNormalizeToLinux","filePathRelativeInComponent","replace","pMap","logItem","fileInComp","fileHash","getFileHashFromParent","parent","parentFileInComp","fileHashesFromParent","Promise","all","getParentFileHash","includes","tag","username","email","parentFileHash","parentHashes","p","concurrency","result","onlyParent","parentResult","blame","absPath","isAbsolute","toAbsolutePath","reversedLogs","reverse","getFileContent","source","legacyScope","objects","load","Ref","from","contents","currentLog","currentContentStr","currentContentLines","blameArray","lineContent","index","lineNumber","populateBlameArray","unblamedLineIndices","Set","_","pMapSeries","size","currentHash","parentContentStr","diff","diffLines","removedLines","addedLines","currentLineNum","part","lines","pop","added","has","delete","removed","line","keys","lineNum","previousLineContent","oldestLog","lineIdx","getFileLog","Error","relative","lastFile","component","get","changeVersion","filesystem","lastResult","lastHash","toSourceAsLinuxEOL","getFilesDiff","fileDiff","diffOutput","logInfo","chalk","yellow","provider","cli","componentLog","register","LogCmd","LogFileCmd","BlameCmd","exports","CLIAspect","WorkspaceAspect","MainRuntime","ComponentLogAspect","addRuntime"],"sources":["component-log.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport { ComponentID } from '@teambit/component-id';\nimport { LegacyComponentLog as ComponentLog } from '@teambit/legacy-component-log';\nimport path from 'path';\nimport moment from 'moment';\nimport pMap from 'p-map';\nimport { WorkspaceAspect, OutsideWorkspaceError, Workspace } from '@teambit/workspace';\nimport { compact } from 'lodash';\nimport pMapSeries from 'p-map-series';\nimport { Ref, Source, Version } from '@teambit/scope.objects';\nimport { pathNormalizeToLinux, PathOsBased, PathOsBasedAbsolute } from '@teambit/toolbox.path.path';\nimport { getFilesDiff } from '@teambit/legacy.component-diff';\nimport chalk from 'chalk';\nimport { getRemoteByName } from '@teambit/scope.remotes';\nimport { diffLines } from 'diff';\nimport { ComponentLogAspect } from './component-log.aspect';\nimport LogCmd from './log-cmd';\nimport { buildSnapGraph } from './snap-graph';\nimport { LogFileCmd } from './log-file-cmd';\nimport { BlameCmd } from './blame-cmd';\n\nexport type FileLog = {\n hash: string;\n tag?: string;\n username?: string;\n email?: string;\n date: string;\n message: string;\n fileHash: string;\n parentFileHash?: string;\n fileDiff?: string;\n hidden?: boolean;\n parentHashes?: string[];\n};\n\nexport type BlameLineInfo = {\n lineNumber: number;\n lineContent: string;\n previousLineContent?: string;\n username: string;\n email?: string;\n date: string;\n message: string;\n hash: string;\n tag?: string;\n};\n\nexport type LogOpts = {\n isRemote?: boolean;\n shortHash?: boolean;\n shortMessage?: boolean;\n showHidden?: boolean;\n};\n\nexport type FileHashDiffFromParent = {\n filePath: string; // path OS absolute\n hash?: string; // if undefined, the file was deleted in this snap\n parentHash?: string; // if undefined, the file was added in this snap\n};\n\nexport class ComponentLogMain {\n constructor(private workspace: Workspace | undefined) {}\n\n /**\n * get component log sorted by the timestamp in ascending order (from the earliest to the latest)\n */\n async getLogs(id: string, options: LogOpts = {}): Promise<ComponentLog[]> {\n const { isRemote = false, shortHash = false, shortMessage = false } = options;\n if (isRemote) {\n const consumer = this.workspace?.consumer;\n const bitId = ComponentID.fromString(id);\n const remote = await getRemoteByName(bitId.scope as string, consumer);\n return remote.log(bitId);\n }\n if (!this.workspace) throw new OutsideWorkspaceError();\n const componentId = await this.workspace.resolveComponentId(id);\n if (!componentId.hasVersion()) return []; // component is new\n const logs = await this.workspace.scope.getLogs(componentId, shortHash, undefined, true);\n logs.forEach((log) => {\n log.date = log.date ? moment(new Date(parseInt(log.date))).format('YYYY-MM-DD HH:mm:ss') : undefined;\n log.message = shortMessage ? log.message.split('\\n')[0] : log.message;\n });\n return options.showHidden ? logs : logs.filter((l) => !l.hidden);\n }\n\n async getLogsWithParents(id: string, options: LogOpts) {\n const logs = await this.getLogs(id, options);\n const graph = buildSnapGraph(logs);\n const sorted = graph.toposort();\n return sorted.map((node) => this.stringifyLogInfoOneLine(node.attr));\n }\n\n async getChangedFilesFromParent(id: string): Promise<FileHashDiffFromParent[]> {\n const workspace = this.workspace;\n if (!workspace) throw new OutsideWorkspaceError();\n const componentId = await workspace.resolveComponentId(id);\n const modelComp = await workspace.scope.getBitObjectModelComponent(componentId, true);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const versionObj = (await workspace.scope.getBitObjectVersion(modelComp!, componentId.version!, true)) as Version;\n const firstParent = versionObj.parents[0];\n const parentObj = firstParent\n ? // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n ((await workspace.scope.getBitObjectVersion(modelComp!, firstParent.toString(), true)) as Version)\n : null;\n const compDir = workspace.componentDir(componentId, { ignoreVersion: true });\n const results: FileHashDiffFromParent[] = compact(\n versionObj.files.map((file) => {\n const parentFile = parentObj?.files.find((f) => f.relativePath === file.relativePath);\n if (parentFile?.file.isEqual(file.file)) return null;\n return {\n filePath: path.join(compDir, file.relativePath),\n hash: file.file.toString(),\n parentHash: parentFile?.file.toString(),\n };\n })\n );\n const filesOnParentOnly = (parentObj?.files || []).filter(\n (parentFile) => !versionObj.files.find((file) => file.relativePath === parentFile.relativePath)\n );\n if (filesOnParentOnly.length) {\n results.push(\n ...filesOnParentOnly.map((file) => ({\n filePath: file.relativePath,\n hash: undefined,\n parentHash: file.file.toString(),\n }))\n );\n }\n\n return results;\n }\n\n async getFileHistoryHashes(filePath: PathOsBasedAbsolute): Promise<FileLog[]> {\n const workspace = this.workspace;\n if (!workspace) throw new OutsideWorkspaceError();\n const componentId = await workspace.getComponentIdByPath(filePath);\n if (!componentId) {\n // filePath could be from the component dir but the file is not part of the bit-component (such as component.json)\n return [];\n }\n\n const rootDir = workspace.componentDir(componentId, undefined);\n\n const logs = await this.getLogs(componentId.toString(), { showHidden: true });\n\n const filePathAsLinux = pathNormalizeToLinux(filePath);\n const filePathRelativeInComponent = filePathAsLinux.replace(`${rootDir}/`, '');\n\n const modelComp = await workspace.scope.getBitObjectModelComponent(componentId);\n if (!modelComp) return []; // probably a new component\n const results: FileLog[] = [];\n await pMap(\n logs,\n async (logItem) => {\n const versionObj = await workspace.scope.getBitObjectVersion(modelComp, logItem.hash, true);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const fileInComp = versionObj!.files.find((f) => f.relativePath === filePathRelativeInComponent);\n if (!fileInComp) return;\n const fileHash = fileInComp.file.toString();\n const getFileHashFromParent = async (parent: Ref) => {\n const parentObj = parent\n ? await workspace.scope.getBitObjectVersion(modelComp, parent.toString(), true)\n : undefined;\n\n const parentFileInComp = parentObj\n ? parentObj.files.find((f) => f.relativePath === filePathRelativeInComponent)\n : undefined;\n\n return parentFileInComp?.file.toString();\n };\n const fileHashesFromParent = versionObj ? await Promise.all(versionObj.parents.map(getFileHashFromParent)) : [];\n\n const getParentFileHash = () => {\n if (fileHashesFromParent.length === 0) return undefined;\n if (fileHashesFromParent.length === 1) return fileHashesFromParent[0];\n // if one parent has it, it means that this merge-snap didn't change the file.\n if (fileHashesFromParent.includes(fileHash)) return fileHash;\n return fileHashesFromParent[0];\n };\n\n results.push({\n hash: logItem.hash,\n tag: logItem.tag,\n username: logItem.username,\n email: logItem.email,\n date: logItem.date || '<N/A>',\n message: logItem.message,\n fileHash,\n parentFileHash: getParentFileHash(),\n hidden: logItem.hidden,\n parentHashes: versionObj?.parents.map((p) => p.toString()),\n });\n },\n { concurrency: 100 }\n );\n\n // remove entries that their fileHash is the same as their parent.\n // however, if their parent is hidden, because they're going to be removed, use their parents.\n results.forEach((result) => {\n const parents = result.parentHashes || [];\n if (parents.length !== 1) return;\n const onlyParent = parents[0];\n const parentResult = results.find((r) => r.hash === onlyParent);\n if (parentResult && parentResult.hidden) {\n result.parentFileHash = parentResult.parentFileHash;\n }\n });\n return results.filter((r) => !r.hidden).filter((r) => r.fileHash !== r.parentFileHash);\n }\n\n async blame(filePath: PathOsBased): Promise<BlameLineInfo[]> {\n const workspace = this.workspace;\n if (!workspace) throw new OutsideWorkspaceError();\n const absPath = path.isAbsolute(filePath) ? filePath : workspace.consumer.toAbsolutePath(filePath);\n const reversedLogs = await this.getFileHistoryHashes(absPath);\n if (!reversedLogs.length) return [];\n // reverse order so it'll be from newer to older\n const logs = reversedLogs.reverse();\n\n const getFileContent = async (hash: string) => {\n const source = (await workspace.scope.legacyScope.objects.load(Ref.from(hash), true)) as Source;\n return source.contents.toString();\n };\n\n // Initialize the blame array with the current file content\n const currentLog = logs[0];\n let currentContentStr = await getFileContent(currentLog.fileHash);\n const currentContentLines = currentContentStr.split('\\n');\n const blameArray: Partial<BlameLineInfo>[] = currentContentLines.map((lineContent, index) => ({\n lineNumber: index + 1,\n lineContent,\n }));\n const populateBlameArray = (lineNumber: number, log: FileLog) => {\n blameArray[lineNumber].username = log.username;\n blameArray[lineNumber].email = log.email;\n blameArray[lineNumber].date = log.date;\n blameArray[lineNumber].message = log.message;\n blameArray[lineNumber].hash = log.hash;\n blameArray[lineNumber].tag = log.tag;\n };\n\n // Keep track of unassigned lines\n const unblamedLineIndices = new Set(blameArray.map((_, index) => index));\n\n await pMapSeries(logs, async (logItem) => {\n if (unblamedLineIndices.size === 0) return; // All lines have been assigned\n\n const currentHash = logItem.fileHash;\n const parentHash = logItem.parentFileHash;\n\n // Skip if there is no parent to compare with\n if (!parentHash) return;\n\n currentContentStr = await getFileContent(currentHash);\n const parentContentStr = await getFileContent(parentHash);\n\n const diff = diffLines(parentContentStr, currentContentStr);\n\n const removedLines: Record<number, string> = {};\n const addedLines: number[] = [];\n\n let currentLineNum = 0;\n\n diff.forEach((part) => {\n const lines = part.value.split('\\n');\n // Remove the last empty line if the string ends with a newline\n if (lines[lines.length - 1] === '') lines.pop();\n\n if (part.added) {\n // Lines added in the current version\n lines.forEach(() => {\n if (unblamedLineIndices.has(currentLineNum)) {\n populateBlameArray(currentLineNum, logItem);\n addedLines.push(currentLineNum);\n unblamedLineIndices.delete(currentLineNum);\n }\n currentLineNum++;\n });\n } else if (part.removed) {\n lines.forEach((line, index) => {\n removedLines[currentLineNum + index] = line;\n });\n // Lines removed from parent version; do not advance currentLineNum\n // Since these lines are not in the current version, we ignore them\n } else {\n // Unchanged lines\n currentLineNum += lines.length;\n }\n });\n Object.keys(removedLines).forEach((lineNum) => {\n if (addedLines.includes(parseInt(lineNum))) {\n blameArray[parseInt(lineNum)].previousLineContent = removedLines[parseInt(lineNum)];\n }\n });\n });\n\n // Assign the oldest log info to any remaining unblamed lines\n const oldestLog = logs[logs.length - 1];\n unblamedLineIndices.forEach((lineIdx) => {\n populateBlameArray(lineIdx, oldestLog);\n });\n\n return blameArray as BlameLineInfo[];\n }\n\n async getFileLog(filePath: string) {\n const workspace = this.workspace;\n if (!workspace) throw new OutsideWorkspaceError();\n const componentId = await workspace.getComponentIdByPath(filePath);\n if (!componentId) throw new Error(`unable to find component for file ${filePath}`);\n\n const rootDir = workspace.componentDir(componentId, undefined, { relative: true });\n\n const logs = await this.getLogs(componentId.toString());\n\n const filePathAsLinux = pathNormalizeToLinux(filePath);\n const filePathRelativeInComponent = filePathAsLinux.replace(`${rootDir}/`, '');\n\n const results: FileLog[] = [];\n let lastFile;\n await pMapSeries(logs, async (logItem) => {\n const component = await workspace.get(componentId.changeVersion(logItem.tag || logItem.hash));\n const fileInComp = component.filesystem.files.find((f) => f.relative === filePathRelativeInComponent);\n const lastResult = results[results.length - 1];\n const lastHash = lastResult?.fileHash;\n let fileHash: string;\n if (!fileInComp) {\n if (!lastHash) return;\n fileHash = '<REMOVED>';\n } else {\n fileHash = fileInComp.toSourceAsLinuxEOL().hash().toString();\n }\n if (fileHash === lastHash) return;\n\n let diff;\n if (lastFile && fileInComp) {\n diff = await getFilesDiff([lastFile], [fileInComp], logItem.hash, lastResult.hash, undefined);\n }\n\n lastFile = fileInComp;\n\n results.push({\n hash: logItem.hash,\n tag: logItem.tag,\n username: logItem.username,\n email: logItem.email,\n date: logItem.date || '<N/A>',\n message: logItem.message,\n fileDiff: diff?.length ? diff[0].diffOutput : undefined,\n fileHash,\n });\n });\n return results;\n }\n\n private stringifyLogInfoOneLine(logInfo: ComponentLogInfo) {\n const parents = logInfo.parents.length ? `Parent(s): ${logInfo.parents.join(', ')}` : '<N/A>';\n return `${chalk.yellow(logInfo.hash)} ${logInfo.username || ''} ${logInfo.date || ''} ${\n logInfo.message\n }, ${parents}`;\n }\n\n static slots = [];\n static dependencies = [CLIAspect, WorkspaceAspect];\n static runtime = MainRuntime;\n static async provider([cli, workspace]: [CLIMain, Workspace]) {\n const componentLog = new ComponentLogMain(workspace);\n cli.register(new LogCmd(componentLog), new LogFileCmd(componentLog), new BlameCmd(componentLog));\n return componentLog;\n }\n}\n\nComponentLogAspect.addRuntime(ComponentLogMain);\n\nexport type ComponentLogInfo = {\n hash: string;\n message: string;\n onLane?: boolean;\n parents: string[];\n username?: string;\n email?: string;\n date?: string;\n tag?: string;\n};\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,aAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,YAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,S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|
1
|
+
{"version":3,"names":["_cli","data","require","_componentId","_path","_interopRequireDefault","_moment","_pMap","_workspace","_lodash","_pMapSeries","_scope","_toolboxPath","_legacy","_chalk","_scope2","_diff","_componentLog","_logCmd","_snapGraph","_logFileCmd","_blameCmd","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ComponentLogMain","constructor","workspace","getLogs","id","options","isRemote","shortHash","shortMessage","consumer","bitId","ComponentID","fromString","remote","getRemoteByName","scope","log","OutsideWorkspaceError","componentId","resolveComponentId","hasVersion","inWs","getIdIfExist","logs","undefined","forEach","date","moment","Date","parseInt","format","message","split","showHidden","filter","l","hidden","getLogsWithParents","graph","buildSnapGraph","sorted","toposort","map","node","stringifyLogInfoOneLine","attr","getChangedFilesFromParent","modelComp","getBitObjectModelComponent","versionObj","getBitObjectVersion","version","firstParent","parents","parentObj","toString","compDir","componentDir","ignoreVersion","results","compact","files","file","parentFile","find","f","relativePath","isEqual","filePath","path","join","hash","parentHash","filesOnParentOnly","length","push","getFileHistoryHashes","getComponentIdByPath","rootDir","filePathAsLinux","pathNormalizeToLinux","filePathRelativeInComponent","replace","pMap","logItem","fileInComp","fileHash","getFileHashFromParent","parent","parentFileInComp","fileHashesFromParent","Promise","all","getParentFileHash","includes","tag","username","email","parentFileHash","parentHashes","p","concurrency","result","onlyParent","parentResult","blame","absPath","isAbsolute","toAbsolutePath","reversedLogs","reverse","getFileContent","source","legacyScope","objects","load","Ref","from","contents","currentLog","currentContentStr","currentContentLines","blameArray","lineContent","index","lineNumber","populateBlameArray","unblamedLineIndices","Set","_","pMapSeries","size","currentHash","parentContentStr","diff","diffLines","removedLines","addedLines","currentLineNum","part","lines","pop","added","has","delete","removed","line","keys","lineNum","previousLineContent","oldestLog","lineIdx","getFileLog","Error","relative","lastFile","component","get","changeVersion","filesystem","lastResult","lastHash","toSourceAsLinuxEOL","getFilesDiff","fileDiff","diffOutput","logInfo","chalk","yellow","provider","cli","componentLog","register","LogCmd","LogFileCmd","BlameCmd","exports","CLIAspect","WorkspaceAspect","MainRuntime","ComponentLogAspect","addRuntime"],"sources":["component-log.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport { ComponentID } from '@teambit/component-id';\nimport { LegacyComponentLog as ComponentLog } from '@teambit/legacy-component-log';\nimport path from 'path';\nimport moment from 'moment';\nimport pMap from 'p-map';\nimport { WorkspaceAspect, OutsideWorkspaceError, Workspace } from '@teambit/workspace';\nimport { compact } from 'lodash';\nimport pMapSeries from 'p-map-series';\nimport { Ref, Source, Version } from '@teambit/scope.objects';\nimport { pathNormalizeToLinux, PathOsBased, PathOsBasedAbsolute } from '@teambit/toolbox.path.path';\nimport { getFilesDiff } from '@teambit/legacy.component-diff';\nimport chalk from 'chalk';\nimport { getRemoteByName } from '@teambit/scope.remotes';\nimport { diffLines } from 'diff';\nimport { ComponentLogAspect } from './component-log.aspect';\nimport LogCmd from './log-cmd';\nimport { buildSnapGraph } from './snap-graph';\nimport { LogFileCmd } from './log-file-cmd';\nimport { BlameCmd } from './blame-cmd';\n\nexport type FileLog = {\n hash: string;\n tag?: string;\n username?: string;\n email?: string;\n date: string;\n message: string;\n fileHash: string;\n parentFileHash?: string;\n fileDiff?: string;\n hidden?: boolean;\n parentHashes?: string[];\n};\n\nexport type BlameLineInfo = {\n lineNumber: number;\n lineContent: string;\n previousLineContent?: string;\n username: string;\n email?: string;\n date: string;\n message: string;\n hash: string;\n tag?: string;\n};\n\nexport type LogOpts = {\n isRemote?: boolean;\n shortHash?: boolean;\n shortMessage?: boolean;\n showHidden?: boolean;\n};\n\nexport type FileHashDiffFromParent = {\n filePath: string; // path OS absolute\n hash?: string; // if undefined, the file was deleted in this snap\n parentHash?: string; // if undefined, the file was added in this snap\n};\n\nexport class ComponentLogMain {\n constructor(private workspace: Workspace | undefined) {}\n\n /**\n * get component log sorted by the timestamp in ascending order (from the earliest to the latest)\n */\n async getLogs(id: string, options: LogOpts = {}): Promise<ComponentLog[]> {\n const { isRemote = false, shortHash = false, shortMessage = false } = options;\n if (isRemote) {\n const consumer = this.workspace?.consumer;\n const bitId = ComponentID.fromString(id);\n const remote = await getRemoteByName(bitId.scope as string, consumer);\n return remote.log(bitId);\n }\n if (!this.workspace) throw new OutsideWorkspaceError();\n const componentId = await this.workspace.resolveComponentId(id);\n if (!componentId.hasVersion()) {\n const inWs = this.workspace.getIdIfExist(componentId);\n if (inWs && !inWs.hasVersion()) {\n return []; // component is new\n }\n }\n const logs = await this.workspace.scope.getLogs(componentId, shortHash, undefined, true);\n logs.forEach((log) => {\n log.date = log.date ? moment(new Date(parseInt(log.date))).format('YYYY-MM-DD HH:mm:ss') : undefined;\n log.message = shortMessage ? log.message.split('\\n')[0] : log.message;\n });\n return options.showHidden ? logs : logs.filter((l) => !l.hidden);\n }\n\n async getLogsWithParents(id: string, options: LogOpts) {\n const logs = await this.getLogs(id, options);\n const graph = buildSnapGraph(logs);\n const sorted = graph.toposort();\n return sorted.map((node) => this.stringifyLogInfoOneLine(node.attr));\n }\n\n async getChangedFilesFromParent(id: string): Promise<FileHashDiffFromParent[]> {\n const workspace = this.workspace;\n if (!workspace) throw new OutsideWorkspaceError();\n const componentId = await workspace.resolveComponentId(id);\n const modelComp = await workspace.scope.getBitObjectModelComponent(componentId, true);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const versionObj = (await workspace.scope.getBitObjectVersion(modelComp!, componentId.version!, true)) as Version;\n const firstParent = versionObj.parents[0];\n const parentObj = firstParent\n ? // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n ((await workspace.scope.getBitObjectVersion(modelComp!, firstParent.toString(), true)) as Version)\n : null;\n const compDir = workspace.componentDir(componentId, { ignoreVersion: true });\n const results: FileHashDiffFromParent[] = compact(\n versionObj.files.map((file) => {\n const parentFile = parentObj?.files.find((f) => f.relativePath === file.relativePath);\n if (parentFile?.file.isEqual(file.file)) return null;\n return {\n filePath: path.join(compDir, file.relativePath),\n hash: file.file.toString(),\n parentHash: parentFile?.file.toString(),\n };\n })\n );\n const filesOnParentOnly = (parentObj?.files || []).filter(\n (parentFile) => !versionObj.files.find((file) => file.relativePath === parentFile.relativePath)\n );\n if (filesOnParentOnly.length) {\n results.push(\n ...filesOnParentOnly.map((file) => ({\n filePath: file.relativePath,\n hash: undefined,\n parentHash: file.file.toString(),\n }))\n );\n }\n\n return results;\n }\n\n async getFileHistoryHashes(filePath: PathOsBasedAbsolute): Promise<FileLog[]> {\n const workspace = this.workspace;\n if (!workspace) throw new OutsideWorkspaceError();\n const componentId = await workspace.getComponentIdByPath(filePath);\n if (!componentId) {\n // filePath could be from the component dir but the file is not part of the bit-component (such as component.json)\n return [];\n }\n\n const rootDir = workspace.componentDir(componentId, undefined);\n\n const logs = await this.getLogs(componentId.toString(), { showHidden: true });\n\n const filePathAsLinux = pathNormalizeToLinux(filePath);\n const filePathRelativeInComponent = filePathAsLinux.replace(`${rootDir}/`, '');\n\n const modelComp = await workspace.scope.getBitObjectModelComponent(componentId);\n if (!modelComp) return []; // probably a new component\n const results: FileLog[] = [];\n await pMap(\n logs,\n async (logItem) => {\n const versionObj = await workspace.scope.getBitObjectVersion(modelComp, logItem.hash, true);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const fileInComp = versionObj!.files.find((f) => f.relativePath === filePathRelativeInComponent);\n if (!fileInComp) return;\n const fileHash = fileInComp.file.toString();\n const getFileHashFromParent = async (parent: Ref) => {\n const parentObj = parent\n ? await workspace.scope.getBitObjectVersion(modelComp, parent.toString(), true)\n : undefined;\n\n const parentFileInComp = parentObj\n ? parentObj.files.find((f) => f.relativePath === filePathRelativeInComponent)\n : undefined;\n\n return parentFileInComp?.file.toString();\n };\n const fileHashesFromParent = versionObj ? await Promise.all(versionObj.parents.map(getFileHashFromParent)) : [];\n\n const getParentFileHash = () => {\n if (fileHashesFromParent.length === 0) return undefined;\n if (fileHashesFromParent.length === 1) return fileHashesFromParent[0];\n // if one parent has it, it means that this merge-snap didn't change the file.\n if (fileHashesFromParent.includes(fileHash)) return fileHash;\n return fileHashesFromParent[0];\n };\n\n results.push({\n hash: logItem.hash,\n tag: logItem.tag,\n username: logItem.username,\n email: logItem.email,\n date: logItem.date || '<N/A>',\n message: logItem.message,\n fileHash,\n parentFileHash: getParentFileHash(),\n hidden: logItem.hidden,\n parentHashes: versionObj?.parents.map((p) => p.toString()),\n });\n },\n { concurrency: 100 }\n );\n\n // remove entries that their fileHash is the same as their parent.\n // however, if their parent is hidden, because they're going to be removed, use their parents.\n results.forEach((result) => {\n const parents = result.parentHashes || [];\n if (parents.length !== 1) return;\n const onlyParent = parents[0];\n const parentResult = results.find((r) => r.hash === onlyParent);\n if (parentResult && parentResult.hidden) {\n result.parentFileHash = parentResult.parentFileHash;\n }\n });\n return results.filter((r) => !r.hidden).filter((r) => r.fileHash !== r.parentFileHash);\n }\n\n async blame(filePath: PathOsBased): Promise<BlameLineInfo[]> {\n const workspace = this.workspace;\n if (!workspace) throw new OutsideWorkspaceError();\n const absPath = path.isAbsolute(filePath) ? filePath : workspace.consumer.toAbsolutePath(filePath);\n const reversedLogs = await this.getFileHistoryHashes(absPath);\n if (!reversedLogs.length) return [];\n // reverse order so it'll be from newer to older\n const logs = reversedLogs.reverse();\n\n const getFileContent = async (hash: string) => {\n const source = (await workspace.scope.legacyScope.objects.load(Ref.from(hash), true)) as Source;\n return source.contents.toString();\n };\n\n // Initialize the blame array with the current file content\n const currentLog = logs[0];\n let currentContentStr = await getFileContent(currentLog.fileHash);\n const currentContentLines = currentContentStr.split('\\n');\n const blameArray: Partial<BlameLineInfo>[] = currentContentLines.map((lineContent, index) => ({\n lineNumber: index + 1,\n lineContent,\n }));\n const populateBlameArray = (lineNumber: number, log: FileLog) => {\n blameArray[lineNumber].username = log.username;\n blameArray[lineNumber].email = log.email;\n blameArray[lineNumber].date = log.date;\n blameArray[lineNumber].message = log.message;\n blameArray[lineNumber].hash = log.hash;\n blameArray[lineNumber].tag = log.tag;\n };\n\n // Keep track of unassigned lines\n const unblamedLineIndices = new Set(blameArray.map((_, index) => index));\n\n await pMapSeries(logs, async (logItem) => {\n if (unblamedLineIndices.size === 0) return; // All lines have been assigned\n\n const currentHash = logItem.fileHash;\n const parentHash = logItem.parentFileHash;\n\n // Skip if there is no parent to compare with\n if (!parentHash) return;\n\n currentContentStr = await getFileContent(currentHash);\n const parentContentStr = await getFileContent(parentHash);\n\n const diff = diffLines(parentContentStr, currentContentStr);\n\n const removedLines: Record<number, string> = {};\n const addedLines: number[] = [];\n\n let currentLineNum = 0;\n\n diff.forEach((part) => {\n const lines = part.value.split('\\n');\n // Remove the last empty line if the string ends with a newline\n if (lines[lines.length - 1] === '') lines.pop();\n\n if (part.added) {\n // Lines added in the current version\n lines.forEach(() => {\n if (unblamedLineIndices.has(currentLineNum)) {\n populateBlameArray(currentLineNum, logItem);\n addedLines.push(currentLineNum);\n unblamedLineIndices.delete(currentLineNum);\n }\n currentLineNum++;\n });\n } else if (part.removed) {\n lines.forEach((line, index) => {\n removedLines[currentLineNum + index] = line;\n });\n // Lines removed from parent version; do not advance currentLineNum\n // Since these lines are not in the current version, we ignore them\n } else {\n // Unchanged lines\n currentLineNum += lines.length;\n }\n });\n Object.keys(removedLines).forEach((lineNum) => {\n if (addedLines.includes(parseInt(lineNum))) {\n blameArray[parseInt(lineNum)].previousLineContent = removedLines[parseInt(lineNum)];\n }\n });\n });\n\n // Assign the oldest log info to any remaining unblamed lines\n const oldestLog = logs[logs.length - 1];\n unblamedLineIndices.forEach((lineIdx) => {\n populateBlameArray(lineIdx, oldestLog);\n });\n\n return blameArray as BlameLineInfo[];\n }\n\n async getFileLog(filePath: string) {\n const workspace = this.workspace;\n if (!workspace) throw new OutsideWorkspaceError();\n const componentId = await workspace.getComponentIdByPath(filePath);\n if (!componentId) throw new Error(`unable to find component for file ${filePath}`);\n\n const rootDir = workspace.componentDir(componentId, undefined, { relative: true });\n\n const logs = await this.getLogs(componentId.toString());\n\n const filePathAsLinux = pathNormalizeToLinux(filePath);\n const filePathRelativeInComponent = filePathAsLinux.replace(`${rootDir}/`, '');\n\n const results: FileLog[] = [];\n let lastFile;\n await pMapSeries(logs, async (logItem) => {\n const component = await workspace.get(componentId.changeVersion(logItem.tag || logItem.hash));\n const fileInComp = component.filesystem.files.find((f) => f.relative === filePathRelativeInComponent);\n const lastResult = results[results.length - 1];\n const lastHash = lastResult?.fileHash;\n let fileHash: string;\n if (!fileInComp) {\n if (!lastHash) return;\n fileHash = '<REMOVED>';\n } else {\n fileHash = fileInComp.toSourceAsLinuxEOL().hash().toString();\n }\n if (fileHash === lastHash) return;\n\n let diff;\n if (lastFile && fileInComp) {\n diff = await getFilesDiff([lastFile], [fileInComp], logItem.hash, lastResult.hash, undefined);\n }\n\n lastFile = fileInComp;\n\n results.push({\n hash: logItem.hash,\n tag: logItem.tag,\n username: logItem.username,\n email: logItem.email,\n date: logItem.date || '<N/A>',\n message: logItem.message,\n fileDiff: diff?.length ? diff[0].diffOutput : undefined,\n fileHash,\n });\n });\n return results;\n }\n\n private stringifyLogInfoOneLine(logInfo: ComponentLogInfo) {\n const parents = logInfo.parents.length ? `Parent(s): ${logInfo.parents.join(', ')}` : '<N/A>';\n return `${chalk.yellow(logInfo.hash)} ${logInfo.username || ''} ${logInfo.date || ''} ${\n logInfo.message\n }, ${parents}`;\n }\n\n static slots = [];\n static dependencies = [CLIAspect, WorkspaceAspect];\n static runtime = MainRuntime;\n static async provider([cli, workspace]: [CLIMain, Workspace]) {\n const componentLog = new ComponentLogMain(workspace);\n cli.register(new LogCmd(componentLog), new LogFileCmd(componentLog), new BlameCmd(componentLog));\n return componentLog;\n }\n}\n\nComponentLogAspect.addRuntime(ComponentLogMain);\n\nexport type ComponentLogInfo = {\n hash: string;\n message: string;\n onLane?: boolean;\n parents: string[];\n username?: string;\n email?: string;\n date?: string;\n tag?: string;\n};\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EA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E,KAAIG,wBAAU,EAACH,YAAY,CAAC,EAAE,KAAII,oBAAQ,EAACJ,YAAY,CAAC,CAAC;IAChG,OAAOA,YAAY;EACrB;AACF;AAACK,OAAA,CAAAhL,gBAAA,GAAAA,gBAAA;AAAAlB,eAAA,CA3TYkB,gBAAgB,WAmTZ,EAAE;AAAAlB,eAAA,CAnTNkB,gBAAgB,kBAoTL,CAACiL,gBAAS,EAAEC,4BAAe,CAAC;AAAApM,eAAA,CApTvCkB,gBAAgB,aAqTVmL,kBAAW;AAQ9BC,kCAAkB,CAACC,UAAU,CAACrL,gBAAgB,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-log@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-log@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-log@1.0.506/dist/component-log.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-log@1.0.506/dist/component-log.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/component-log",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.506",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/component-log",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "component-log",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.506"
|
|
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.2",
|
|
21
21
|
"@teambit/graph.cleargraph": "0.0.11",
|
|
22
|
-
"@teambit/cli": "0.0.
|
|
22
|
+
"@teambit/cli": "0.0.1083",
|
|
23
23
|
"@teambit/legacy-component-log": "0.0.404",
|
|
24
|
-
"@teambit/legacy.component-diff": "0.0.
|
|
25
|
-
"@teambit/scope.objects": "0.0.
|
|
26
|
-
"@teambit/scope.remotes": "0.0.
|
|
24
|
+
"@teambit/legacy.component-diff": "0.0.66",
|
|
25
|
+
"@teambit/scope.objects": "0.0.13",
|
|
26
|
+
"@teambit/scope.remotes": "0.0.13",
|
|
27
27
|
"@teambit/toolbox.path.path": "0.0.5",
|
|
28
|
-
"@teambit/workspace": "1.0.
|
|
28
|
+
"@teambit/workspace": "1.0.506"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/diff": "^5.2.3",
|