@teambit/component-log 1.0.468 → 1.0.469
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 +1 -0
- package/dist/component-log.main.runtime.js.map +1 -1
- package/dist/{preview-1732072955804.js → preview-1732159179791.js} +2 -2
- package/package.json +4 -4
|
@@ -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.469" 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={856:(e,t,o)=>{var n={id:"teambit.component/component-log@1.0.469",homepage:"https://bit.cloud/teambit/component/component-log",exported:!0};function r(){const e=i(o(594));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},594: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(856);o(594);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
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"__schema": "FunctionLikeSchema",
|
|
198
198
|
"location": {
|
|
199
199
|
"filePath": "component-log.main.runtime.ts",
|
|
200
|
-
"line":
|
|
200
|
+
"line": 87,
|
|
201
201
|
"character": 3
|
|
202
202
|
},
|
|
203
203
|
"signature": "(method) ComponentLogMain.getLogsWithParents(id: string, options: LogOpts): Promise<string[]>",
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"__schema": "ParameterSchema",
|
|
208
208
|
"location": {
|
|
209
209
|
"filePath": "component-log.main.runtime.ts",
|
|
210
|
-
"line":
|
|
210
|
+
"line": 87,
|
|
211
211
|
"character": 28
|
|
212
212
|
},
|
|
213
213
|
"name": "id",
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"__schema": "KeywordTypeSchema",
|
|
216
216
|
"location": {
|
|
217
217
|
"filePath": "component-log.main.runtime.ts",
|
|
218
|
-
"line":
|
|
218
|
+
"line": 87,
|
|
219
219
|
"character": 32
|
|
220
220
|
},
|
|
221
221
|
"name": "string"
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
"__schema": "ParameterSchema",
|
|
228
228
|
"location": {
|
|
229
229
|
"filePath": "component-log.main.runtime.ts",
|
|
230
|
-
"line":
|
|
230
|
+
"line": 87,
|
|
231
231
|
"character": 40
|
|
232
232
|
},
|
|
233
233
|
"name": "options",
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
"__schema": "TypeRefSchema",
|
|
236
236
|
"location": {
|
|
237
237
|
"filePath": "component-log.main.runtime.ts",
|
|
238
|
-
"line":
|
|
238
|
+
"line": 87,
|
|
239
239
|
"character": 49
|
|
240
240
|
},
|
|
241
241
|
"name": "LogOpts",
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"__schema": "InferenceTypeSchema",
|
|
250
250
|
"location": {
|
|
251
251
|
"filePath": "component-log.main.runtime.ts",
|
|
252
|
-
"line":
|
|
252
|
+
"line": 87,
|
|
253
253
|
"character": 3
|
|
254
254
|
},
|
|
255
255
|
"type": "Promise<string[]>"
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
"__schema": "FunctionLikeSchema",
|
|
263
263
|
"location": {
|
|
264
264
|
"filePath": "component-log.main.runtime.ts",
|
|
265
|
-
"line":
|
|
265
|
+
"line": 94,
|
|
266
266
|
"character": 3
|
|
267
267
|
},
|
|
268
268
|
"signature": "(method) ComponentLogMain.getChangedFilesFromParent(id: string): Promise<FileHashDiffFromParent[]>",
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"__schema": "ParameterSchema",
|
|
273
273
|
"location": {
|
|
274
274
|
"filePath": "component-log.main.runtime.ts",
|
|
275
|
-
"line":
|
|
275
|
+
"line": 94,
|
|
276
276
|
"character": 35
|
|
277
277
|
},
|
|
278
278
|
"name": "id",
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
"__schema": "KeywordTypeSchema",
|
|
281
281
|
"location": {
|
|
282
282
|
"filePath": "component-log.main.runtime.ts",
|
|
283
|
-
"line":
|
|
283
|
+
"line": 94,
|
|
284
284
|
"character": 39
|
|
285
285
|
},
|
|
286
286
|
"name": "string"
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
"__schema": "TypeRefSchema",
|
|
294
294
|
"location": {
|
|
295
295
|
"filePath": "component-log.main.runtime.ts",
|
|
296
|
-
"line":
|
|
296
|
+
"line": 94,
|
|
297
297
|
"character": 48
|
|
298
298
|
},
|
|
299
299
|
"name": "Promise",
|
|
@@ -302,14 +302,14 @@
|
|
|
302
302
|
"__schema": "TypeArraySchema",
|
|
303
303
|
"location": {
|
|
304
304
|
"filePath": "component-log.main.runtime.ts",
|
|
305
|
-
"line":
|
|
305
|
+
"line": 94,
|
|
306
306
|
"character": 56
|
|
307
307
|
},
|
|
308
308
|
"type": {
|
|
309
309
|
"__schema": "TypeRefSchema",
|
|
310
310
|
"location": {
|
|
311
311
|
"filePath": "component-log.main.runtime.ts",
|
|
312
|
-
"line":
|
|
312
|
+
"line": 94,
|
|
313
313
|
"character": 56
|
|
314
314
|
},
|
|
315
315
|
"name": "FileHashDiffFromParent"
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
"__schema": "FunctionLikeSchema",
|
|
326
326
|
"location": {
|
|
327
327
|
"filePath": "component-log.main.runtime.ts",
|
|
328
|
-
"line":
|
|
328
|
+
"line": 134,
|
|
329
329
|
"character": 3
|
|
330
330
|
},
|
|
331
331
|
"signature": "(method) ComponentLogMain.getFileHistoryHashes(filePath: PathOsBasedAbsolute): Promise<FileLog[]>",
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
"__schema": "ParameterSchema",
|
|
336
336
|
"location": {
|
|
337
337
|
"filePath": "component-log.main.runtime.ts",
|
|
338
|
-
"line":
|
|
338
|
+
"line": 134,
|
|
339
339
|
"character": 30
|
|
340
340
|
},
|
|
341
341
|
"name": "filePath",
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
"__schema": "TypeRefSchema",
|
|
344
344
|
"location": {
|
|
345
345
|
"filePath": "component-log.main.runtime.ts",
|
|
346
|
-
"line":
|
|
346
|
+
"line": 134,
|
|
347
347
|
"character": 40
|
|
348
348
|
},
|
|
349
349
|
"name": "PathOsBasedAbsolute",
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
"__schema": "TypeRefSchema",
|
|
362
362
|
"location": {
|
|
363
363
|
"filePath": "component-log.main.runtime.ts",
|
|
364
|
-
"line":
|
|
364
|
+
"line": 134,
|
|
365
365
|
"character": 62
|
|
366
366
|
},
|
|
367
367
|
"name": "Promise",
|
|
@@ -370,14 +370,14 @@
|
|
|
370
370
|
"__schema": "TypeArraySchema",
|
|
371
371
|
"location": {
|
|
372
372
|
"filePath": "component-log.main.runtime.ts",
|
|
373
|
-
"line":
|
|
373
|
+
"line": 134,
|
|
374
374
|
"character": 70
|
|
375
375
|
},
|
|
376
376
|
"type": {
|
|
377
377
|
"__schema": "TypeRefSchema",
|
|
378
378
|
"location": {
|
|
379
379
|
"filePath": "component-log.main.runtime.ts",
|
|
380
|
-
"line":
|
|
380
|
+
"line": 134,
|
|
381
381
|
"character": 70
|
|
382
382
|
},
|
|
383
383
|
"name": "FileLog",
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
"__schema": "FunctionLikeSchema",
|
|
395
395
|
"location": {
|
|
396
396
|
"filePath": "component-log.main.runtime.ts",
|
|
397
|
-
"line":
|
|
397
|
+
"line": 212,
|
|
398
398
|
"character": 3
|
|
399
399
|
},
|
|
400
400
|
"signature": "(method) ComponentLogMain.blame(filePath: PathOsBased): Promise<BlameLineInfo[]>",
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
"__schema": "ParameterSchema",
|
|
405
405
|
"location": {
|
|
406
406
|
"filePath": "component-log.main.runtime.ts",
|
|
407
|
-
"line":
|
|
407
|
+
"line": 212,
|
|
408
408
|
"character": 15
|
|
409
409
|
},
|
|
410
410
|
"name": "filePath",
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
"__schema": "TypeRefSchema",
|
|
413
413
|
"location": {
|
|
414
414
|
"filePath": "component-log.main.runtime.ts",
|
|
415
|
-
"line":
|
|
415
|
+
"line": 212,
|
|
416
416
|
"character": 25
|
|
417
417
|
},
|
|
418
418
|
"name": "PathOsBased",
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
"__schema": "TypeRefSchema",
|
|
431
431
|
"location": {
|
|
432
432
|
"filePath": "component-log.main.runtime.ts",
|
|
433
|
-
"line":
|
|
433
|
+
"line": 212,
|
|
434
434
|
"character": 39
|
|
435
435
|
},
|
|
436
436
|
"name": "Promise",
|
|
@@ -439,14 +439,14 @@
|
|
|
439
439
|
"__schema": "TypeArraySchema",
|
|
440
440
|
"location": {
|
|
441
441
|
"filePath": "component-log.main.runtime.ts",
|
|
442
|
-
"line":
|
|
442
|
+
"line": 212,
|
|
443
443
|
"character": 47
|
|
444
444
|
},
|
|
445
445
|
"type": {
|
|
446
446
|
"__schema": "TypeRefSchema",
|
|
447
447
|
"location": {
|
|
448
448
|
"filePath": "component-log.main.runtime.ts",
|
|
449
|
-
"line":
|
|
449
|
+
"line": 212,
|
|
450
450
|
"character": 47
|
|
451
451
|
},
|
|
452
452
|
"name": "BlameLineInfo",
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
"__schema": "FunctionLikeSchema",
|
|
464
464
|
"location": {
|
|
465
465
|
"filePath": "component-log.main.runtime.ts",
|
|
466
|
-
"line":
|
|
466
|
+
"line": 307,
|
|
467
467
|
"character": 3
|
|
468
468
|
},
|
|
469
469
|
"signature": "(method) ComponentLogMain.getFileLog(filePath: string): Promise<FileLog[]>",
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
"__schema": "ParameterSchema",
|
|
474
474
|
"location": {
|
|
475
475
|
"filePath": "component-log.main.runtime.ts",
|
|
476
|
-
"line":
|
|
476
|
+
"line": 307,
|
|
477
477
|
"character": 20
|
|
478
478
|
},
|
|
479
479
|
"name": "filePath",
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
"__schema": "KeywordTypeSchema",
|
|
482
482
|
"location": {
|
|
483
483
|
"filePath": "component-log.main.runtime.ts",
|
|
484
|
-
"line":
|
|
484
|
+
"line": 307,
|
|
485
485
|
"character": 30
|
|
486
486
|
},
|
|
487
487
|
"name": "string"
|
|
@@ -494,7 +494,7 @@
|
|
|
494
494
|
"__schema": "InferenceTypeSchema",
|
|
495
495
|
"location": {
|
|
496
496
|
"filePath": "component-log.main.runtime.ts",
|
|
497
|
-
"line":
|
|
497
|
+
"line": 307,
|
|
498
498
|
"character": 3
|
|
499
499
|
},
|
|
500
500
|
"type": "Promise<FileLog[]>"
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
"__schema": "VariableLikeSchema",
|
|
508
508
|
"location": {
|
|
509
509
|
"filePath": "component-log.main.runtime.ts",
|
|
510
|
-
"line":
|
|
510
|
+
"line": 364,
|
|
511
511
|
"character": 3
|
|
512
512
|
},
|
|
513
513
|
"signature": "(property) ComponentLogMain.slots: never[]",
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
"__schema": "InferenceTypeSchema",
|
|
517
517
|
"location": {
|
|
518
518
|
"filePath": "component-log.main.runtime.ts",
|
|
519
|
-
"line":
|
|
519
|
+
"line": 364,
|
|
520
520
|
"character": 3
|
|
521
521
|
},
|
|
522
522
|
"type": "never[]"
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
"__schema": "VariableLikeSchema",
|
|
529
529
|
"location": {
|
|
530
530
|
"filePath": "component-log.main.runtime.ts",
|
|
531
|
-
"line":
|
|
531
|
+
"line": 365,
|
|
532
532
|
"character": 3
|
|
533
533
|
},
|
|
534
534
|
"signature": "(property) ComponentLogMain.dependencies: Aspect[]",
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
"__schema": "InferenceTypeSchema",
|
|
538
538
|
"location": {
|
|
539
539
|
"filePath": "component-log.main.runtime.ts",
|
|
540
|
-
"line":
|
|
540
|
+
"line": 365,
|
|
541
541
|
"character": 3
|
|
542
542
|
},
|
|
543
543
|
"type": "Aspect[]"
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
"__schema": "VariableLikeSchema",
|
|
550
550
|
"location": {
|
|
551
551
|
"filePath": "component-log.main.runtime.ts",
|
|
552
|
-
"line":
|
|
552
|
+
"line": 366,
|
|
553
553
|
"character": 3
|
|
554
554
|
},
|
|
555
555
|
"signature": "(property) ComponentLogMain.runtime: RuntimeDefinition",
|
|
@@ -558,7 +558,7 @@
|
|
|
558
558
|
"__schema": "InferenceTypeSchema",
|
|
559
559
|
"location": {
|
|
560
560
|
"filePath": "component-log.main.runtime.ts",
|
|
561
|
-
"line":
|
|
561
|
+
"line": 366,
|
|
562
562
|
"character": 3
|
|
563
563
|
},
|
|
564
564
|
"type": "RuntimeDefinition"
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
"__schema": "FunctionLikeSchema",
|
|
571
571
|
"location": {
|
|
572
572
|
"filePath": "component-log.main.runtime.ts",
|
|
573
|
-
"line":
|
|
573
|
+
"line": 367,
|
|
574
574
|
"character": 3
|
|
575
575
|
},
|
|
576
576
|
"signature": "(method) ComponentLogMain.provider([cli, workspace]: [CLIMain, Workspace]): Promise<ComponentLogMain>",
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
"__schema": "ParameterSchema",
|
|
581
581
|
"location": {
|
|
582
582
|
"filePath": "component-log.main.runtime.ts",
|
|
583
|
-
"line":
|
|
583
|
+
"line": 367,
|
|
584
584
|
"character": 25
|
|
585
585
|
},
|
|
586
586
|
"name": "[ cli, workspace ]",
|
|
@@ -588,7 +588,7 @@
|
|
|
588
588
|
"__schema": "TupleTypeSchema",
|
|
589
589
|
"location": {
|
|
590
590
|
"filePath": "component-log.main.runtime.ts",
|
|
591
|
-
"line":
|
|
591
|
+
"line": 367,
|
|
592
592
|
"character": 43
|
|
593
593
|
},
|
|
594
594
|
"elements": [
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
"__schema": "TypeRefSchema",
|
|
597
597
|
"location": {
|
|
598
598
|
"filePath": "component-log.main.runtime.ts",
|
|
599
|
-
"line":
|
|
599
|
+
"line": 367,
|
|
600
600
|
"character": 44
|
|
601
601
|
},
|
|
602
602
|
"name": "CLIMain",
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
"__schema": "TypeRefSchema",
|
|
610
610
|
"location": {
|
|
611
611
|
"filePath": "component-log.main.runtime.ts",
|
|
612
|
-
"line":
|
|
612
|
+
"line": 367,
|
|
613
613
|
"character": 53
|
|
614
614
|
},
|
|
615
615
|
"name": "Workspace",
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
"__schema": "InferenceTypeSchema",
|
|
629
629
|
"location": {
|
|
630
630
|
"filePath": "component-log.main.runtime.ts",
|
|
631
|
-
"line":
|
|
631
|
+
"line": 367,
|
|
632
632
|
"character": 3
|
|
633
633
|
},
|
|
634
634
|
"type": "Promise<ComponentLogMain>"
|
|
@@ -1594,7 +1594,7 @@
|
|
|
1594
1594
|
"__schema": "FunctionLikeSchema",
|
|
1595
1595
|
"location": {
|
|
1596
1596
|
"filePath": "component-log.main.runtime.ts",
|
|
1597
|
-
"line":
|
|
1597
|
+
"line": 87,
|
|
1598
1598
|
"character": 3
|
|
1599
1599
|
},
|
|
1600
1600
|
"signature": "(method) ComponentLogMain.getLogsWithParents(id: string, options: LogOpts): Promise<string[]>",
|
|
@@ -1604,7 +1604,7 @@
|
|
|
1604
1604
|
"__schema": "ParameterSchema",
|
|
1605
1605
|
"location": {
|
|
1606
1606
|
"filePath": "component-log.main.runtime.ts",
|
|
1607
|
-
"line":
|
|
1607
|
+
"line": 87,
|
|
1608
1608
|
"character": 28
|
|
1609
1609
|
},
|
|
1610
1610
|
"name": "id",
|
|
@@ -1612,7 +1612,7 @@
|
|
|
1612
1612
|
"__schema": "KeywordTypeSchema",
|
|
1613
1613
|
"location": {
|
|
1614
1614
|
"filePath": "component-log.main.runtime.ts",
|
|
1615
|
-
"line":
|
|
1615
|
+
"line": 87,
|
|
1616
1616
|
"character": 32
|
|
1617
1617
|
},
|
|
1618
1618
|
"name": "string"
|
|
@@ -1624,7 +1624,7 @@
|
|
|
1624
1624
|
"__schema": "ParameterSchema",
|
|
1625
1625
|
"location": {
|
|
1626
1626
|
"filePath": "component-log.main.runtime.ts",
|
|
1627
|
-
"line":
|
|
1627
|
+
"line": 87,
|
|
1628
1628
|
"character": 40
|
|
1629
1629
|
},
|
|
1630
1630
|
"name": "options",
|
|
@@ -1632,7 +1632,7 @@
|
|
|
1632
1632
|
"__schema": "TypeRefSchema",
|
|
1633
1633
|
"location": {
|
|
1634
1634
|
"filePath": "component-log.main.runtime.ts",
|
|
1635
|
-
"line":
|
|
1635
|
+
"line": 87,
|
|
1636
1636
|
"character": 49
|
|
1637
1637
|
},
|
|
1638
1638
|
"name": "LogOpts",
|
|
@@ -1646,7 +1646,7 @@
|
|
|
1646
1646
|
"__schema": "InferenceTypeSchema",
|
|
1647
1647
|
"location": {
|
|
1648
1648
|
"filePath": "component-log.main.runtime.ts",
|
|
1649
|
-
"line":
|
|
1649
|
+
"line": 87,
|
|
1650
1650
|
"character": 3
|
|
1651
1651
|
},
|
|
1652
1652
|
"type": "Promise<string[]>"
|
|
@@ -1659,7 +1659,7 @@
|
|
|
1659
1659
|
"__schema": "FunctionLikeSchema",
|
|
1660
1660
|
"location": {
|
|
1661
1661
|
"filePath": "component-log.main.runtime.ts",
|
|
1662
|
-
"line":
|
|
1662
|
+
"line": 94,
|
|
1663
1663
|
"character": 3
|
|
1664
1664
|
},
|
|
1665
1665
|
"signature": "(method) ComponentLogMain.getChangedFilesFromParent(id: string): Promise<FileHashDiffFromParent[]>",
|
|
@@ -1669,7 +1669,7 @@
|
|
|
1669
1669
|
"__schema": "ParameterSchema",
|
|
1670
1670
|
"location": {
|
|
1671
1671
|
"filePath": "component-log.main.runtime.ts",
|
|
1672
|
-
"line":
|
|
1672
|
+
"line": 94,
|
|
1673
1673
|
"character": 35
|
|
1674
1674
|
},
|
|
1675
1675
|
"name": "id",
|
|
@@ -1677,7 +1677,7 @@
|
|
|
1677
1677
|
"__schema": "KeywordTypeSchema",
|
|
1678
1678
|
"location": {
|
|
1679
1679
|
"filePath": "component-log.main.runtime.ts",
|
|
1680
|
-
"line":
|
|
1680
|
+
"line": 94,
|
|
1681
1681
|
"character": 39
|
|
1682
1682
|
},
|
|
1683
1683
|
"name": "string"
|
|
@@ -1690,7 +1690,7 @@
|
|
|
1690
1690
|
"__schema": "TypeRefSchema",
|
|
1691
1691
|
"location": {
|
|
1692
1692
|
"filePath": "component-log.main.runtime.ts",
|
|
1693
|
-
"line":
|
|
1693
|
+
"line": 94,
|
|
1694
1694
|
"character": 48
|
|
1695
1695
|
},
|
|
1696
1696
|
"name": "Promise",
|
|
@@ -1699,14 +1699,14 @@
|
|
|
1699
1699
|
"__schema": "TypeArraySchema",
|
|
1700
1700
|
"location": {
|
|
1701
1701
|
"filePath": "component-log.main.runtime.ts",
|
|
1702
|
-
"line":
|
|
1702
|
+
"line": 94,
|
|
1703
1703
|
"character": 56
|
|
1704
1704
|
},
|
|
1705
1705
|
"type": {
|
|
1706
1706
|
"__schema": "TypeRefSchema",
|
|
1707
1707
|
"location": {
|
|
1708
1708
|
"filePath": "component-log.main.runtime.ts",
|
|
1709
|
-
"line":
|
|
1709
|
+
"line": 94,
|
|
1710
1710
|
"character": 56
|
|
1711
1711
|
},
|
|
1712
1712
|
"name": "FileHashDiffFromParent"
|
|
@@ -1722,7 +1722,7 @@
|
|
|
1722
1722
|
"__schema": "FunctionLikeSchema",
|
|
1723
1723
|
"location": {
|
|
1724
1724
|
"filePath": "component-log.main.runtime.ts",
|
|
1725
|
-
"line":
|
|
1725
|
+
"line": 134,
|
|
1726
1726
|
"character": 3
|
|
1727
1727
|
},
|
|
1728
1728
|
"signature": "(method) ComponentLogMain.getFileHistoryHashes(filePath: PathOsBasedAbsolute): Promise<FileLog[]>",
|
|
@@ -1732,7 +1732,7 @@
|
|
|
1732
1732
|
"__schema": "ParameterSchema",
|
|
1733
1733
|
"location": {
|
|
1734
1734
|
"filePath": "component-log.main.runtime.ts",
|
|
1735
|
-
"line":
|
|
1735
|
+
"line": 134,
|
|
1736
1736
|
"character": 30
|
|
1737
1737
|
},
|
|
1738
1738
|
"name": "filePath",
|
|
@@ -1740,7 +1740,7 @@
|
|
|
1740
1740
|
"__schema": "TypeRefSchema",
|
|
1741
1741
|
"location": {
|
|
1742
1742
|
"filePath": "component-log.main.runtime.ts",
|
|
1743
|
-
"line":
|
|
1743
|
+
"line": 134,
|
|
1744
1744
|
"character": 40
|
|
1745
1745
|
},
|
|
1746
1746
|
"name": "PathOsBasedAbsolute",
|
|
@@ -1758,7 +1758,7 @@
|
|
|
1758
1758
|
"__schema": "TypeRefSchema",
|
|
1759
1759
|
"location": {
|
|
1760
1760
|
"filePath": "component-log.main.runtime.ts",
|
|
1761
|
-
"line":
|
|
1761
|
+
"line": 134,
|
|
1762
1762
|
"character": 62
|
|
1763
1763
|
},
|
|
1764
1764
|
"name": "Promise",
|
|
@@ -1767,14 +1767,14 @@
|
|
|
1767
1767
|
"__schema": "TypeArraySchema",
|
|
1768
1768
|
"location": {
|
|
1769
1769
|
"filePath": "component-log.main.runtime.ts",
|
|
1770
|
-
"line":
|
|
1770
|
+
"line": 134,
|
|
1771
1771
|
"character": 70
|
|
1772
1772
|
},
|
|
1773
1773
|
"type": {
|
|
1774
1774
|
"__schema": "TypeRefSchema",
|
|
1775
1775
|
"location": {
|
|
1776
1776
|
"filePath": "component-log.main.runtime.ts",
|
|
1777
|
-
"line":
|
|
1777
|
+
"line": 134,
|
|
1778
1778
|
"character": 70
|
|
1779
1779
|
},
|
|
1780
1780
|
"name": "FileLog",
|
|
@@ -1791,7 +1791,7 @@
|
|
|
1791
1791
|
"__schema": "FunctionLikeSchema",
|
|
1792
1792
|
"location": {
|
|
1793
1793
|
"filePath": "component-log.main.runtime.ts",
|
|
1794
|
-
"line":
|
|
1794
|
+
"line": 212,
|
|
1795
1795
|
"character": 3
|
|
1796
1796
|
},
|
|
1797
1797
|
"signature": "(method) ComponentLogMain.blame(filePath: PathOsBased): Promise<BlameLineInfo[]>",
|
|
@@ -1801,7 +1801,7 @@
|
|
|
1801
1801
|
"__schema": "ParameterSchema",
|
|
1802
1802
|
"location": {
|
|
1803
1803
|
"filePath": "component-log.main.runtime.ts",
|
|
1804
|
-
"line":
|
|
1804
|
+
"line": 212,
|
|
1805
1805
|
"character": 15
|
|
1806
1806
|
},
|
|
1807
1807
|
"name": "filePath",
|
|
@@ -1809,7 +1809,7 @@
|
|
|
1809
1809
|
"__schema": "TypeRefSchema",
|
|
1810
1810
|
"location": {
|
|
1811
1811
|
"filePath": "component-log.main.runtime.ts",
|
|
1812
|
-
"line":
|
|
1812
|
+
"line": 212,
|
|
1813
1813
|
"character": 25
|
|
1814
1814
|
},
|
|
1815
1815
|
"name": "PathOsBased",
|
|
@@ -1827,7 +1827,7 @@
|
|
|
1827
1827
|
"__schema": "TypeRefSchema",
|
|
1828
1828
|
"location": {
|
|
1829
1829
|
"filePath": "component-log.main.runtime.ts",
|
|
1830
|
-
"line":
|
|
1830
|
+
"line": 212,
|
|
1831
1831
|
"character": 39
|
|
1832
1832
|
},
|
|
1833
1833
|
"name": "Promise",
|
|
@@ -1836,14 +1836,14 @@
|
|
|
1836
1836
|
"__schema": "TypeArraySchema",
|
|
1837
1837
|
"location": {
|
|
1838
1838
|
"filePath": "component-log.main.runtime.ts",
|
|
1839
|
-
"line":
|
|
1839
|
+
"line": 212,
|
|
1840
1840
|
"character": 47
|
|
1841
1841
|
},
|
|
1842
1842
|
"type": {
|
|
1843
1843
|
"__schema": "TypeRefSchema",
|
|
1844
1844
|
"location": {
|
|
1845
1845
|
"filePath": "component-log.main.runtime.ts",
|
|
1846
|
-
"line":
|
|
1846
|
+
"line": 212,
|
|
1847
1847
|
"character": 47
|
|
1848
1848
|
},
|
|
1849
1849
|
"name": "BlameLineInfo",
|
|
@@ -1860,7 +1860,7 @@
|
|
|
1860
1860
|
"__schema": "FunctionLikeSchema",
|
|
1861
1861
|
"location": {
|
|
1862
1862
|
"filePath": "component-log.main.runtime.ts",
|
|
1863
|
-
"line":
|
|
1863
|
+
"line": 307,
|
|
1864
1864
|
"character": 3
|
|
1865
1865
|
},
|
|
1866
1866
|
"signature": "(method) ComponentLogMain.getFileLog(filePath: string): Promise<FileLog[]>",
|
|
@@ -1870,7 +1870,7 @@
|
|
|
1870
1870
|
"__schema": "ParameterSchema",
|
|
1871
1871
|
"location": {
|
|
1872
1872
|
"filePath": "component-log.main.runtime.ts",
|
|
1873
|
-
"line":
|
|
1873
|
+
"line": 307,
|
|
1874
1874
|
"character": 20
|
|
1875
1875
|
},
|
|
1876
1876
|
"name": "filePath",
|
|
@@ -1878,7 +1878,7 @@
|
|
|
1878
1878
|
"__schema": "KeywordTypeSchema",
|
|
1879
1879
|
"location": {
|
|
1880
1880
|
"filePath": "component-log.main.runtime.ts",
|
|
1881
|
-
"line":
|
|
1881
|
+
"line": 307,
|
|
1882
1882
|
"character": 30
|
|
1883
1883
|
},
|
|
1884
1884
|
"name": "string"
|
|
@@ -1891,7 +1891,7 @@
|
|
|
1891
1891
|
"__schema": "InferenceTypeSchema",
|
|
1892
1892
|
"location": {
|
|
1893
1893
|
"filePath": "component-log.main.runtime.ts",
|
|
1894
|
-
"line":
|
|
1894
|
+
"line": 307,
|
|
1895
1895
|
"character": 3
|
|
1896
1896
|
},
|
|
1897
1897
|
"type": "Promise<FileLog[]>"
|
|
@@ -1904,7 +1904,7 @@
|
|
|
1904
1904
|
"__schema": "VariableLikeSchema",
|
|
1905
1905
|
"location": {
|
|
1906
1906
|
"filePath": "component-log.main.runtime.ts",
|
|
1907
|
-
"line":
|
|
1907
|
+
"line": 364,
|
|
1908
1908
|
"character": 3
|
|
1909
1909
|
},
|
|
1910
1910
|
"signature": "(property) ComponentLogMain.slots: never[]",
|
|
@@ -1913,7 +1913,7 @@
|
|
|
1913
1913
|
"__schema": "InferenceTypeSchema",
|
|
1914
1914
|
"location": {
|
|
1915
1915
|
"filePath": "component-log.main.runtime.ts",
|
|
1916
|
-
"line":
|
|
1916
|
+
"line": 364,
|
|
1917
1917
|
"character": 3
|
|
1918
1918
|
},
|
|
1919
1919
|
"type": "never[]"
|
|
@@ -1925,7 +1925,7 @@
|
|
|
1925
1925
|
"__schema": "VariableLikeSchema",
|
|
1926
1926
|
"location": {
|
|
1927
1927
|
"filePath": "component-log.main.runtime.ts",
|
|
1928
|
-
"line":
|
|
1928
|
+
"line": 365,
|
|
1929
1929
|
"character": 3
|
|
1930
1930
|
},
|
|
1931
1931
|
"signature": "(property) ComponentLogMain.dependencies: Aspect[]",
|
|
@@ -1934,7 +1934,7 @@
|
|
|
1934
1934
|
"__schema": "InferenceTypeSchema",
|
|
1935
1935
|
"location": {
|
|
1936
1936
|
"filePath": "component-log.main.runtime.ts",
|
|
1937
|
-
"line":
|
|
1937
|
+
"line": 365,
|
|
1938
1938
|
"character": 3
|
|
1939
1939
|
},
|
|
1940
1940
|
"type": "Aspect[]"
|
|
@@ -1946,7 +1946,7 @@
|
|
|
1946
1946
|
"__schema": "VariableLikeSchema",
|
|
1947
1947
|
"location": {
|
|
1948
1948
|
"filePath": "component-log.main.runtime.ts",
|
|
1949
|
-
"line":
|
|
1949
|
+
"line": 366,
|
|
1950
1950
|
"character": 3
|
|
1951
1951
|
},
|
|
1952
1952
|
"signature": "(property) ComponentLogMain.runtime: RuntimeDefinition",
|
|
@@ -1955,7 +1955,7 @@
|
|
|
1955
1955
|
"__schema": "InferenceTypeSchema",
|
|
1956
1956
|
"location": {
|
|
1957
1957
|
"filePath": "component-log.main.runtime.ts",
|
|
1958
|
-
"line":
|
|
1958
|
+
"line": 366,
|
|
1959
1959
|
"character": 3
|
|
1960
1960
|
},
|
|
1961
1961
|
"type": "RuntimeDefinition"
|
|
@@ -1967,7 +1967,7 @@
|
|
|
1967
1967
|
"__schema": "FunctionLikeSchema",
|
|
1968
1968
|
"location": {
|
|
1969
1969
|
"filePath": "component-log.main.runtime.ts",
|
|
1970
|
-
"line":
|
|
1970
|
+
"line": 367,
|
|
1971
1971
|
"character": 3
|
|
1972
1972
|
},
|
|
1973
1973
|
"signature": "(method) ComponentLogMain.provider([cli, workspace]: [CLIMain, Workspace]): Promise<ComponentLogMain>",
|
|
@@ -1977,7 +1977,7 @@
|
|
|
1977
1977
|
"__schema": "ParameterSchema",
|
|
1978
1978
|
"location": {
|
|
1979
1979
|
"filePath": "component-log.main.runtime.ts",
|
|
1980
|
-
"line":
|
|
1980
|
+
"line": 367,
|
|
1981
1981
|
"character": 25
|
|
1982
1982
|
},
|
|
1983
1983
|
"name": "[ cli, workspace ]",
|
|
@@ -1985,7 +1985,7 @@
|
|
|
1985
1985
|
"__schema": "TupleTypeSchema",
|
|
1986
1986
|
"location": {
|
|
1987
1987
|
"filePath": "component-log.main.runtime.ts",
|
|
1988
|
-
"line":
|
|
1988
|
+
"line": 367,
|
|
1989
1989
|
"character": 43
|
|
1990
1990
|
},
|
|
1991
1991
|
"elements": [
|
|
@@ -1993,7 +1993,7 @@
|
|
|
1993
1993
|
"__schema": "TypeRefSchema",
|
|
1994
1994
|
"location": {
|
|
1995
1995
|
"filePath": "component-log.main.runtime.ts",
|
|
1996
|
-
"line":
|
|
1996
|
+
"line": 367,
|
|
1997
1997
|
"character": 44
|
|
1998
1998
|
},
|
|
1999
1999
|
"name": "CLIMain",
|
|
@@ -2006,7 +2006,7 @@
|
|
|
2006
2006
|
"__schema": "TypeRefSchema",
|
|
2007
2007
|
"location": {
|
|
2008
2008
|
"filePath": "component-log.main.runtime.ts",
|
|
2009
|
-
"line":
|
|
2009
|
+
"line": 367,
|
|
2010
2010
|
"character": 53
|
|
2011
2011
|
},
|
|
2012
2012
|
"name": "Workspace",
|
|
@@ -2025,7 +2025,7 @@
|
|
|
2025
2025
|
"__schema": "InferenceTypeSchema",
|
|
2026
2026
|
"location": {
|
|
2027
2027
|
"filePath": "component-log.main.runtime.ts",
|
|
2028
|
-
"line":
|
|
2028
|
+
"line": 367,
|
|
2029
2029
|
"character": 3
|
|
2030
2030
|
},
|
|
2031
2031
|
"type": "Promise<ComponentLogMain>"
|
|
@@ -2043,7 +2043,7 @@
|
|
|
2043
2043
|
"__schema": "TypeSchema",
|
|
2044
2044
|
"location": {
|
|
2045
2045
|
"filePath": "component-log.main.runtime.ts",
|
|
2046
|
-
"line":
|
|
2046
|
+
"line": 376,
|
|
2047
2047
|
"character": 1
|
|
2048
2048
|
},
|
|
2049
2049
|
"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}",
|
|
@@ -2052,7 +2052,7 @@
|
|
|
2052
2052
|
"__schema": "TypeLiteralSchema",
|
|
2053
2053
|
"location": {
|
|
2054
2054
|
"filePath": "component-log.main.runtime.ts",
|
|
2055
|
-
"line":
|
|
2055
|
+
"line": 376,
|
|
2056
2056
|
"character": 32
|
|
2057
2057
|
},
|
|
2058
2058
|
"members": [
|
|
@@ -2060,7 +2060,7 @@
|
|
|
2060
2060
|
"__schema": "VariableLikeSchema",
|
|
2061
2061
|
"location": {
|
|
2062
2062
|
"filePath": "component-log.main.runtime.ts",
|
|
2063
|
-
"line":
|
|
2063
|
+
"line": 377,
|
|
2064
2064
|
"character": 3
|
|
2065
2065
|
},
|
|
2066
2066
|
"signature": "(property) hash: string",
|
|
@@ -2069,7 +2069,7 @@
|
|
|
2069
2069
|
"__schema": "KeywordTypeSchema",
|
|
2070
2070
|
"location": {
|
|
2071
2071
|
"filePath": "component-log.main.runtime.ts",
|
|
2072
|
-
"line":
|
|
2072
|
+
"line": 377,
|
|
2073
2073
|
"character": 9
|
|
2074
2074
|
},
|
|
2075
2075
|
"name": "string"
|
|
@@ -2080,7 +2080,7 @@
|
|
|
2080
2080
|
"__schema": "VariableLikeSchema",
|
|
2081
2081
|
"location": {
|
|
2082
2082
|
"filePath": "component-log.main.runtime.ts",
|
|
2083
|
-
"line":
|
|
2083
|
+
"line": 378,
|
|
2084
2084
|
"character": 3
|
|
2085
2085
|
},
|
|
2086
2086
|
"signature": "(property) message: string",
|
|
@@ -2089,7 +2089,7 @@
|
|
|
2089
2089
|
"__schema": "KeywordTypeSchema",
|
|
2090
2090
|
"location": {
|
|
2091
2091
|
"filePath": "component-log.main.runtime.ts",
|
|
2092
|
-
"line":
|
|
2092
|
+
"line": 378,
|
|
2093
2093
|
"character": 12
|
|
2094
2094
|
},
|
|
2095
2095
|
"name": "string"
|
|
@@ -2100,7 +2100,7 @@
|
|
|
2100
2100
|
"__schema": "VariableLikeSchema",
|
|
2101
2101
|
"location": {
|
|
2102
2102
|
"filePath": "component-log.main.runtime.ts",
|
|
2103
|
-
"line":
|
|
2103
|
+
"line": 379,
|
|
2104
2104
|
"character": 3
|
|
2105
2105
|
},
|
|
2106
2106
|
"signature": "(property) onLane?: boolean | undefined",
|
|
@@ -2109,7 +2109,7 @@
|
|
|
2109
2109
|
"__schema": "KeywordTypeSchema",
|
|
2110
2110
|
"location": {
|
|
2111
2111
|
"filePath": "component-log.main.runtime.ts",
|
|
2112
|
-
"line":
|
|
2112
|
+
"line": 379,
|
|
2113
2113
|
"character": 12
|
|
2114
2114
|
},
|
|
2115
2115
|
"name": "boolean"
|
|
@@ -2120,7 +2120,7 @@
|
|
|
2120
2120
|
"__schema": "VariableLikeSchema",
|
|
2121
2121
|
"location": {
|
|
2122
2122
|
"filePath": "component-log.main.runtime.ts",
|
|
2123
|
-
"line":
|
|
2123
|
+
"line": 380,
|
|
2124
2124
|
"character": 3
|
|
2125
2125
|
},
|
|
2126
2126
|
"signature": "(property) parents: string[]",
|
|
@@ -2129,14 +2129,14 @@
|
|
|
2129
2129
|
"__schema": "TypeArraySchema",
|
|
2130
2130
|
"location": {
|
|
2131
2131
|
"filePath": "component-log.main.runtime.ts",
|
|
2132
|
-
"line":
|
|
2132
|
+
"line": 380,
|
|
2133
2133
|
"character": 12
|
|
2134
2134
|
},
|
|
2135
2135
|
"type": {
|
|
2136
2136
|
"__schema": "KeywordTypeSchema",
|
|
2137
2137
|
"location": {
|
|
2138
2138
|
"filePath": "component-log.main.runtime.ts",
|
|
2139
|
-
"line":
|
|
2139
|
+
"line": 380,
|
|
2140
2140
|
"character": 12
|
|
2141
2141
|
},
|
|
2142
2142
|
"name": "string"
|
|
@@ -2148,7 +2148,7 @@
|
|
|
2148
2148
|
"__schema": "VariableLikeSchema",
|
|
2149
2149
|
"location": {
|
|
2150
2150
|
"filePath": "component-log.main.runtime.ts",
|
|
2151
|
-
"line":
|
|
2151
|
+
"line": 381,
|
|
2152
2152
|
"character": 3
|
|
2153
2153
|
},
|
|
2154
2154
|
"signature": "(property) username?: string | undefined",
|
|
@@ -2157,7 +2157,7 @@
|
|
|
2157
2157
|
"__schema": "KeywordTypeSchema",
|
|
2158
2158
|
"location": {
|
|
2159
2159
|
"filePath": "component-log.main.runtime.ts",
|
|
2160
|
-
"line":
|
|
2160
|
+
"line": 381,
|
|
2161
2161
|
"character": 14
|
|
2162
2162
|
},
|
|
2163
2163
|
"name": "string"
|
|
@@ -2168,7 +2168,7 @@
|
|
|
2168
2168
|
"__schema": "VariableLikeSchema",
|
|
2169
2169
|
"location": {
|
|
2170
2170
|
"filePath": "component-log.main.runtime.ts",
|
|
2171
|
-
"line":
|
|
2171
|
+
"line": 382,
|
|
2172
2172
|
"character": 3
|
|
2173
2173
|
},
|
|
2174
2174
|
"signature": "(property) email?: string | undefined",
|
|
@@ -2177,7 +2177,7 @@
|
|
|
2177
2177
|
"__schema": "KeywordTypeSchema",
|
|
2178
2178
|
"location": {
|
|
2179
2179
|
"filePath": "component-log.main.runtime.ts",
|
|
2180
|
-
"line":
|
|
2180
|
+
"line": 382,
|
|
2181
2181
|
"character": 11
|
|
2182
2182
|
},
|
|
2183
2183
|
"name": "string"
|
|
@@ -2188,7 +2188,7 @@
|
|
|
2188
2188
|
"__schema": "VariableLikeSchema",
|
|
2189
2189
|
"location": {
|
|
2190
2190
|
"filePath": "component-log.main.runtime.ts",
|
|
2191
|
-
"line":
|
|
2191
|
+
"line": 383,
|
|
2192
2192
|
"character": 3
|
|
2193
2193
|
},
|
|
2194
2194
|
"signature": "(property) date?: string | undefined",
|
|
@@ -2197,7 +2197,7 @@
|
|
|
2197
2197
|
"__schema": "KeywordTypeSchema",
|
|
2198
2198
|
"location": {
|
|
2199
2199
|
"filePath": "component-log.main.runtime.ts",
|
|
2200
|
-
"line":
|
|
2200
|
+
"line": 383,
|
|
2201
2201
|
"character": 10
|
|
2202
2202
|
},
|
|
2203
2203
|
"name": "string"
|
|
@@ -2208,7 +2208,7 @@
|
|
|
2208
2208
|
"__schema": "VariableLikeSchema",
|
|
2209
2209
|
"location": {
|
|
2210
2210
|
"filePath": "component-log.main.runtime.ts",
|
|
2211
|
-
"line":
|
|
2211
|
+
"line": 384,
|
|
2212
2212
|
"character": 3
|
|
2213
2213
|
},
|
|
2214
2214
|
"signature": "(property) tag?: string | undefined",
|
|
@@ -2217,7 +2217,7 @@
|
|
|
2217
2217
|
"__schema": "KeywordTypeSchema",
|
|
2218
2218
|
"location": {
|
|
2219
2219
|
"filePath": "component-log.main.runtime.ts",
|
|
2220
|
-
"line":
|
|
2220
|
+
"line": 384,
|
|
2221
2221
|
"character": 9
|
|
2222
2222
|
},
|
|
2223
2223
|
"name": "string"
|
|
@@ -2233,7 +2233,7 @@
|
|
|
2233
2233
|
"__schema": "UnImplementedSchema",
|
|
2234
2234
|
"location": {
|
|
2235
2235
|
"filePath": "component-log.main.runtime.ts",
|
|
2236
|
-
"line":
|
|
2236
|
+
"line": 374,
|
|
2237
2237
|
"character": 1
|
|
2238
2238
|
},
|
|
2239
2239
|
"name": "ComponentLogAspect.addRuntime(ComponentLogMain);",
|
|
@@ -2282,7 +2282,7 @@
|
|
|
2282
2282
|
"componentId": {
|
|
2283
2283
|
"scope": "teambit.component",
|
|
2284
2284
|
"name": "component-log",
|
|
2285
|
-
"version": "1.0.
|
|
2285
|
+
"version": "1.0.469"
|
|
2286
2286
|
},
|
|
2287
2287
|
"taggedModuleExports": []
|
|
2288
2288
|
}
|
|
@@ -163,6 +163,7 @@ 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()) return []; // component is new
|
|
166
167
|
const logs = await this.workspace.scope.getLogs(componentId, shortHash, undefined, true);
|
|
167
168
|
logs.forEach(log => {
|
|
168
169
|
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","_toolboxPath","_objects","_legacy","_chalk","_getRemoteByName","_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","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 { Source, Version } from '@teambit/legacy/dist/scope/models';\nimport { pathNormalizeToLinux, PathOsBased, PathOsBasedAbsolute } from '@teambit/toolbox.path.path';\nimport { Ref } from '@teambit/legacy/dist/scope/objects';\nimport { getFilesDiff } from '@teambit/legacy.component-diff';\nimport chalk from 'chalk';\nimport getRemoteByName from '@teambit/legacy/dist/remotes/get-remote-by-name';\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 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,SAAAG,MAAA;EAAA,MAAAH,IAAA,GAAAI,sBAAA,CAAAH,OAAA;EAAAE,KAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA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CAAC;IACJ,CAAC,CAAC;IACF,OAAO3B,OAAO;EAChB;EAEQf,uBAAuBA,CAAC0H,OAAyB,EAAE;IACzD,MAAMjH,OAAO,GAAGiH,OAAO,CAACjH,OAAO,CAACqB,MAAM,GAAG,cAAc4F,OAAO,CAACjH,OAAO,CAACiB,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,OAAO;IAC7F,OAAO,GAAGiG,gBAAK,CAACC,MAAM,CAACF,OAAO,CAAC/F,IAAI,CAAC,IAAI+F,OAAO,CAACtE,QAAQ,IAAI,EAAE,IAAIsE,OAAO,CAAC5I,IAAI,IAAI,EAAE,IAClF4I,OAAO,CAACvI,OAAO,KACZsB,OAAO,EAAE;EAChB;EAKA,aAAaoH,QAAQA,CAAC,CAACC,GAAG,EAAErK,SAAS,CAAuB,EAAE;IAC5D,MAAMsK,YAAY,GAAG,IAAIxK,gBAAgB,CAACE,SAAS,CAAC;IACpDqK,GAAG,CAACE,QAAQ,CAAC,KAAIC,iBAAM,EAACF,YAAY,CAAC,EAAE,KAAIG,wBAAU,EAACH,YAAY,CAAC,EAAE,KAAII,oBAAQ,EAACJ,YAAY,CAAC,CAAC;IAChG,OAAOA,YAAY;EACrB;AACF;AAACK,OAAA,CAAA7K,gBAAA,GAAAA,gBAAA;AAAAlB,eAAA,CArTYkB,gBAAgB,WA6SZ,EAAE;AAAAlB,eAAA,CA7SNkB,gBAAgB,kBA8SL,CAAC8K,gBAAS,EAAEC,4BAAe,CAAC;AAAAjM,eAAA,CA9SvCkB,gBAAgB,aA+SVgL,kBAAW;AAQ9BC,kCAAkB,CAACC,UAAU,CAAClL,gBAAgB,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_cli","data","require","_componentId","_path","_interopRequireDefault","_moment","_pMap","_workspace","_lodash","_pMapSeries","_toolboxPath","_objects","_legacy","_chalk","_getRemoteByName","_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 { Source, Version } from '@teambit/legacy/dist/scope/models';\nimport { pathNormalizeToLinux, PathOsBased, PathOsBasedAbsolute } from '@teambit/toolbox.path.path';\nimport { Ref } from '@teambit/legacy/dist/scope/objects';\nimport { getFilesDiff } from '@teambit/legacy.component-diff';\nimport chalk from 'chalk';\nimport getRemoteByName from '@teambit/legacy/dist/remotes/get-remote-by-name';\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,IAA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ACnL,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.469/dist/component-log.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-log@1.0.469/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.469",
|
|
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.469"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -19,11 +19,11 @@
|
|
|
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.1046",
|
|
23
23
|
"@teambit/legacy-component-log": "0.0.404",
|
|
24
24
|
"@teambit/legacy.component-diff": "0.0.46",
|
|
25
25
|
"@teambit/toolbox.path.path": "0.0.4",
|
|
26
|
-
"@teambit/workspace": "1.0.
|
|
26
|
+
"@teambit/workspace": "1.0.469"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/diff": "^5.2.3",
|