compound-workflow 1.6.0 → 1.6.1
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
CHANGED
package/scripts/install-cli.mjs
CHANGED
|
@@ -364,6 +364,19 @@ function main() {
|
|
|
364
364
|
const args = parseArgs(process.argv);
|
|
365
365
|
const targetRoot = realpathSafe(args.root);
|
|
366
366
|
|
|
367
|
+
const genScript = path.join(PACKAGE_ROOT, "scripts", "generate-platform-artifacts.mjs");
|
|
368
|
+
if (fs.existsSync(genScript)) {
|
|
369
|
+
const result = spawnSync(process.execPath, [genScript], {
|
|
370
|
+
cwd: PACKAGE_ROOT,
|
|
371
|
+
stdio: "pipe",
|
|
372
|
+
encoding: "utf8",
|
|
373
|
+
});
|
|
374
|
+
if (result.status !== 0) {
|
|
375
|
+
console.error("Failed to regenerate manifest:", result.stderr || result.error || "unknown");
|
|
376
|
+
process.exit(1);
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
|
|
367
380
|
try {
|
|
368
381
|
GENERATED_MANIFEST = readGeneratedManifest();
|
|
369
382
|
PACKAGE_COMMAND_ROOT = GENERATED_MANIFEST.commandRoot;
|