git-truck 0.8.4-1 → 0.8.6-experimental3
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 +17 -13
- package/build/index.js +2420 -2080
- package/cli.js +3 -0
- package/package.json +8 -4
- package/{src/styles/App.css → public/build/_assets/App-CCO27G3C.css} +0 -0
- package/{src/styles/Chart.css → public/build/_assets/Chart-OOZGWRB3.css} +0 -0
- package/{src/styles/index.css → public/build/_assets/index-OING3CPO.css} +0 -0
- package/{src/styles/vars.css → public/build/_assets/vars-3S65VA3F.css} +0 -0
- package/public/build/_shared/chunk-3UBBWI7X.js +25 -0
- package/public/build/_shared/chunk-4JENRIWS.js +1 -0
- package/public/build/_shared/chunk-IWPB7HVR.js +75 -0
- package/public/build/_shared/chunk-XQMVET66.js +916 -0
- package/public/build/entry.client-LYPBBYXO.js +1 -0
- package/public/build/manifest-87DFCC32.js +1 -0
- package/public/build/root-YFFMOAIE.js +1 -0
- package/public/build/routes/$repo-ORF3ZRBA.js +264 -0
- package/public/build/routes/index-JOOJGTNK.js +48 -0
- package/.eslintrc.json +0 -23
- package/.github/workflows/bump-version.yml +0 -43
- package/.github/workflows/test-and-build.yml +0 -40
- package/.husky/pre-commit +0 -4
- package/.vscode/extensions.json +0 -7
- package/.vscode/launch.json +0 -24
- package/.vscode/settings.json +0 -6
- package/CONTRIBUTING.md +0 -26
- package/dev.js +0 -21
- package/post-build.js +0 -14
- package/project-statement.md +0 -43
- package/public/favicon.ico +0 -0
- package/remix.config.js +0 -21
- package/remix.env.d.ts +0 -2
- package/server.ts +0 -100
- package/src/analyzer/analyze.server.ts +0 -322
- package/src/analyzer/analyze.test.ts +0 -30
- package/src/analyzer/args.server.ts +0 -34
- package/src/analyzer/coauthors.server.ts +0 -17
- package/src/analyzer/constants.ts +0 -1
- package/src/analyzer/git-caller.ts +0 -117
- package/src/analyzer/hydrate.server.ts +0 -186
- package/src/analyzer/index.ts +0 -4
- package/src/analyzer/log.server.ts +0 -94
- package/src/analyzer/model.ts +0 -110
- package/src/analyzer/postprocessing.server.ts +0 -70
- package/src/analyzer/queue.ts +0 -87
- package/src/analyzer/util.test.ts +0 -8
- package/src/analyzer/util.ts +0 -203
- package/src/authorUnionUtil.test.ts +0 -78
- package/src/authorUnionUtil.ts +0 -71
- package/src/components/AuthorDistFragment.tsx +0 -27
- package/src/components/AuthorDistOther.tsx +0 -22
- package/src/components/Chart.tsx +0 -379
- package/src/components/Details.tsx +0 -296
- package/src/components/EnumSelect.tsx +0 -26
- package/src/components/GlobalInfo.tsx +0 -56
- package/src/components/HiddenFiles.tsx +0 -84
- package/src/components/Legend.tsx +0 -123
- package/src/components/LegendFragment.tsx +0 -29
- package/src/components/LegendOther.tsx +0 -42
- package/src/components/Main.tsx +0 -102
- package/src/components/Options.tsx +0 -36
- package/src/components/Providers.tsx +0 -88
- package/src/components/SearchBar.tsx +0 -110
- package/src/components/SidePanel.tsx +0 -11
- package/src/components/Spacer.tsx +0 -71
- package/src/components/Toggle.tsx +0 -58
- package/src/components/Tooltip.tsx +0 -124
- package/src/components/util.tsx +0 -176
- package/src/const.ts +0 -6
- package/src/contexts/ClickedContext.ts +0 -17
- package/src/contexts/DataContext.ts +0 -12
- package/src/contexts/MetricContext.ts +0 -12
- package/src/contexts/OptionsContext.ts +0 -51
- package/src/contexts/PathContext.ts +0 -16
- package/src/contexts/SearchContext.ts +0 -19
- package/src/entry.client.tsx +0 -10
- package/src/entry.server.tsx +0 -23
- package/src/extension-color.ts +0 -34
- package/src/hooks.ts +0 -26
- package/src/lang-map.d.ts +0 -3
- package/src/metrics.ts +0 -363
- package/src/root.tsx +0 -38
- package/src/routes/index.tsx +0 -62
- package/src/routes/repo.tsx +0 -105
- package/src/util.ts +0 -55
- package/truckconfig.json +0 -22
- package/tsconfig.json +0 -22
package/README.md
CHANGED
|
@@ -18,9 +18,9 @@ To check if these programs are installed, and what version you have, run `node -
|
|
|
18
18
|
|
|
19
19
|
## [Get started](#get-started)
|
|
20
20
|
|
|
21
|
-
1.
|
|
22
|
-
2.
|
|
23
|
-
3.
|
|
21
|
+
1. Within a git repository, or a directory containing git repositories, run the command `npx git-truck@latest`.
|
|
22
|
+
2. Press `y` if it asks you to download the package.
|
|
23
|
+
3. The application will now open in your default browser.
|
|
24
24
|
|
|
25
25
|
## [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)
|
|
26
26
|
|
|
@@ -38,19 +38,23 @@ npx git-truck [args]
|
|
|
38
38
|
|
|
39
39
|
### [Arguments](#arguments)
|
|
40
40
|
|
|
41
|
-
|
|
|
42
|
-
|
|
|
43
|
-
|
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
41
|
+
| arg | description | default value |
|
|
42
|
+
| :------------------: | :-------------------------------------------------------------------: | :----------------: |
|
|
43
|
+
| `--branch` | branch name | checked out branch |
|
|
44
|
+
| `--path` | path to a folder or a git repository | current directory |
|
|
45
|
+
| `--log` | output log level. See [here](./src/analyzer/log.server.ts) for values | - |
|
|
46
|
+
| `--port` | port to use for the program | 3000 |
|
|
47
|
+
| `--invalidate-cache` | bypass analyzer cache manually | - |
|
|
48
|
+
|
|
49
|
+
**Note:** Using `--invalidate-cache` will cause the analyzer to run every time the client talks to the server.
|
|
47
50
|
|
|
48
51
|
### [Configuration](#configuration)
|
|
49
52
|
|
|
50
53
|
You can add a `truckconfig.json` file to the root of your project, where you can define the arguments you want.
|
|
51
|
-
Additionally you can define which git-aliases should be considered as the same person.
|
|
54
|
+
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.
|
|
52
55
|
You can also define files to ignore.
|
|
53
|
-
|
|
56
|
+
|
|
57
|
+
**Example:**
|
|
54
58
|
|
|
55
59
|
```json
|
|
56
60
|
{
|
|
@@ -60,7 +64,7 @@ Example:
|
|
|
60
64
|
["Bob", "Bobby Bob"],
|
|
61
65
|
["Alice", "aliiii", "alice alice"]
|
|
62
66
|
],
|
|
63
|
-
"hiddenFiles": ["package-lock.json", "*.bin", "*.svg"]
|
|
67
|
+
"hiddenFiles": ["package-lock.json", "*.bin", "*.svg"],
|
|
68
|
+
"invalidateCache": true
|
|
64
69
|
}
|
|
65
|
-
|
|
66
70
|
```
|