git-truck 0.0.0-e598cba → 0.0.0-e6c02122

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 (65) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +54 -89
  3. package/build/client/assets/Tooltip-BRrRCIoN.js +5 -0
  4. package/build/client/assets/_-CT17qCl3.js +0 -0
  5. package/build/client/assets/_._well-known._-DIwl00oI.js +0 -0
  6. package/build/client/assets/_index-D21Ew7mj.js +0 -0
  7. package/build/client/assets/_path-DLb8dmlQ.js +0 -0
  8. package/build/client/assets/api.abort-BnJg2xc8.js +1 -0
  9. package/build/client/assets/api.abort-DT-xlGik.js +1 -0
  10. package/build/client/assets/api.commits-BQFa-krc.js +1 -0
  11. package/build/client/assets/api.commits-D0V_2Zxh.js +1 -0
  12. package/build/client/assets/api.contributor-distribution-Bm765p2r.js +0 -0
  13. package/build/client/assets/api.progress-DDXJwKZs.js +0 -0
  14. package/build/client/assets/browse-BwwVf3-V.js +1 -0
  15. package/build/client/assets/browse-o58AJQN7.js +1 -0
  16. package/build/client/assets/clear-cache-CkxDeoL-.js +1 -0
  17. package/build/client/assets/clear-cache-DCTKiLTg.js +1 -0
  18. package/build/client/assets/commits-D_3bM_Jc.js +0 -0
  19. package/build/client/assets/crashedTruck_48x-BC5vWJCr.js +1 -0
  20. package/build/client/assets/crashedTruck_48x-DZ8PrkDC.gif +0 -0
  21. package/build/client/assets/dist-Cs-Kcn9j.js +2 -0
  22. package/build/client/assets/drivingTruck_32x-C9OqTj6H.gif +0 -0
  23. package/build/client/assets/drivingTruck_48x-CILwQUl6.gif +0 -0
  24. package/build/client/assets/entry.client-VGg0gg2t.js +9 -0
  25. package/build/client/assets/jsx-runtime-DNTxAj_C.js +26 -0
  26. package/build/client/assets/loadingTruck_48x-ClwSXdP8.gif +0 -0
  27. package/build/client/assets/manifest-2ea0f428.js +1 -0
  28. package/build/client/assets/react-T1tfSvWJ.js +1 -0
  29. package/build/client/assets/react-dom-bApAVOsP.js +1 -0
  30. package/build/client/assets/root-CdHdIgYi.css +2 -0
  31. package/build/client/assets/root-Cwz7TfDG.js +3 -0
  32. package/build/client/assets/ui-Cz1QB8r9.js +1 -0
  33. package/build/client/assets/unloadingTruck_48x-stS0XDD5.gif +0 -0
  34. package/build/client/assets/util-DQQO48u5.js +44 -0
  35. package/build/client/assets/view-CzLqDYRK.js +4 -0
  36. package/build/client/assets/viewParams-j9NUggAW.js +1 -0
  37. package/build/client/assets/viewParams-xPtAQMex.js +1 -0
  38. package/build/client/favicon.ico +0 -0
  39. package/build/server/assets/dist-Bcw9gDV4.js +6678 -0
  40. package/build/server/assets/server-build-BMjoUR58.js +65295 -0
  41. package/build/server/index.js +23033 -0
  42. package/cli.mjs +40451 -0
  43. package/package.json +204 -121
  44. package/build/_assets/App-CCO27G3C.css +0 -3
  45. package/build/_assets/Chart-OOZGWRB3.css +0 -26
  46. package/build/_assets/index-ISZFG75V.css +0 -52
  47. package/build/_assets/truck-7F5JWBYT.gif +0 -0
  48. package/build/_assets/vars-SMWRLQRH.css +0 -25
  49. package/build/index.js +0 -132955
  50. package/cli.js +0 -217669
  51. package/public/build/_assets/App-CCO27G3C.css +0 -3
  52. package/public/build/_assets/Chart-OOZGWRB3.css +0 -26
  53. package/public/build/_assets/index-ISZFG75V.css +0 -52
  54. package/public/build/_assets/truck-7F5JWBYT.gif +0 -0
  55. package/public/build/_assets/vars-SMWRLQRH.css +0 -25
  56. package/public/build/_shared/chunk-2BPXJFRU.js +0 -67
  57. package/public/build/_shared/chunk-2EHCKJST.js +0 -1
  58. package/public/build/_shared/chunk-M2FHFTTV.js +0 -234
  59. package/public/build/_shared/chunk-OSISAMON.js +0 -1
  60. package/public/build/_shared/chunk-XMAWJ27N.js +0 -26
  61. package/public/build/entry.client-YPWZXPQ4.js +0 -1
  62. package/public/build/manifest-B77184FF.js +0 -1
  63. package/public/build/root-UZOE4KON.js +0 -1
  64. package/public/build/routes/$repo.$-Y75SJYSQ.js +0 -350
  65. package/public/build/routes/index-YPP2UMU6.js +0 -61
