git-truck 0.0.0-cf4aba8 → 0.0.0-cf7a0d7

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 (62) hide show
  1. package/README.md +26 -80
  2. package/build/client/assets/Breadcrumb-CdgUW68p.js +9 -0
  3. package/build/client/assets/ClickedContext-nvsTrh82.js +1 -0
  4. package/build/client/assets/FullscreenButton-DTWgMMY8.js +1 -0
  5. package/build/client/assets/GitTruckInfo-BqjFF5LI.js +1 -0
  6. package/build/client/assets/_._well-known._-DIwl00oI.js +0 -0
  7. package/build/client/assets/_index-J0jvF8An.js +0 -0
  8. package/build/client/assets/_path-bRAhzWvL.js +0 -0
  9. package/build/client/assets/browse-CiU3H-MX.js +1 -0
  10. package/build/client/assets/chunk-4LKRSAEJ-8z04QE__.js +1 -0
  11. package/build/client/assets/chunk-JZWAC4HX-9tNIGWne.js +26 -0
  12. package/build/client/assets/clear-cache-CXx6Yn7w.js +1 -0
  13. package/build/client/assets/clear-cache-DA1iStTe.js +1 -0
  14. package/build/client/assets/commitcount-eFguKtSp.js +0 -0
  15. package/build/client/assets/commits-DPfZp-l3.js +0 -0
  16. package/build/client/assets/compare-Br3z3FUS-B6_aFJor.js +2 -0
  17. package/build/client/assets/entry.client-B635LeAE.js +9 -0
  18. package/build/client/assets/jsx-runtime-CxqK4d5v.js +1 -0
  19. package/build/client/assets/manifest-e6554b64.js +1 -0
  20. package/build/client/assets/react-dom-gnUMyEJe.js +1 -0
  21. package/build/client/assets/root-DJEhSxma.js +3 -0
  22. package/build/client/assets/root-DMyM44sD.css +1 -0
  23. package/build/client/assets/styling-yMFm_uD4.js +1 -0
  24. package/build/client/assets/ui-Cb8x6AYz.js +1 -0
  25. package/build/client/assets/util-DSQlQ-S-.js +1 -0
  26. package/build/client/assets/view-B73GaCS7.js +1 -0
  27. package/build/client/assets/view.___details-B07YVNJ5.js +1 -0
  28. package/build/client/assets/view._index-NCBL8c43.js +0 -0
  29. package/build/client/assets/view.commits-Cf5jiZgL.js +1 -0
  30. package/build/client/assets/view.details-hEDMXWbf.js +1 -0
  31. package/build/client/assets/view.home-DXbJBlmC.js +1 -0
  32. package/build/client/assets/view.progress-B7Os3EHt.js +0 -0
  33. package/build/client/favicon.ico +0 -0
  34. package/build/server/assets/server-build-oQZVjDOz.js +15203 -0
  35. package/build/server/index.js +5 -0
  36. package/cli.mjs +41064 -0
  37. package/package.json +123 -113
  38. package/build/index.js +0 -1432
  39. package/build/metafile.js.json +0 -1
  40. package/build/metafile.server.json +0 -1
  41. package/build/version.txt +0 -1
  42. package/cli.js +0 -1311
  43. package/public/build/_assets/animations-TUO2PXWS.css +0 -1
  44. package/public/build/_assets/react-datepicker-SHOMGW4P.css +0 -1
  45. package/public/build/_assets/tailwind-MPOJ3BJG.css +0 -1
  46. package/public/build/_assets/truck-JLDVJULS.png +0 -0
  47. package/public/build/_assets/vars-COQCVZEU.css +0 -1
  48. package/public/build/_shared/buttons.esm-D3QISUDE.js +0 -10
  49. package/public/build/_shared/chunk-G5WX4PPA.js +0 -1
  50. package/public/build/_shared/chunk-JXM3XOLN.js +0 -293
  51. package/public/build/_shared/chunk-R6TD5JPE.js +0 -1
  52. package/public/build/_shared/chunk-YNO7WHSB.js +0 -1
  53. package/public/build/entry.client-57MIS6DA.js +0 -1
  54. package/public/build/manifest-568A0555.js +0 -1
  55. package/public/build/root-D53FGFHN.js +0 -1
  56. package/public/build/routes/$repo.$-ANNK4M6M.js +0 -74
  57. package/public/build/routes/_index-YTUMKA5O.js +0 -1
  58. package/public/build/routes/authordist-A7NSX5GE.js +0 -1
  59. package/public/build/routes/commitcount-KSNJOFTJ.js +0 -1
  60. package/public/build/routes/commits-6RXT3QOX.js +0 -1
  61. package/public/build/routes/progress-LUCNXSNL.js +0 -1
  62. /package/{public/build/_assets/truck-7F5JWBYT.gif → build/client/assets/truck-BgAoc4Gr.gif} +0 -0
package/README.md CHANGED
@@ -1,98 +1,44 @@
1
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
2
 
3
- Git-Truck is a tool that 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://en.wikipedia.org/wiki/Bus_factor).
3
+ Git Truck is a tool that provides you with a truckload of visualizations of your git repository.
4
4
 
5
- | Git Truck can help you figure out: | |
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"> |
5
+ With Git Truck you can:
10
6
 
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
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
18
11
 
19
- 😊 No tracking, no ads, no data mining, no analytics, no cloud, no servers
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?"> |
20
15
 
21
- ## [Prerequisites](#prerequisites)
22
-
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
-
30
- > [!TIP]
31
- > The latests versions of Node and git can be installed from the links above.
32
-
33
- > [!Note]
34
- > `npm` is automatically 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!
35
17
 
36
18
  ## [Get started](#get-started)
37
19
 
38
- 1. Within a git repository, or a directory containing git repositories, run the command
39
-
40
- ```bash
41
- npx -y git-truck
42
- ```
43
-
44
- 2. The application will now open in your default browser.
20
+ 1. In your terminal, navigate to a git repository or a folder containing several repositories
45
21
 
46
- ![Demo](demo.gif)
22
+ 2. Run the command `npm install -g git-truck@latest` to install or update Git Truck.
47
23
 
48
- ## [Feedback](#feedback)
24
+ 3. Now you can run Git Truck using the command `git truck`
49
25
 
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!
26
+ 4. The application will now open in your default browser. Happy trucking!
51
27
 
52
- If you have any suggestions about new features, or things that you think should be different, also feel free to open an issue.
53
-
54
- ## [Advanced use](#advanced-use)
55
-
56
- Run `npx git-truck` in the root of a git repository, that you want to visualize:
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)
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`.
76
35
 
77
- You can add a `truckconfig.json` file to the root of your project, where you can define the arguments you want.
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
- **Example:**
38
+ 🔒 Private by design
82
39
 
83
- ```json
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
- ## Star History
42
+ 🤷 Git provider agnostic - works with any git repository
97
43
 
98
- [![Star History Chart](https://api.star-history.com/svg?repos=git-truck/git-truck&type=Date)](https://star-history.com/#git-truck/git-truck&Date)
44
+ 😊 No tracking, no ads, no cloud, no servers, no subscription