git-truck 0.0.0-df24d8f → 0.0.0-e01892a

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 (41) hide show
  1. package/README.md +27 -69
  2. package/build/client/assets/GitTruckInfo-un_3Kok4.js +1 -0
  3. package/build/client/assets/LoadingIndicator-SOpPzvbS.js +1 -0
  4. package/build/client/assets/RevisionSelect-SrpO6JPf.js +1 -0
  5. package/build/client/assets/Tooltip-D_S4TjsA.js +6 -0
  6. package/build/client/assets/_index-CUlJmeRb.js +1 -0
  7. package/build/client/assets/_repo._-1fXsj0hR.js +18 -0
  8. package/build/client/assets/_repository-CZYQSN1t.js +0 -0
  9. package/build/client/assets/authordist-BooTyDMX.js +0 -0
  10. package/build/client/assets/clear-cache-Ckh4wcip.js +1 -0
  11. package/build/client/assets/clear-cache-D0olKoRl.js +1 -0
  12. package/build/client/assets/commitcount-B_3CeIvr.js +0 -0
  13. package/build/client/assets/commits-DNZ_hn-X.js +0 -0
  14. package/build/client/assets/entry.client-D1dRnGqd.js +9 -0
  15. package/build/client/assets/jsx-runtime-DFd4lFBE.js +26 -0
  16. package/build/client/assets/manifest-4723abac.js +1 -0
  17. package/build/client/assets/progress-DMGX1aEW.js +0 -0
  18. package/build/client/assets/root-DKtEsrVf.js +1 -0
  19. package/build/client/assets/root-igHuhpOR.css +1 -0
  20. package/build/client/assets/ui-C5C1Jexe.js +1 -0
  21. package/build/client/favicon.ico +0 -0
  22. package/build/server/assets/server-build-DEjTAloe.js +12749 -0
  23. package/build/server/assets/util.server-DIX86N1-.js +1822 -0
  24. package/build/server/index.js +193 -0
  25. package/cli.js +35964 -1142
  26. package/package.json +126 -82
  27. package/build/index.js +0 -62732
  28. package/public/build/_assets/index-J6PD77UO.css +0 -1
  29. package/public/build/_assets/tailwind-ADOVUPNC.css +0 -1
  30. package/public/build/_assets/truck-JLDVJULS.png +0 -0
  31. package/public/build/_assets/vars-4NGWF3MU.css +0 -1
  32. package/public/build/_shared/chunk-JIS2776Y.js +0 -1
  33. package/public/build/_shared/chunk-KK33YZN3.js +0 -249
  34. package/public/build/_shared/chunk-LTCVSSEB.js +0 -32
  35. package/public/build/_shared/chunk-MHOL6WIH.js +0 -1
  36. package/public/build/entry.client-BYKBDGS4.js +0 -1
  37. package/public/build/manifest-8F05227B.js +0 -1
  38. package/public/build/root-MJSVBACO.js +0 -1
  39. package/public/build/routes/$repo.$-JAKTGFDF.js +0 -82
  40. package/public/build/routes/_index-AYW3UJ6K.js +0 -1
  41. /package/{public/build/_assets/truck-7F5JWBYT.gif → build/client/assets/truck-BgAoc4Gr.gif} +0 -0
