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.
Files changed (48) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +44 -90
  3. package/build/client/assets/GitTruckInfo-un_3Kok4.js +1 -0
  4. package/build/client/assets/LoadingIndicator-SOpPzvbS.js +1 -0
  5. package/build/client/assets/RevisionSelect-SrpO6JPf.js +1 -0
  6. package/build/client/assets/Tooltip-D_S4TjsA.js +6 -0
  7. package/build/client/assets/_index-CUlJmeRb.js +1 -0
  8. package/build/client/assets/_repo._-1fXsj0hR.js +18 -0
  9. package/build/client/assets/_repository-CZYQSN1t.js +0 -0
  10. package/build/client/assets/authordist-BooTyDMX.js +0 -0
  11. package/build/client/assets/clear-cache-Ckh4wcip.js +1 -0
  12. package/build/client/assets/clear-cache-D0olKoRl.js +1 -0
  13. package/build/client/assets/commitcount-B_3CeIvr.js +0 -0
  14. package/build/client/assets/commits-DNZ_hn-X.js +0 -0
  15. package/build/client/assets/entry.client-D1dRnGqd.js +9 -0
  16. package/build/client/assets/jsx-runtime-DFd4lFBE.js +26 -0
  17. package/build/client/assets/manifest-4723abac.js +1 -0
  18. package/build/client/assets/progress-DMGX1aEW.js +0 -0
  19. package/build/client/assets/root-DKtEsrVf.js +1 -0
  20. package/build/client/assets/root-igHuhpOR.css +1 -0
  21. package/build/client/assets/ui-C5C1Jexe.js +1 -0
  22. package/build/client/favicon.ico +0 -0
  23. package/build/server/assets/server-build-DEjTAloe.js +12749 -0
  24. package/build/server/assets/util.server-DIX86N1-.js +1822 -0
  25. package/build/server/index.js +193 -0
  26. package/cli.js +35820 -220690
  27. package/package.json +178 -121
  28. package/build/_assets/App-G6V2GHO3.css +0 -3
  29. package/build/_assets/Chart-C7HOIFWY.css +0 -26
  30. package/build/_assets/index-K5E2NP2H.css +0 -52
  31. package/build/_assets/vars-TECAP2OK.css +0 -25
  32. package/build/index.js +0 -190549
  33. package/public/build/_assets/App-G6V2GHO3.css +0 -3
  34. package/public/build/_assets/Chart-C7HOIFWY.css +0 -26
  35. package/public/build/_assets/index-K5E2NP2H.css +0 -52
  36. package/public/build/_assets/truck-7F5JWBYT.gif +0 -0
  37. package/public/build/_assets/vars-TECAP2OK.css +0 -25
  38. package/public/build/_shared/chunk-2BPXJFRU.js +0 -67
  39. package/public/build/_shared/chunk-2EHCKJST.js +0 -1
  40. package/public/build/_shared/chunk-FMS45555.js +0 -1
  41. package/public/build/_shared/chunk-XMAWJ27N.js +0 -26
  42. package/public/build/_shared/chunk-Y7QOL3BF.js +0 -238
  43. package/public/build/entry.client-YPWZXPQ4.js +0 -1
  44. package/public/build/manifest-B9DFC470.js +0 -1
  45. package/public/build/root-4FO5NL4Q.js +0 -1
  46. package/public/build/routes/$repo.$-KLZOSV6H.js +0 -350
  47. package/public/build/routes/index-AJLEUMMK.js +0 -61
  48. /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-de7c4e6",
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,scripts}/**/*.{ts,tsx,js,mjs} && prettier --loglevel warn --write {src,scripts}/**/*.{ts,tsx,js,mjs}",
29
- "lint": "eslint --cache --fix {src,scripts}/**/*.{ts,tsx,js,mjs}"
30
- },
31
- "devDependencies": {
32
- "@react-aria/ssr": "^3.3.0",
33
- "@react-aria/utils": "^3.14.0",
34
- "@react-spring/web": "^9.5.5",
35
- "@remix-run/dev": "^1.7.2",
36
- "@remix-run/eslint-config": "^1.7.2",
37
- "@remix-run/node": "^1.7.2",
38
- "@remix-run/react": "^1.7.2",
39
- "@remix-run/serve": "^1.7.2",
40
- "@styled-icons/material": "^10.46.0",
41
- "@styled-icons/material-outlined": "^10.46.0",
42
- "@styled-icons/octicons": "^10.46.0",
43
- "@types/byte-size": "^8.1.0",
44
- "@types/d3-hierarchy": "^3.1.0",
45
- "@types/jest": "^29.1.2",
46
- "@types/react": "^18.0.21",
47
- "@types/react-dom": "^18.0.6",
48
- "@types/semver": "^7.3.12",
49
- "@types/styled-components": "^5.1.26",
50
- "@types/yargs": "^17.0.13",
51
- "@typescript-eslint/eslint-plugin": "^5.40.0",
52
- "@typescript-eslint/parser": "^5.40.0",
53
- "byte-size": "^8.1.0",
54
- "cross-env": "^7.0.3",
55
- "d3-hierarchy": "^3.1.2",
56
- "distinct-colors": "^3.0.0",
57
- "dotenv": "^16.0.3",
58
- "esbuild": "^0.15.11",
59
- "eslint": "^8.25.0",
60
- "eslint-config-prettier": "^8.5.0",
61
- "eslint-plugin-prettier": "^4.2.1",
62
- "eslint-plugin-react": "^7.31.10",
63
- "express-serve-static-core": "^0.1.1",
64
- "get-port": "^6.1.2",
65
- "github-colors": "github:ozh/github-colors",
66
- "gitignore-parser": "^0.0.2",
67
- "husky": "^8.0.1",
68
- "ignore": "^5.2.0",
69
- "is-binary-path": "^2.1.0",
70
- "jest": "^29.2.0",
71
- "lang-map": "^0.4.0",
72
- "latest-version": "^7.0.0",
73
- "lint-staged": "^13.0.3",
74
- "nanospinner": "^1.1.0",
75
- "open": "^8.4.0",
76
- "react": "^18.2.0",
77
- "react-dom": "^18.2.0",
78
- "react-konami-code": "^2.3.0",
79
- "react-use": "^17.4.0",
80
- "react-use-size": "^3.0.0",
81
- "remix-typedjson": "^0.1.3",
82
- "rimraf": "^3.0.2",
83
- "semver": "^7.3.8",
84
- "styled-components": "^5.3.6",
85
- "tiny-invariant": "^1.3.1",
86
- "ts-jest": "^29.0.3",
87
- "typescript": "^4.8.4",
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,scripts}/**/*.{ts,tsx,js,mjs}": [
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-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,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
- }
@@ -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
- }