gutterpress 0.11.21 → 0.11.22-alpha.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.
Files changed (51) hide show
  1. package/README.md +11 -0
  2. package/dist/api/index.d.ts +5 -1
  3. package/dist/api/index.js +67 -46
  4. package/dist/{build-0neyk5h6.js → build-se85j9ec.js} +16 -10
  5. package/dist/cli-5553w972.js +75 -0
  6. package/dist/{cli-b57adna7.js → cli-8hccw62p.js} +9 -201
  7. package/dist/cli-9vy4b6ec.js +2089 -0
  8. package/dist/{cli-sqkccnm7.js → cli-d8xjns66.js} +1 -102
  9. package/dist/{cli-j0drzb6f.js → cli-fbwqv7p4.js} +720 -5428
  10. package/dist/cli-gc9av5hs.js +103 -0
  11. package/dist/cli-gmm3bdeq.js +196 -0
  12. package/dist/cli-h3phdstf.js +200 -0
  13. package/dist/{index-qf7y4d85.js → cli-habkc5ng.js} +12 -258
  14. package/dist/cli-pfrg1r9x.js +3073 -0
  15. package/dist/{cli-j79451n6.js → cli-yejbb9f8.js} +5 -76
  16. package/dist/cli.js +15 -13
  17. package/dist/{doctor-fptq8tvn.js → doctor-bv2t82zd.js} +7 -4
  18. package/dist/{engine-x07q927h.js → engine-h4ehmrvf.js} +4 -3
  19. package/dist/{engine-0b8bt05n.js → engine-qwkyhrej.js} +3 -2
  20. package/dist/{ext-gp624t5c.js → ext-a8ndp142.js} +21 -14
  21. package/dist/extension-restore-926mv2qk.js +16 -0
  22. package/dist/extension-restore-q1f7njec.js +20 -0
  23. package/dist/index-38e18a7j.js +3244 -0
  24. package/dist/{index-mr72vt8n.js → index-5h9a38jn.js} +1 -213
  25. package/dist/{cli-5qr3z0qa.js → index-93pqkvty.js} +63 -207
  26. package/dist/index-dhknsvfz.js +213 -0
  27. package/dist/index-dm7hx46j.js +2208 -0
  28. package/dist/{index-t7r8g75c.js → index-gmfh6n05.js} +4 -2
  29. package/dist/index-r7jcsk6h.js +200 -0
  30. package/dist/{index-mr7zs8mv.js → index-tkjvs1gf.js} +4774 -9354
  31. package/dist/index.js +70 -49
  32. package/dist/lib/extension-manifest.d.ts +22 -1
  33. package/dist/lib/markdown/plugins.d.ts +20 -0
  34. package/dist/lib/markdown/two-versions.d.ts +32 -0
  35. package/dist/lib/publish/plugin-provider.d.ts +16 -0
  36. package/dist/lib/publish/run-publish.d.ts +13 -5
  37. package/dist/lib/publish/types.d.ts +34 -2
  38. package/dist/lib/text-diff.d.ts +43 -0
  39. package/dist/lib/two-versions-markers.d.ts +26 -0
  40. package/dist/lib/version-changes.d.ts +87 -0
  41. package/dist/{new-dre6aw05.js → new-nadp2hvb.js} +23 -16
  42. package/dist/plugins-gy4q9vaa.js +26 -0
  43. package/dist/plugins-yeh4shd7.js +24 -0
  44. package/dist/{preflight-1k1zkg1p.js → preflight-c6q25xqa.js} +18 -11
  45. package/dist/{preview-dtrksvxf.js → preview-y8chv4cb.js} +19 -13
  46. package/dist/{publish-g1ytnrmr.js → publish-3qwvxsxa.js} +40 -23
  47. package/dist/render.js +120 -0
  48. package/dist/{source-provider-pzmz0br9.js → source-provider-2r74a7wp.js} +2 -1
  49. package/dist/{source-provider-qbthnmqw.js → source-provider-qbfknhyy.js} +2 -1
  50. package/dist/{validate-yrrq8639.js → validate-w108kk87.js} +16 -10
  51. package/package.json +1 -1
@@ -1,107 +1,6 @@
1
1
  import {
2
2
  EXIT_CODES
3
3
  } from "./cli-46ycxe6r.js";
