gutterpress 0.11.21 → 0.11.22-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 (62) hide show
  1. package/README.md +11 -0
  2. package/dist/api/index.d.ts +5 -1
  3. package/dist/api/index.js +68 -47
  4. package/dist/{build-0neyk5h6.js → build-84retk4k.js} +16 -10
  5. package/dist/{index-sth219v1.js → cli-2ppw6q9v.js} +26 -6
  6. package/dist/cli-3twpesca.js +103 -0
  7. package/dist/cli-5et23z83.js +2089 -0
  8. package/dist/{cli-j79451n6.js → cli-5qhjwne5.js} +5 -76
  9. package/dist/cli-80t93x2r.js +75 -0
  10. package/dist/{cli-j0drzb6f.js → cli-885pcze8.js} +885 -5481
  11. package/dist/{cli-b57adna7.js → cli-9pk65fqf.js} +9 -201
  12. package/dist/{cli-sqkccnm7.js → cli-d8xjns66.js} +1 -102
  13. package/dist/cli-h3phdstf.js +200 -0
  14. package/dist/{index-qf7y4d85.js → cli-habkc5ng.js} +12 -258
  15. package/dist/cli-hndkg7bn.js +196 -0
  16. package/dist/cli-pn3z0y9p.js +3073 -0
  17. package/dist/cli.js +15 -13
  18. package/dist/{doctor-fptq8tvn.js → doctor-fmzpg7ag.js} +7 -4
  19. package/dist/engine/shared/print-area.d.ts +77 -1
  20. package/dist/{engine-x07q927h.js → engine-5p8tn9b4.js} +4 -3
  21. package/dist/{engine-0b8bt05n.js → engine-9710cd7x.js} +3 -2
  22. package/dist/{ext-gp624t5c.js → ext-hsdnad5c.js} +21 -14
  23. package/dist/extension-restore-05pae3cp.js +16 -0
  24. package/dist/extension-restore-3r7phztr.js +20 -0
  25. package/dist/{gutterpress-viewer-w7njnkj7.js → gutterpress-viewer-w9jzx6sb.js} +56 -52
  26. package/dist/{index-t7r8g75c.js → index-2d8j0enc.js} +4 -2
  27. package/dist/{cli-sth219v1.js → index-2ppw6q9v.js} +26 -6
  28. package/dist/{index-mr7zs8mv.js → index-3wcr69ba.js} +5579 -10055
  29. package/dist/{cli-5qr3z0qa.js → index-93pqkvty.js} +63 -207
  30. package/dist/{index-mr72vt8n.js → index-apc8w9w8.js} +55 -267
  31. package/dist/index-ew7cyk7c.js +2208 -0
  32. package/dist/index-jsz0s3dy.js +213 -0
  33. package/dist/index-kx03e4m4.js +3244 -0
  34. package/dist/index-r7jcsk6h.js +200 -0
  35. package/dist/index.js +71 -50
  36. package/dist/lib/extension-manifest.d.ts +22 -1
  37. package/dist/lib/markdown/assemble.d.ts +3 -2
  38. package/dist/lib/markdown/plugins.d.ts +20 -0
  39. package/dist/lib/markdown/two-versions.d.ts +32 -0
  40. package/dist/lib/page-size.d.ts +3 -4
  41. package/dist/lib/pdf-inspect.d.ts +12 -0
  42. package/dist/lib/project-scaffold.d.ts +3 -3
  43. package/dist/lib/publish/plugin-provider.d.ts +16 -0
  44. package/dist/lib/publish/run-publish.d.ts +13 -5
  45. package/dist/lib/publish/types.d.ts +34 -2
  46. package/dist/lib/text-diff.d.ts +43 -0
  47. package/dist/lib/two-versions-markers.d.ts +26 -0
  48. package/dist/lib/version-changes.d.ts +87 -0
  49. package/dist/{manifest.schema-n292sb77.json → manifest.schema-nvawq0xv.json} +2 -2
  50. package/dist/{new-dre6aw05.js → new-fqtt022k.js} +23 -16
  51. package/dist/{pdf-inspect-zdmy7qca.js → pdf-inspect-wnw4za71.js} +1 -1
  52. package/dist/plugins-gfvsgnxb.js +24 -0
  53. package/dist/plugins-nfxr831f.js +26 -0
  54. package/dist/{preflight-1k1zkg1p.js → preflight-gr9mscjw.js} +18 -11
  55. package/dist/{preview-dtrksvxf.js → preview-52w9pdps.js} +19 -13
  56. package/dist/{publish-g1ytnrmr.js → publish-esmcyhpb.js} +40 -23
  57. package/dist/render.js +706 -0
  58. package/dist/schema/manifest.types.d.ts +8 -3
  59. package/dist/{source-provider-pzmz0br9.js → source-provider-2r74a7wp.js} +2 -1
  60. package/dist/{source-provider-qbthnmqw.js → source-provider-qbfknhyy.js} +2 -1
  61. package/dist/{validate-yrrq8639.js → validate-vt1d7h6k.js} +16 -10
  62. package/package.json +1 -1
