openspec-stat 1.4.2 → 1.4.3

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
@@ -2,7 +2,9 @@
2
2
 
3
3
  [![NPM version](https://img.shields.io/npm/v/openspec-stat.svg?style=flat)](https://npmjs.com/package/openspec-stat)
4
4
  [![NPM downloads](http://img.shields.io/npm/dm/openspec-stat.svg?style=flat)](https://npmjs.com/package/openspec-stat)
5
+ [![Last commit](https://img.shields.io/github/last-commit/Orchardxyz/openspec-stat.svg?style=flat)](https://github.com/Orchardxyz/openspec-stat/commits/main)
5
6
  [![CI](https://github.com/Orchardxyz/openspec-stat/actions/workflows/ci.yml/badge.svg)](https://github.com/Orchardxyz/openspec-stat/actions/workflows/ci.yml)
7
+ [![License](https://img.shields.io/npm/l/openspec-stat.svg?style=flat)](https://github.com/Orchardxyz/openspec-stat/blob/main/LICENSE)
6
8
 
7
9
  English | [简体中文](./README.zh-CN.md)
8
10
 
package/dist/esm/cli.js CHANGED
@@ -4,7 +4,7 @@ import { runSingleRepoCommand } from "./commands/single.js";
4
4
  import { runMultiRepoCommand } from "./commands/multi.js";
5
5
  import { runInitCommand } from "./commands/init.js";
6
6
  const program = new Command();
7
- program.name('openspec-stat').description("Track team members' OpenSpec proposals and code changes in Git repositories").version("1.4.2").enablePositionalOptions().passThroughOptions();
7
+ program.name('openspec-stat').description("Track team members' OpenSpec proposals and code changes in Git repositories").version("1.4.3").enablePositionalOptions().passThroughOptions();
8
8
 
9
9
  // Default command for single-repository mode (for backward compatibility)
10
10
  program.argument('[repo]', 'Repository path', '.').option('-r, --repo <path>', 'Repository path (alternative)', '.').option('-b, --branches <branches>', 'Branch list, comma-separated').option('--no-interactive', 'Disable interactive branch selection').option('-s, --since <datetime>', 'Start time (default: yesterday 20:00)').option('-u, --until <datetime>', 'End time (default: today 20:00)').option('-a, --author <name>', 'Filter by specific author').option('--json', 'Output in JSON format').option('--csv', 'Output in CSV format').option('--markdown', 'Output in Markdown format').option('-c, --config <path>', 'Configuration file path').option('-v, --verbose', 'Verbose output mode').option('-l, --lang <language>', 'Language for output (en, zh-CN)', 'en').option('--no-fetch', 'Skip fetching remote branches').action(async (repo, options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openspec-stat",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Track team members' OpenSpec proposals and code changes in Git repositories",
5
5
  "type": "module",
6
6
  "main": "dist/esm/index.js",
@@ -38,6 +38,8 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@changesets/cli": "^2.27.1",
41
+ "@commitlint/cli": "^19.8.1",
42
+ "@commitlint/config-conventional": "^19.8.1",
41
43
  "@types/mock-fs": "^4.13.4",
42
44
  "@types/node": "^25.0.3",
43
45
  "@typescript-eslint/eslint-plugin": "^6.21.0",