git-history-ui 1.0.6 → 2.0.0

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 (39) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/build/frontend/index.html +13 -10
  3. package/build/frontend/main-7AXSFTJM.js +11 -0
  4. package/build/frontend/styles-YQ73RJ2V.css +1 -0
  5. package/dist/backend/dev-server.d.ts +0 -1
  6. package/dist/backend/dev-server.js +8 -4
  7. package/dist/backend/dev-server.js.map +1 -1
  8. package/dist/backend/gitService.d.ts +24 -10
  9. package/dist/backend/gitService.js +340 -240
  10. package/dist/backend/gitService.js.map +1 -1
  11. package/dist/backend/server.d.ts +8 -2
  12. package/dist/backend/server.js +145 -112
  13. package/dist/backend/server.js.map +1 -1
  14. package/dist/cli.d.ts +0 -1
  15. package/dist/cli.js +44 -22
  16. package/dist/cli.js.map +1 -1
  17. package/package.json +43 -27
  18. package/build/frontend/main-44CFNHDH.js +0 -8
  19. package/build/frontend/main-5GQESVK5.js +0 -8
  20. package/build/frontend/main-KMFUNYSW.js +0 -8
  21. package/build/frontend/main-YHO6NCZZ.js +0 -8
  22. package/build/frontend/styles-26JPPBSI.css +0 -1
  23. package/build/frontend/styles-J5I4DBTU.css +0 -1
  24. package/dist/__tests__/gitService.test.d.ts +0 -2
  25. package/dist/__tests__/gitService.test.d.ts.map +0 -1
  26. package/dist/__tests__/gitService.test.js +0 -435
  27. package/dist/__tests__/gitService.test.js.map +0 -1
  28. package/dist/__tests__/setup.d.ts +0 -2
  29. package/dist/__tests__/setup.d.ts.map +0 -1
  30. package/dist/__tests__/setup.js +0 -24
  31. package/dist/__tests__/setup.js.map +0 -1
  32. package/dist/backend/dev-server.d.ts.map +0 -1
  33. package/dist/backend/gitService.d.ts.map +0 -1
  34. package/dist/backend/server.d.ts.map +0 -1
  35. package/dist/cli.d.ts.map +0 -1
  36. package/dist/config/paths.d.ts +0 -14
  37. package/dist/config/paths.d.ts.map +0 -1
  38. package/dist/config/paths.js +0 -35
  39. package/dist/config/paths.js.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "git-history-ui",
