@bullpenfi/cli 0.1.68 → 0.1.70
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/package.json +1 -1
- package/scripts/postinstall.js +10 -1
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -4,7 +4,7 @@ const crypto = require("crypto");
|
|
|
4
4
|
const https = require("https");
|
|
5
5
|
const fs = require("fs");
|
|
6
6
|
const path = require("path");
|
|
7
|
-
const { execSync } = require("child_process");
|
|
7
|
+
const { execFileSync, execSync } = require("child_process");
|
|
8
8
|
const os = require("os");
|
|
9
9
|
|
|
10
10
|
const TARGETS = {
|
|
@@ -156,6 +156,15 @@ async function main() {
|
|
|
156
156
|
// Best-effort — don't fail install if marker can't be written
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
+
try {
|
|
160
|
+
execFileSync(binaryPath, ["skill", "update", "--output", "json"], {
|
|
161
|
+
stdio: "ignore",
|
|
162
|
+
timeout: 30000,
|
|
163
|
+
});
|
|
164
|
+
} catch (_) {
|
|
165
|
+
// Best-effort — don't fail install if skills can't be updated
|
|
166
|
+
}
|
|
167
|
+
|
|
159
168
|
console.log(`bullpen v${version} installed successfully.`);
|
|
160
169
|
} catch (err) {
|
|
161
170
|
console.error(`\nError installing bullpen: ${err.message}`);
|