openspec-stat 1.3.2 → 1.3.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/dist/cjs/cli.js CHANGED
@@ -6,7 +6,7 @@ var import_single = require("./commands/single.js");
6
6
  var import_multi = require("./commands/multi.js");
7
7
  var import_init = require("./commands/init.js");
8
8
  var program = new import_commander.Command();
9
- program.name("openspec-stat").description("Track team members' OpenSpec proposals and code changes in Git repositories").version("1.3.2").enablePositionalOptions().passThroughOptions();
9
+ program.name("openspec-stat").description("Track team members' OpenSpec proposals and code changes in Git repositories").version("1.3.3").enablePositionalOptions().passThroughOptions();
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) => {
11
11
  await (0, import_single.runSingleRepoCommand)({ ...options, repo: repo || options.repo || "." });
12
12
  });
package/dist/esm/cli.js CHANGED
@@ -13,7 +13,7 @@ import { runSingleRepoCommand } from "./commands/single.js";
13
13
  import { runMultiRepoCommand } from "./commands/multi.js";
14
14
  import { runInitCommand } from "./commands/init.js";
15
15
  var program = new Command();
16
- program.name('openspec-stat').description("Track team members' OpenSpec proposals and code changes in Git repositories").version("1.3.2").enablePositionalOptions().passThroughOptions();
16
+ program.name('openspec-stat').description("Track team members' OpenSpec proposals and code changes in Git repositories").version("1.3.3").enablePositionalOptions().passThroughOptions();
17
17
 
18
18
  // Default command for single-repository mode (for backward compatibility)
19
19
  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( /*#__PURE__*/function () {
package/package.json CHANGED
@@ -1,35 +1,13 @@
1
1
  {
2
2
  "name": "openspec-stat",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Track team members' OpenSpec proposals and code changes in Git repositories",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",
7
7
  "type": "module",
8
- "packageManager": "pnpm@10.12.1",
9
8
  "bin": {
10
9
  "openspec-stat": "dist/esm/cli.js"
11
10
  },
12
- "scripts": {
13
- "dev": "father dev",
14
- "build": "father build",
15
- "build:deps": "father prebundle",
16
- "prepublishOnly": "father doctor && npm run build",
17
- "test:cli": "node dist/esm/cli.js --help",
18
- "link:global": "npm link",
19
- "link:local": "pnpm run build && chmod +x dist/esm/cli.js && npm link .",
20
- "unlink": "npm unlink -g openspec-stat",
21
- "lint": "eslint src --ext .ts,.tsx",
22
- "lint:fix": "eslint src --ext .ts,.tsx --fix",
23
- "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
24
- "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
25
- "prepare": "husky",
26
- "changeset": "changeset",
27
- "changeset:add": "changeset add",
28
- "version": "changeset version && git add . && git commit -m 'chore: version packages'",
29
- "release": "pnpm run release:version && pnpm run release:tag",
30
- "release:version": "pnpm changeset version && git add . && git commit -m 'chore: version packages' && git push origin main",
31
- "release:tag": "git tag v$(node -p \"require('./package.json').version\") && git push origin v$(node -p \"require('./package.json').version\")"
32
- },
33
11
  "keywords": [
34
12
  "openspec",
35
13
  "git",
@@ -85,5 +63,20 @@
85
63
  "commander": "^14.0.2",
86
64
  "date-fns": "^4.1.0",
87
65
  "simple-git": "^3.30.0"
66
+ },
67
+ "scripts": {
68
+ "dev": "father dev",
69
+ "build": "father build",
70
+ "build:deps": "father prebundle",
71
+ "test:cli": "node dist/esm/cli.js --help",
72
+ "link:global": "npm link",
73
+ "link:local": "pnpm run build && chmod +x dist/esm/cli.js && npm link .",
74
+ "unlink": "npm unlink -g openspec-stat",
75
+ "lint": "eslint src --ext .ts,.tsx",
76
+ "lint:fix": "eslint src --ext .ts,.tsx --fix",
77
+ "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
78
+ "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
79
+ "changeset": "changeset",
80
+ "changeset:add": "changeset add"
88
81
  }
89
- }
82
+ }