gutterpress 0.11.19 → 0.11.20-alpha.2

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 (32) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/{build-czbaj4qf.js → build-qmjg9r2d.js} +4 -4
  3. package/dist/checks/pdf/index.d.ts +1 -0
  4. package/dist/checks/pdf/safe-margins.d.ts +3 -0
  5. package/dist/{cli-cgbzdrwz.js → cli-7z29z4wz.js} +1 -1
  6. package/dist/{cli-dzw28t3s.js → cli-gh0ym80r.js} +2 -1
  7. package/dist/{cli-xx94a1k6.js → cli-j802s31j.js} +5 -5
  8. package/dist/{cli-aw614ztv.js → cli-zacevwcy.js} +299 -184
  9. package/dist/cli.js +12 -12
  10. package/dist/{doctor-6e9perj7.js → doctor-fe7tcs4v.js} +2 -2
  11. package/dist/{engine-fe0n7v9p.js → engine-9xb1ky8d.js} +1 -1
  12. package/dist/{engine-zehw6tkv.js → engine-yax79k9m.js} +2 -2
  13. package/dist/{ext-kavfk1zn.js → ext-ahwxt6gv.js} +4 -4
  14. package/dist/{gutterpress-viewer-k4mpqjh0.js → gutterpress-viewer-retj6ym2.js} +515 -281
  15. package/dist/{index-jt552wtf.js → index-3nr5rzzp.js} +5 -5
  16. package/dist/{index-b866g2ph.js → index-6xwtb7cw.js} +1 -1
  17. package/dist/{index-g7vszjqf.js → index-razpty47.js} +298 -182
  18. package/dist/index.js +3 -3
  19. package/dist/lib/ghostscript.d.ts +7 -0
  20. package/dist/lib/presets.d.ts +3 -1
  21. package/dist/{manifest.schema-5pzhscqh.json → manifest.schema-74s1ykyv.json} +20 -1
  22. package/dist/{new-ckpas1ya.js → new-ftd4fec4.js} +4 -4
  23. package/dist/{preflight-yh57q9nn.js → preflight-8sqarcsr.js} +4 -4
  24. package/dist/preview/file-watcher.d.ts +16 -2
  25. package/dist/{preview-bridge-evecsh4w.js → preview-bridge-8wjcjec3.js} +3 -2
  26. package/dist/{preview-interface-2n1d9pbf.js → preview-interface-nnmrxyqm.js} +37 -41
  27. package/dist/{preview-a4x2ezjp.js → preview-q76xn95h.js} +4 -4
  28. package/dist/{preview-shell-hyp7g158.js → preview-shell-wk9k3gcd.js} +18 -6
  29. package/dist/{publish-sfn5hmnx.js → publish-7gdy6gbf.js} +4 -4
  30. package/dist/schema/manifest.types.d.ts +38 -3
  31. package/dist/{validate-281rsdsv.js → validate-e3ryegce.js} +4 -4
  32. package/package.json +1 -1
package/dist/api/index.js CHANGED
@@ -137,11 +137,11 @@ import {
137
137
  testRemoteAccess,
138
138
  updateExtensions,
139
139
  validateProjectExtensions
140
- } from "../index-g7vszjqf.js";
140
+ } from "../index-razpty47.js";
141
141
  import"../index-ht1bcqdd.js";
142
142
  import {
143
143
  BuildError
144
- } from "../index-jt552wtf.js";
144
+ } from "../index-3nr5rzzp.js";
145
145
  import {
146
146
  DEFAULT_PRINT_OPTS,
147
147
  assertMilestone,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  runBuild,
3
3
  splitOutPath
4
- } from "./cli-aw614ztv.js";
4
+ } from "./cli-zacevwcy.js";
5
5
  import {
6
6
  log
7
- } from "./cli-dzw28t3s.js";
7
+ } from "./cli-gh0ym80r.js";
8
8
  import {
9
9
  UsageError,
10
10
  parseFormat,
11
11
  parsePdfxFlavor,
12
12
  rejectExtraPositionals,
13
13
  rejectUnknownFlags
14
- } from "./cli-cgbzdrwz.js";
14
+ } from "./cli-7z29z4wz.js";
15
15
  import"./cli-ht1bcqdd.js";
