git-history-ui 1.0.5 → 2.0.0

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +7 -0
  3. package/build/frontend/index.html +13 -10
  4. package/build/frontend/main-7AXSFTJM.js +11 -0
  5. package/build/frontend/styles-YQ73RJ2V.css +1 -0
  6. package/dist/backend/dev-server.d.ts +0 -1
  7. package/dist/backend/dev-server.js +8 -4
  8. package/dist/backend/dev-server.js.map +1 -1
  9. package/dist/backend/gitService.d.ts +36 -11
  10. package/dist/backend/gitService.js +341 -197
  11. package/dist/backend/gitService.js.map +1 -1
  12. package/dist/backend/server.d.ts +8 -2
  13. package/dist/backend/server.js +145 -111
  14. package/dist/backend/server.js.map +1 -1
  15. package/dist/cli.d.ts +0 -1
  16. package/dist/cli.js +44 -22
  17. package/dist/cli.js.map +1 -1
  18. package/package.json +43 -27
  19. package/build/frontend/main-44CFNHDH.js +0 -8
  20. package/build/frontend/main-YHO6NCZZ.js +0 -8
  21. package/build/frontend/styles-26JPPBSI.css +0 -1
  22. package/build/frontend/styles-J5I4DBTU.css +0 -1
  23. package/dist/__tests__/gitService.test.d.ts +0 -2
  24. package/dist/__tests__/gitService.test.d.ts.map +0 -1
  25. package/dist/__tests__/gitService.test.js +0 -427
  26. package/dist/__tests__/gitService.test.js.map +0 -1
  27. package/dist/__tests__/setup.d.ts +0 -2
  28. package/dist/__tests__/setup.d.ts.map +0 -1
  29. package/dist/__tests__/setup.js +0 -24
  30. package/dist/__tests__/setup.js.map +0 -1
  31. package/dist/backend/dev-server.d.ts.map +0 -1
  32. package/dist/backend/gitService.d.ts.map +0 -1
  33. package/dist/backend/server.d.ts.map +0 -1
  34. package/dist/cli.d.ts.map +0 -1
  35. package/dist/config/paths.d.ts +0 -14
  36. package/dist/config/paths.d.ts.map +0 -1
  37. package/dist/config/paths.js +0 -35
  38. package/dist/config/paths.js.map +0 -1
