@a-company/atelier 0.28.0 → 0.28.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/dist/cli.cjs +6 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +5 -2
- package/dist/cli.js.map +1 -1
- package/package.json +2 -2
package/dist/cli.cjs
CHANGED
|
@@ -1379,6 +1379,7 @@ var init_dist3 = __esm({
|
|
|
1379
1379
|
});
|
|
1380
1380
|
|
|
1381
1381
|
// src/cli.ts
|
|
1382
|
+
var import_node_module = require("module");
|
|
1382
1383
|
var import_commander = require("commander");
|
|
1383
1384
|
|
|
1384
1385
|
// src/commands/validate.ts
|
|
@@ -3770,7 +3771,8 @@ async function exportAll(format: "gif" | "mp4" | "webm"): Promise<void> {
|
|
|
3770
3771
|
const outPath = file.path.replace(/\\.atelier$/, "." + format);
|
|
3771
3772
|
await saveExportBlob(outPath, exportResult.blob);
|
|
3772
3773
|
exported++;
|
|
3773
|
-
} catch {
|
|
3774
|
+
} catch (e) {
|
|
3775
|
+
console.error("Export failed:", file.path, e);
|
|
3774
3776
|
errors++;
|
|
3775
3777
|
}
|
|
3776
3778
|
progress.value = exported + errors;
|
|
@@ -3780,6 +3782,7 @@ async function exportAll(format: "gif" | "mp4" | "webm"): Promise<void> {
|
|
|
3780
3782
|
title.textContent = "Export Complete";
|
|
3781
3783
|
fileLabel.textContent = "";
|
|
3782
3784
|
statusText.textContent = exported + " exported" + (errors > 0 ? ", " + errors + " failed" : "");
|
|
3785
|
+
if (errors > 0) console.warn("Export All finished with " + errors + " error(s). Check console for details.");
|
|
3783
3786
|
|
|
3784
3787
|
const closeBtn = document.createElement("button");
|
|
3785
3788
|
closeBtn.style.cssText = "margin-top:16px;padding:6px 20px;background:#3D3D3D;color:#F5F0EB;border:1px solid #4A4A4A;border-radius:4px;cursor:pointer;font-family:inherit;font-size:13px";
|
|
@@ -4246,8 +4249,9 @@ function studioCommand(program2) {
|
|
|
4246
4249
|
}
|
|
4247
4250
|
|
|
4248
4251
|
// src/cli.ts
|
|
4252
|
+
var import_meta2 = {};
|
|
4249
4253
|
var program = new import_commander.Command();
|
|
4250
|
-
program.name("atelier").description("Atelier animation CLI").version(
|
|
4254
|
+
program.name("atelier").description("Atelier animation CLI").version((0, import_node_module.createRequire)(import_meta2.url)("../package.json").version);
|
|
4251
4255
|
validateCommand(program);
|
|
4252
4256
|
infoCommand(program);
|
|
4253
4257
|
stillCommand(program);
|