gutterpress 0.11.17-alpha.4 → 0.11.17-alpha.5
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/api/index.js +2 -2
- package/dist/{build-fam0tqg6.js → build-jr9mqwgr.js} +4 -4
- package/dist/{cli-pqcb2nnb.js → cli-2xpwjanr.js} +1 -1
- package/dist/{cli-8apk8571.js → cli-5sg6hcqa.js} +1 -1
- package/dist/{cli-2kc34kme.js → cli-82tvm0sg.js} +4 -4
- package/dist/{cli-jyy9pqf3.js → cli-c3enmb58.js} +1 -1
- package/dist/cli.js +12 -12
- package/dist/{doctor-zre5k5fg.js → doctor-zxk3pamr.js} +2 -2
- package/dist/{engine-zdb41ay1.js → engine-63r7pxsy.js} +1 -1
- package/dist/{engine-3xqgm82d.js → engine-eactk9nn.js} +2 -2
- package/dist/{ext-hfqcg6ax.js → ext-4vapkh0p.js} +4 -4
- package/dist/favicon-272ga6y0.ico +0 -0
- package/dist/{index-gp503ze9.js → index-5ez30g3a.js} +3 -3
- package/dist/{index-q1xqxrh9.js → index-5gp6mkmf.js} +1 -1
- package/dist/{index-hrx0gfkj.js → index-mb8mzwye.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{new-bjdf7bhg.js → new-hzs75cmd.js} +4 -4
- package/dist/{preflight-gvw01661.js → preflight-4k8dtsfs.js} +4 -4
- package/dist/{preview-1cschq8s.js → preview-whg4rwg6.js} +4 -4
- package/dist/{publish-ddqrb8s9.js → publish-4vtd7qve.js} +4 -4
- package/dist/{validate-3hjkgxrz.js → validate-c32mm2bh.js} +4 -4
- package/package.json +1 -1
- package/dist/favicon-wkbm9cjn.ico +0 -0
package/dist/api/index.js
CHANGED
|
@@ -135,11 +135,11 @@ import {
|
|
|
135
135
|
testRemoteAccess,
|
|
136
136
|
updateExtensions,
|
|
137
137
|
validateProjectExtensions
|
|
138
|
-
} from "../index-
|
|
138
|
+
} from "../index-5ez30g3a.js";
|
|
139
139
|
import"../index-ht1bcqdd.js";
|
|
140
140
|
import {
|
|
141
141
|
BuildError
|
|
142
|
-
} from "../index-
|
|
142
|
+
} from "../index-5gp6mkmf.js";
|
|
143
143
|
import {
|
|
144
144
|
DEFAULT_PRINT_OPTS,
|
|
145
145
|
assertMilestone,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runBuild,
|
|
3
3
|
splitOutPath
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-82tvm0sg.js";
|
|
5
5
|
import {
|
|
6
6
|
log
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-5sg6hcqa.js";
|
|
8
8
|
import {
|
|
9
9
|
UsageError,
|
|
10
10
|
parseFormat,
|
|
11
11
|
parsePdfxFlavor,
|
|
12
12
|
rejectExtraPositionals,
|
|
13
13
|
rejectUnknownFlags
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-2xpwjanr.js";
|
|
15
15
|
import"./cli-ht1bcqdd.js";
|
|
16
|
-
import"./cli-
|
|
16
|
+
import"./cli-c3enmb58.js";
|
|
17
17
|
import {
|
|
18
18
|
BuildError
|
|
19
19
|
} from "./cli-46ycxe6r.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "gutterpress",
|
|
7
|
-
version: "0.11.17-alpha.
|
|
7
|
+
version: "0.11.17-alpha.5",
|
|
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",
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
stampCreator,
|
|
14
14
|
stripAnnotations,
|
|
15
15
|
warn
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-5sg6hcqa.js";
|
|
17
17
|
import {
|
|
18
18
|
DEBOUNCE,
|
|
19
19
|
UsageError,
|
|
20
20
|
resolvePort
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-2xpwjanr.js";
|
|
22
22
|
import {
|
|
23
23
|
blackTextToGray
|
|
24
24
|
} from "./cli-ht1bcqdd.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
getAssetPath,
|
|
28
28
|
getAssetsDir,
|
|
29
29
|
lastPageMode
|
|
30
|
-
} from "./cli-
|
|
30
|
+
} from "./cli-c3enmb58.js";
|
|
31
31
|
import {
|
|
32
32
|
BuildError,
|
|
33
33
|
EXIT_CODES
|
|
@@ -9650,7 +9650,7 @@ class PdfOutput {
|
|
|
9650
9650
|
const rawPdf = pdfxMode ? path13.join(stage, "raw.pdf") : path13.resolve(pdfFile);
|
|
9651
9651
|
await fsp2.mkdir(path13.dirname(path13.resolve(pdfFile)), { recursive: true });
|
|
9652
9652
|
log.info("Rendering HTML to PDF via the Gutterpress engine (native Chromium pagination)");
|
|
9653
|
-
const { buildNativePdf } = await import("./engine-
|
|
9653
|
+
const { buildNativePdf } = await import("./engine-63r7pxsy.js");
|
|
9654
9654
|
const engineDiagnostics = await buildNativePdf(htmlFile, rawPdf, {
|
|
9655
9655
|
title: config.title,
|
|
9656
9656
|
author: config.authors.length > 0 ? config.authors.join(", ") : undefined,
|
|
@@ -1113,7 +1113,7 @@ import { dirname, join, resolve } from "node:path";
|
|
|
1113
1113
|
import { fileURLToPath } from "node:url";
|
|
1114
1114
|
|
|
1115
1115
|
// src/assets/favicon.ico
|
|
1116
|
-
var favicon_default = "./favicon-
|
|
1116
|
+
var favicon_default = "./favicon-272ga6y0.ico";
|
|
1117
1117
|
|
|
1118
1118
|
// src/assets/manifest.schema.json
|
|
1119
1119
|
var manifest_schema_default = "./manifest.schema-gh0jjve9.json";
|
package/dist/cli.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
UsageError,
|
|
7
7
|
package_default,
|
|
8
8
|
rejectUnknownFlags
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-2xpwjanr.js";
|
|
10
10
|
import {
|
|
11
11
|
EXIT_CODES
|
|
12
12
|
} from "./cli-46ycxe6r.js";
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
import { defineCommand, parseArgs, runMain } from "citty";
|
|
19
19
|
import { statSync } from "node:fs";
|
|
20
20
|
var SUBCOMMANDS = {
|
|
21
|
-
new: () => import("./new-
|
|
22
|
-
preview: () => import("./preview-
|
|
23
|
-
build: () => import("./build-
|
|
24
|
-
publish: () => import("./publish-
|
|
25
|
-
validate: () => import("./validate-
|
|
26
|
-
preflight: () => import("./preflight-
|
|
27
|
-
doctor: () => import("./doctor-
|
|
28
|
-
ext: () => import("./ext-
|
|
21
|
+
new: () => import("./new-hzs75cmd.js").then((m) => m.default),
|
|
22
|
+
preview: () => import("./preview-whg4rwg6.js").then((m) => m.default),
|
|
23
|
+
build: () => import("./build-jr9mqwgr.js").then((m) => m.default),
|
|
24
|
+
publish: () => import("./publish-4vtd7qve.js").then((m) => m.default),
|
|
25
|
+
validate: () => import("./validate-c32mm2bh.js").then((m) => m.default),
|
|
26
|
+
preflight: () => import("./preflight-4k8dtsfs.js").then((m) => m.default),
|
|
27
|
+
doctor: () => import("./doctor-zxk3pamr.js").then((m) => m.default),
|
|
28
|
+
ext: () => import("./ext-4vapkh0p.js").then((m) => m.default)
|
|
29
29
|
};
|
|
30
30
|
var VERSION = package_default.version;
|
|
31
31
|
var main = defineCommand({
|
|
@@ -50,7 +50,7 @@ async function preflightRequiredInvocations(rawArgs) {
|
|
|
50
50
|
const [command, ...commandArgs] = rawArgs;
|
|
51
51
|
try {
|
|
52
52
|
if (command === "new") {
|
|
53
|
-
const { newArgs } = await import("./new-
|
|
53
|
+
const { newArgs } = await import("./new-hzs75cmd.js");
|
|
54
54
|
rejectUnknownFlags(commandArgs, newArgs, "new");
|
|
55
55
|
const parsed = parseArgs(commandArgs, {
|
|
56
56
|
...newArgs,
|
|
@@ -62,7 +62,7 @@ async function preflightRequiredInvocations(rawArgs) {
|
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
64
|
if (command === "preflight") {
|
|
65
|
-
const { preflightArgs } = await import("./preflight-
|
|
65
|
+
const { preflightArgs } = await import("./preflight-4k8dtsfs.js");
|
|
66
66
|
rejectUnknownFlags(commandArgs, preflightArgs, "preflight");
|
|
67
67
|
const parsed = parseArgs(commandArgs, {
|
|
68
68
|
...preflightArgs,
|
|
@@ -82,7 +82,7 @@ async function preflightRequiredInvocations(rawArgs) {
|
|
|
82
82
|
}
|
|
83
83
|
if (subcommand.startsWith("-"))
|
|
84
84
|
return;
|
|
85
|
-
const { EXT_SUBCOMMANDS, extAddArgs, extRemoveArgs, extEnableArgs, extDisableArgs } = await import("./ext-
|
|
85
|
+
const { EXT_SUBCOMMANDS, extAddArgs, extRemoveArgs, extEnableArgs, extDisableArgs } = await import("./ext-4vapkh0p.js");
|
|
86
86
|
if (!EXT_SUBCOMMANDS.includes(subcommand)) {
|
|
87
87
|
throw new UsageError(`gutterpress ext: unknown command "${subcommand}"`);
|
|
88
88
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSystemDiagnostics,
|
|
3
3
|
log
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-5sg6hcqa.js";
|
|
5
5
|
import {
|
|
6
6
|
UsageError,
|
|
7
7
|
rejectExtraPositionals,
|
|
8
8
|
rejectUnknownFlags
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-2xpwjanr.js";
|
|
10
10
|
import"./cli-46ycxe6r.js";
|
|
11
11
|
import"./cli-7fkhgtfn.js";
|
|
12
12
|
import"./cli-37x76zdn.js";
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
searchNpmExtensions,
|
|
13
13
|
setExtensionEnabled,
|
|
14
14
|
updateExtensions
|
|
15
|
-
} from "./cli-
|
|
16
|
-
import"./cli-
|
|
15
|
+
} from "./cli-82tvm0sg.js";
|
|
16
|
+
import"./cli-5sg6hcqa.js";
|
|
17
17
|
import {
|
|
18
18
|
UsageError,
|
|
19
19
|
exitForUsage,
|
|
20
20
|
rejectExtraPositionals,
|
|
21
21
|
rejectUnknownFlags,
|
|
22
22
|
resolveProjectDir
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-2xpwjanr.js";
|
|
24
24
|
import"./cli-ht1bcqdd.js";
|
|
25
|
-
import"./cli-
|
|
25
|
+
import"./cli-c3enmb58.js";
|
|
26
26
|
import {
|
|
27
27
|
EXIT_CODES
|
|
28
28
|
} from "./cli-46ycxe6r.js";
|
|
Binary file
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
getAssetsDir,
|
|
10
10
|
lastPageMode,
|
|
11
11
|
parseSize
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-5gp6mkmf.js";
|
|
13
13
|
import {
|
|
14
14
|
INSTALL_HINTS,
|
|
15
15
|
execCapture,
|
|
@@ -5674,7 +5674,7 @@ import git from "isomorphic-git";
|
|
|
5674
5674
|
// package.json
|
|
5675
5675
|
var package_default = {
|
|
5676
5676
|
name: "gutterpress",
|
|
5677
|
-
version: "0.11.17-alpha.
|
|
5677
|
+
version: "0.11.17-alpha.5",
|
|
5678
5678
|
description: "Markdown-to-PDF converter for professional print layout using a native Chromium print engine and Ghostscript.",
|
|
5679
5679
|
author: "itlackey",
|
|
5680
5680
|
license: "MPL-2.0",
|
|
@@ -10230,7 +10230,7 @@ class PdfOutput {
|
|
|
10230
10230
|
const rawPdf = pdfxMode ? path13.join(stage, "raw.pdf") : path13.resolve(pdfFile);
|
|
10231
10231
|
await fsp2.mkdir(path13.dirname(path13.resolve(pdfFile)), { recursive: true });
|
|
10232
10232
|
log.info("Rendering HTML to PDF via the Gutterpress engine (native Chromium pagination)");
|
|
10233
|
-
const { buildNativePdf } = await import("./engine-
|
|
10233
|
+
const { buildNativePdf } = await import("./engine-eactk9nn.js");
|
|
10234
10234
|
const engineDiagnostics = await buildNativePdf(htmlFile, rawPdf, {
|
|
10235
10235
|
title: config.title,
|
|
10236
10236
|
author: config.authors.length > 0 ? config.authors.join(", ") : undefined,
|
|
@@ -145,7 +145,7 @@ import { dirname, join, resolve } from "node:path";
|
|
|
145
145
|
import { fileURLToPath } from "node:url";
|
|
146
146
|
|
|
147
147
|
// src/assets/favicon.ico
|
|
148
|
-
var favicon_default = "./favicon-
|
|
148
|
+
var favicon_default = "./favicon-272ga6y0.ico";
|
|
149
149
|
|
|
150
150
|
// src/assets/manifest.schema.json
|
|
151
151
|
var manifest_schema_default = "./manifest.schema-gh0jjve9.json";
|
package/dist/index.js
CHANGED
|
@@ -152,14 +152,14 @@ import {
|
|
|
152
152
|
testRemoteAccess,
|
|
153
153
|
updateExtensions,
|
|
154
154
|
validateProjectExtensions
|
|
155
|
-
} from "./index-
|
|
155
|
+
} from "./index-5ez30g3a.js";
|
|
156
156
|
import"./index-ht1bcqdd.js";
|
|
157
157
|
import {
|
|
158
158
|
BUILD_DIAGNOSTIC_CODES
|
|
159
|
-
} from "./index-
|
|
159
|
+
} from "./index-mb8mzwye.js";
|
|
160
160
|
import {
|
|
161
161
|
BuildError
|
|
162
|
-
} from "./index-
|
|
162
|
+
} from "./index-5gp6mkmf.js";
|
|
163
163
|
import {
|
|
164
164
|
DEFAULT_PRINT_OPTS,
|
|
165
165
|
assertMilestone,
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
TARGET_IDS,
|
|
8
8
|
scaffoldExtension,
|
|
9
9
|
scaffoldProject
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-82tvm0sg.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveGhostscript
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-5sg6hcqa.js";
|
|
14
14
|
import {
|
|
15
15
|
UsageError,
|
|
16
16
|
rejectExtraPositionals,
|
|
17
17
|
rejectUnknownFlags
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-2xpwjanr.js";
|
|
19
19
|
import"./cli-ht1bcqdd.js";
|
|
20
|
-
import"./cli-
|
|
20
|
+
import"./cli-c3enmb58.js";
|
|
21
21
|
import {
|
|
22
22
|
EXIT_CODES
|
|
23
23
|
} from "./cli-46ycxe6r.js";
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
executeValidation,
|
|
3
3
|
publishTargetFor,
|
|
4
4
|
reportMissingTools
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-82tvm0sg.js";
|
|
6
6
|
import {
|
|
7
7
|
log
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-5sg6hcqa.js";
|
|
9
9
|
import {
|
|
10
10
|
UsageError,
|
|
11
11
|
rejectExtraPositionals,
|
|
12
12
|
rejectUnknownFlags
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-2xpwjanr.js";
|
|
14
14
|
import"./cli-ht1bcqdd.js";
|
|
15
|
-
import"./cli-
|
|
15
|
+
import"./cli-c3enmb58.js";
|
|
16
16
|
import {
|
|
17
17
|
BuildError,
|
|
18
18
|
EXIT_CODES
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
runBuild,
|
|
8
8
|
splitOutPath,
|
|
9
9
|
startPreviewServer
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-82tvm0sg.js";
|
|
11
11
|
import {
|
|
12
12
|
log
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-5sg6hcqa.js";
|
|
14
14
|
import {
|
|
15
15
|
UsageError,
|
|
16
16
|
parseFormat,
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
rejectExtraPositionals,
|
|
19
19
|
rejectUnknownFlags,
|
|
20
20
|
resolvePort
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-2xpwjanr.js";
|
|
22
22
|
import"./cli-ht1bcqdd.js";
|
|
23
|
-
import"./cli-
|
|
23
|
+
import"./cli-c3enmb58.js";
|
|
24
24
|
import {
|
|
25
25
|
BuildError
|
|
26
26
|
} from "./cli-46ycxe6r.js";
|
|
@@ -11,18 +11,18 @@ import {
|
|
|
11
11
|
publishProviderFor,
|
|
12
12
|
resolvePublishFormat,
|
|
13
13
|
runPublish
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-82tvm0sg.js";
|
|
15
15
|
import {
|
|
16
16
|
FileTokenStore,
|
|
17
17
|
log
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-5sg6hcqa.js";
|
|
19
19
|
import {
|
|
20
20
|
UsageError,
|
|
21
21
|
rejectExtraPositionals,
|
|
22
22
|
rejectUnknownFlags
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-2xpwjanr.js";
|
|
24
24
|
import"./cli-ht1bcqdd.js";
|
|
25
|
-
import"./cli-
|
|
25
|
+
import"./cli-c3enmb58.js";
|
|
26
26
|
import {
|
|
27
27
|
EXIT_CODES
|
|
28
28
|
} from "./cli-46ycxe6r.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executeAndReport
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-82tvm0sg.js";
|
|
4
4
|
import {
|
|
5
5
|
log
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-5sg6hcqa.js";
|
|
7
7
|
import {
|
|
8
8
|
UsageError,
|
|
9
9
|
rejectExtraPositionals,
|
|
10
10
|
rejectUnknownFlags
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-2xpwjanr.js";
|
|
12
12
|
import"./cli-ht1bcqdd.js";
|
|
13
|
-
import"./cli-
|
|
13
|
+
import"./cli-c3enmb58.js";
|
|
14
14
|
import {
|
|
15
15
|
BuildError,
|
|
16
16
|
EXIT_CODES
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gutterpress",
|
|
3
|
-
"version": "0.11.17-alpha.
|
|
3
|
+
"version": "0.11.17-alpha.5",
|
|
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",
|
|
Binary file
|