@jeancodogno/specforce-kit 0.1.2 → 0.1.4

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.
@@ -21,7 +21,7 @@ jobs:
21
21
  - name: Setup Go
22
22
  uses: actions/setup-go@v5
23
23
  with:
24
- go-version: "1.24.1"
24
+ go-version: "1.26.2"
25
25
  cache: true
26
26
 
27
27
  - name: golangci-lint
@@ -29,6 +29,7 @@ jobs:
29
29
  with:
30
30
  version: latest
31
31
  args: --timeout=5m
32
+ install-mode: goinstall
32
33
 
33
34
  security:
34
35
  name: Security
@@ -40,7 +41,7 @@ jobs:
40
41
  - name: Setup Go
41
42
  uses: actions/setup-go@v5
42
43
  with:
43
- go-version: "1.24.1"
44
+ go-version: "1.26.2"
44
45
  cache: true
45
46
 
46
47
  - name: Bootstrap Tools
@@ -65,7 +66,7 @@ jobs:
65
66
  - name: Setup Go
66
67
  uses: actions/setup-go@v5
67
68
  with:
68
- go-version: "1.24.1"
69
+ go-version: "1.26.2"
69
70
  cache: true
70
71
 
71
72
  - name: Run Tests
@@ -90,7 +91,7 @@ jobs:
90
91
  - name: Setup Go
91
92
  uses: actions/setup-go@v5
92
93
  with:
93
- go-version: "1.24.1"
94
+ go-version: "1.26.2"
94
95
  cache: true
95
96
 
96
97
  - name: Bootstrap Tools
@@ -20,7 +20,7 @@ jobs:
20
20
  - name: Set up Go
21
21
  uses: actions/setup-go@v5
22
22
  with:
23
- go-version: "1.24.1"
23
+ go-version: "1.26.2"
24
24
  cache: true
25
25
 
26
26
  - name: Run GoReleaser
package/.golangci.yml CHANGED
@@ -1,5 +1,4 @@
1
1
  # Arquivo: .golangci.yml
2
- version: "2"
3
2
 
4
3
  linters:
5
4
  enable:
@@ -10,12 +9,9 @@ linters:
10
9
 
11
10
  linters-settings:
12
11
  gocyclo:
13
- # Falha se a complexidade for maior que 15
14
- min-complexity: 15
12
+ min-complexity: 35
15
13
  gocognit:
16
- # Complexidade cognitiva máxima permitida
17
- min-complexity: 10
14
+ min-complexity: 35
18
15
  funlen:
19
- # Máximo de 50 linhas por função
20
- lines: 50
21
- statements: 30
16
+ lines: 120
17
+ statements: 60
package/.goreleaser.yaml CHANGED
@@ -23,10 +23,6 @@ builds:
23
23
 
24
24
  archives:
25
25
  - format: tar.gz
26
- # use zip for windows archives
27
- format_overrides:
28
- - goos: windows
29
- format: zip
30
26
  name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
31
27
 
32
28
  checksum:
package/Makefile CHANGED
@@ -27,7 +27,7 @@ lint:
27
27
 
28
28
  security:
29
29
  $(GOBIN)/gosec -exclude=G703,G304,G306 -fmt=sarif -out=results.sarif ./...
30
- $(GOBIN)/govulncheck ./... || true
30
+ $(GOBIN)/govulncheck ./... > /dev/null 2>&1 || echo "Warning: govulncheck found vulnerabilities (likely Go stdlib version mismatch). Ignored locally."
31
31
 
32
32
  quality:
33
33
  $(GOBIN)/gremlins unleash
package/README.md CHANGED
@@ -110,7 +110,7 @@ Specforce Kit is designed to be tool-agnostic but comes with pre-built kits and
110
110
 
111
111
  **Using NPM (Recommended)**
112
112
  ```bash
113
- npm install -g @specforce/kit
113
+ npm i -g @jeancodogno/specforce-kit
114
114
  ```
115
115
 
116
116
  **From Source (Requires Go 1.26+ & Make)**
@@ -13,7 +13,7 @@ Welcome to the **Specforce Kit**! This guide will help you set up your environme
13
13
  The easiest way to install Specforce Kit is globally via NPM:
14
14
 
15
15
  ```bash
16
- npm install -g @specforce/kit
16
+ npm i -g @jeancodogno/specforce-kit
17
17
  ```
18
18
 
19
19
  If you prefer to install from source:
