@gitmetrics/app 0.0.0-stage → 1.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.
- package/LICENSE +662 -0
- package/NOTICE +36 -0
- package/README.md +96 -2
- package/dist/cli.js +5165 -0
- package/dist/web/assets/index-C8Nn2iZK.js +113 -0
- package/dist/web/assets/index-rLljV898.css +1 -0
- package/dist/web/assets/mona-sans-latin-ext-wght-normal-BqSk0Z3x.woff2 +0 -0
- package/dist/web/assets/mona-sans-latin-wght-normal-Pz49MTQZ.woff2 +0 -0
- package/dist/web/assets/mona-sans-vietnamese-wght-normal-DsUdksa4.woff2 +0 -0
- package/dist/web/favicon.svg +1 -0
- package/dist/web/index.html +15 -0
- package/package.json +90 -4
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><mask id="m"><rect x="20" y="20" width="88" height="88" rx="16" transform="rotate(45 64 64)" fill="#fff"/><path d="M44 88 V76 M60 88 V68 M76 88 V60" stroke="#000" stroke-width="9" stroke-linecap="round"/><path d="M42 60 L58 50 L70 54 L88 38" stroke="#000" stroke-width="8" stroke-linecap="round" stroke-linejoin="round" fill="none"/><circle cx="88" cy="38" r="6.5" fill="#000"/></mask><rect width="128" height="128" fill="#E5383B" mask="url(#m)"/></svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<meta name="color-scheme" content="light dark" />
|
|
7
|
+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
8
|
+
<title>GitMetrics</title>
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-C8Nn2iZK.js"></script>
|
|
10
|
+
<link rel="stylesheet" crossorigin href="/assets/index-rLljV898.css">
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<div id="root"></div>
|
|
14
|
+
</body>
|
|
15
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,92 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitmetrics/app",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A beautiful, zero-config dashboard for your GitHub repositories. Stars, traffic, commits, pull requests, Actions and more, running locally on your machine.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"gitmetrics": "dist/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"NOTICE"
|
|
12
|
+
],
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=20.19"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"dev": "concurrently -k -n server,web -c blue,magenta \"npm:dev:server\" \"npm:dev:web\"",
|
|
18
|
+
"dev:server": "tsx watch src/server/cli.ts --dev --no-open",
|
|
19
|
+
"dev:web": "vite",
|
|
20
|
+
"build": "npm run build:web && npm run build:server",
|
|
21
|
+
"build:web": "vite build",
|
|
22
|
+
"build:server": "esbuild src/server/cli.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/cli.js --legal-comments=none",
|
|
23
|
+
"start": "node dist/cli.js",
|
|
24
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
25
|
+
"lint": "eslint .",
|
|
26
|
+
"format": "prettier --write .",
|
|
27
|
+
"format:check": "prettier --check .",
|
|
28
|
+
"test": "vitest run",
|
|
29
|
+
"test:coverage": "vitest run --coverage",
|
|
30
|
+
"prepublishOnly": "npm run build"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"github",
|
|
34
|
+
"dashboard",
|
|
35
|
+
"analytics",
|
|
36
|
+
"metrics",
|
|
37
|
+
"stars",
|
|
38
|
+
"traffic",
|
|
39
|
+
"github-actions",
|
|
40
|
+
"repository",
|
|
41
|
+
"insights",
|
|
42
|
+
"cli"
|
|
43
|
+
],
|
|
44
|
+
"author": "Jean Loui Bernard Silva de Jesus",
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public"
|
|
47
|
+
},
|
|
48
|
+
"license": "AGPL-3.0-only",
|
|
49
|
+
"homepage": "https://github.com/JeanExtreme002/GitMetrics#readme",
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "git+https://github.com/JeanExtreme002/GitMetrics.git"
|
|
53
|
+
},
|
|
54
|
+
"bugs": {
|
|
55
|
+
"url": "https://github.com/JeanExtreme002/GitMetrics/issues"
|
|
56
|
+
},
|
|
57
|
+
"funding": "https://github.com/sponsors/JeanExtreme002",
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@eslint/js": "^10.0.1",
|
|
60
|
+
"@fontsource-variable/mona-sans": "^5.3.0",
|
|
61
|
+
"@hono/node-server": "^2.1.11",
|
|
62
|
+
"@mantine/charts": "^9.8.2",
|
|
63
|
+
"@mantine/core": "^9.8.2",
|
|
64
|
+
"@mantine/hooks": "^9.8.2",
|
|
65
|
+
"@mantine/notifications": "^9.8.2",
|
|
66
|
+
"@mantine/spotlight": "^9.8.2",
|
|
67
|
+
"@primer/octicons-react": "^19.42.0",
|
|
68
|
+
"@tabler/icons-react": "^3.52.0",
|
|
69
|
+
"@tanstack/react-query": "^5.108.2",
|
|
70
|
+
"@types/node": "^22.20.5",
|
|
71
|
+
"@types/react": "^19.3.0",
|
|
72
|
+
"@types/react-dom": "^19.3.0",
|
|
73
|
+
"@vitejs/plugin-react": "^6.3.0",
|
|
74
|
+
"@vitest/coverage-v8": "^5.1.1",
|
|
75
|
+
"concurrently": "^10.0.7",
|
|
76
|
+
"esbuild": "^0.28.2",
|
|
77
|
+
"eslint": "^10.15.0",
|
|
78
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
79
|
+
"globals": "^17.14.0",
|
|
80
|
+
"hono": "^4.13.19",
|
|
81
|
+
"prettier": "^3.10.1",
|
|
82
|
+
"react": "^19.3.1",
|
|
83
|
+
"react-dom": "^19.3.1",
|
|
84
|
+
"react-router": "^8.5.2",
|
|
85
|
+
"recharts": "^3.11.0",
|
|
86
|
+
"tsx": "^4.23.15",
|
|
87
|
+
"typescript": "~6.0",
|
|
88
|
+
"typescript-eslint": "^8.73.0",
|
|
89
|
+
"vite": "^8.3.8",
|
|
90
|
+
"vitest": "^5.1.1"
|
|
91
|
+
}
|
|
92
|
+
}
|