git-truck 2.0.11 → 3.0.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 (59) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +44 -44
  3. package/build/client/assets/FullscreenButton-eA5ndnic.js +1 -0
  4. package/build/client/assets/RepoTabs-Bgf-xuY9.js +1 -0
  5. package/build/client/assets/_-RagYKtT_.js +0 -0
  6. package/build/client/assets/_._well-known._-DIwl00oI.js +0 -0
  7. package/build/client/assets/_index-BnEQn2aI.js +0 -0
  8. package/build/client/assets/_path-bRAhzWvL.js +0 -0
  9. package/build/client/assets/browse-DDk8iI78.js +1 -0
  10. package/build/client/assets/clear-cache-CdwFm6ZE.js +1 -0
  11. package/build/client/assets/clear-cache-Czl2OQQZ.js +1 -0
  12. package/build/client/assets/commitcount-eFguKtSp.js +0 -0
  13. package/build/client/assets/commits-DPfZp-l3.js +0 -0
  14. package/build/client/assets/entry.client-CeNBN1wN.js +9 -0
  15. package/build/client/assets/jsx-runtime-ha_HlXYM.js +26 -0
  16. package/build/client/assets/manifest-4256a673.js +1 -0
  17. package/build/client/assets/react-dom-BwfFinSy.js +1 -0
  18. package/build/client/assets/root-D7Ku_Aq-.css +1 -0
  19. package/build/client/assets/root-DNsTpdCR.js +3 -0
  20. package/build/client/assets/ui-hQKhrcY0.js +1 -0
  21. package/build/client/assets/util-lodwDQIO.js +10 -0
  22. package/build/client/assets/view-CzWNrYQt.js +1 -0
  23. package/build/client/assets/view._index-l6Xp0UBf.js +1 -0
  24. package/build/client/assets/view.commits-HFn10ETB.js +1 -0
  25. package/build/client/assets/view.details-V1cDc3K2.js +1 -0
  26. package/build/client/assets/view.merge-authors-DBFNXRql.js +1 -0
  27. package/build/client/assets/view.progress-B7Os3EHt.js +0 -0
  28. package/build/client/favicon.ico +0 -0
  29. package/build/server/assets/server-build-B3xsYUth.js +15619 -0
  30. package/build/server/index.js +5 -0
  31. package/cli.mjs +32444 -0
  32. package/package.json +124 -109
  33. package/build/index.js +0 -1127
  34. package/build/metafile.js.json +0 -1
  35. package/build/metafile.server.json +0 -1
  36. package/build/version.txt +0 -1
  37. package/cli.js +0 -1293
  38. package/public/build/_assets/animations-TUO2PXWS.css +0 -1
  39. package/public/build/_assets/react-datepicker-3YLWDVEY.css +0 -1
  40. package/public/build/_assets/tailwind-XJM3GU5L.css +0 -1
  41. package/public/build/_assets/truck-JLDVJULS.png +0 -0
  42. package/public/build/_assets/vars-COQCVZEU.css +0 -1
  43. package/public/build/_shared/buttons.esm-NERHWBM5.js +0 -10
  44. package/public/build/_shared/chunk-6LOVYHLQ.js +0 -1
  45. package/public/build/_shared/chunk-72LCGX7K.js +0 -293
  46. package/public/build/_shared/chunk-N6DJKR32.js +0 -1
  47. package/public/build/_shared/chunk-Q3IECNXJ.js +0 -1
  48. package/public/build/entry.client-H44HMSW7.js +0 -1
  49. package/public/build/manifest-06C0DCC9.js +0 -1
  50. package/public/build/root-U4A36JTJ.js +0 -1
  51. package/public/build/routes/$repo.$-5JBNHXGA.js +0 -68
  52. package/public/build/routes/$repository-RMM3X7IT.js +0 -1
  53. package/public/build/routes/_index-EJ3OPLQI.js +0 -1
  54. package/public/build/routes/authordist-LRF2J26H.js +0 -1
  55. package/public/build/routes/clearCache-AWUAC2NV.js +0 -1
  56. package/public/build/routes/commitcount-D7WWQAYM.js +0 -1
  57. package/public/build/routes/commits-GGDWDC7W.js +0 -1
  58. package/public/build/routes/progress-SNLO56GK.js +0 -1
  59. /package/{public/build/_assets/truck-7F5JWBYT.gif → build/client/assets/truck-BgAoc4Gr.gif} +0 -0
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 git-truck
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2022 git-truck
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,44 +1,44 @@
1
- # Git Truck 🚛 · [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/git-truck/git-truck/blob/main/LICENSE) [![Git Truck on NPM](https://img.shields.io/npm/v/git-truck)](https://www.npmjs.com/git-truck)
2
-
3
- Git Truck is a tool that provides you with a truckload of visualizations of your git repository.
4
-
5
- With Git Truck you can:
6
-
7
- - See who worked on different parts of the project
8
- - Get an overview of the file structure
9
- - See where there is the most activity in your project
10
- - See how your project has looked at different points in time
11
-
12
- | | |
13
- | ----------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
14
- | <img src="./teaser-images/readme1.png" alt="Where has the most work been done recently?"> | <img src="./teaser-images/readme2.png" alt="Who worked on different subsystems in the past?"> |
15
-
16
- You can read more about the features in the [feature overview](https://git-truck.github.io/git-truck/GitTruckTeaser), [in papers about Git Truck](https://github.com/git-truck/papers/blob/master/README.md), or just try it and start exploring your projects!
17
-
18
- ## [Get started](#get-started)
19
-
20
- 1. In your terminal, navigate to a git repository or a folder containing several repositories
21
-
22
- 2. Run the command `npm install -g git-truck@latest` to install or update Git Truck.
23
-
24
- 3. Now you can run Git Truck using the command `git truck`
25
-
26
- 4. The application will now open in your default browser. Happy trucking!
27
-
28
- > [!NOTE]
29
- > To use Git Truck, you will need to have the following programs installed:
30
- >
31
- > - [Node.js](https://nodejs.org/en/) 22.0.0 or newer and npm 10.0 or newer
32
- > - [git](https://git-scm.com/downloads) 2.29 or newer
33
- >
34
- > Check your installed versions using `node --version`, `npm --version` and `git --version`.
35
-
36
- ## [What makes Git Truck different?](#what-makes-git-truck-different)
37
-
38
- 🔒 Private by design
39
-
40
- 🏝️ Works offline
41
-
42
- 🤷 Git provider agnostic - works with any git repository
43
-
44
- 😊 No tracking, no ads, no cloud, no servers, no subscription
1
+ # Git Truck 🚛 &middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/git-truck/git-truck/blob/main/LICENSE) [![Git Truck on NPM](https://img.shields.io/npm/v/git-truck)](https://www.npmjs.com/git-truck)
2
+
3
+ Git Truck is a tool that provides you with a truckload of visualizations of your git repository.
4
+
5
+ With Git Truck you can:
6
+
7
+ - See who worked on different parts of the project
8
+ - Get an overview of the file structure
9
+ - See where there is the most activity in your project
10
+ - See how your project has looked at different points in time
11
+
12
+ | | |
13
+ | ----------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
14
+ | <img src="./teaser-images/readme1.png" alt="Where has the most work been done recently?"> | <img src="./teaser-images/readme2.png" alt="Who worked on different subsystems in the past?"> |
15
+
16
+ You can read more about the features in the [feature overview](https://git-truck.github.io/git-truck/GitTruckTeaser), [in papers about Git Truck](https://github.com/git-truck/papers/blob/master/README.md), or just try it and start exploring your projects!
17
+
18
+ ## [Get started](#get-started)
19
+
20
+ 1. In your terminal, navigate to a git repository or a folder containing several repositories
21
+
22
+ 2. Run the command `npm install -g git-truck@latest` to install or update Git Truck.
23
+
24
+ 3. Now you can run Git Truck using the command `git truck`
25
+
26
+ 4. The application will now open in your default browser. Happy trucking!
27
+
28
+ > [!NOTE]
29
+ > To use Git Truck, you will need to have the following programs installed:
30
+ >
31
+ > - [Node.js](https://nodejs.org/en/) 22.0.0 or newer and npm 10.0 or newer
32
+ > - [git](https://git-scm.com/downloads) 2.29 or newer
33
+ >
34
+ > Check your installed versions using `node --version`, `npm --version` and `git --version`.
35
+
36
+ ## [What makes Git Truck different?](#what-makes-git-truck-different)
37
+
38
+ 🔒 Private by design
39
+
40
+ 🏝️ Works offline
41
+
42
+ 🤷 Git provider agnostic - works with any git repository
43
+
44
+ 😊 No tracking, no ads, no cloud, no servers, no subscription
@@ -0,0 +1 @@
1
+ import{G as e,t}from"./jsx-runtime-ha_HlXYM.js";import"./react-dom-BwfFinSy.js";import"./util-lodwDQIO.js";t();
@@ -0,0 +1 @@
1
+ import{G as e,M as t,N as n,j as r,t as i}from"./jsx-runtime-ha_HlXYM.js";import{i as a}from"./react-dom-BwfFinSy.js";import{h as o,nt as s,ot as c}from"./util-lodwDQIO.js";var l=e(i());function u(){let e=n(),i=r(),u=t(a(`/view/commits`));return(0,l.jsx)(o,{large:!0,group:{"/details":`Details`,"/commits":`Commits`},iconMap:{"/details":s,"/commits":c},defaultValue:u?`/commits`:`/details`,onChange:t=>{e(a(`/view${t}`)+i.search,{state:i.state})}})}export{u as t};
File without changes
File without changes
File without changes
@@ -0,0 +1 @@
1
+ import"./jsx-runtime-ha_HlXYM.js";import"./react-dom-BwfFinSy.js";import{A as e,j as t}from"./util-lodwDQIO.js";export{e as default,t as meta};
@@ -0,0 +1 @@
1
+ import"./jsx-runtime-ha_HlXYM.js";import"./react-dom-BwfFinSy.js";import"./util-lodwDQIO.js";import{n as e}from"./clear-cache-Czl2OQQZ.js";export{e as default};
@@ -0,0 +1 @@
1
+ import{A as e,B as t,G as n,O as r,j as i,o as a,t as o}from"./jsx-runtime-ha_HlXYM.js";import{$ as s,M as c,r as l,st as u}from"./util-lodwDQIO.js";var d=n(o(),1);function f({redirectPath:e,className:t=``}={}){let n=i(),a=r({key:`clear-cache-form`}),o=`/clear-cache?${new URLSearchParams({redirect:e??n.pathname+n.search}).toString()}`,c=a.state!==`idle`;return(0,d.jsx)(a.Form,{action:o,method:`post`,children:(0,d.jsxs)(`button`,{type:`submit`,disabled:c,className:l(`btn btn--danger`,t),title:`Click here if you are experiencing issues`,children:[(0,d.jsx)(u,{path:s,className:`hover-swap inline-block h-full`}),c?`Clearing...`:`Clear all data`]})},a.state)}var p=t(function(){let{versionInfo:t}=e();return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(`div`,{className:`app-container flex flex-col gap-2 p-2`,children:[(0,d.jsx)(`div`,{className:`card`,children:(0,d.jsx)(c,{installedVersion:t.installedVersion,latestVersion:t.latestVersion})}),(0,d.jsxs)(`div`,{className:`card`,children:[(0,d.jsx)(`h1`,{className:`text-2xl font-bold`,children:`Clear Git Truck cache`}),(0,d.jsx)(`p`,{children:`This will clear all analyzed results and reset the database cache. This is only necessary if you are experiencing issues.`}),(0,d.jsxs)(`div`,{className:`flex h-full place-items-center gap-2 rounded-lg border bg-amber-500/70 p-4 text-white`,children:[(0,d.jsx)(u,{path:s,className:`inline-block h-12`}),(0,d.jsxs)(`div`,{children:[(0,d.jsx)(`span`,{className:`font-bold`,children:`Warning: `}),(0,d.jsx)(`span`,{children:`Merged authors and hidden files will be reset.`})]})]}),(0,d.jsxs)(`div`,{className:`flex justify-end gap-2`,children:[(0,d.jsx)(a,{to:`/`,className:`btn btn--text`,children:`Go back`}),(0,d.jsx)(f,{redirectPath:`/`})]})]})]})})});export{p as n,f as t};
File without changes
File without changes