@alpic80/rivet-cli 1.24.2-aidon.13 → 1.24.2-aidon.15
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/bin/commands/serve.js
CHANGED
|
@@ -322,7 +322,7 @@ function createProcessGraph(ctx) {
|
|
|
322
322
|
}
|
|
323
323
|
const outputs = await runGraph(execOpts);
|
|
324
324
|
if (localCtx.logActivity) {
|
|
325
|
-
console.log(chalk.green('Run graph outputs,', outputs));
|
|
325
|
+
console.log(chalk.green('Run graph outputs,', printObject(outputs)));
|
|
326
326
|
}
|
|
327
327
|
return new Response(JSON.stringify(outputs), {
|
|
328
328
|
headers: {
|
|
@@ -537,3 +537,19 @@ async function validateProjectRootDirectory(directory) {
|
|
|
537
537
|
await throwIfMissingFile(directory);
|
|
538
538
|
return (await stat(directory)).isDirectory();
|
|
539
539
|
}
|
|
540
|
+
export function printObject(obj) {
|
|
541
|
+
const seen = new WeakSet();
|
|
542
|
+
return JSON.stringify(obj, (_, value) => {
|
|
543
|
+
if (typeof value === 'function') {
|
|
544
|
+
return `[Function: ${value.name || 'anonymous'}]`;
|
|
545
|
+
}
|
|
546
|
+
if (typeof value === 'object' && value !== null) {
|
|
547
|
+
if (seen.has(value)) {
|
|
548
|
+
return '[Circular]';
|
|
549
|
+
}
|
|
550
|
+
seen.add(value);
|
|
551
|
+
}
|
|
552
|
+
return value;
|
|
553
|
+
}, 2 // Indentation level for pretty-printing
|
|
554
|
+
);
|
|
555
|
+
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@alpic80/rivet-cli",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"repository": "https://github.com/castortech/rivet",
|
|
5
|
-
"version": "1.24.2-aidon.
|
|
5
|
+
"version": "1.24.2-aidon.15",
|
|
6
6
|
"src": "bin/cli.ts",
|
|
7
7
|
"bin": {
|
|
8
8
|
"rivet": "bin/cli.js"
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"dev:serve": "tsx src/cli.ts serve --projects-root-dir C:/temp/aidon/Rivet_Files"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@alpic80/rivet-core": "^1.24.2-aidon.
|
|
28
|
-
"@alpic80/rivet-node": "^1.24.2-aidon.
|
|
27
|
+
"@alpic80/rivet-core": "^1.24.2-aidon.13",
|
|
28
|
+
"@alpic80/rivet-node": "^1.24.2-aidon.11",
|
|
29
29
|
"@hono/node-server": "^1.13.8",
|
|
30
|
-
"@ironclad/rivet-core": "npm:@alpic80/rivet-core@1.24.2-aidon.
|
|
31
|
-
"@ironclad/rivet-node": "npm:@alpic80/rivet-node@1.24.2-aidon.
|
|
30
|
+
"@ironclad/rivet-core": "npm:@alpic80/rivet-core@1.24.2-aidon.13",
|
|
31
|
+
"@ironclad/rivet-node": "npm:@alpic80/rivet-node@1.24.2-aidon.11",
|
|
32
32
|
"@types/dotenv": "^8.2.3",
|
|
33
33
|
"chalk": "^5.4.1",
|
|
34
34
|
"didyoumean2": "^7.0.4",
|