@@ -191,8 +191,11 @@ export interface GutterpressManifest {
191
191
  * borders, rules — stays at least this far inside the trim on the top,
192
192
  * bottom and OUTER edge; at the binding edge it uses `gutter`. DriveThruRPG's
193
193
  * "keep non-bleeding art 0.25in from the outside edges" (`dtrpg` sets 18).
194
- * An image pinned to the top, bottom or outer edge (`.gp-pin`) sits on this
195
- * line unless it carries `.gp-flush`. Absent = the same as `safe`.
194
+ * The preview's overlay outlines it and flags art outside it, and
195
+ * `pdf.print.safe-margins` fails a built PDF with an image closer, or one
196
+ * that stops in the bleed band. An image pinned to the top, bottom or outer
197
+ * edge (`.gp-pin`) sits on this line unless it carries `.gp-flush`. Absent =
198
+ * the same as `safe`.
196
199
  */
197
200
  artSafe?: number;
198
201
  /**
@@ -203,7 +206,9 @@ export interface GutterpressManifest {
203
206
  * from the spine than the printer's minimum says so here, not in its CSS
204
207
  * (the Field Guide keeps 0.75in = 54 where DriveThruRPG asks for 0.5in).
205
208
  * An image pinned to the binding edge sits on it. The other edges keep
206
- * `safe` and `artSafe`. Absent = the same as `safe`; presets leave it unset.
209
+ * `safe` and `artSafe`. Absent = the same as `safe`; `dtrpg` sets 36
210
+ * (DriveThruRPG's 0.5in at the binding, the same as its `safe`), `book`
211
+ * and `custom` none.
207
212
  */
208
213
  gutter?: number;
209
214
  };
@@ -21,8 +21,9 @@ import {
21
21
  switchBranch,
22
22
  whenGitIdle,
23
23
  withRepoLock
24
- } from "./cli-5qr3z0qa.js";
24
+ } from "./cli-habkc5ng.js";
25
25
  import"./cli-v5mp7a6q.js";
26
+ import"./cli-h3phdstf.js";
26
27
  import"./cli-37x76zdn.js";
27
28
  export {
28
29
  withRepoLock,
@@ -21,7 +21,8 @@ import {
21
21
  switchBranch,
22
22
  whenGitIdle,
23
23
  withRepoLock
24
- } from "./index-qf7y4d85.js";
24
+ } from "./index-93pqkvty.js";
25
+ import"./index-r7jcsk6h.js";
25
26
  import"./index-v5mp7a6q.js";
26
27
  import"./index-37x76zdn.js";
27
28
  export {
@@ -1,25 +1,31 @@
1
1
  import {
2
2
  executeAndReport
3
- } from "./cli-j0drzb6f.js";
3
+ } from "./cli-885pcze8.js";
4
+ import"./cli-5qhjwne5.js";
5
+ import"./cli-ht1bcqdd.js";
6
+ import"./cli-9pk65fqf.js";
7
+ import"./cli-2ppw6q9v.js";
8
+ import"./cli-eyyggect.js";
9
+ import"./cli-asap4t1z.js";
10
+ import"./cli-habkc5ng.js";
11
+ import"./cli-v5mp7a6q.js";
12
+ import"./cli-5et23z83.js";
13
+ import"./cli-pn3z0y9p.js";
4
14
  import {
5
15
  log
6
- } from "./cli-j79451n6.js";
16
+ } from "./cli-80t93x2r.js";
7
17
  import {
8
18
  UsageError,
9
19
  rejectExtraPositionals,
10
20
  rejectUnknownFlags
11
- } from "./cli-sqkccnm7.js";
12
- import"./cli-ht1bcqdd.js";
13
- import"./cli-b57adna7.js";
21
+ } from "./cli-d8xjns66.js";
22
+ import"./cli-3twpesca.js";
23
+ import"./cli-hndkg7bn.js";
14
24
  import {
15
25
  BuildError,
16
26
  EXIT_CODES
17
27
  } from "./cli-46ycxe6r.js";
18
- import"./cli-sth219v1.js";
19
- import"./cli-eyyggect.js";
20
- import"./cli-asap4t1z.js";
21
- import"./cli-5qr3z0qa.js";
22
- import"./cli-v5mp7a6q.js";
28
+ import"./cli-h3phdstf.js";
23
29
  import"./cli-37x76zdn.js";
24
30
 
25
31
  // src/commands/validate.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gutterpress",
3
- "version": "0.11.21",
3
+ "version": "0.11.22-alpha.2",
4
4
  "description": "Markdown-to-PDF converter for professional print layout using a native Chromium print engine and Ghostscript.",
5
5
  "author": "itlackey",
6
6
  "license": "MPL-2.0",