bigpowers 2.58.5 → 2.58.6
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 +7 -0
- package/bin/bigpowers.js +80 -20
- package/package.json +1 -3
package/.pi/package.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [2.58.6](https://github.com/danielvm-git/bigpowers/compare/v2.58.5...v2.58.6) (2026-07-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove npm lifecycle scripts — use bigpowers setup instead ([3db23ae](https://github.com/danielvm-git/bigpowers/commit/3db23ae31ae4f981b6524239928deb3a6af14461))
|
|
7
|
+
|
|
1
8
|
## [2.58.5](https://github.com/danielvm-git/bigpowers/compare/v2.58.4...v2.58.5) (2026-07-03)
|
|
2
9
|
|
|
3
10
|
|
package/bin/bigpowers.js
CHANGED
|
@@ -1,27 +1,87 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
// story: e38s08
|
|
3
|
+
// bigpowers CLI — detects install state, runs setup on demand.
|
|
4
|
+
// No npm lifecycle scripts needed → bypasses npm v10+ allow-scripts gate.
|
|
2
5
|
|
|
3
6
|
const { execSync } = require('child_process');
|
|
7
|
+
const fs = require('fs');
|
|
8
|
+
const os = require('os');
|
|
4
9
|
const path = require('path');
|
|
5
10
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
cwd:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
11
|
+
const ROOT = path.dirname(path.dirname(__filename));
|
|
12
|
+
const SKILLS_MARKER = path.join(os.homedir(), '.claude', 'skills', 'survey-context');
|
|
13
|
+
|
|
14
|
+
function isInstalled() {
|
|
15
|
+
try {
|
|
16
|
+
return fs.lstatSync(SKILLS_MARKER).isSymbolicLink();
|
|
17
|
+
} catch {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function run(cmd, cwd = ROOT) {
|
|
23
|
+
try {
|
|
24
|
+
execSync(cmd, { cwd, stdio: 'inherit' });
|
|
25
|
+
} catch (e) {
|
|
26
|
+
console.error(`\n❌ Failed: ${cmd}`);
|
|
27
|
+
process.exit(1);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const cmd = process.argv[2];
|
|
32
|
+
|
|
33
|
+
if (cmd === 'setup' || cmd === 'install') {
|
|
34
|
+
// Explicit setup — always run
|
|
35
|
+
console.log('🚀 bigpowers — setting up...\n');
|
|
36
|
+
run('bash scripts/sync-skills.sh');
|
|
37
|
+
run('bash scripts/install.sh');
|
|
38
|
+
console.log('\n✅ bigpowers setup complete!');
|
|
39
|
+
console.log(' Skills installed in ~/.claude/skills/');
|
|
40
|
+
console.log(' Run again anytime to update: bigpowers setup\n');
|
|
41
|
+
process.exit(0);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (cmd === 'update') {
|
|
45
|
+
console.log('🔄 Updating bigpowers...\n');
|
|
46
|
+
run('bash scripts/sync-skills.sh');
|
|
47
|
+
run('bash scripts/install.sh');
|
|
48
|
+
console.log('\n✅ bigpowers updated!\n');
|
|
49
|
+
process.exit(0);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
if (cmd === 'status') {
|
|
53
|
+
if (isInstalled()) {
|
|
54
|
+
const pkg = require(path.join(ROOT, 'package.json'));
|
|
55
|
+
const count = fs.readdirSync(path.join(os.homedir(), '.claude', 'skills'))
|
|
56
|
+
.filter(d => fs.lstatSync(path.join(os.homedir(), '.claude', 'skills', d)).isSymbolicLink())
|
|
57
|
+
.length;
|
|
58
|
+
console.log(`bigpowers v${pkg.version} — ${count} skills installed`);
|
|
59
|
+
} else {
|
|
60
|
+
console.log('bigpowers not installed. Run: bigpowers setup');
|
|
61
|
+
}
|
|
62
|
+
process.exit(0);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
if (cmd === '--help' || cmd === '-h' || cmd === 'help') {
|
|
66
|
+
console.log(`
|
|
67
|
+
bigpowers — agent skills for spec-driven, test-first development
|
|
68
|
+
|
|
69
|
+
Commands:
|
|
70
|
+
bigpowers setup Install skills into ~/.claude/skills/
|
|
71
|
+
bigpowers update Re-run sync and install (after npm update -g bigpowers)
|
|
72
|
+
bigpowers status Show installed version and skill count
|
|
73
|
+
bigpowers help This message
|
|
74
|
+
`);
|
|
75
|
+
process.exit(0);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// Default: check state and guide
|
|
79
|
+
if (isInstalled()) {
|
|
80
|
+
const pkg = require(path.join(ROOT, 'package.json'));
|
|
81
|
+
console.log(`bigpowers v${pkg.version} — already installed.`);
|
|
82
|
+
console.log('Commands: bigpowers {setup|update|status|help}');
|
|
83
|
+
} else {
|
|
84
|
+
console.log('🚀 bigpowers — skills not yet installed.');
|
|
85
|
+
console.log(' Run: bigpowers setup');
|
|
26
86
|
process.exit(1);
|
|
27
87
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bigpowers",
|
|
3
|
-
"version": "2.58.
|
|
3
|
+
"version": "2.58.6",
|
|
4
4
|
"description": "72 agent skills synthesizing 17 years of software engineering discipline into a prescriptive methodology for solo developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,8 +10,6 @@
|
|
|
10
10
|
"validate-specs": "bash scripts/validate-specs-yaml.sh",
|
|
11
11
|
"enrich-epics": "bash scripts/enrich-epics-from-archive.sh",
|
|
12
12
|
"version": "bash scripts/sync-skills.sh && git add .gemini/extensions/bigpowers/gemini-extension.json specs/SKILL-SEARCH-INDEX_LATEST.md",
|
|
13
|
-
"install": "bash scripts/install.sh",
|
|
14
|
-
"postinstall": "bash scripts/sync-skills.sh && bash scripts/install.sh",
|
|
15
13
|
"release": "semantic-release",
|
|
16
14
|
"dashboard": "node dashboard/bin/dashboard.js",
|
|
17
15
|
"dashboard:web": "node dashboard/bin/dashboard.js --web"
|