repo-dive 0.5.0 → 0.6.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/README.md CHANGED
@@ -57,7 +57,7 @@ Collectors so far:
57
57
  - **languages** — tokei language/LOC breakdown (sampled monthly; markdown counted whole)
58
58
  - **survival** — `git blame` line survival by extension, author and age cohort (sampled monthly)
59
59
 
60
- `index` normalizes raw snapshots into `.repo-dive/index/metrics.sqlite` (a facts-by-categories cube, rebuildable at any time) plus `dashboard.json`, and `dashboard` serves a local React app with interactive charts: languages over time, monthly commits with AI-assisted share, churn, lint-suppression trends, dependency counts over time, code survival by cohort and author, and more.
60
+ `index` normalizes raw snapshots into `.repo-dive/index/metrics.sqlite` (a facts-by-categories cube, rebuildable at any time) plus `dashboard.json`, and `dashboard` serves a local React app with interactive charts: languages over time, a GitHub-style commit calendar, monthly commits with AI-assisted share, churn, lint-suppression trends, dependency counts over time, code survival by cohort and author, and more.
61
61
 
62
62
  ## Configuration
63
63
 
@@ -82,9 +82,14 @@ export default defineConfig({
82
82
  // How many contributors charts keep before folding the rest into "Other" (default 10).
83
83
  maxInCharts: 10,
84
84
  },
85
+ charts: {
86
+ // First day of the week in calendar-shaped charts (default "monday").
87
+ weekStartsOn: "monday",
88
+ },
85
89
  });
86
90
  ```
87
91
 
92
+ `charts.weekStartsOn` sets the first day of the week in calendar-shaped charts such as the commit calendar (`"monday"` by default, `"sunday"` also supported).
88
93
  `contributors.aliases` merges the multiple identities one person commits under (work + personal email, GitHub noreply, name variants) so attribution, the contributors table and code-survival-by-contributor count them once; a group can also carry a `displayName`, a profile `url` and a `kind` (`human`/`bot`/`ai`, otherwise auto-derived — the dashboard badges bots and AI agents and lists them apart from humans).
89
94
  The config is read by `index`.
90
95
  See [docs/specs/07-config.md](docs/specs/07-config.md) for details.