@sirojar/tcgen 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +11 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,11 +1,17 @@
1
1
  # tcgen
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@sirojar/tcgen.svg)](https://www.npmjs.com/package/@sirojar/tcgen)
4
+
3
5
  AI-powered test case generator from git commits. Reads your commit diffs, combines them with a customizable prompt template, and uses Claude or Gemini to generate structured test cases as JSON.
4
6
 
5
7
  ## Install
6
8
 
7
9
  ```bash
8
- npm install -g tcgen
10
+ # Global install
11
+ npm install -g @sirojar/tcgen
12
+
13
+ # Or run directly with npx (no install needed)
14
+ npx @sirojar/tcgen --help
9
15
  ```
10
16
 
11
17
  ## Quick Start
@@ -20,6 +26,10 @@ ANTHROPIC_API_KEY=sk-... tcgen generate --all
20
26
 
21
27
  # Generate test cases (Gemini)
22
28
  GEMINI_API_KEY=... tcgen generate --all --provider gemini
29
+
30
+ # Or use npx without installing
31
+ npx @sirojar/tcgen init
32
+ ANTHROPIC_API_KEY=sk-... npx @sirojar/tcgen generate --all
23
33
  ```
24
34
 
25
35
  ## Commands
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sirojar/tcgen",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "AI-powered test case generator from git commits",
5
5
  "type": "module",
6
6
  "bin": {