package/package.json CHANGED
@@ -1,121 +1,204 @@
1
- {
2
- "name": "git-truck",
3
- "version": "0.0.0-e598cba",
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
- "public/",
14
- "cli.js"
15
- ],
16
- "scripts": {
17
- "test": "jest --coverage",
18
- "build": "remix build && npm run build-cli",
19
- "build-cli": "node ./scripts/build-cli.js",
20
- "dev": "remix dev",
21
- "watch": "remix watch",
22
- "start": "remix-serve build",
23
- "clean": "rimraf -rf build public/build .cache .temp",
24
- "tsc": "tsc",
25
- "pub-pre": "npm version prerelease && npm publish --tag next",
26
- "pub-exp": "node ./scripts/publish-experimental.js",
27
- "prepublishOnly": "npm run clean && npm run build",
28
- "format": "eslint --cache --fix src/**/*.{ts,tsx} && prettier --loglevel warn --write src/**/*.{ts,tsx}",
29
- "lint": "eslint --cache --fix src/**/*.{ts,tsx}"
30
- },
31
- "dependencies": {
32
- "@remix-run/node": "^1.7.2",
33
- "byte-size": "^8.1.0",
34
- "distinct-colors": "^3.0.0",
35
- "get-port": "^6.1.2",
36
- "github-colors": "github:ozh/github-colors",
37
- "ignore": "^5.2.0",
38
- "lang-map": "^0.4.0",
39
- "latest-version": "^6.0.0",
40
- "nanospinner": "^1.1.0",
41
- "open": "^8.4.0",
42
- "react-dom": "^18.2.0",
43
- "react-konami-code": "^2.3.0",
44
- "react-use-size": "^3.0.0",
45
- "semver": "^7.3.7"
46
- },
47
- "devDependencies": {
48
- "@react-aria/ssr": "^3.3.0",
49
- "@react-aria/utils": "^3.14.0",
50
- "@react-spring/web": "^9.5.5",
51
- "@remix-run/dev": "^1.7.2",
52
- "@remix-run/eslint-config": "^1.7.2",
53
- "@remix-run/react": "^1.7.2",
54
- "@remix-run/serve": "^1.7.2",
55
- "@styled-icons/material": "^10.46.0",
56
- "@styled-icons/material-outlined": "^10.46.0",
57
- "@styled-icons/octicons": "^10.46.0",
58
- "@types/byte-size": "^8.1.0",
59
- "@types/d3-hierarchy": "^3.1.0",
60
- "@types/jest": "^29.0.3",
61
- "@types/react": "^18.0.20",
62
- "@types/react-dom": "^18.0.6",
63
- "@types/semver": "^7.3.12",
64
- "@types/styled-components": "^5.1.26",
65
- "@types/yargs": "^17.0.12",
66
- "@typescript-eslint/eslint-plugin": "^5.38.0",
67
- "@typescript-eslint/parser": "^5.38.0",
68
- "cross-env": "^7.0.3",
69
- "d3-hierarchy": "^3.1.2",
70
- "dotenv": "^16.0.2",
71
- "esbuild": "^0.15.8",
72
- "eslint": "^8.23.1",
73
- "eslint-config-prettier": "^8.5.0",
74
- "eslint-plugin-prettier": "^4.2.1",
75
- "eslint-plugin-react": "^7.31.8",
76
- "gitignore-parser": "^0.0.2",
77
- "husky": "^8.0.1",
78
- "is-binary-path": "^2.1.0",
79
- "jest": "^29.0.3",
80
- "lint-staged": "^13.0.3",
81
- "react": "^18.2.0",
82
- "react-use": "^17.4.0",
83
- "rimraf": "^3.0.2",
84
- "styled-components": "^5.3.6",
85
- "tiny-invariant": "^1.3.1",
86
- "ts-jest": "^29.0.1",
87
- "typescript": "^4.8.3",
88
- "yargs": "^17.6.0"
89
- },
90
- "jest": {
91
- "preset": "ts-jest",
92
- "testEnvironment": "node",
93
- "setupFiles": [
94
- "dotenv/config"
95
- ],
96
- "roots": [
97
- "<rootDir>/src/"
98
- ]
99
- },
100
- "prettier": {
101
- "semi": false,
102
- "printWidth": 120
103
- },
104
- "lint-staged": {
105
- "src/**/*.{ts,tsx}": [
106
- "eslint --cache --fix",
107
- "prettier --write"
108
- ]
109
- },
110
- "engines": {
111
- "node": ">=16.13.0"
112
- },
113
- "repository": {
114
- "type": "git",
115
- "url": "git+https://github.com/git-truck/git-truck.git"
116
- },
117
- "bugs": {
118
- "url": "https://github.com/git-truck/git-truck/issues"
119
- },
120
- "homepage": "https://github.com/git-truck/git-truck#readme"
121
- }
1
+ {
2
+ "name": "git-truck",
3
+ "version": "0.0.0-e6c02122",
4
+ "private": false,
5
+ "description": "Visualizing a Git repository",
6
+ "license": "MIT",
7
+ "main": "./cli.mjs",
8
+ "bin": {
9
+ "git-truck": "cli.mjs"
10
+ },
11
+ "files": [
12
+ "LICENSE",
13
+ "README.md",
14
+ "build/",
15
+ "public/",
16
+ "cli.mjs"
17
+ ],
18
+ "type": "module",
19
+ "scripts": {
20
+ "test": "npm run test:e2e && npm run test:unit",
21
+ "test:unit": "vitest run",
22
+ "test:unit:watch": "vitest watch",
23
+ "test:e2e": "npx playwright test",
24
+ "test:e2e:headed": "npx playwright test --headed",
25
+ "pretest:e2e": "npm run build",
26
+ "pretest:e2e:headed": "npm run build",
27
+ "build": "cross-env NODE_ENV=production npm run build-vite && npm run build-cli",
28
+ "build:dev": "cross-env NODE_ENV=development npm run build-vite && npm run build-cli:dev",
29
+ "build-cli": "cross-env NODE_ENV=production tsdown --env.NODE_ENV=production",
30
+ "build-cli:dev": "cross-env NODE_ENV=development tsdown --env.NODE_ENV=development",
31
+ "build-vite": "react-router build",
32
+ "dev": "bun dev:portless",
33
+ "dev:portless": "bunx --bun portless proxy start --no-tls && bunx --bun portless git-truck bun dev:bun",
34
+ "dev:bun": "NODE_ENV=development bun --bun ./src/cli.ts",
35
+ "dev:node": "cross-env NODE_ENV=development tsx ./src/cli.ts",
36
+ "start": "cross-env NODE_ENV=production node .",
37
+ "clean": "npx -y rimraf build .react-router .cache .temp cli.mjs cli.js cli.cjs",
38
+ "typecheck": "react-router typegen && tsc -b",
39
+ "typegen:watch": "react-router typegen --watch",
40
+ "pub-pre": "npm version prerelease && npm publish --tag next",
41
+ "pub-premajor": "npm version premajor && npm publish --tag next",
42
+ "pub-preminor": "npm version preminor && npm publish --tag next",
43
+ "pub-prepatch": "npm version prepatch && npm publish --tag next",
44
+ "pub-exp": "node ./scripts/publish-experimental",
45
+ "prepublishOnly": "npm run clean && npm run build",
46
+ "format:write": "prettier --log-level warn --write src scripts e2e",
47
+ "lint:fix": "eslint --fix --cache",
48
+ "check:write": "react-router typegen && npm run knip:write && npm run lint:fix && npm run format:write",
49
+ "check": "react-router typegen && npm run knip && npm run lint && npm run format:check",
50
+ "format:check": "prettier --check src scripts e2e",
51
+ "lint": "eslint --cache",
52
+ "update-deps": "bun update --latest -i",
53
+ "knip": "knip",
54
+ "knip:write": "knip --fix",
55
+ "commit": "cz",
56
+ "changeset": "bunx @changesets/cli && git add .changeset && git commit -m \"chore: add changeset\"",
57
+ "release": "bun run build && bunx @changesets/cli publish"
58
+ },
59
+ "dependencies": {
60
+ "@duckdb/node-api": "1.5.1-r.1"
61
+ },
62
+ "devDependencies": {
63
+ "@babel/core": "7.29.0",
64
+ "@changesets/cli": "2.30.0",
65
+ "@eslint/js": "9.39.2",
66
+ "@headlessui/react": "2.2.9",
67
+ "@mdi/js": "7.4.47",
68
+ "@playwright/test": "1.58.2",
69
+ "@react-router/dev": "7.14.0",
70
+ "@react-router/express": "7.14.0",
71
+ "@react-router/fs-routes": "7.14.0",
72
+ "@react-router/node": "7.14.0",
73
+ "@rolldown/plugin-babel": "0.2.2",
74
+ "@tailwindcss/vite": "^4.3.0",
75
+ "@types/bun": "1.3.10",
76
+ "@types/byte-size": "8.1.2",
77
+ "@types/d3": "7.4.3",
78
+ "@types/d3-hierarchy": "3.1.7",
79
+ "@types/express": "5.0.6",
80
+ "@types/node": "25.3.0",
81
+ "@types/randomstring": "1.3.0",
82
+ "@types/react": "19.2.14",
83
+ "@types/react-dom": "19.2.3",
84
+ "@types/semver": "7.7.1",
85
+ "@types/sha1": "1.1.5",
86
+ "@types/yargs-parser": "21.0.3",
87
+ "@vitejs/plugin-react": "6.0.1",
88
+ "a11y-contrast-color": "1.1.0",
89
+ "ansi-colors": "4.1.3",
90
+ "async-mutex": "0.5.0",
91
+ "babel-plugin-react-compiler": "1.0.0",
92
+ "byte-size": "9.0.1",
93
+ "clsx": "2.1.1",
94
+ "color-convert": "3.1.3",
95
+ "commitizen": "4.3.1",
96
+ "cross-env": "10.1.0",
97
+ "cz-conventional-changelog": "3.3.0",
98
+ "d3": "7.9.0",
99
+ "d3-hierarchy": "3.1.2",
100
+ "dotenv": "17.2.4",
101
+ "eslint": "9.39.2",
102
+ "eslint-import-resolver-typescript": "4.4.4",
103
+ "eslint-plugin-import": "2.32.0",
104
+ "eslint-plugin-jsx-a11y": "6.10.2",
105
+ "eslint-plugin-react": "7.37.5",
106
+ "eslint-plugin-react-hooks": "7.0.1",
107
+ "eslint-plugin-react-you-might-not-need-an-effect": "0.9.3",
108
+ "express": "5.2.1",
109
+ "get-port": "7.1.0",
110
+ "globals": "17.3.0",
111
+ "ignore": "7.0.5",
112
+ "isbot": "5.1.35",
113
+ "knip": "6.1.0",
114
+ "language-map": "1.5.0",
115
+ "nanospinner": "1.2.2",
116
+ "nuqs": "2.8.8",
117
+ "open": "11.0.0",
118
+ "prettier": "3.8.1",
119
+ "prettier-plugin-tailwindcss": "0.7.2",
120
+ "radix-ui": "1.4.3",
121
+ "randomstring": "1.3.1",
122
+ "react": "19.2.5",
123
+ "react-colorful": "5.6.1",
124
+ "react-compound-slider": "3.4.0",
125
+ "react-dom": "19.2.5",
126
+ "react-router": "7.14.0",
127
+ "react-router-devtools": "6.2.0",
128
+ "react-tiny-popover": "8.1.6",
129
+ "react-use-size": "5.0.1",
130
+ "semver": "7.7.4",
131
+ "sha1": "1.1.1",
132
+ "tailwind-merge": "3.4.0",
133
+ "tailwindcss": "^4.3.0",
134
+ "tsdown": "0.21.0",
135
+ "tsx": "4.21.0",
136
+ "typescript": "6.0.3",
137
+ "typescript-eslint": "8.55.0",
138
+ "vite": "8.0.3",
139
+ "vitest": "4.1.2",
140
+ "yargs-parser": "22.0.0",
141
+ "zustand": "5.0.11"
142
+ },
143
+ "tsdown": {
144
+ "entry": "./src/cli.ts",
145
+ "outDir": ".",
146
+ "treeshake": true,
147
+ "clean": false,
148
+ "deps": {
149
+ "onlyBundle": false,
150
+ "alwaysBundle": [
151
+ "a11y-contrast-color",
152
+ "ansi-colors",
153
+ "async-mutex",
154
+ "color-convert",
155
+ "express",
156
+ "ignore",
157
+ "nanospinner",
158
+ "semver",
159
+ "yargs-parser"
160
+ ],
161
+ "neverBundle": [
162
+ "vite",
163
+ "lightningcss",
164
+ "/^@duckdb//"
165
+ ]
166
+ },
167
+ "cjs-interop": true,
168
+ "env": {
169
+ "NODE_ENV": "production"
170
+ }
171
+ },
172
+ "prettier": {
173
+ "semi": false,
174
+ "printWidth": 120,
175
+ "trailingComma": "none",
176
+ "endOfLine": "lf",
177
+ "plugins": [
178
+ "prettier-plugin-tailwindcss"
179
+ ]
180
+ },
181
+ "knip": {
182
+ "entry": [
183
+ "src/server/app.ts",
184
+ "src/routes/**/*.tsx",
185
+ "scripts/**/*.{ts,js}"
186
+ ]
187
+ },
188
+ "engines": {
189
+ "node": ">=22.0.0"
190
+ },
191
+ "repository": {
192
+ "type": "git",
193
+ "url": "git+https://github.com/git-truck/git-truck.git"
194
+ },
195
+ "bugs": {
196
+ "url": "https://github.com/git-truck/git-truck/issues"
197
+ },
198
+ "homepage": "https://github.com/git-truck/git-truck#readme",
199
+ "config": {
200
+ "commitizen": {
201
+ "path": "./node_modules/cz-conventional-changelog"
202
+ }
203
+ }
204
+ }
@@ -1,3 +0,0 @@
1
- .container {
2
- position: relative;
3
- }
@@ -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
- }
Binary file
@@ -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
- }