@popcraft/cli 0.53.7 → 0.53.8

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.
Files changed (2) hide show
  1. package/dist/popcraft.mjs +9 -12
  2. package/package.json +2 -2
package/dist/popcraft.mjs CHANGED
@@ -295,12 +295,14 @@ var init_page_presets = __esm({
295
295
  p("poster-18x24", "Poster 18\xD724", "PRINT", 18, 24, "in", PRINT_IN),
296
296
  // Comics: the trim sizes the direct market and the manga trade actually print at.
297
297
  p("comic-page", "Comic page", "PRINT", 6.625, 10.25, "in", PRINT_IN),
298
- p("comic-cover", "Comic cover", "PRINT", 6.875, 10.5, "in", PRINT_IN),
298
+ // A cover is trimmed with the pages, so it is the page's trim: 6.875 × 10.5 was the page WITH its bleed, which
299
+ // made a cover larger than the book it binds into (and every interior page a smaller page on an oversized sheet).
300
+ p("comic-cover", "Comic cover", "PRINT", 6.625, 10.25, "in", PRINT_IN),
299
301
  p("comic-strip", "Comic strip", "PRINT", 13, 4, "in", { ...PRINT_IN, bleed: 0, margin: 0.2 }),
300
302
  p("manga-page", "Manga page (B5)", "PRINT", 182, 257, "mm", PRINT_MM),
301
303
  // Spreads: two trim pages side by side, with a fold guide down the middle where the gutter falls.
302
304
  p("comic-spread", "Comic spread", "PRINT", 13.25, 10.25, "in", { ...PRINT_IN, folds: { axis: "X", at: [0.5] }, sheetOf: { presetId: "comic-page", across: 2 } }),
303
- p("comic-wrap", "Comic cover wrap", "PRINT", 13.75, 10.5, "in", { ...PRINT_IN, folds: { axis: "X", at: [0.5] }, sheetOf: { presetId: "comic-cover", across: 2 } }),
305
+ p("comic-wrap", "Comic cover wrap", "PRINT", 13.25, 10.25, "in", { ...PRINT_IN, folds: { axis: "X", at: [0.5] }, sheetOf: { presetId: "comic-cover", across: 2 } }),
304
306
  p("poster-24x36", "Poster 24\xD736", "PRINT", 24, 36, "in", PRINT_IN),
305
307
  // Social
306
308
  p("ig-post", "Instagram post", "SOCIAL", 1080, 1080, "px"),
@@ -1196,7 +1198,7 @@ function operations(spec = openapi) {
1196
1198
  }
1197
1199
  async function call(target2, method, path, opts = {}) {
1198
1200
  const qs = new URLSearchParams(opts.query ?? {}).toString();
1199
- const headers = { "user-agent": `popcraft-cli/${"0.53.7"}`, ...opts.headers };
1201
+ const headers = { "user-agent": `popcraft-cli/${"0.53.8"}`, ...opts.headers };
1200
1202
  if (target2.token) headers.authorization = `Bearer ${target2.token}`;
1201
1203
  if (opts.contentType) headers["content-type"] = opts.contentType;
1202
1204
  try {
@@ -94510,7 +94512,6 @@ function hasMessage(key5) {
94510
94512
  var current2, loading, listeners, formats, asts;
94511
94513
  var init_runtime = __esm({
94512
94514
  "lib/i18n/runtime.ts"() {
94513
- "use strict";
94514
94515
  init_intl_messageformat();
94515
94516
  init_icu_messageformat_parser();
94516
94517
  init_catalogs();
@@ -96213,7 +96214,6 @@ function repairDocumentPaints(doc2) {
96213
96214
  var broken;
96214
96215
  var init_paint_repair = __esm({
96215
96216
  "lib/document/paint-repair.ts"() {
96216
- "use strict";
96217
96217
  init_shader_graph();
96218
96218
  broken = (p2) => {
96219
96219
  if (!p2 || typeof p2 !== "object") return false;
@@ -256194,6 +256194,7 @@ fn shade(uv: vec2<f32>, res: vec2<f32>, tm: f32) -> vec4<f32> {
256194
256194
  var SHADER_PRESETS, shaderPreset, legacyPresetOf, DEFAULT_SHADER_PRESET, DEFAULT_TEXTURE_PARAMS, f, vec4, NOISE_LIB;
256195
256195
  var init_shader_presets = __esm({
256196
256196
  "lib/engine/shader-presets.ts"() {
256197
+ "use strict";
256197
256198
  init_shader_graph();
256198
256199
  init_shader_graph_presets();
256199
256200
  init_shader_presets_legacy();
@@ -260750,7 +260751,6 @@ function retuneShaderAudio(node2, fillId) {
260750
260751
  }
260751
260752
  var init_shader_audio = __esm({
260752
260753
  "lib/motion/shader-audio.ts"() {
260753
- "use strict";
260754
260754
  init_shader_params();
260755
260755
  init_modifier_edit();
260756
260756
  init_keys();
@@ -262784,7 +262784,6 @@ function formatLimit(key5, max3) {
262784
262784
  var formatBytes;
262785
262785
  var init_limits2 = __esm({
262786
262786
  "lib/billing/limits.ts"() {
262787
- "use strict";
262788
262787
  init_format();
262789
262788
  init_plans();
262790
262789
  formatBytes = formatFileSize;
@@ -307001,7 +307000,6 @@ function decodeSource(key5, label3) {
307001
307000
  var DECODE_CACHE_BYTES, cache7, pending4, held, sizeOf, lengths, decodedLengths, DECODE_TIMEOUT_MS, decodedAudio, decodedSource, pcmOf;
307002
307001
  var init_audio_decode = __esm({
307003
307002
  "lib/motion/audio-decode.ts"() {
307004
- "use strict";
307005
307003
  init_media_store();
307006
307004
  init_audio_plan();
307007
307005
  init_time_stretch();
@@ -313171,7 +313169,6 @@ function areaBounds(rings) {
313171
313169
  }
313172
313170
  var init_text_area = __esm({
313173
313171
  "lib/engine/text/text-area.ts"() {
313174
- "use strict";
313175
313172
  }
313176
313173
  });
313177
313174
 
@@ -317608,6 +317605,7 @@ async function selectionReferenceImages(doc2, selection, opts = {}) {
317608
317605
  var FIT_QUALITIES, FIT_SCALES, blobToDataUrl;
317609
317606
  var init_reference_images = __esm({
317610
317607
  "lib/ai/reference-images.ts"() {
317608
+ "use strict";
317611
317609
  init_export();
317612
317610
  init_selection_bounds();
317613
317611
  init_renderer_registry();
@@ -328803,7 +328801,7 @@ var init_package = __esm({
328803
328801
  "packages/runtime/package.json"() {
328804
328802
  package_default = {
328805
328803
  name: "@popcraft/runtime",
328806
- version: "0.53.7",
328804
+ version: "0.53.8",
328807
328805
  description: "What code exported from PopCraft shares: the meaning of expressions (operators and functions) and, as it grows, the parts of a design's behaviour that are common code rather than generated React.",
328808
328806
  license: "MIT",
328809
328807
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -368172,7 +368170,6 @@ var init_doc2 = __esm({
368172
368170
  var POSTER_KEY, MAX_PREVIEW_BYTES2, PREVIEW_STILL_TYPE, previewPath;
368173
368171
  var init_motion3 = __esm({
368174
368172
  "lib/marketplace/motion.ts"() {
368175
- "use strict";
368176
368173
  init_instances2();
368177
368174
  POSTER_KEY = "poster";
368178
368175
  MAX_PREVIEW_BYTES2 = 4 * 1024 * 1024;
@@ -414396,7 +414393,7 @@ init_resources();
414396
414393
  init_desktop();
414397
414394
  init_hypery();
414398
414395
  import { createInterface } from "node:readline";
414399
- var VERSION2 = "0.53.7";
414396
+ var VERSION2 = "0.53.8";
414400
414397
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
414401
414398
 
414402
414399
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.53.7",
3
+ "version": "0.53.8",
4
4
  "description": "The PopCraft command line: edit .popcraft files headlessly, call the REST API, publish to the marketplace and manage the desktop app's local plugins, themes, fonts, skills and agents.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://popcraft.app/docs/api/cli",
@@ -34,7 +34,7 @@
34
34
  "esbuild": "0.28.2"
35
35
  },
36
36
  "dependencies": {
37
- "@popcraft/kit": "0.53.7"
37
+ "@popcraft/kit": "0.53.8"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",