commit-report 1.0.0 → 1.0.2
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/README.md +10 -3
- package/dist/index.js +1818 -447
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/templates/report-scripts/00-advanced-derived.html +462 -0
- package/templates/report-scripts/00-filter-state.html +374 -0
- package/templates/report-scripts/00-report-controls.html +272 -0
- package/templates/report-scripts/01-core.html +255 -0
- package/templates/report-scripts/02-commit-details.html +275 -0
- package/templates/report-scripts/03-basic-charts.html +378 -0
- package/templates/report-scripts/04-trend-charts.html +309 -0
- package/templates/report-scripts/05-tables-team-stability.html +372 -0
- package/templates/report-scripts/06-pressure-churn.html +339 -0
- package/templates/report-scripts/07-collab-debt-ai.html +534 -0
- package/templates/report-scripts/08-engineering.html +200 -0
- package/templates/report-scripts/09-extensions.html +313 -0
- package/templates/report-scripts/10-runtime.html +54 -0
- package/templates/report-sections/01-overview.html +342 -0
- package/templates/report-sections/02-advanced.html +406 -0
- package/templates/report.html +40 -1998
package/README.md
CHANGED
|
@@ -8,7 +8,14 @@ Git 提交统计工具,递归扫描目录中的 Git 仓库,生成可视化 H
|
|
|
8
8
|
|
|
9
9
|
## 预览
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
### 主界面
|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
### 数据统计
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
### 高级分析
|
|
18
|
+

|
|
12
19
|
|
|
13
20
|
## 特性
|
|
14
21
|
|
|
@@ -31,7 +38,7 @@ npx commit-report
|
|
|
31
38
|
## 使用
|
|
32
39
|
|
|
33
40
|
```bash
|
|
34
|
-
#
|
|
41
|
+
# 默认:扫描当前目录
|
|
35
42
|
commit-report
|
|
36
43
|
|
|
37
44
|
# 指定时间预设
|
|
@@ -60,7 +67,7 @@ commit-report --no-open
|
|
|
60
67
|
|
|
61
68
|
| 参数 | 缩写 | 默认值 | 说明 |
|
|
62
69
|
|------|------|--------|------|
|
|
63
|
-
| `--period` | `-p` | `
|
|
70
|
+
| `--period` | `-p` | `all` | 时间预设 (7d/1m/3m/6m/1y/all) |
|
|
64
71
|
| `--from` | `-f` | - | 起始日期 (YYYY-MM-DD) |
|
|
65
72
|
| `--to` | `-t` | - | 结束日期 (YYYY-MM-DD) |
|
|
66
73
|
| `--author` | `-a` | - | 过滤作者 |
|