claude-gh-ticket-gen 1.0.3 → 1.0.5
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/.github/workflows/publish.yml +38 -0
- package/README.md +29 -0
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: Publish Package to npm
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*' # Triggers on version tags like v1.0.5, v2.0.0, etc.
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
id-token: write # Required for OIDC trusted publishing
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
publish:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout code
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- name: Setup Node.js
|
|
20
|
+
uses: actions/setup-node@v4
|
|
21
|
+
with:
|
|
22
|
+
node-version: '20' # LTS version
|
|
23
|
+
registry-url: 'https://registry.npmjs.org'
|
|
24
|
+
|
|
25
|
+
- name: Install dependencies
|
|
26
|
+
run: npm ci
|
|
27
|
+
|
|
28
|
+
- name: Build TypeScript
|
|
29
|
+
run: npm run build
|
|
30
|
+
|
|
31
|
+
# Skip tests for now - uncomment when tests are implemented
|
|
32
|
+
# - name: Run tests
|
|
33
|
+
# run: npm test
|
|
34
|
+
|
|
35
|
+
- name: Publish to npm
|
|
36
|
+
run: npm publish --provenance --access public
|
|
37
|
+
env:
|
|
38
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/README.md
CHANGED
|
@@ -17,6 +17,20 @@ Claude Ticket Generator is a standalone npm package that uses Claude AI to intel
|
|
|
17
17
|
- **Filtering**: Filter by phase, priority, and optional items
|
|
18
18
|
- **Interactive Setup**: Easy configuration wizard
|
|
19
19
|
|
|
20
|
+
## Screenshots
|
|
21
|
+
|
|
22
|
+
**CLI Preview (Dry Run)**
|
|
23
|
+
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+
**Generated GitHub Issues**
|
|
27
|
+
|
|
28
|
+

|
|
29
|
+
|
|
30
|
+
**Individual Issue Detail**
|
|
31
|
+
|
|
32
|
+

|
|
33
|
+
|
|
20
34
|
## Prerequisites
|
|
21
35
|
|
|
22
36
|
- Node.js >= 18.0.0
|
|
@@ -141,6 +155,10 @@ claude-ticket-gen config set defaultRepo owner/repo
|
|
|
141
155
|
claude-ticket-gen config reset
|
|
142
156
|
```
|
|
143
157
|
|
|
158
|
+
**Configuration List Example:**
|
|
159
|
+
|
|
160
|
+

|
|
161
|
+
|
|
144
162
|
#### `init`
|
|
145
163
|
|
|
146
164
|
Interactive setup wizard.
|
|
@@ -360,6 +378,17 @@ claude-ticket-gen generate --filter-phase "Phase 1: Foundation"
|
|
|
360
378
|
claude-ticket-gen generate --dry-run --include-optional
|
|
361
379
|
```
|
|
362
380
|
|
|
381
|
+
**Example: Creating Issues with Phase Filtering**
|
|
382
|
+
|
|
383
|
+

|
|
384
|
+
|
|
385
|
+
The tool will:
|
|
386
|
+
1. Parse only the specified phase from your document
|
|
387
|
+
2. Show a preview of tasks to be created
|
|
388
|
+
3. Ask for confirmation before creating issues
|
|
389
|
+
4. Automatically create labels if they don't exist
|
|
390
|
+
5. Create each issue with proper formatting and labels
|
|
391
|
+
|
|
363
392
|
## Development
|
|
364
393
|
|
|
365
394
|
```bash
|