gutterpress 0.10.4 → 0.10.5-beta.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.
- package/README.md +7 -3
- package/dist/api/index.d.ts +7 -3
- package/dist/api/index.js +24 -2
- package/dist/{audit-6gsbjcyp.js → audit-9pf96y1w.js} +4 -4
- package/dist/{build-8gx7gkgw.js → build-jw9kynts.js} +4 -4
- package/dist/{cli-7hay1r0h.js → cli-0t4zfevc.js} +1 -1
- package/dist/{cli-zddg7r27.js → cli-5w9y6r2f.js} +928 -74
- package/dist/{cli-h617210r.js → cli-nb902265.js} +1 -1
- package/dist/{cli-d613m9n5.js → cli-xewqry0j.js} +1 -1
- package/dist/cli.js +14 -14
- package/dist/{doctor-mrqpw7g3.js → doctor-6vmxh7mz.js} +2 -2
- package/dist/{engine-dzrzyyew.js → engine-fwe8djyn.js} +1 -1
- package/dist/{engine-pta3yeyt.js → engine-mtyjc4v6.js} +2 -2
- package/dist/{index-1z8a090c.js → index-3xv7vwv2.js} +972 -120
- package/dist/{index-cm4dywtk.js → index-ja0p4w5f.js} +1 -1
- package/dist/{index-p4yq14qw.js → index-k5hcp8wj.js} +1 -1
- package/dist/index.js +25 -3
- package/dist/lib/markdown/gutterpress-css.d.ts +10 -2
- package/dist/lib/open-path.d.ts +27 -0
- package/dist/lib/publish/connect-google.d.ts +34 -0
- package/dist/lib/publish/connect.d.ts +23 -0
- package/dist/lib/publish/google-auth.d.ts +104 -0
- package/dist/lib/publish/google-drive.d.ts +88 -0
- package/dist/lib/publish/google-errors.d.ts +49 -0
- package/dist/lib/publish/providers/gdrive.d.ts +25 -0
- package/dist/lib/publish/run-publish.d.ts +14 -1
- package/dist/lib/publish/types.d.ts +46 -2
- package/dist/lib/remote-auth/token-store.d.ts +1 -1
- package/dist/{lint-gmymvnm3.js → lint-kzvbrn3d.js} +4 -4
- package/dist/{manifest.schema-084rxtwp.json → manifest.schema-hn6ac0ae.json} +25 -0
- package/dist/{new-hw7s7jne.js → new-cyna8tyn.js} +4 -4
- package/dist/{plugin-0qtfgjr2.js → plugin-mpc5v8sr.js} +4 -4
- package/dist/{preflight-j99dpj5e.js → preflight-fc178as2.js} +4 -4
- package/dist/{preview-sc3rcrkh.js → preview-qnbbtyqb.js} +4 -4
- package/dist/{publish-xwrwvrh0.js → publish-gmgpyh4n.js} +58 -9
- package/dist/schema/manifest.types.d.ts +20 -0
- package/dist/{validate-evzfg9m6.js → validate-0t3vjpmk.js} +4 -4
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "gutterpress",
|
|
7
|
-
version: "0.10.
|
|
7
|
+
version: "0.10.5-beta.1",
|
|
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",
|
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-xewqry0j.js";
|
|
10
10
|
import {
|
|
11
11
|
EXIT_CODES
|
|
12
12
|
} from "./cli-46ycxe6r.js";
|
|
@@ -18,16 +18,16 @@ 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
|
-
lint: () => import("./lint-
|
|
26
|
-
validate: () => import("./validate-
|
|
27
|
-
audit: () => import("./audit-
|
|
28
|
-
preflight: () => import("./preflight-
|
|
29
|
-
doctor: () => import("./doctor-
|
|
30
|
-
plugin: () => import("./plugin-
|
|
21
|
+
new: () => import("./new-cyna8tyn.js").then((m) => m.default),
|
|
22
|
+
preview: () => import("./preview-qnbbtyqb.js").then((m) => m.default),
|
|
23
|
+
build: () => import("./build-jw9kynts.js").then((m) => m.default),
|
|
24
|
+
publish: () => import("./publish-gmgpyh4n.js").then((m) => m.default),
|
|
25
|
+
lint: () => import("./lint-kzvbrn3d.js").then((m) => m.default),
|
|
26
|
+
validate: () => import("./validate-0t3vjpmk.js").then((m) => m.default),
|
|
27
|
+
audit: () => import("./audit-9pf96y1w.js").then((m) => m.default),
|
|
28
|
+
preflight: () => import("./preflight-fc178as2.js").then((m) => m.default),
|
|
29
|
+
doctor: () => import("./doctor-6vmxh7mz.js").then((m) => m.default),
|
|
30
|
+
plugin: () => import("./plugin-mpc5v8sr.js").then((m) => m.default)
|
|
31
31
|
};
|
|
32
32
|
var VERSION = package_default.version;
|
|
33
33
|
var main = defineCommand({
|
|
@@ -52,7 +52,7 @@ async function preflightRequiredInvocations(rawArgs) {
|
|
|
52
52
|
const [command, ...commandArgs] = rawArgs;
|
|
53
53
|
try {
|
|
54
54
|
if (command === "new") {
|
|
55
|
-
const { newArgs } = await import("./new-
|
|
55
|
+
const { newArgs } = await import("./new-cyna8tyn.js");
|
|
56
56
|
rejectUnknownFlags(commandArgs, newArgs, "new");
|
|
57
57
|
const parsed2 = parseArgs(commandArgs, {
|
|
58
58
|
...newArgs,
|
|
@@ -64,7 +64,7 @@ async function preflightRequiredInvocations(rawArgs) {
|
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
if (command === "preflight") {
|
|
67
|
-
const { preflightArgs } = await import("./preflight-
|
|
67
|
+
const { preflightArgs } = await import("./preflight-fc178as2.js");
|
|
68
68
|
rejectUnknownFlags(commandArgs, preflightArgs, "preflight");
|
|
69
69
|
const parsed2 = parseArgs(commandArgs, {
|
|
70
70
|
...preflightArgs,
|
|
@@ -88,7 +88,7 @@ async function preflightRequiredInvocations(rawArgs) {
|
|
|
88
88
|
if (subcommand !== "add") {
|
|
89
89
|
throw new UsageError(`gutterpress plugin: unknown command "${subcommand}"`);
|
|
90
90
|
}
|
|
91
|
-
const { pluginAddArgs } = await import("./plugin-
|
|
91
|
+
const { pluginAddArgs } = await import("./plugin-mpc5v8sr.js");
|
|
92
92
|
rejectUnknownFlags(subcommandArgs, pluginAddArgs, "plugin add");
|
|
93
93
|
const parsed = parseArgs(subcommandArgs, {
|
|
94
94
|
...pluginAddArgs,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSystemDiagnostics,
|
|
3
3
|
log
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-nb902265.js";
|
|
5
5
|
import {
|
|
6
6
|
UsageError,
|
|
7
7
|
rejectExtraPositionals,
|
|
8
8
|
rejectUnknownFlags
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-xewqry0j.js";
|
|
10
10
|
import"./cli-c41yr7he.js";
|
|
11
11
|
import"./cli-46ycxe6r.js";
|
|
12
12
|
import"./cli-37x76zdn.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
build
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-ja0p4w5f.js";
|
|
4
4
|
import {
|
|
5
5
|
BuildError,
|
|
6
6
|
RENDER_TIMEOUT_MS,
|
|
7
7
|
assertMilestone,
|
|
8
8
|
connectChromium,
|
|
9
9
|
getBrowser
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-k5hcp8wj.js";
|
|
11
11
|
import"./index-37x76zdn.js";
|
|
12
12
|
|
|
13
13
|
// src/lib/engine.ts
|