package/README.md CHANGED
@@ -1,86 +1,44 @@
1
- # Git Truck 🚛 ·
2
- [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/git-truck/git-truck/blob/main/LICENSE)
3
- [![Git Truck on NPM](https://img.shields.io/npm/v/git-truck)](https://www.npmjs.com/git-truck)
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)
4
2
 
5
- ![Demo](demo.gif)
3
+ Git Truck is a tool that provides you with a truckload of visualizations of your git repository.
6
4
 
7
- Git-Truck provides you with a truckload of visualizations for your git repository, and helps you find out if your project has a good [truck factor](https://www.agileadvice.com/2005/05/15/agilemanagement/truck-factor/):
5
+ With Git Truck you can:
8
6
 
9
- | | |
10
- |-|-|
11
- | The files in your system where you have a single contributor (i.e., truck-factor = 1) | <img width="1912" alt="image" src="https://user-images.githubusercontent.com/464519/167393939-8d683732-4583-44fe-99a3-36c818761bcb.png"> |
12
- | You can see how the various developers contribute to your codebase | <img width="1913" alt="image" src="https://user-images.githubusercontent.com/464519/167394548-ca66665a-a699-44d7-8a97-bc7309c72f8a.png"> |
13
- | You can determine which parts of the system that are most often changed | <img width="1912" alt="image" src="https://user-images.githubusercontent.com/464519/167395118-6a4f50f4-5f37-4e0d-bcc8-144797b83e65.png"> |
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
14
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
15
 
16
- ### What makes Git Truck different?
17
-
18
- - Private by design
19
- - Works offline
20
- - Git provider agnostic - Works with any Git repository
21
- - No tracking, no ads, no data mining, no analytics, no cloud, no servers
22
-
23
-
24
- ## [Prerequisites](#prerequisites)
25
-
26
- To use Git Truck, you will need to have the following programs installed:
27
-
28
- - [Node.js](https://nodejs.org/en/) 16.13 or newer
29
- - npm 6.14 or newer
30
- - [git](https://git-scm.com/downloads) 2.29 or newer
31
-
32
- To check if these programs are installed, and what version you have, run `node --version`, `npm --version` and `git --version`. If any of these are not installed on your system, or are just very old, they can be installed from the links above. Note that `npm` is installed along with `node`.
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!
33
17
 
34
18
  ## [Get started](#get-started)
35
19
 
36
- 1. Within a git repository, or a directory containing git repositories, run the command `npx -y git-truck`.
37
- 2. The application will now open in your default browser.
38
-
39
- **Git Truck is part of a research study, so please fill out our [short survey](https://forms.gle/9wCCAw6zae7wuwZQ6) after trying out the tool. Thanks!**
40
-
41
- ## [I got an error or I want to give feedback, what do i do?](#i-got-an-error-or-i-want-to-give-feedback-what-do-i-do)
42
-
43
- Please open an issue [here](https://github.com/git-truck/git-truck/issues) where you describe your problem. Please include git version, node version, npm version, operating system, and an image of the problem would be great too!
44
-
45
- If you have any suggestions about new features, or things that you think should be different, also feel free to open an issue.
46
-
47
- ## [Advanced use](#advanced-use)
20
+ 1. In your terminal, navigate to a git repository or a folder containing several repositories
48
21
 
49
- Run `npx git-truck` in the root of a git repository, that you want to visualize:
22
+ 2. Run the command `npm install -g git-truck@latest` to install or update Git Truck.
50
23
 
51
- ```sh
52
- npx git-truck [args]
53
- ```
24
+ 3. Now you can run Git Truck using the command `git truck`
54
25
 
55
- ### [Arguments](#arguments)
26
+ 4. The application will now open in your default browser. Happy trucking!
56
27
 
57
- | arg | description | default value |
58
- | :------------------: | :-------------------------------------------------------------------: | :----------------: |
59
- | `--path` | path to a folder or a git repository | current directory |
60
- | `--log` | output log level. See [here](./src/analyzer/log.server.ts) for values | - |
61
- | `--port` | port to use for the program | 3000 |
62
- | `--invalidate-cache` | bypass analyzer cache manually | - |
63
- | `--headless` | run the program without opening the browser | - |
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`.
64
35
 
65
- **Note:** Using `--invalidate-cache` will cause the analyzer to run every time the client talks to the server.
36
+ ## [What makes Git Truck different?](#what-makes-git-truck-different)
66
37
 
67
- ### [Configuration](#configuration)
38
+ 🔒 Private by design
68
39
 
69
- You can add a `truckconfig.json` file to the root of your project, where you can define the arguments you want.
70
- 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.
71
- You can also define files to ignore.
40
+ 🏝️ Works offline
72
41
 
73
- **Example:**
42
+ 🤷 Git provider agnostic - works with any git repository
74
43
 
75
- ```json
76
- {
77
- "log": "debug",
78
- "branch": "main",
79
- "unionedAuthors": [
80
- ["Bob", "Bobby Bob"],
81
- ["Alice", "aliiii", "alice alice"]
82
- ],
83
- "hiddenFiles": ["package-lock.json", "*.bin", "*.svg"],
84
- "invalidateCache": true
85
- }
86
- ```
44
+ 😊 No tracking, no ads, no cloud, no servers, no subscription