@@ -1 +0,0 @@
1
- *,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.relative{position:relative}.grid{display:grid}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-wrap{flex-wrap:wrap}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.border{border-width:1px}.text-xs{font-size:.75rem;line-height:1rem}.italic{font-style:italic}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.outline{outline-style:solid}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;color:#333;background-color:#f8f9fa}@media (prefers-color-scheme: dark){body{background-color:#1a1a1a;color:#e0e0e0}}.dark,.dark body{background-color:#1a1a1a!important;color:#e0e0e0!important}.dark *{border-color:#404040!important}.dark .app-container{background-color:#1a1a1a;color:#e0e0e0}.dark .header{background-color:#2d2d2d;border-bottom-color:#404040}.dark .app-title{color:#e0e0e0}.dark .search-input{background-color:#404040;color:#e0e0e0;border-color:#555}.dark .search-input::placeholder{color:#9ca3af}.dark .filters{background-color:#2d2d2d;border-bottom-color:#404040}.dark .filter-select,.dark .filter-input{background-color:#404040;color:#e0e0e0;border-color:#555}.dark .main-content{background-color:#1a1a1a}.dark .commit-item{background-color:#2d2d2d;border-color:#404040}.dark .commit-hash{color:#9ca3af}.dark .commit-author{color:#d1d5db}.dark .commit-date{color:#9ca3af}.dark .commit-message{color:#e0e0e0}.dark input[type=date],.dark .date-picker,.dark .filter-input.date-picker{background-color:#404040!important;color:#e0e0e0!important;border-color:#555!important}.dark input[type=date]::-webkit-calendar-picker-indicator{filter:invert(1)!important}.dark input[type=date]::-webkit-datetime-edit{color:#e0e0e0!important}.dark input[type=date]::-webkit-datetime-edit-fields-wrapper{color:#e0e0e0!important}.dark input[type=date]::-webkit-datetime-edit-text{color:#e0e0e0!important}.dark input[type=date]::-webkit-datetime-edit-month-field,.dark input[type=date]::-webkit-datetime-edit-day-field,.dark input[type=date]::-webkit-datetime-edit-year-field{color:#e0e0e0!important}.dark .loading{color:#e0e0e0}.dark .graph-container{background-color:#2d2d2d!important;color:#e0e0e0!important}.dark svg{background-color:transparent!important}.dark .modal-title,.dark .modal-header .modal-title,.dark .modal-container .modal-title{color:#e0e0e0!important}.dark .header{background-color:#2d2d2d!important;border-bottom-color:#404040!important}.dark .app-title{color:#e0e0e0!important}.dark .filters{background-color:#2d2d2d!important;border-bottom-color:#404040!important}.dark input::placeholder{color:#9ca3af!important}.dark select{color:#e0e0e0!important}*,input,select,button{transition:background-color .2s ease,border-color .2s ease,color .2s ease}.dark .card,.dark .commit-item,.dark .modal-container,.dark .diff-viewer{background-color:#2d2d2d!important;color:#e0e0e0!important;border-color:#404040!important}.dark .btn{background-color:#404040!important;color:#e0e0e0!important;border-color:#555!important}.dark .btn:hover{background-color:#555!important}.dark .btn-primary{background-color:#3b82f6!important;color:#fff!important}.dark .btn-primary:hover{background-color:#2563eb!important}.dark .btn-secondary{background-color:#6b7280!important;color:#fff!important}.dark .btn-secondary:hover{background-color:#4b5563!important}.dark .file-item,.dark .diff-item{background-color:#404040!important;border-color:#555!important}.dark .section-title,.dark .commit-meta,.dark .commit-info{color:#e0e0e0!important}.dark .commit-hash{color:#9ca3af!important}.dark .commit-author{color:#d1d5db!important}.dark .commit-date{color:#9ca3af!important}.dark .commit-message{color:#e0e0e0!important}.dark .file-name,.dark .diff-file-name{color:#d1d5db!important}.dark .diff-stats{color:#9ca3af!important}.container{max-width:1200px;margin:0 auto;padding:0 1rem}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.space-x-4>*+*{margin-left:1rem}.space-y-4>*+*{margin-top:1rem}.btn{padding:.5rem 1rem;border:none;border-radius:.375rem;cursor:pointer;font-size:.875rem;transition:all .2s;margin-right:.5rem}.btn:last-child{margin-right:0}.flex.items-center{gap:.5rem}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:hover{background-color:#2563eb}.btn-secondary{background-color:#6b7280;color:#fff}.btn-secondary:hover{background-color:#4b5563}.card{background-color:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.dark .card{background-color:#2d2d2d;color:#e0e0e0}.commit-node{cursor:pointer;transition:all .2s ease}.commit-node:hover{stroke-width:3px}.branch-line{stroke-width:2px}.diff-line{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;line-height:1.4}.diff-line.added{background-color:#dcfce7;color:#166534}.diff-line.removed{background-color:#fee2e2;color:#991b1b}.dark .diff-line.added{background-color:#14532d;color:#bbf7d0}.dark .diff-line.removed{background-color:#7f1d1d;color:#fecaca}
@@ -1 +0,0 @@
1
- *,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.grid{display:grid}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-wrap{flex-wrap:wrap}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.border{border-width:1px}.text-xs{font-size:.75rem;line-height:1rem}.italic{font-style:italic}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;color:#333;background-color:#f8f9fa}@media (prefers-color-scheme: dark){body{background-color:#1a1a1a;color:#e0e0e0}}.dark,.dark body{background-color:#1a1a1a!important;color:#e0e0e0!important}.dark *{border-color:#404040!important}.dark .app-container{background-color:#1a1a1a;color:#e0e0e0}.dark .header{background-color:#2d2d2d;border-bottom-color:#404040}.dark .app-title{color:#e0e0e0}.dark .search-input{background-color:#404040;color:#e0e0e0;border-color:#555}.dark .search-input::placeholder{color:#9ca3af}.dark .filters{background-color:#2d2d2d;border-bottom-color:#404040}.dark .filter-select,.dark .filter-input{background-color:#404040;color:#e0e0e0;border-color:#555}.dark .main-content{background-color:#1a1a1a}.dark .commit-item{background-color:#2d2d2d;border-color:#404040}.dark .commit-hash{color:#9ca3af}.dark .commit-author{color:#d1d5db}.dark .commit-date{color:#9ca3af}.dark .commit-message{color:#e0e0e0}.dark input[type=date],.dark .date-picker,.dark .filter-input.date-picker{background-color:#404040!important;color:#e0e0e0!important;border-color:#555!important}.dark input[type=date]::-webkit-calendar-picker-indicator{filter:invert(1)!important}.dark input[type=date]::-webkit-datetime-edit{color:#e0e0e0!important}.dark input[type=date]::-webkit-datetime-edit-fields-wrapper{color:#e0e0e0!important}.dark input[type=date]::-webkit-datetime-edit-text{color:#e0e0e0!important}.dark input[type=date]::-webkit-datetime-edit-month-field,.dark input[type=date]::-webkit-datetime-edit-day-field,.dark input[type=date]::-webkit-datetime-edit-year-field{color:#e0e0e0!important}.dark .loading{color:#e0e0e0}.dark .graph-container{background-color:#2d2d2d!important;color:#e0e0e0!important}.dark svg{background-color:transparent!important}.dark .modal-title,.dark .modal-header .modal-title,.dark .modal-container .modal-title{color:#e0e0e0!important}.dark .header{background-color:#2d2d2d!important;border-bottom-color:#404040!important}.dark .app-title{color:#e0e0e0!important}.dark .filters{background-color:#2d2d2d!important;border-bottom-color:#404040!important}.dark input::placeholder{color:#9ca3af!important}.dark select{color:#e0e0e0!important}*,input,select,button{transition:background-color .2s ease,border-color .2s ease,color .2s ease}.dark .card,.dark .commit-item,.dark .modal-container,.dark .diff-viewer{background-color:#2d2d2d!important;color:#e0e0e0!important;border-color:#404040!important}.dark .btn{background-color:#404040!important;color:#e0e0e0!important;border-color:#555!important}.dark .btn:hover{background-color:#555!important}.dark .btn-primary{background-color:#3b82f6!important;color:#fff!important}.dark .btn-primary:hover{background-color:#2563eb!important}.dark .btn-secondary{background-color:#6b7280!important;color:#fff!important}.dark .btn-secondary:hover{background-color:#4b5563!important}.dark .file-item,.dark .diff-item{background-color:#404040!important;border-color:#555!important}.dark .section-title,.dark .commit-meta,.dark .commit-info{color:#e0e0e0!important}.dark .commit-hash{color:#9ca3af!important}.dark .commit-author{color:#d1d5db!important}.dark .commit-date{color:#9ca3af!important}.dark .commit-message{color:#e0e0e0!important}.dark .file-name,.dark .diff-file-name{color:#d1d5db!important}.dark .diff-stats{color:#9ca3af!important}.container{max-width:1200px;margin:0 auto;padding:0 1rem}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.space-x-4>*+*{margin-left:1rem}.space-y-4>*+*{margin-top:1rem}.btn{padding:.5rem 1rem;border:none;border-radius:.375rem;cursor:pointer;font-size:.875rem;transition:all .2s;margin-right:.5rem}.btn:last-child{margin-right:0}.flex.items-center{gap:.5rem}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:hover{background-color:#2563eb}.btn-secondary{background-color:#6b7280;color:#fff}.btn-secondary:hover{background-color:#4b5563}.card{background-color:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.dark .card{background-color:#2d2d2d;color:#e0e0e0}.commit-node{cursor:pointer;transition:all .2s ease}.commit-node:hover{stroke-width:3px}.branch-line{stroke-width:2px}.diff-line{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;line-height:1.4}.diff-line.added{background-color:#dcfce7;color:#166534}.diff-line.removed{background-color:#fee2e2;color:#991b1b}.dark .diff-line.added{background-color:#14532d;color:#bbf7d0}.dark .diff-line.removed{background-color:#7f1d1d;color:#fecaca}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=gitService.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gitService.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/gitService.test.ts"],"names":[],"mappings":""}
@@ -1,427 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const gitService_1 = require("../backend/gitService");
4
- // Mock simple-git
5
- const mockGit = {
6
- log: jest.fn(),
7
- tags: jest.fn(),
8
- branch: jest.fn(),
9
- diff: jest.fn(),
10
- raw: jest.fn(),
11
- };
12
- jest.mock('simple-git', () => {
13
- return jest.fn(() => mockGit);
14
- });
15
- describe('GitService', () => {
16
- let gitService;
17
- beforeEach(() => {
18
- gitService = new gitService_1.GitService();
19
- jest.clearAllMocks();
20
- });
21
- describe('getCommits', () => {
22
- it('should return an array of commits', async () => {
23
- const mockCommits = [
24
- {
25
- hash: 'abc123',
26
- date: '2024-01-01',
27
- message: 'Test commit',
28
- author_name: 'Test Author',
29
- author_email: 'test@example.com',
30
- refs: 'HEAD -> main',
31
- body: '',
32
- hash_abbrev: 'abc123',
33
- tree: 'def456',
34
- tree_abbrev: 'def456',
35
- parent: 'ghi789',
36
- parent_abbrev: 'ghi789'
37
- }
38
- ];
39
- mockGit.log.mockResolvedValue({ all: mockCommits });
40
- mockGit.diff.mockResolvedValue('');
41
- mockGit.branch.mockResolvedValue({ all: ['main'] });
42
- mockGit.raw.mockResolvedValue('');
43
- const commits = await gitService.getCommits();
44
- expect(Array.isArray(commits)).toBe(true);
45
- expect(commits.length).toBeGreaterThan(0);
46
- expect(commits[0]).toHaveProperty('hash');
47
- expect(commits[0]).toHaveProperty('author');
48
- expect(commits[0]).toHaveProperty('date');
49
- expect(commits[0]).toHaveProperty('message');
50
- });
51
- it('should respect the limit parameter', async () => {
52
- const mockCommits = Array(3).fill(null).map((_, i) => ({
53
- hash: `hash${i}`,
54
- date: '2024-01-01',
55
- message: `Commit ${i}`,
56
- author_name: 'Test Author',
57
- author_email: 'test@example.com',
58
- refs: 'HEAD -> main',
59
- body: '',
60
- hash_abbrev: `hash${i}`,
61
- tree: 'def456',
62
- tree_abbrev: 'def456',
63
- parent: 'ghi789',
64
- parent_abbrev: 'ghi789'
65
- }));
66
- mockGit.log.mockResolvedValue({ all: mockCommits });
67
- const commits = await gitService.getCommits({ limit: 3 });
68
- // The GitService should respect the limit parameter
69
- expect(commits.length).toBe(3);
70
- });
71
- it('should handle git log errors', async () => {
72
- mockGit.log.mockRejectedValue(new Error('Git error'));
73
- await expect(gitService.getCommits()).rejects.toThrow('Git error');
74
- });
75
- it('should handle empty commit list', async () => {
76
- mockGit.log.mockResolvedValue({ all: [] });
77
- const commits = await gitService.getCommits();
78
- expect(Array.isArray(commits)).toBe(true);
79
- expect(commits.length).toBe(0);
80
- });
81
- it('should handle file filter option', async () => {
82
- const mockCommits = [
83
- {
84
- hash: 'abc123',
85
- date: '2024-01-01',
86
- message: 'Test commit',
87
- author_name: 'Test Author',
88
- author_email: 'test@example.com',
89
- refs: 'HEAD -> main',
90
- body: '',
91
- hash_abbrev: 'abc123',
92
- tree: 'def456',
93
- tree_abbrev: 'def456',
94
- parent: 'ghi789',
95
- parent_abbrev: 'ghi789'
96
- }
97
- ];
98
- mockGit.log.mockResolvedValue({ all: mockCommits });
99
- const commits = await gitService.getCommits({ file: 'src/app.js' });
100
- expect(Array.isArray(commits)).toBe(true);
101
- expect(commits.length).toBeGreaterThan(0);
102
- });
103
- it('should handle since filter option', async () => {
104
- const mockCommits = [
105
- {
106
- hash: 'abc123',
107
- date: '2024-01-01',
108
- message: 'Test commit',
109
- author_name: 'Test Author',
110
- author_email: 'test@example.com',
111
- refs: 'HEAD -> main',
112
- body: '',
113
- hash_abbrev: 'abc123',
114
- tree: 'def456',
115
- tree_abbrev: 'def456',
116
- parent: 'ghi789',
117
- parent_abbrev: 'ghi789'
118
- }
119
- ];
120
- mockGit.log.mockResolvedValue({ all: mockCommits });
121
- const commits = await gitService.getCommits({ since: 'v1.0.0' });
122
- expect(Array.isArray(commits)).toBe(true);
123
- expect(commits.length).toBeGreaterThan(0);
124
- });
125
- it('should handle author filter option', async () => {
126
- const mockCommits = [
127
- {
128
- hash: 'abc123',
129
- date: '2024-01-01',
130
- message: 'Test commit',
131
- author_name: 'Test Author',
132
- author_email: 'test@example.com',
133
- refs: 'HEAD -> main',
134
- body: '',
135
- hash_abbrev: 'abc123',
136
- tree: 'def456',
137
- tree_abbrev: 'def456',
138
- parent: 'ghi789',
139
- parent_abbrev: 'ghi789'
140
- }
141
- ];
142
- mockGit.log.mockResolvedValue({ all: mockCommits });
143
- mockGit.diff.mockResolvedValue('');
144
- mockGit.branch.mockResolvedValue({ all: ['main'] });
145
- mockGit.raw.mockResolvedValue('');
146
- const commits = await gitService.getCommits({ author: 'Test Author' });
147
- expect(Array.isArray(commits)).toBe(true);
148
- expect(commits.length).toBeGreaterThan(0);
149
- });
150
- it('should handle private method errors gracefully', async () => {
151
- const mockCommits = [
152
- {
153
- hash: 'abc123',
154
- date: '2024-01-01',
155
- message: 'Test commit',
156
- author_name: 'Test Author',
157
- author_email: 'test@example.com',
158
- refs: 'HEAD -> main',
159
- body: '',
160
- hash_abbrev: 'abc123',
161
- tree: 'def456',
162
- tree_abbrev: 'def456',
163
- parent: 'ghi789',
164
- parent_abbrev: 'ghi789'
165
- }
166
- ];
167
- mockGit.log.mockResolvedValue({ all: mockCommits });
168
- mockGit.diff.mockRejectedValue(new Error('Diff error'));
169
- mockGit.branch.mockRejectedValue(new Error('Branch error'));
170
- mockGit.raw.mockRejectedValue(new Error('Tag error'));
171
- const commits = await gitService.getCommits();
172
- expect(Array.isArray(commits)).toBe(true);
173
- expect(commits.length).toBeGreaterThan(0);
174
- expect(commits[0].files).toEqual([]);
175
- expect(commits[0].branches).toEqual([]);
176
- expect(commits[0].tags).toEqual([]);
177
- });
178
- it('should handle non-Error exceptions', async () => {
179
- mockGit.log.mockRejectedValue('String error');
180
- await expect(gitService.getCommits()).rejects.toThrow('Failed to get commits: Unknown error');
181
- });
182
- });
183
- describe('getTags', () => {
184
- it('should return an array of tags', async () => {
185
- const mockTags = ['v1.0.0', 'v1.1.0', 'v2.0.0'];
186
- mockGit.tags.mockResolvedValue({ all: mockTags });
187
- const tags = await gitService.getTags();
188
- expect(Array.isArray(tags)).toBe(true);
189
- expect(tags).toEqual(mockTags);
190
- });
191
- it('should handle git tags errors', async () => {
192
- mockGit.tags.mockRejectedValue(new Error('Git tags error'));
193
- await expect(gitService.getTags()).rejects.toThrow('Git tags error');
194
- });
195
- it('should handle empty tags list', async () => {
196
- mockGit.tags.mockResolvedValue({ all: [] });
197
- const tags = await gitService.getTags();
198
- expect(Array.isArray(tags)).toBe(true);
199
- expect(tags.length).toBe(0);
200
- });
201
- });
202
- describe('getBranches', () => {
203
- it('should return an array of branches', async () => {
204
- const mockBranches = ['main', 'develop', 'feature/test'];
205
- mockGit.branch.mockResolvedValue({ all: mockBranches });
206
- const branches = await gitService.getBranches();
207
- expect(Array.isArray(branches)).toBe(true);
208
- expect(branches).toEqual(mockBranches);
209
- });
210
- it('should handle git branch errors', async () => {
211
- mockGit.branch.mockRejectedValue(new Error('Git branch error'));
212
- await expect(gitService.getBranches()).rejects.toThrow('Git branch error');
213
- });
214
- it('should handle empty branches list', async () => {
215
- mockGit.branch.mockResolvedValue({ all: [] });
216
- const branches = await gitService.getBranches();
217
- expect(Array.isArray(branches)).toBe(true);
218
- expect(branches.length).toBe(0);
219
- });
220
- });
221
- describe('getDiff', () => {
222
- it('should return diff for a commit', async () => {
223
- const mockDiff = 'diff --git a/file.js b/file.js\nindex 123..456 100644\n--- a/file.js\n+++ b/file.js\n@@ -1,3 +1,4 @@\n line1\n+line2\n line3';
224
- mockGit.diff.mockResolvedValue(mockDiff);
225
- const diff = await gitService.getDiff('abc123');
226
- expect(Array.isArray(diff)).toBe(true);
227
- expect(diff.length).toBeGreaterThan(0);
228
- expect(diff[0]).toHaveProperty('file');
229
- expect(diff[0]).toHaveProperty('additions');
230
- expect(diff[0]).toHaveProperty('deletions');
231
- expect(diff[0]).toHaveProperty('changes');
232
- });
233
- it('should handle git diff errors', async () => {
234
- mockGit.diff.mockRejectedValue(new Error('Git diff error'));
235
- await expect(gitService.getDiff('abc123')).rejects.toThrow('Git diff error');
236
- });
237
- it('should handle empty diff', async () => {
238
- mockGit.diff.mockResolvedValue('');
239
- const diff = await gitService.getDiff('abc123');
240
- expect(Array.isArray(diff)).toBe(true);
241
- expect(diff.length).toBe(0);
242
- });
243
- it('should parse complex diff with multiple files', async () => {
244
- const mockDiff = `diff --git a/file1.js b/file1.js
245
- index 123..456 100644
246
- --- a/file1.js
247
- +++ b/file1.js
248
- @@ -1,3 +1,4 @@
249
- line1
250
- +line2
251
- line3
252
- diff --git a/file2.js b/file2.js
253
- index 789..012 100644
254
- --- a/file2.js
255
- +++ b/file2.js
256
- @@ -1,2 +1,3 @@
257
- old1
258
- +new1
259
- old2`;
260
- mockGit.diff.mockResolvedValue(mockDiff);
261
- const diff = await gitService.getDiff('abc123');
262
- expect(Array.isArray(diff)).toBe(true);
263
- expect(diff.length).toBe(2);
264
- expect(diff[0].file).toBe('file1.js');
265
- expect(diff[1].file).toBe('file2.js');
266
- });
267
- it('should handle diff with no file match', async () => {
268
- const mockDiff = 'diff --git a/ b/\nindex 123..456 100644\n--- a/\n+++ b/';
269
- mockGit.diff.mockResolvedValue(mockDiff);
270
- const diff = await gitService.getDiff('abc123');
271
- expect(Array.isArray(diff)).toBe(true);
272
- expect(diff.length).toBeGreaterThan(0);
273
- expect(diff[0].file).toBe('');
274
- });
275
- it('should handle diff with context lines and headers', async () => {
276
- const mockDiff = `diff --git a/file.js b/file.js
277
- index 123..456 100644
278
- --- a/file.js
279
- +++ b/file.js
280
- @@ -1,3 +1,4 @@
281
- line1
282
- +line2
283
- line3
284
- unchanged line`;
285
- mockGit.diff.mockResolvedValue(mockDiff);
286
- const diff = await gitService.getDiff('abc123');
287
- expect(Array.isArray(diff)).toBe(true);
288
- expect(diff.length).toBeGreaterThan(0);
289
- });
290
- it('should handle diff with only deletions', async () => {
291
- const mockDiff = `diff --git a/file.js b/file.js
292
- index 123..456 100644
293
- --- a/file.js
294
- +++ b/file.js
295
- @@ -1,3 +1,2 @@
296
- line1
297
- -line2
298
- line3`;
299
- mockGit.diff.mockResolvedValue(mockDiff);
300
- const diff = await gitService.getDiff('abc123');
301
- expect(Array.isArray(diff)).toBe(true);
302
- expect(diff.length).toBeGreaterThan(0);
303
- expect(diff[0].deletions).toBeGreaterThan(0);
304
- });
305
- });
306
- describe('getCommit', () => {
307
- it('should return a single commit', async () => {
308
- const mockCommit = {
309
- hash: 'abc123',
310
- date: '2024-01-01',
311
- message: 'Test commit',
312
- author_name: 'Test Author',
313
- author_email: 'test@example.com',
314
- refs: 'HEAD -> main',
315
- body: '',
316
- hash_abbrev: 'abc123',
317
- tree: 'def456',
318
- tree_abbrev: 'def456',
319
- parent: 'ghi789',
320
- parent_abbrev: 'ghi789'
321
- };
322
- mockGit.log.mockResolvedValue({ all: [mockCommit] });
323
- const commit = await gitService.getCommit('abc123');
324
- expect(commit).toHaveProperty('hash', 'abc123');
325
- expect(commit).toHaveProperty('author', 'Test Author');
326
- expect(commit).toHaveProperty('date', '2024-01-01');
327
- expect(commit).toHaveProperty('message', 'Test commit');
328
- });
329
- it('should handle commit not found', async () => {
330
- mockGit.log.mockResolvedValue({ all: [] });
331
- await expect(gitService.getCommit('nonexistent')).rejects.toThrow('Commit not found');
332
- });
333
- it('should handle git log errors', async () => {
334
- mockGit.log.mockRejectedValue(new Error('Git error'));
335
- await expect(gitService.getCommit('abc123')).rejects.toThrow('Git error');
336
- });
337
- it('should handle non-Error exceptions', async () => {
338
- mockGit.log.mockRejectedValue('String error');
339
- await expect(gitService.getCommit('abc123')).rejects.toThrow('Failed to get commit: Unknown error');
340
- });
341
- });
342
- describe('getBlame', () => {
343
- it('should return blame information for a file', async () => {
344
- const mockBlame = 'abc123 1 1 1\nauthor Test Author\n\tline1';
345
- mockGit.raw.mockResolvedValue(mockBlame);
346
- const blame = await gitService.getBlame('test.js');
347
- expect(Array.isArray(blame)).toBe(true);
348
- expect(blame.length).toBeGreaterThan(0);
349
- expect(blame[0]).toHaveProperty('hash');
350
- expect(blame[0]).toHaveProperty('author');
351
- expect(blame[0]).toHaveProperty('line');
352
- expect(blame[0]).toHaveProperty('content');
353
- });
354
- it('should handle git blame errors', async () => {
355
- mockGit.raw.mockRejectedValue(new Error('Git blame error'));
356
- await expect(gitService.getBlame('test.js')).rejects.toThrow('Git blame error');
357
- });
358
- it('should handle empty blame', async () => {
359
- mockGit.raw.mockResolvedValue('');
360
- const blame = await gitService.getBlame('test.js');
361
- expect(Array.isArray(blame)).toBe(true);
362
- expect(blame.length).toBe(0);
363
- });
364
- it('should handle non-Error exceptions', async () => {
365
- mockGit.raw.mockRejectedValue('String error');
366
- await expect(gitService.getBlame('test.js')).rejects.toThrow('Failed to get blame: Unknown error');
367
- });
368
- it('should parse blame with author-time', async () => {
369
- const mockBlame = `abc123 1 1 1
370
- author Test Author
371
- author-time 1640995200
372
- \tline1`;
373
- mockGit.raw.mockResolvedValue(mockBlame);
374
- const blame = await gitService.getBlame('test.js');
375
- expect(Array.isArray(blame)).toBe(true);
376
- expect(blame.length).toBeGreaterThan(0);
377
- expect(blame[0]).toHaveProperty('date');
378
- });
379
- it('should parse blame without author-time', async () => {
380
- const mockBlame = `abc123 1 1 1
381
- author Test Author
382
- \tline1`;
383
- mockGit.raw.mockResolvedValue(mockBlame);
384
- const blame = await gitService.getBlame('test.js');
385
- expect(Array.isArray(blame)).toBe(true);
386
- expect(blame.length).toBeGreaterThan(0);
387
- expect(blame[0]).toHaveProperty('date');
388
- });
389
- it('should handle malformed blame data', async () => {
390
- const mockBlame = 'invalid blame data without proper format';
391
- mockGit.raw.mockResolvedValue(mockBlame);
392
- const blame = await gitService.getBlame('test.js');
393
- expect(Array.isArray(blame)).toBe(true);
394
- expect(blame.length).toBe(0);
395
- });
396
- it('should parse blame with multiple lines and complete properly', async () => {
397
- const mockBlame = `abc123 1 1 1
398
- author Test Author
399
- author-time 1640995200
400
- \tline1
401
- def456 2 2 1
402
- author Another Author
403
- \tline2`;
404
- mockGit.raw.mockResolvedValue(mockBlame);
405
- const blame = await gitService.getBlame('test.js');
406
- expect(Array.isArray(blame)).toBe(true);
407
- expect(blame.length).toBe(2);
408
- expect(blame[0].hash).toBe('abc123');
409
- expect(blame[1].hash).toBe('def456');
410
- });
411
- });
412
- describe('Error handling', () => {
413
- it('should handle non-Error exceptions in getTags', async () => {
414
- mockGit.tags.mockRejectedValue('String error');
415
- await expect(gitService.getTags()).rejects.toThrow('Failed to get tags: Unknown error');
416
- });
417
- it('should handle non-Error exceptions in getBranches', async () => {
418
- mockGit.branch.mockRejectedValue('String error');
419
- await expect(gitService.getBranches()).rejects.toThrow('Failed to get branches: Unknown error');
420
- });
421
- it('should handle non-Error exceptions in getDiff', async () => {
422
- mockGit.diff.mockRejectedValue('String error');
423
- await expect(gitService.getDiff('abc123')).rejects.toThrow('Failed to get diff: Unknown error');
424
- });
425
- });
426
- });
427
- //# sourceMappingURL=gitService.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file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C,CAAC,CAAC;QAC1F,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,mDAAmD,EAAE,KAAK,IAAI,EAAE;YACjE,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;YAEjD,MAAM,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,uCAAuC,CAAC,CAAC;QAClG,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,+CAA+C,EAAE,KAAK,IAAI,EAAE;YAC7D,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;YAE/C,MAAM,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,mCAAmC,CAAC,CAAC;QAClG,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=setup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/__tests__/setup.ts"],"names":[],"mappings":""}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // Test setup file
4
- const globals_1 = require("@jest/globals");
5
- // Mock console methods to reduce noise in tests
6
- global.console = {
7
- ...console,
8
- log: globals_1.jest.fn(),
9
- debug: globals_1.jest.fn(),
10
- info: globals_1.jest.fn(),
11
- warn: globals_1.jest.fn(),
12
- error: globals_1.jest.fn(),
13
- };
14
- // Mock process.exit to prevent tests from exiting
15
- process.exit = globals_1.jest.fn();
16
- // Set test timeout
17
- globals_1.jest.setTimeout(10000);
18
- // Add a simple test to satisfy Jest requirements
19
- describe('Setup', () => {
20
- it('should be configured correctly', () => {
21
- expect(true).toBe(true);
22
- });
23
- });
24
- //# sourceMappingURL=setup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/__tests__/setup.ts"],"names":[],"mappings":";;AAAA,kBAAkB;AAClB,2CAAqC;AAErC,gDAAgD;AAChD,MAAM,CAAC,OAAO,GAAG;IACf,GAAG,OAAO;IACV,GAAG,EAAE,cAAI,CAAC,EAAE,EAAE;IACd,KAAK,EAAE,cAAI,CAAC,EAAE,EAAE;IAChB,IAAI,EAAE,cAAI,CAAC,EAAE,EAAE;IACf,IAAI,EAAE,cAAI,CAAC,EAAE,EAAE;IACf,KAAK,EAAE,cAAI,CAAC,EAAE,EAAE;CACjB,CAAC;AAEF,kDAAkD;AAClD,OAAO,CAAC,IAAI,GAAG,cAAI,CAAC,EAAE,EAAS,CAAC;AAEhC,mBAAmB;AACnB,cAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;AAEvB,iDAAiD;AACjD,QAAQ,CAAC,OAAO,EAAE,GAAG,EAAE;IACrB,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE;QACxC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dev-server.d.ts","sourceRoot":"","sources":["../../src/backend/dev-server.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"gitService.d.ts","sourceRoot":"","sources":["../../src/backend/gitService.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,MAAM,WAAW,QAAQ;IAC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;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAsB,WAAW,CAC/B,IAAI,GAAE,MAAa,EACnB,IAAI,GAAE,MAAoB,EAC1B,OAAO,GAAE,OAAO,CAAC,aAAa,CAAM,iBAsIrC"}
package/dist/cli.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export interface PathConfig {
2
- publicPath: string;
3
- frontendPath: string;
4
- frontendIndexPath: string;
5
- distPath: string;
6
- srcPath: string;
7
- }
8
- export declare function getPathConfig(): PathConfig;
9
- export declare function getTailwindPaths(): string[];
10
- export declare function getBuildPaths(): {
11
- input: string;
12
- output: string;
13
- };
14
- //# sourceMappingURL=paths.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../src/config/paths.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,aAAa,IAAI,UAAU,CAU1C;AAED,wBAAgB,gBAAgB,IAAI,MAAM,EAAE,CAQ3C;AAED,wBAAgB,aAAa,IAAI;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAOjE"}
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getPathConfig = getPathConfig;
7
- exports.getTailwindPaths = getTailwindPaths;
8
- exports.getBuildPaths = getBuildPaths;
9
- const path_1 = __importDefault(require("path"));
10
- function getPathConfig() {
11
- const cwd = process.cwd();
12
- return {
13
- publicPath: process.env.PUBLIC_PATH || path_1.default.join(cwd, 'public'),
14
- frontendPath: process.env.FRONTEND_PATH || path_1.default.join(cwd, 'frontend', 'dist', 'frontend', 'browser'),
15
- frontendIndexPath: process.env.FRONTEND_INDEX_PATH || path_1.default.join(cwd, 'frontend', 'dist', 'frontend', 'browser', 'index.html'),
16
- distPath: process.env.DIST_PATH || path_1.default.join(cwd, 'dist'),
17
- srcPath: process.env.SRC_PATH || path_1.default.join(cwd, 'src')
18
- };
19
- }
20
- function getTailwindPaths() {
21
- const cwd = process.cwd();
22
- return [
23
- process.env.TAILWIND_PUBLIC_PATH || path_1.default.join(cwd, 'public', '**', '*.{html,js}'),
24
- process.env.TAILWIND_SRC_PATH || path_1.default.join(cwd, 'src', '**', '*.{html,ts,js}'),
25
- process.env.TAILWIND_FRONTEND_PATH || path_1.default.join(cwd, 'frontend', 'src', '**', '*.{html,ts,js}')
26
- ];
27
- }
28
- function getBuildPaths() {
29
- const cwd = process.cwd();
30
- return {
31
- input: process.env.BUILD_INPUT_PATH || path_1.default.join(cwd, 'public', 'styles.css'),
32
- output: process.env.BUILD_OUTPUT_PATH || path_1.default.join(cwd, 'public', 'tailwind.css')
33
- };
34
- }
35
- //# sourceMappingURL=paths.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"paths.js","sourceRoot":"","sources":["../../src/config/paths.ts"],"names":[],"mappings":";;;;;AAUA,sCAUC;AAED,4CAQC;AAED,sCAOC;AAvCD,gDAAwB;AAUxB,SAAgB,aAAa;IAC3B,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAE1B,OAAO;QACL,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,cAAI,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC;QAC/D,YAAY,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,cAA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