bigpowers 2.47.0 → 2.48.0
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/.pi/package.json +1 -1
- package/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/scripts/golden-g04-selftest.sh +12 -12
package/.pi/package.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [2.48.0](https://github.com/danielvm-git/bigpowers/compare/v2.47.0...v2.48.0) (2026-07-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **e31:** rename pass/fail to g04_pass/g04_fail to avoid symbol collision ([34d0ce8](https://github.com/danielvm-git/bigpowers/commit/34d0ce89c4a26915786bd9b45379e7f2c289cc06))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **e31:** wire npm run compliance as pre-release CI gate ([#44](https://github.com/danielvm-git/bigpowers/issues/44)) ([cd40e33](https://github.com/danielvm-git/bigpowers/commit/cd40e3305a568f429c9221dd9cc360ee7139626d))
|
|
12
|
+
|
|
1
13
|
# [2.47.0](https://github.com/danielvm-git/bigpowers/compare/v2.46.0...v2.47.0) (2026-07-03)
|
|
2
14
|
|
|
3
15
|
|
package/package.json
CHANGED
|
@@ -19,8 +19,8 @@ NC='\033[0m' # No Color
|
|
|
19
19
|
PASS=0
|
|
20
20
|
FAIL=0
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
g04_pass() { echo -e "${GREEN}PASS${NC} $*"; PASS=$((PASS + 1)); }
|
|
23
|
+
g04_fail() { echo -e "${RED}FAIL${NC} $*"; FAIL=$((FAIL + 1)); }
|
|
24
24
|
|
|
25
25
|
# ── Task 1: Target directory existence ────────────────────────────────
|
|
26
26
|
|
|
@@ -32,9 +32,9 @@ TARGETS=(
|
|
|
32
32
|
|
|
33
33
|
for dir in "${TARGETS[@]}"; do
|
|
34
34
|
if [[ -d "$dir" ]]; then
|
|
35
|
-
|
|
35
|
+
g04_pass "directory exists: $dir"
|
|
36
36
|
else
|
|
37
|
-
|
|
37
|
+
g04_fail "directory not found: $dir"
|
|
38
38
|
fi
|
|
39
39
|
done
|
|
40
40
|
|
|
@@ -51,7 +51,7 @@ check_count() {
|
|
|
51
51
|
local pattern="${3:-*.md}"
|
|
52
52
|
|
|
53
53
|
if [[ ! -d "$dir" ]]; then
|
|
54
|
-
|
|
54
|
+
g04_fail "$label: directory not found (skipping count)"
|
|
55
55
|
return
|
|
56
56
|
fi
|
|
57
57
|
|
|
@@ -65,9 +65,9 @@ check_count() {
|
|
|
65
65
|
fi
|
|
66
66
|
|
|
67
67
|
if [[ "$count" -eq "$EXPECTED" ]]; then
|
|
68
|
-
|
|
68
|
+
g04_pass "$label: $count artifacts (expected $EXPECTED)"
|
|
69
69
|
else
|
|
70
|
-
|
|
70
|
+
g04_fail "$label: expected $EXPECTED artifacts, got $count"
|
|
71
71
|
fi
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -81,7 +81,7 @@ LOCKFILE="skills-lock.json"
|
|
|
81
81
|
INDEXFILE="SKILL-INDEX.md"
|
|
82
82
|
|
|
83
83
|
if [[ ! -f "$LOCKFILE" ]]; then
|
|
84
|
-
|
|
84
|
+
g04_fail "lockfile not found: $LOCKFILE"
|
|
85
85
|
else
|
|
86
86
|
# Parse lockfile: count top-level keys (skill names)
|
|
87
87
|
if command -v jq &>/dev/null; then
|
|
@@ -99,20 +99,20 @@ else
|
|
|
99
99
|
fi
|
|
100
100
|
|
|
101
101
|
if [[ ! -f "$INDEXFILE" ]]; then
|
|
102
|
-
|
|
102
|
+
g04_fail "index not found: $INDEXFILE"
|
|
103
103
|
else
|
|
104
104
|
# Count skill entries from SKILL-INDEX.md header (e.g., "**Skills:** 72")
|
|
105
105
|
index_count=$(grep '\*\*Skills:\*\*' "$INDEXFILE" 2>/dev/null | sed 's/.*\*\*Skills:\*\*[[:space:]]*//' | grep -oE '[0-9]+') || {
|
|
106
|
-
|
|
106
|
+
g04_fail "index parse error: $INDEXFILE"
|
|
107
107
|
index_count=""
|
|
108
108
|
}
|
|
109
109
|
fi
|
|
110
110
|
|
|
111
111
|
if [[ -n "${lock_count:-}" && -n "${index_count:-}" ]]; then
|
|
112
112
|
if [[ "$lock_count" -eq "$index_count" ]]; then
|
|
113
|
-
|
|
113
|
+
g04_pass "lockfile ($lock_count) matches SKILL-INDEX ($index_count)"
|
|
114
114
|
else
|
|
115
|
-
|
|
115
|
+
g04_fail "lockfile ($lock_count) != SKILL-INDEX ($index_count)"
|
|
116
116
|
fi
|
|
117
117
|
fi
|
|
118
118
|
|