4
- // package.json
5
- var package_default = {
6
- name: "gutterpress",
7
- version: "0.11.21",
8
- description: "Markdown-to-PDF converter for professional print layout using a native Chromium print engine and Ghostscript.",
9
- author: "itlackey",
10
- license: "MPL-2.0",
11
- keywords: [
12
- "markdown",
13
- "pdf",
14
- "print",
15
- "ghostscript",
16
- "book",
17
- "publishing",
18
- "zine"
19
- ],
20
- repository: {
21
- type: "git",
22
- url: "https://github.com/dimm-city/gutterpress.git"
23
- },
24
- homepage: "https://github.com/dimm-city/gutterpress#readme",
25
- bugs: {
26
- url: "https://github.com/dimm-city/gutterpress/issues"
27
- },
28
- type: "module",
29
- main: "./dist/index.js",
30
- types: "./dist/index.d.ts",
31
- bin: {
32
- gutterpress: "./dist/cli.js"
33
- },
34
- exports: {
35
- ".": {
36
- types: "./dist/index.d.ts",
37
- default: "./dist/index.js"
38
- },
39
- "./api": {
40
- types: "./dist/api/index.d.ts",
41
- default: "./dist/api/index.js"
42
- },
43
- "./render": {
44
- types: "./dist/render.d.ts",
45
- default: "./dist/render.js"
46
- }
47
- },
48
- files: [
49
- "dist/",
50
- "README.md",
51
- "LICENSE"
52
- ],
53
- scripts: {
54
- "build:library": "bun scripts/build-engine-bundles.mjs && rimraf dist && bun build src/index.ts src/api/index.ts --target=node --packages=external --splitting --outdir=dist && bun build src/render.ts --target=node --packages=external --outdir=dist && node scripts/check-render-pure.mjs && tsc -p tsconfig.build.json",
55
- build: "bun run build:library && bun build src/cli.ts --target=node --packages=external --splitting --outdir=dist",
56
- prepublishOnly: "bun run build",
57
- test: "bun test",
58
- typecheck: "tsc --noEmit",
59
- "typecheck:engine-browser": "tsc --noEmit -p src/engine/browser.tsconfig.json",
60
- "parity:gate": "bun scripts/native-parity-gate.ts"
61
- },
62
- engines: {
63
- bun: ">=1.0.0",
64
- node: ">=22.0.0"
65
- },
66
- dependencies: {
67
- chokidar: "^5.0.0",
68
- citty: "^0.2.0",
69
- diff3: "0.0.3",
70
- fflate: "0.8.3",
71
- glob: "^13.0.0",
72
- htmlhint: "^1.9.2",
73
- ignore: "^5.3.2",
74
- "isomorphic-git": "^1.38.4",
75
- "markdown-it": "^14.3.2",
76
- "markdown-it-abbr": "^2.0.0",
77
- "markdown-it-attrs": "^4.3.0",
78
- "markdown-it-deflist": "^3.0.1",
79
- "markdown-it-footnote": "^4.0.0",
80
- "markdown-it-mark": "^4.0.0",
81
- "markdown-it-source-map": "^0.1.1",
82
- "markdown-it-sub": "^2.0.0",
83
- "markdown-it-sup": "^2.0.0",
84
- markdownlint: "^0.40.0",
85
- "pdf-lib": "^1.17.1",
86
- postcss: "^8.5.18",
87
- "resolve.exports": "2.0.3",
88
- semver: "7.8.0",
89
- tar: "7.5.22",
90
- unpdf: "^1.6.2",
91
- ws: "^8.21.0",
92
- yaml: "^2.8.2"
93
- },
94
- devDependencies: {
95
- "@types/bun": "1.3.14",
96
- "@types/markdown-it": "^14.1.2",
97
- "@types/node": "^22.0.0",
98
- "@types/semver": "^7.7.1",
99
- "@types/ws": "^8.5.13",
100
- playwright: "^1.60.0",
101
- rimraf: "^6.0.0",
102
- typescript: "^5"
103
- }
104
- };
105
4
 
106
5
  // src/lib/cli-args.ts
107
6
  import { resolve } from "node:path";
@@ -278,4 +177,4 @@ function resolveProjectDir(dir) {
278
177
  return resolve(typeof dir === "string" && dir ? dir : process.cwd());
279
178
  }
280
179
 
281
- export { package_default, DEBOUNCE, UsageError, rejectUnknownFlags, rejectExtraPositionals, parseFormat, parsePdfxFlavor, resolvePort, exitForUsage, resolveProjectDir };
180
+ export { DEBOUNCE, UsageError, rejectUnknownFlags, rejectExtraPositionals, parseFormat, parsePdfxFlavor, resolvePort, exitForUsage, resolveProjectDir };