16
- import"./cli-xx94a1k6.js";
16
+ import"./cli-j802s31j.js";
17
17
  import {
18
18
  BuildError
19
19
  } from "./cli-46ycxe6r.js";
@@ -1,5 +1,6 @@
1
1
  import "./qpdf-structure";
2
2
  import "./page-size";
3
+ import "./safe-margins";
3
4
  import "./pdfx-markers";
4
5
  import "./color-spaces";
5
6
  import "./embedded-fonts";
@@ -0,0 +1,3 @@
1
+ import type { Check } from "../types";
2
+ declare const check: Check;
3
+ export default check;
@@ -4,7 +4,7 @@ import {
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "gutterpress",
7
- version: "0.11.19",
7
+ version: "0.11.20-alpha.2",
8
8
  description: "Markdown-to-PDF converter for professional print layout using a native Chromium print engine and Ghostscript.",
9
9
  author: "itlackey",
10
10
  license: "MPL-2.0",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "./cli-cgbzdrwz.js";
3
+ } from "./cli-7z29z4wz.js";
4
4
  import {
5
5
  enhancedPath,
6
6
  execCapture,
@@ -332,6 +332,7 @@ async function convertToPdfxCmyk(inputPdf, outPdf, config) {
332
332
  "-dDownsampleColorImages=false",
333
333
  "-dDownsampleGrayImages=false",
334
334
  "-dDownsampleMonoImages=false",
335
+ ...config.rasterDpi ? [`-r${config.rasterDpi}`] : [],
335
336
  "-sProcessColorModel=DeviceCMYK",
336
337
  "-sColorConversionStrategy=CMYK",
337
338
  "-dOverrideICC=true",
@@ -1116,22 +1116,22 @@ import { fileURLToPath } from "node:url";
1116
1116
  var favicon_default = "./favicon-272ga6y0.ico";
1117
1117
 
1118
1118
  // src/assets/manifest.schema.json
1119
- var manifest_schema_default = "./manifest.schema-5pzhscqh.json";
1119
+ var manifest_schema_default = "./manifest.schema-74s1ykyv.json";
1120
1120
 
1121
1121
  // src/assets/preview/scripts/preview-interface.js
1122
- var preview_interface_default = "./preview-interface-2n1d9pbf.js";
1122
+ var preview_interface_default = "./preview-interface-nnmrxyqm.js";
1123
1123
 
1124
1124
  // src/assets/preview/scripts/preview-bridge.js
1125
- var preview_bridge_default = "./preview-bridge-evecsh4w.js";
1125
+ var preview_bridge_default = "./preview-bridge-8wjcjec3.js";
1126
1126
 
1127
1127
  // src/assets/preview/scripts/preview-shell.js
1128
- var preview_shell_default = "./preview-shell-hyp7g158.js";
1128
+ var preview_shell_default = "./preview-shell-wk9k3gcd.js";
1129
1129
 
1130
1130
  // profiles/CGATS21_CRPC1.icc
1131
1131
  var CGATS21_CRPC1_default = "./CGATS21_CRPC1-g0e3k7kr.icc";
1132
1132
 
1133
1133
  // src/assets/engine/gutterpress-viewer.js
1134
- var gutterpress_viewer_default = "./gutterpress-viewer-k4mpqjh0.js";
1134
+ var gutterpress_viewer_default = "./gutterpress-viewer-retj6ym2.js";
1135
1135
 
1136
1136
  // src/assets/engine/gutterpress-agent.js
1137
1137
  var gutterpress_agent_default = "./gutterpress-agent-cazqstr1.js";