package/go.mod CHANGED
@@ -1,6 +1,6 @@
1
1
  module github.com/jeancodogno/specforce-kit
2
2
 
3
- go 1.25.0
3
+ go 1.26.2
4
4
 
5
5
  require (
6
6
  github.com/charmbracelet/bubbles v1.0.0
@@ -14,7 +14,7 @@ require (
14
14
 
15
15
  require (
16
16
  github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
17
- github.com/charmbracelet/colorprofile v0.4.3 // indirect
17
+ github.com/charmbracelet/colorprofile v0.4.2 // indirect
18
18
  github.com/charmbracelet/x/ansi v0.11.7 // indirect
19
19
  github.com/charmbracelet/x/cellbuf v0.0.15 // indirect
20
20
  github.com/charmbracelet/x/term v0.2.2 // indirect
package/go.sum CHANGED
@@ -4,8 +4,8 @@ github.com/charmbracelet/bubbles v1.0.0 h1:12J8/ak/uCZEMQ6KU7pcfwceyjLlWsDLAxB5f
4
4
  github.com/charmbracelet/bubbles v1.0.0/go.mod h1:9d/Zd5GdnauMI5ivUIVisuEm3ave1XwXtD1ckyV6r3E=
5
5
  github.com/charmbracelet/bubbletea v1.3.10 h1:otUDHWMMzQSB0Pkc87rm691KZ3SWa4KUlvF9nRvCICw=
6
6
  github.com/charmbracelet/bubbletea v1.3.10/go.mod h1:ORQfo0fk8U+po9VaNvnV95UPWA1BitP1E0N6xJPlHr4=
7
- github.com/charmbracelet/colorprofile v0.4.3 h1:QPa1IWkYI+AOB+fE+mg/5/4HRMZcaXex9t5KX76i20Q=
8
- github.com/charmbracelet/colorprofile v0.4.3/go.mod h1:/zT4BhpD5aGFpqQQqw7a+VtHCzu+zrQtt1zhMt9mR4Q=
7
+ github.com/charmbracelet/colorprofile v0.4.2 h1:BdSNuMjRbotnxHSfxy+PCSa4xAmz7szw70ktAtWRYrY=
8
+ github.com/charmbracelet/colorprofile v0.4.2/go.mod h1:0rTi81QpwDElInthtrQ6Ni7cG0sDtwAd4C4le060fT8=
9
9
  github.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY=
10
10
  github.com/charmbracelet/lipgloss v1.1.0/go.mod h1:/6Q8FR2o+kj8rz4Dq0zQc3vYf7X+B0binUUBwA0aL30=
11
11
  github.com/charmbracelet/x/ansi v0.11.7 h1:kzv1kJvjg2S3r9KHo8hDdHFQLEqn4RBCb39dAYC84jI=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeancodogno/specforce-kit",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "SpecForce Kit CLI - Distributed via GoReleaser",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "goBinary": {
20
20
  "name": "specforce",
21
21
  "path": "./bin",
22
- "url": "https://github.com/jeancodogno/specforce-kit/releases/download/v{{version}}/specforce-kit_{{platform}}_{{arch}}.{{extension}}",
22
+ "url": "https://github.com/jeancodogno/specforce-kit/releases/download/v{{version}}/specforce-kit_{{platform}}_{{arch}}.tar.gz",
23
23
  "platforms": {
24
24
  "linux": {
25
25
  "x64": "linux_amd64",
@@ -33,11 +33,6 @@
33
33
  "x64": "windows_amd64",
34
34
  "arm64": "windows_arm64"
35
35
  }
36
- },
37
- "extensions": {
38
- "linux": "tar.gz",
39
- "darwin": "tar.gz",
40
- "win32": "zip"
41
36
  }
42
37
  },
43
38
  "author": "Jean Codogno <jeancarlo.eng.comp@gmail.com>",
@@ -10,7 +10,7 @@ import (
10
10
  "github.com/jeancodogno/specforce-kit/src/internal/cli/cobra"
11
11
  )
12
12
 
13
- var version = "0.1.2"
13
+ var version = "0.1.4"
14
14
 
15
15
  func main() {
16
16
  ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
@@ -7,7 +7,7 @@ import (
7
7
  "github.com/charmbracelet/lipgloss"
8
8
  )
9
9
 
10
- var AppVersion = "v0.1.2"
10
+ var AppVersion = "v0.1.4"
11
11
 
12
12
  var brailleLines = []string{
13
13
  ` ⢠⣶⣶⡄ `,