git-truck 0.0.0-de7c4e6 → 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.
- package/LICENSE +21 -21
- package/README.md +44 -90
- package/build/client/assets/GitTruckInfo-un_3Kok4.js +1 -0
- package/build/client/assets/LoadingIndicator-SOpPzvbS.js +1 -0
- package/build/client/assets/RevisionSelect-SrpO6JPf.js +1 -0
- package/build/client/assets/Tooltip-D_S4TjsA.js +6 -0
- package/build/client/assets/_index-CUlJmeRb.js +1 -0
- package/build/client/assets/_repo._-1fXsj0hR.js +18 -0
- package/build/client/assets/_repository-CZYQSN1t.js +0 -0
- package/build/client/assets/authordist-BooTyDMX.js +0 -0
- package/build/client/assets/clear-cache-Ckh4wcip.js +1 -0
- package/build/client/assets/clear-cache-D0olKoRl.js +1 -0
- package/build/client/assets/commitcount-B_3CeIvr.js +0 -0
- package/build/client/assets/commits-DNZ_hn-X.js +0 -0
- package/build/client/assets/entry.client-D1dRnGqd.js +9 -0
- package/build/client/assets/jsx-runtime-DFd4lFBE.js +26 -0
- package/build/client/assets/manifest-4723abac.js +1 -0
- package/build/client/assets/progress-DMGX1aEW.js +0 -0
- package/build/client/assets/root-DKtEsrVf.js +1 -0
- package/build/client/assets/root-igHuhpOR.css +1 -0
- package/build/client/assets/ui-C5C1Jexe.js +1 -0
- package/build/client/favicon.ico +0 -0
- package/build/server/assets/server-build-DEjTAloe.js +12749 -0
- package/build/server/assets/util.server-DIX86N1-.js +1822 -0
- package/build/server/index.js +193 -0
- package/cli.js +35820 -220690
- package/package.json +178 -121
- package/build/_assets/App-G6V2GHO3.css +0 -3
- package/build/_assets/Chart-C7HOIFWY.css +0 -26
- package/build/_assets/index-K5E2NP2H.css +0 -52
- package/build/_assets/vars-TECAP2OK.css +0 -25
- package/build/index.js +0 -190549
- package/public/build/_assets/App-G6V2GHO3.css +0 -3
- package/public/build/_assets/Chart-C7HOIFWY.css +0 -26
- package/public/build/_assets/index-K5E2NP2H.css +0 -52
- package/public/build/_assets/truck-7F5JWBYT.gif +0 -0
- package/public/build/_assets/vars-TECAP2OK.css +0 -25
- package/public/build/_shared/chunk-2BPXJFRU.js +0 -67
- package/public/build/_shared/chunk-2EHCKJST.js +0 -1
- package/public/build/_shared/chunk-FMS45555.js +0 -1
- package/public/build/_shared/chunk-XMAWJ27N.js +0 -26
- package/public/build/_shared/chunk-Y7QOL3BF.js +0 -238
- package/public/build/entry.client-YPWZXPQ4.js +0 -1
- package/public/build/manifest-B9DFC470.js +0 -1
- package/public/build/root-4FO5NL4Q.js +0 -1
- package/public/build/routes/$repo.$-KLZOSV6H.js +0 -350
- package/public/build/routes/index-AJLEUMMK.js +0 -61
- /package/build/{_assets/truck-7F5JWBYT.gif → client/assets/truck-BgAoc4Gr.gif} +0 -0
package/package.json
CHANGED
|
@@ -1,121 +1,178 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "git-truck",
|
|
3
|
-
"version": "0.0.0-
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "Visualizing a Git repository",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"main": "./cli.js",
|
|
8
|
-
"bin": "./cli.js",
|
|
9
|
-
"files": [
|
|
10
|
-
"LICENSE",
|
|
11
|
-
"README.md",
|
|
12
|
-
"build/",
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"watch": "
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "git-truck",
|
|
3
|
+
"version": "0.0.0-e01892a",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Visualizing a Git repository",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "./cli.js",
|
|
8
|
+
"bin": "./cli.js",
|
|
9
|
+
"files": [
|
|
10
|
+
"LICENSE",
|
|
11
|
+
"README.md",
|
|
12
|
+
"build/server",
|
|
13
|
+
"build/client",
|
|
14
|
+
"public/",
|
|
15
|
+
"cli.js"
|
|
16
|
+
],
|
|
17
|
+
"type": "module",
|
|
18
|
+
"scripts": {
|
|
19
|
+
"test": "npm run test:e2e && npm run test:unit",
|
|
20
|
+
"test:unit": "vitest run",
|
|
21
|
+
"test:unit:watch": "vitest watch",
|
|
22
|
+
"test:e2e": "npx playwright test",
|
|
23
|
+
"test:e2e:headed": "npx playwright test --headed",
|
|
24
|
+
"pretest:e2e": "npm run build",
|
|
25
|
+
"pretest:e2e:headed": "npm run build",
|
|
26
|
+
"build": "cross-env NODE_ENV=production npm run build-vite && npm run build-cli",
|
|
27
|
+
"build-cli": "cross-env NODE_ENV=production tsdown",
|
|
28
|
+
"build-vite": "react-router build",
|
|
29
|
+
"dev": "cross-env NODE_ENV=development tsx ./src/cli.ts",
|
|
30
|
+
"dev:debug": "cross-env NODE_ENV=development tsx ./src/cli.ts --log debug",
|
|
31
|
+
"start": "cross-env NODE_ENV=production node .",
|
|
32
|
+
"clean": "npx -y rimraf build .react-router .cache .temp cli.js cli.cjs",
|
|
33
|
+
"typecheck": "react-router typegen && tsc -b",
|
|
34
|
+
"typegen:watch": "react-router typegen --watch",
|
|
35
|
+
"pub-pre": "npm version prerelease && npm publish --tag next",
|
|
36
|
+
"pub-exp": "node ./scripts/publish-experimental",
|
|
37
|
+
"prepublishOnly": "npm run clean && npm run build",
|
|
38
|
+
"format:write": "prettier --log-level warn --write src scripts e2e",
|
|
39
|
+
"lint:fix": "eslint --fix --cache",
|
|
40
|
+
"check:write": "npm run format:write && npm run lint:fix",
|
|
41
|
+
"check": "npm run format:check && npm run lint",
|
|
42
|
+
"format:check": "prettier --check src scripts e2e",
|
|
43
|
+
"lint": "eslint --cache",
|
|
44
|
+
"prepare": "node .husky/install.mjs",
|
|
45
|
+
"update-deps": "npx npm-check-updates -i",
|
|
46
|
+
"knip": "knip"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@duckdb/node-api": "^1.3.1-alpha.23",
|
|
50
|
+
"@react-router/express": "^7.6.3"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@headlessui/react": "^2.2.4",
|
|
54
|
+
"@mdi/js": "^7.4.47",
|
|
55
|
+
"@mdi/react": "^1.6.1",
|
|
56
|
+
"@playwright/test": "^1.53.2",
|
|
57
|
+
"@react-router/dev": "^7.6.3",
|
|
58
|
+
"@react-router/fs-routes": "^7.6.3",
|
|
59
|
+
"@react-router/node": "^7.6.3",
|
|
60
|
+
"@tailwindcss/vite": "^4.1.11",
|
|
61
|
+
"@types/byte-size": "^8.1.2",
|
|
62
|
+
"@types/color-convert": "^2.0.4",
|
|
63
|
+
"@types/d3": "^7.4.3",
|
|
64
|
+
"@types/d3-hierarchy": "^3.1.7",
|
|
65
|
+
"@types/express": "^4.17.22",
|
|
66
|
+
"@types/express-serve-static-core": "^5.0.6",
|
|
67
|
+
"@types/node": "^22.15.30",
|
|
68
|
+
"@types/randomstring": "^1.3.0",
|
|
69
|
+
"@types/react": "^19.1.8",
|
|
70
|
+
"@types/react-detect-offline": "^2.4.5",
|
|
71
|
+
"@types/react-dom": "^19.1.6",
|
|
72
|
+
"@types/semver": "^7.7.0",
|
|
73
|
+
"@types/sha1": "^1.1.5",
|
|
74
|
+
"@types/yargs-parser": "^21.0.3",
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "^8.35.1",
|
|
76
|
+
"@typescript-eslint/parser": "^8.35.1",
|
|
77
|
+
"ansi-colors": "^4.1.3",
|
|
78
|
+
"byte-size": "^9.0.1",
|
|
79
|
+
"clsx": "^2.1.1",
|
|
80
|
+
"color-convert": "^3.1.0",
|
|
81
|
+
"cross-env": "^7.0.3",
|
|
82
|
+
"d3": "^7.9.0",
|
|
83
|
+
"d3-hierarchy": "^3.1.2",
|
|
84
|
+
"dotenv": "^17.0.1",
|
|
85
|
+
"eslint": "^8.57.1",
|
|
86
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
87
|
+
"eslint-plugin-import": "^2.32.0",
|
|
88
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
89
|
+
"eslint-plugin-react": "^7.37.5",
|
|
90
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
91
|
+
"express": "^5.1.0",
|
|
92
|
+
"get-port": "^7.1.0",
|
|
93
|
+
"husky": "^9.1.7",
|
|
94
|
+
"ignore": "^7.0.5",
|
|
95
|
+
"knip": "^5.61.3",
|
|
96
|
+
"language-map": "^1.5.0",
|
|
97
|
+
"lint-staged": "^16.1.2",
|
|
98
|
+
"nanospinner": "^1.2.2",
|
|
99
|
+
"npm-check-updates": "^18.0.1",
|
|
100
|
+
"open": "^10.1.2",
|
|
101
|
+
"prettier": "^3.6.2",
|
|
102
|
+
"prettier-plugin-tailwindcss": "^0.6.13",
|
|
103
|
+
"randomstring": "^1.3.1",
|
|
104
|
+
"react": "^19.1.0",
|
|
105
|
+
"react-colorful": "^5.6.1",
|
|
106
|
+
"react-compound-slider": "^3.4.0",
|
|
107
|
+
"react-datepicker": "^8.4.0",
|
|
108
|
+
"react-detect-offline": "^2.4.5",
|
|
109
|
+
"react-device-detect": "^2.2.3",
|
|
110
|
+
"react-dom": "^19.1.0",
|
|
111
|
+
"react-github-btn": "^1.4.0",
|
|
112
|
+
"react-router": "^7.6.3",
|
|
113
|
+
"react-router-devtools": "^5.0.6",
|
|
114
|
+
"react-spinners": "^0.17.0",
|
|
115
|
+
"react-tiny-popover": "^8.1.6",
|
|
116
|
+
"react-use-size": "^5.0.1",
|
|
117
|
+
"semver": "^7.7.2",
|
|
118
|
+
"sha1": "^1.1.1",
|
|
119
|
+
"tailwind-merge": "^3.3.1",
|
|
120
|
+
"tailwindcss": "^4.1.11",
|
|
121
|
+
"tsdown": "^0.12.9",
|
|
122
|
+
"tsx": "^4.20.3",
|
|
123
|
+
"typescript": "5.8",
|
|
124
|
+
"typescript-eslint": "^8.35.1",
|
|
125
|
+
"uniqolor": "^1.1.1",
|
|
126
|
+
"vite": "npm:rolldown-vite@^7.0.4",
|
|
127
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
128
|
+
"vitest": "^3.2.4",
|
|
129
|
+
"yargs-parser": "^22.0.0"
|
|
130
|
+
},
|
|
131
|
+
"tsdown": {
|
|
132
|
+
"entry": "./src/cli.ts",
|
|
133
|
+
"outDir": ".",
|
|
134
|
+
"treeshake": true,
|
|
135
|
+
"clean": false,
|
|
136
|
+
"external": [
|
|
137
|
+
"vite",
|
|
138
|
+
"lightningcss"
|
|
139
|
+
],
|
|
140
|
+
"cjs-interop": true,
|
|
141
|
+
"env": {
|
|
142
|
+
"NODE_ENV": "production"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"prettier": {
|
|
146
|
+
"semi": false,
|
|
147
|
+
"printWidth": 120,
|
|
148
|
+
"trailingComma": "none",
|
|
149
|
+
"plugins": [
|
|
150
|
+
"prettier-plugin-tailwindcss"
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"lint-staged": {
|
|
154
|
+
"{src,scripts}/**/*.{ts,tsx,js,mjs}": [
|
|
155
|
+
"eslint --cache --fix",
|
|
156
|
+
"prettier --write"
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
"knip": {
|
|
160
|
+
"entry": [
|
|
161
|
+
".react-router/**/*",
|
|
162
|
+
"src/**/*.{ts,tsx}",
|
|
163
|
+
"src/*.{ts,tsx}",
|
|
164
|
+
"scripts/**/*.{ts,js}"
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"engines": {
|
|
168
|
+
"node": ">=22.0.0"
|
|
169
|
+
},
|
|
170
|
+
"repository": {
|
|
171
|
+
"type": "git",
|
|
172
|
+
"url": "git+https://github.com/git-truck/git-truck.git"
|
|
173
|
+
},
|
|
174
|
+
"bugs": {
|
|
175
|
+
"url": "https://github.com/git-truck/git-truck/issues"
|
|
176
|
+
},
|
|
177
|
+
"homepage": "https://github.com/git-truck/git-truck#readme"
|
|
178
|
+
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
.tree,
|
|
2
|
-
.blob {
|
|
3
|
-
position: relative;
|
|
4
|
-
cursor: pointer;
|
|
5
|
-
pointer-events: all;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.tree {
|
|
9
|
-
stroke: var(--border-color);
|
|
10
|
-
fill: transparent;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.blob:hover, .tree:hover {
|
|
14
|
-
stroke: darkslategray;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.object-name {
|
|
18
|
-
font-weight: bold;
|
|
19
|
-
font-size: 0.8rem;
|
|
20
|
-
fill: "#333";
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.name-path {
|
|
24
|
-
fill: transparent;
|
|
25
|
-
pointer-events: none;
|
|
26
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
margin: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
body {
|
|
8
|
-
margin: 0;
|
|
9
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
|
|
10
|
-
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
|
|
11
|
-
sans-serif;
|
|
12
|
-
-webkit-font-smoothing: antialiased;
|
|
13
|
-
-moz-osx-font-smoothing: grayscale;
|
|
14
|
-
min-height: 100vh;
|
|
15
|
-
|
|
16
|
-
background-color: var(--global-bg-color);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
#root {
|
|
20
|
-
height: 100%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.container {
|
|
24
|
-
height: 100%;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
code {
|
|
28
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
|
|
29
|
-
monospace;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
input, button, textarea, select {
|
|
33
|
-
font: inherit;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
button:focus,
|
|
37
|
-
input:focus,
|
|
38
|
-
select:focus {
|
|
39
|
-
outline-color: var(--focused-outline-color);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@keyframes dash {
|
|
43
|
-
to {
|
|
44
|
-
stroke-dashoffset: 0;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@keyframes hide_initially {
|
|
49
|
-
to {
|
|
50
|
-
opacity: 1;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--unit: 8px;
|
|
3
|
-
--global-bg-color: hsl(210, 38%, 95%);
|
|
4
|
-
--side-panel-width-units: 35;
|
|
5
|
-
--side-panel-width: calc(var(--side-panel-width-units) * var(--unit));
|
|
6
|
-
--title-color: hsl(200, 5%, 30%);
|
|
7
|
-
--text-color: hsl(200, 5%, 25%);
|
|
8
|
-
--border-color: hsl(0, 0%, 70%);
|
|
9
|
-
--border-width: 1px;
|
|
10
|
-
--surface-color: hsl(0, 0%, 90%);
|
|
11
|
-
--border-color-alpha: hsla(0, 0%, 0%, 30%);
|
|
12
|
-
--focused-outline-color: hsl(216, 83%, 62%);
|
|
13
|
-
/* Generated with: https://shadows.brumm.af/ */
|
|
14
|
-
--shadow: 0.9px 0.9px 2.7px hsla(0, 0%, 0%, 0.07),
|
|
15
|
-
2.2px 2.2px 6.9px hsla(0, 0%, 0%, 0.048),
|
|
16
|
-
4.4px 4.4px 14.2px hsla(0, 0%, 0%, 0.039),
|
|
17
|
-
9.1px 9.1px 29.2px hsla(0, 0%, 0%, 0.031), 25px 25px 80px hsla(0, 0%, 0%, 0.022);
|
|
18
|
-
--small-shadow: 0.9px 0.9px 1.7px hsla(0, 0%, 0%, 0.5);
|
|
19
|
-
|
|
20
|
-
--hover-transition-duration: 200ms;
|
|
21
|
-
--button-text-color: hsl(216, 0%, 30%);
|
|
22
|
-
--button-bg: hsl(216, 0%, 95%);
|
|
23
|
-
--button-hovered-bg: hsl(216, 0%, 90%);
|
|
24
|
-
--button-outline: hsl(216, 0%, 50%);
|
|
25
|
-
}
|