git-truck 1.14.1 → 2.0.1
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/README.md +24 -78
- package/build/index.js +325 -380
- package/build/metafile.js.json +1 -1
- package/build/metafile.server.json +1 -1
- package/build/version.txt +1 -1
- package/cli.js +292 -82
- package/package.json +19 -6
- package/public/build/_assets/react-datepicker-SHOMGW4P.css +1 -0
- package/public/build/_assets/tailwind-LNGO2W4E.css +1 -0
- package/public/build/_shared/{buttons.esm-NERHWBM5.js → buttons.esm-D3QISUDE.js} +1 -1
- package/public/build/_shared/chunk-E4ZX32OJ.js +1 -0
- package/public/build/_shared/chunk-G5WX4PPA.js +1 -0
- package/public/build/_shared/chunk-ND5WRITB.js +293 -0
- package/public/build/_shared/chunk-ZAZE3T6E.js +1 -0
- package/public/build/entry.client-RZUWA4GZ.js +1 -0
- package/public/build/manifest-0908BE6E.js +1 -0
- package/public/build/root-CQKNWKLC.js +1 -0
- package/public/build/routes/$repo.$-ZJ2UE2QP.js +75 -0
- package/public/build/routes/$repository-2OUZDKVD.js +1 -0
- package/public/build/routes/_index-3GUP3TPE.js +1 -0
- package/public/build/routes/authordist-A7NSX5GE.js +1 -0
- package/public/build/routes/clearCache-IAFGBLU4.js +1 -0
- package/public/build/routes/commitcount-KSNJOFTJ.js +1 -0
- package/public/build/routes/commits-6RXT3QOX.js +1 -0
- package/public/build/routes/progress-LUCNXSNL.js +1 -0
- package/public/build/_assets/commit_icon-JEPGHU5X.png +0 -0
- package/public/build/_assets/tailwind-72RAMDD2.css +0 -1
- package/public/build/_shared/chunk-2VJVTLMY.js +0 -32
- package/public/build/_shared/chunk-4SJHXJI7.js +0 -1
- package/public/build/_shared/chunk-AK3AD3DY.js +0 -264
- package/public/build/_shared/chunk-Q3IECNXJ.js +0 -1
- package/public/build/_shared/chunk-T4XCWYMZ.js +0 -1
- package/public/build/entry.client-BTXLKLEV.js +0 -1
- package/public/build/manifest-18C2A47F.js +0 -1
- package/public/build/root-NJBWNQGV.js +0 -1
- package/public/build/routes/$repo.$-XDBUHX7X.js +0 -27
- package/public/build/routes/$repository-RMM3X7IT.js +0 -1
- package/public/build/routes/_index-OCAMKNPN.js +0 -1
- package/public/build/routes/commits-GGDWDC7W.js +0 -1
- package/public/build/routes/progress-SNLO56GK.js +0 -1
package/README.md
CHANGED
|
@@ -1,98 +1,44 @@
|
|
|
1
1
|
# Git Truck 🚛 · [](https://github.com/git-truck/git-truck/blob/main/LICENSE) [](https://www.npmjs.com/git-truck)
|
|
2
2
|
|
|
3
|
-
Git
|
|
3
|
+
Git Truck is a tool that provides you with a truckload of visualizations of your git repository.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|-|-|
|
|
7
|
-
| Where the files in your codebase that only have a single contributor are (i.e., truck-factor = 1) | <img width="1912" alt="image" src="https://github.com/git-truck/git-truck/assets/1959615/1cc20716-0927-4aba-8d7d-115626bc445f"> |
|
|
8
|
-
| How the various developers contribute to your codebase | <img width="1913" alt="image" src="https://github.com/git-truck/git-truck/assets/1959615/780852f3-28de-44d2-ab79-e4ef420c3736"> |
|
|
9
|
-
| Which parts of the system that are most often changed | <img width="1912" alt="image" src="https://github.com/git-truck/git-truck/assets/1959615/8ca5f0b9-798f-40cd-b64e-de2fee00a5c3"> |
|
|
10
|
-
|
|
11
|
-
## [What makes Git Truck different?](#what-makes-git-truck-different)
|
|
12
|
-
|
|
13
|
-
🔒 Private by design
|
|
14
|
-
|
|
15
|
-
🏝️ Works offline
|
|
16
|
-
|
|
17
|
-
🤷 Git provider agnostic - works with any git repository
|
|
18
|
-
|
|
19
|
-
😊 No tracking, no ads, no data mining, no analytics, no cloud, no servers
|
|
5
|
+
With Git Truck you can:
|
|
20
6
|
|
|
21
|
-
|
|
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
|
|
22
11
|
|
|
23
|
-
> [!IMPORTANT]
|
|
24
|
-
> To use Git Truck, you will need to have the following programs installed:
|
|
25
|
-
> - [Node.js](https://nodejs.org/en/) 18.0.0 or newer and npm 10.0 or newer
|
|
26
|
-
> - [git](https://git-scm.com/downloads) 2.29 or newer
|
|
27
|
-
>
|
|
28
|
-
> Check your installed versions using `node --version`, `npm --version` and `git --version`.
|
|
29
12
|
|
|
30
|
-
|
|
31
|
-
|
|
13
|
+
| | |
|
|
14
|
+
|-|-|
|
|
15
|
+
| <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?"> |
|
|
32
16
|
|
|
33
|
-
|
|
34
|
-
> `npm` is automatically installed along with `node`.
|
|
17
|
+
You can read more about the features in the [feature overview](https://git-truck.github.io/git-truck/GitTruckTeaser), or just try it and start exploring your projects!
|
|
35
18
|
|
|
36
19
|
## [Get started](#get-started)
|
|
37
20
|
|
|
38
|
-
1.
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
npx -y git-truck
|
|
42
|
-
```
|
|
21
|
+
1. In your terminal, navigate to a git repository or a folder containing several repositories
|
|
43
22
|
|
|
44
|
-
2.
|
|
23
|
+
2. Run the command `npx -y git-truck`
|
|
45
24
|
|
|
46
|
-

|
|
47
25
|
|
|
48
|
-
|
|
26
|
+
3. The application will now open in your default browser. Happy trucking!
|
|
49
27
|
|
|
50
|
-
Please open an issue [here](https://github.com/git-truck/git-truck/issues) where you describe your problem or feature request. For bug reports, please include git version, Node version, npm version, operating system, and an image of the problem would be great too!
|
|
51
28
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
```sh
|
|
59
|
-
npx git-truck [args]
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### [Arguments](#arguments)
|
|
63
|
-
|
|
64
|
-
| arg | description | default value |
|
|
65
|
-
| :------------------: | :-------------------------------------------------------------------: | :----------------: |
|
|
66
|
-
| `--path` | path to a folder or a git repository | current directory |
|
|
67
|
-
| `--log` | output log level. See [here](./src/analyzer/log.server.ts) for values | - |
|
|
68
|
-
| `--port` | port to use for the program | 3000 |
|
|
69
|
-
| `--invalidate-cache` | bypass analyzer cache manually | - |
|
|
70
|
-
| `--headless` | run the program without opening the browser | - |
|
|
71
|
-
|
|
72
|
-
> [!CAUTION]
|
|
73
|
-
> Using `--invalidate-cache` will cause the analyzer to run every time the client talks to the server. This can be very slow if working with large repositories.
|
|
74
|
-
|
|
75
|
-
### [Configuration](#configuration)
|
|
29
|
+
> [!NOTE]
|
|
30
|
+
> To use Git Truck, you will need to have the following programs installed:
|
|
31
|
+
> - [Node.js](https://nodejs.org/en/) 18.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`.
|
|
76
35
|
|
|
77
|
-
|
|
78
|
-
Additionally you can define which git-aliases should be considered as the same person using `unionedAuthors`. If provided, the first name in the array is used as the name of the person.
|
|
79
|
-
You can also define files to ignore.
|
|
36
|
+
## [What makes Git Truck different?](#what-makes-git-truck-different)
|
|
80
37
|
|
|
81
|
-
|
|
38
|
+
🔒 Private by design
|
|
82
39
|
|
|
83
|
-
|
|
84
|
-
{
|
|
85
|
-
"log": "debug",
|
|
86
|
-
"branch": "main",
|
|
87
|
-
"unionedAuthors": [
|
|
88
|
-
["Bob", "Bobby Bob"],
|
|
89
|
-
["Alice", "aliiii", "alice alice"]
|
|
90
|
-
],
|
|
91
|
-
"hiddenFiles": ["package-lock.json", "*.bin", "*.svg"],
|
|
92
|
-
"invalidateCache": true
|
|
93
|
-
}
|
|
94
|
-
```
|
|
40
|
+
🏝️ Works offline
|
|
95
41
|
|
|
96
|
-
|
|
42
|
+
🤷 Git provider agnostic - works with any git repository
|
|
97
43
|
|
|
98
|
-
|
|
44
|
+
😊 No tracking, no ads, no cloud, no servers, no subscription
|