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.
Files changed (38) hide show
  1. package/README.md +7 -3
  2. package/dist/api/index.d.ts +7 -3
  3. package/dist/api/index.js +24 -2
  4. package/dist/{audit-6gsbjcyp.js → audit-9pf96y1w.js} +4 -4
  5. package/dist/{build-8gx7gkgw.js → build-jw9kynts.js} +4 -4
  6. package/dist/{cli-7hay1r0h.js → cli-0t4zfevc.js} +1 -1
  7. package/dist/{cli-zddg7r27.js → cli-5w9y6r2f.js} +928 -74
  8. package/dist/{cli-h617210r.js → cli-nb902265.js} +1 -1
  9. package/dist/{cli-d613m9n5.js → cli-xewqry0j.js} +1 -1
  10. package/dist/cli.js +14 -14
  11. package/dist/{doctor-mrqpw7g3.js → doctor-6vmxh7mz.js} +2 -2
  12. package/dist/{engine-dzrzyyew.js → engine-fwe8djyn.js} +1 -1
  13. package/dist/{engine-pta3yeyt.js → engine-mtyjc4v6.js} +2 -2
  14. package/dist/{index-1z8a090c.js → index-3xv7vwv2.js} +972 -120
  15. package/dist/{index-cm4dywtk.js → index-ja0p4w5f.js} +1 -1
  16. package/dist/{index-p4yq14qw.js → index-k5hcp8wj.js} +1 -1
  17. package/dist/index.js +25 -3
  18. package/dist/lib/markdown/gutterpress-css.d.ts +10 -2
  19. package/dist/lib/open-path.d.ts +27 -0
  20. package/dist/lib/publish/connect-google.d.ts +34 -0
  21. package/dist/lib/publish/connect.d.ts +23 -0
  22. package/dist/lib/publish/google-auth.d.ts +104 -0
  23. package/dist/lib/publish/google-drive.d.ts +88 -0
  24. package/dist/lib/publish/google-errors.d.ts +49 -0
  25. package/dist/lib/publish/providers/gdrive.d.ts +25 -0
  26. package/dist/lib/publish/run-publish.d.ts +14 -1
  27. package/dist/lib/publish/types.d.ts +46 -2
  28. package/dist/lib/remote-auth/token-store.d.ts +1 -1
  29. package/dist/{lint-gmymvnm3.js → lint-kzvbrn3d.js} +4 -4
  30. package/dist/{manifest.schema-084rxtwp.json → manifest.schema-hn6ac0ae.json} +25 -0
  31. package/dist/{new-hw7s7jne.js → new-cyna8tyn.js} +4 -4
  32. package/dist/{plugin-0qtfgjr2.js → plugin-mpc5v8sr.js} +4 -4
  33. package/dist/{preflight-j99dpj5e.js → preflight-fc178as2.js} +4 -4
  34. package/dist/{preview-sc3rcrkh.js → preview-qnbbtyqb.js} +4 -4
  35. package/dist/{publish-xwrwvrh0.js → publish-gmgpyh4n.js} +58 -9
  36. package/dist/schema/manifest.types.d.ts +20 -0
  37. package/dist/{validate-evzfg9m6.js → validate-0t3vjpmk.js} +4 -4
  38. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "./cli-d613m9n5.js";
3
+ } from "./cli-xewqry0j.js";
4
4
  import {
5
5
  execCapture,
6
6
  findTool,
@@ -4,7 +4,7 @@ import {
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "gutterpress",
7
- version: "0.10.4",
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-d613m9n5.js";
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-hw7s7jne.js").then((m) => m.default),
22
- preview: () => import("./preview-sc3rcrkh.js").then((m) => m.default),
23
- build: () => import("./build-8gx7gkgw.js").then((m) => m.default),
24
- publish: () => import("./publish-xwrwvrh0.js").then((m) => m.default),
25
- lint: () => import("./lint-gmymvnm3.js").then((m) => m.default),
26
- validate: () => import("./validate-evzfg9m6.js").then((m) => m.default),
27
- audit: () => import("./audit-6gsbjcyp.js").then((m) => m.default),
28
- preflight: () => import("./preflight-j99dpj5e.js").then((m) => m.default),
29
- doctor: () => import("./doctor-mrqpw7g3.js").then((m) => m.default),
30
- plugin: () => import("./plugin-0qtfgjr2.js").then((m) => m.default)
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-hw7s7jne.js");
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-j99dpj5e.js");
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-0qtfgjr2.js");
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-h617210r.js";
4
+ } from "./cli-nb902265.js";
5
5
  import {
6
6
  UsageError,
7
7
  rejectExtraPositionals,
8
8
  rejectUnknownFlags
9
- } from "./cli-d613m9n5.js";
9
+ } from "./cli-xewqry0j.js";
10
10
  import"./cli-c41yr7he.js";
11
11
  import"./cli-46ycxe6r.js";
12
12
  import"./cli-37x76zdn.js";
@@ -4,7 +4,7 @@ import {
4
4
  build,
5
5
  connectChromium,
6
6
  getBrowser
7
- } from "./cli-7hay1r0h.js";
7
+ } from "./cli-0t4zfevc.js";
8
8
  import"./cli-c41yr7he.js";
9
9
  import {
10
10
  BuildError
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  build
3
- } from "./index-cm4dywtk.js";
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-p4yq14qw.js";
10
+ } from "./index-k5hcp8wj.js";
11
11
  import"./index-37x76zdn.js";
12
12
 
13
13
  // src/lib/engine.ts