@koda-sl/baker-cli 0.146.1 → 0.147.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/dist/cli.js
CHANGED
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
toModelSafeImage,
|
|
35
35
|
ulid,
|
|
36
36
|
validateCanvasDeep
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-2F5SCTNS.js";
|
|
38
38
|
import {
|
|
39
39
|
csvOrJson,
|
|
40
40
|
daysAgoIso,
|
|
@@ -19699,7 +19699,7 @@ var runCommand = defineCommand88({
|
|
|
19699
19699
|
"cache-policy": { type: "string", description: "read_write | bypass | read_only" },
|
|
19700
19700
|
regenerate: {
|
|
19701
19701
|
type: "string",
|
|
19702
|
-
description: "Comma-separated node ids to force fresh THIS run (e.g. --regenerate
|
|
19702
|
+
description: "Comma-separated node ids to force fresh THIS run (e.g. --regenerate gen,adapt), bypassing the content cache for just those nodes + everything downstream. For a persistent re-render, bump a node's `regenerate` field in the canvas JSON instead."
|
|
19703
19703
|
},
|
|
19704
19704
|
concurrency: {
|
|
19705
19705
|
type: "string",
|
|
@@ -19872,6 +19872,10 @@ async function executeCanvasRun(opts) {
|
|
|
19872
19872
|
);
|
|
19873
19873
|
process.exit(2);
|
|
19874
19874
|
}
|
|
19875
|
+
for (const w of validation.warnings ?? []) {
|
|
19876
|
+
process.stdout.write(`[warn] ${w.code}: ${w.message}
|
|
19877
|
+
`);
|
|
19878
|
+
}
|
|
19875
19879
|
const canvasSha = sha256Hex(Buffer.from(raw));
|
|
19876
19880
|
const creativeSlug = creativeSlugFromCanvasPath(filePath) ?? void 0;
|
|
19877
19881
|
const client = opts.record === false ? null : buildBackendClient();
|