3
- "version": "1.0.6",
4
- "description": "Beautiful git history visualization in your browser",
3
+ "version": "2.0.0",
4
+ "description": "Beautiful, fast git history visualization in your browser \u2014 with deterministic swim-lane graphs, virtualized diffs, and a command palette.",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {
7
7
  "git-history-ui": "dist/cli.js"
@@ -9,24 +9,32 @@
9
9
  "files": [
10
10
  "dist/**/*",
11
11
  "build/**/*",
12
- "public/**/*"
12
+ "public/**/*",
13
+ "README.md",
14
+ "LICENSE",
15
+ "CHANGELOG.md"
13
16
  ],
14
17
  "scripts": {
15
18
  "build": "npm run build:backend && npm run build:frontend && npm run copy-frontend",
16
19
  "build:backend": "tsc -p tsconfig.json",
17
- "build:frontend": "cd frontend && ng build --configuration production",
20
+ "build:frontend": "npm run --prefix frontend -s build -- --configuration production",
18
21
  "build:production": "NODE_ENV=production npm run build",
19
- "dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
22
+ "dev": "concurrently -n backend,frontend -c blue,magenta \"npm:dev:backend\" \"npm:dev:frontend\"",
20
23
  "dev:backend": "ts-node-dev --respawn --transpile-only src/backend/dev-server.ts",
21
- "dev:frontend": "cd frontend && ng serve --port 4200",
24
+ "dev:frontend": "npm run --prefix frontend start -- --port 4200 --proxy-config proxy.conf.json",
22
25
  "start": "node dist/backend/server.js",
23
26
  "start:production": "NODE_ENV=production node dist/backend/server.js",
24
27
  "test": "jest",
25
28
  "test:coverage": "jest --coverage",
26
29
  "test:watch": "jest --watch",
27
- "lint": "eslint src/**/*.ts",
30
+ "lint": "eslint \"src/**/*.ts\"",
31
+ "lint:fix": "eslint \"src/**/*.ts\" --fix",
32
+ "format": "prettier --write \"src/**/*.{ts,js}\" \"frontend/src/**/*.{ts,html,css}\"",
33
+ "format:check": "prettier --check \"src/**/*.{ts,js}\" \"frontend/src/**/*.{ts,html,css}\"",
34
+ "typecheck": "tsc -p tsconfig.json --noEmit",
35
+ "clean": "rm -rf dist build coverage frontend/dist frontend/.angular",
28
36
  "copy-frontend": "mkdir -p build/frontend && cp -r frontend/dist/frontend/browser/* build/frontend/",
29
- "prepare": "npm run build"
37
+ "prepublishOnly": "npm run clean && npm run lint && npm run typecheck && npm test -- --ci && npm run build"
30
38
  },
31
39
  "keywords": [
32
40
  "git",
@@ -37,41 +45,49 @@
37
45
  "commit",
38
46
  "graph",
39
47
  "diff",
40
- "angular"
48
+ "angular",
49
+ "developer-tools",
50
+ "git-graph",
51
+ "git-log",
52
+ "command-palette"
41
53
  ],
42
- "author": "beingmartinbmc",
54
+ "author": "Ankit Sharma <ankit.sharma199803@gmail.com>",
43
55
  "license": "MIT",
44
56
  "dependencies": {
45
- "chalk": "^5.3.0",
46
- "commander": "^11.1.0",
57
+ "chalk": "^4.1.2",
58
+ "commander": "^12.1.0",
59
+ "compression": "^1.7.4",
47
60
  "cors": "^2.8.5",
48
- "express": "^4.18.2",
49
- "open": "^9.1.0",
50
- "simple-git": "^3.20.0",
51
- "socket.io": "^4.7.4"
61
+ "express": "^4.21.0",
62
+ "express-rate-limit": "^7.4.0",
63
+ "helmet": "^8.0.0",
64
+ "open": "^8.4.2"
52
65
  },
53
66
  "devDependencies": {
54
- "@types/commander": "^2.12.2",
67
+ "@types/compression": "^1.7.5",
55
68
  "@types/cors": "^2.8.17",
56
69
  "@types/express": "^4.17.21",
57
- "@types/jest": "^29.5.0",
58
- "@types/node": "^20.10.0",
59
- "@types/open": "^6.2.1",
60
- "@typescript-eslint/eslint-plugin": "^6.13.0",
61
- "@typescript-eslint/parser": "^6.13.0",
62
- "concurrently": "^8.2.2",
63
- "eslint": "^8.55.0",
70
+ "@types/jest": "^29.5.13",
71
+ "@types/node": "^20.16.10",
72
+ "@types/supertest": "^6.0.2",
73
+ "@typescript-eslint/eslint-plugin": "^8.8.0",
74
+ "@typescript-eslint/parser": "^8.8.0",
75
+ "concurrently": "^9.0.0",
76
+ "eslint": "^8.57.1",
77
+ "eslint-config-prettier": "^9.1.0",
64
78
  "jest": "^29.7.0",
65
- "ts-jest": "^29.1.0",
79
+ "prettier": "^3.3.3",
80
+ "supertest": "^7.0.0",
81
+ "ts-jest": "^29.2.5",
66
82
  "ts-node-dev": "^2.0.0",
67
- "typescript": "^5.3.0"
83
+ "typescript": "^5.6.2"
68
84
  },
69
85
  "engines": {
70
86
  "node": ">=18.0.0"
71
87
  },
72
88
  "repository": {
73
89
  "type": "git",
74
- "url": "https://github.com/beingmartinbmc/git-history-ui.git"
90
+ "url": "git+https://github.com/beingmartinbmc/git-history-ui.git"
75
91
  },
76
92
  "bugs": {
77
93
  "url": "https://github.com/beingmartinbmc/git-history-ui/issues"