jira-report-tui 1.0.5 → 1.0.9

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.
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "jira-report-tui",
3
- "version": "1.0.5",
3
+ "version": "1.0.9",
4
4
  "description": "Fast, performant terminal interface for managing Jira tasks and logging time to Tempo - 20x faster than TypeScript version",
5
5
  "main": "index.js",
6
6
  "bin": {
7
- "jira-report": "cli.js"
7
+ "jira-report-tui": "cli.js"
8
8
  },
9
9
  "scripts": {
10
10
  "build": "./build-all.sh",
@@ -39,7 +39,9 @@
39
39
  "node": ">=14.0.0"
40
40
  },
41
41
  "os": [
42
- "linux"
42
+ "linux",
43
+ "darwin",
44
+ "win32"
43
45
  ],
44
46
  "cpu": [
45
47
  "x64",
@@ -1,80 +0,0 @@
1
- name: Build and Test
2
-
3
- on:
4
- push:
5
- branches: [ main, develop ]
6
- pull_request:
7
- branches: [ main, develop ]
8
-
9
- jobs:
10
- build:
11
- runs-on: ubuntu-latest
12
-
13
- steps:
14
- - name: Checkout code
15
- uses: actions/checkout@v4
16
-
17
- - name: Set up Go
18
- uses: actions/setup-go@v5
19
- with:
20
- go-version: '1.21'
21
- cache-dependency-path: go-tui/go.sum
22
-
23
- - name: Download dependencies
24
- working-directory: ./go-tui
25
- run: go mod download
26
-
27
- - name: Build for Linux
28
- working-directory: ./go-tui
29
- run: go build -o bin/jira-report ./cmd/jira-report
30
-
31
- - name: Verify binary
32
- working-directory: ./go-tui
33
- run: ./bin/jira-report --help
34
-
35
- - name: Build all platforms
36
- working-directory: ./go-tui
37
- run: |
38
- chmod +x build-all.sh
39
- ./build-all.sh
40
-
41
- - name: Upload artifacts
42
- uses: actions/upload-artifact@v4
43
- with:
44
- name: jira-report-binaries
45
- path: go-tui/bin/jira-report-*
46
- retention-days: 7
47
-
48
- test-npm-package:
49
- runs-on: ubuntu-latest
50
- needs: build
51
-
52
- steps:
53
- - name: Checkout code
54
- uses: actions/checkout@v4
55
-
56
- - name: Set up Go
57
- uses: actions/setup-go@v5
58
- with:
59
- go-version: '1.21'
60
- cache-dependency-path: go-tui/go.sum
61
-
62
- - name: Set up Node.js
63
- uses: actions/setup-node@v4
64
- with:
65
- node-version: '18'
66
-
67
- - name: Build binaries
68
- working-directory: ./go-tui
69
- run: |
70
- chmod +x build-all.sh
71
- ./build-all.sh
72
-
73
- - name: Test npm package
74
- working-directory: ./go-tui
75
- run: |
76
- npm pack
77
- mkdir -p /tmp/test-install
78
- cd /tmp/test-install
79
- npm install $GITHUB_WORKSPACE/go-tui/jira-report-tui-*.tgz
80
- npx jira-report --help
@@ -1,71 +0,0 @@
1
- name: Publish to npm
2
-
3
- on:
4
- push:
5
- tags:
6
- - 'v*.*.*'
7
- workflow_dispatch:
8
- inputs:
9
- version:
10
- description: 'Version to publish (e.g., 1.0.0)'
11
- required: true
12
- type: string
13
-
14
- jobs:
15
- build-and-publish:
16
- runs-on: ubuntu-latest
17
-
18
- steps:
19
- - name: Checkout code
20
- uses: actions/checkout@v4
21
-
22
- - name: Set up Go
23
- uses: actions/setup-go@v5
24
- with:
25
- go-version: '1.21'
26
- cache-dependency-path: go-tui/go.sum
27
-
28
- - name: Set up Node.js
29
- uses: actions/setup-node@v4
30
- with:
31
- node-version: '18'
32
- registry-url: 'https://registry.npmjs.org'
33
-
34
- - name: Build binaries for all platforms
35
- working-directory: ./go-tui
36
- run: |
37
- chmod +x build-all.sh
38
- ./build-all.sh
39
-
40
- - name: Update version in package.json
41
- if: github.event_name == 'workflow_dispatch'
42
- working-directory: ./go-tui
43
- run: |
44
- npm version ${{ github.event.inputs.version }} --no-git-tag-version
45
-
46
- - name: Extract version from tag
47
- if: github.event_name == 'push'
48
- id: extract_version
49
- run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
50
-
51
- - name: Update version from tag
52
- if: github.event_name == 'push'
53
- working-directory: ./go-tui
54
- run: |
55
- npm version ${{ steps.extract_version.outputs.VERSION }} --no-git-tag-version
56
-
57
- - name: Publish to npm
58
- working-directory: ./go-tui
59
- run: npm publish --access public
60
- env:
61
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
62
-
63
- - name: Create GitHub Release
64
- if: github.event_name == 'push'
65
- uses: softprops/action-gh-release@v1
66
- with:
67
- generate_release_notes: true
68
- files: |
69
- go-tui/bin/jira-report-*
70
- env:
71
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}