gutterpress 0.11.23-alpha.6 → 0.11.23-alpha.7

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 (26) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/{build-py643c5a.js → build-w572wq10.js} +6 -6
  3. package/dist/{cli-09jj8w5g.js → cli-3cvq3n1c.js} +6 -6
  4. package/dist/{cli-qzkq9em8.js → cli-5ba6bm6z.js} +1 -1
  5. package/dist/{cli-55br530w.js → cli-6pv84kf3.js} +2 -2
  6. package/dist/{cli-tf9tw6at.js → cli-eatdqx3z.js} +1 -1
  7. package/dist/{cli-bnf7eb38.js → cli-mmgtqnmr.js} +1 -1
  8. package/dist/{cli-x777v272.js → cli-wyg7qstd.js} +1 -1
  9. package/dist/cli.js +12 -12
  10. package/dist/{doctor-tyrzqphh.js → doctor-2f3zqmza.js} +3 -3
  11. package/dist/{ext-70kt3eft.js → ext-0cgky8n3.js} +6 -6
  12. package/dist/{extension-restore-fjfn1hrk.js → extension-restore-e7je32pr.js} +4 -4
  13. package/dist/{extension-restore-whag4sm0.js → extension-restore-vghc58vx.js} +2 -2
  14. package/dist/{index-1zqkfzcd.js → index-fp7xwvpr.js} +1 -1
  15. package/dist/{index-cmakyf43.js → index-hphcn7th.js} +1 -1
  16. package/dist/{index-ejbfetdn.js → index-nfysshcc.js} +27 -16
  17. package/dist/index.js +3 -3
  18. package/dist/lib/remote-auth/revisions.d.ts +5 -1
  19. package/dist/{new-b27kyr02.js → new-88rkrv71.js} +6 -6
  20. package/dist/{plugins-racab3cj.js → plugins-3aj0wc5h.js} +1 -1
  21. package/dist/{plugins-vpx7c53c.js → plugins-sprxsz5d.js} +3 -3
  22. package/dist/{preflight-akdqz9v8.js → preflight-11dg1qkk.js} +6 -6
  23. package/dist/{preview-bck9f88w.js → preview-nftp782j.js} +6 -6
  24. package/dist/{publish-keyp8rh4.js → publish-6tgxfck9.js} +6 -6
  25. package/dist/{validate-z28cvr5x.js → validate-pktqrye5.js} +6 -6
  26. package/package.json +1 -1
package/dist/api/index.js CHANGED
@@ -104,7 +104,7 @@ import {
104
104
  substituteVariables,
105
105
  syncProject,
106
106
  testRemoteAccess
107
- } from "../index-ejbfetdn.js";
107
+ } from "../index-nfysshcc.js";
108
108
  import {
109
109
  DEFAULT_NPM_REGISTRY,
110
110
  MANIFEST_FILENAMES,
@@ -133,7 +133,7 @@ import {
133
133
  setExtensionEnabled,
134
134
  updateExtensions,
135
135
  validateProjectExtensions
136
- } from "../index-cmakyf43.js";
136
+ } from "../index-hphcn7th.js";
137
137
  import {
138
138
  BUNDLED_EXTENSIONS,
139
139
  EXTENSION_MANIFEST_FILENAME,
@@ -148,7 +148,7 @@ import {
148
148
  pathEscapesFolder,
149
149
  readExtensionMeta,
150
150
  resolveExtension
151
- } from "../index-1zqkfzcd.js";
151
+ } from "../index-fp7xwvpr.js";
152
152
  import"../index-ht1bcqdd.js";
153
153
  import"../index-2vxzxyyj.js";
154
154
  import {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  runBuild,
3
3
  splitOutPath
4
- } from "./cli-09jj8w5g.js";
5
- import"./cli-bnf7eb38.js";
4
+ } from "./cli-3cvq3n1c.js";
5
+ import"./cli-mmgtqnmr.js";
6
6
  import"./cli-ht1bcqdd.js";
7
7
  import"./cli-58fsk6d7.js";
8
8
  import"./cli-5crpmz42.js";
@@ -10,11 +10,11 @@ import"./cli-eyyggect.js";
10
10
  import"./cli-asap4t1z.js";
11
11
  import"./cli-31anr0r9.js";
12
12
  import"./cli-v5mp7a6q.js";
13
- import"./cli-55br530w.js";
14
- import"./cli-x777v272.js";
13
+ import"./cli-6pv84kf3.js";
14
+ import"./cli-wyg7qstd.js";
15
15
  import {
16
16
  log
17
- } from "./cli-tf9tw6at.js";
17
+ } from "./cli-eatdqx3z.js";
18
18
  import {
19
19
  UsageError,
20
20
  parseFormat,
@@ -22,7 +22,7 @@ import {
22
22
  rejectExtraPositionals,
23
23
  rejectUnknownFlags
24
24
  } from "./cli-d8xjns66.js";
25
- import"./cli-qzkq9em8.js";
25
+ import"./cli-5ba6bm6z.js";
26
26
  import {
27
27
  BuildError
28
28
  } from "./cli-46ycxe6r.js";
@@ -8,7 +8,7 @@ import {
8
8
  stampCreator,
9
9
  stripAnnotations,
10
10
  transparentPages
11
- } from "./cli-bnf7eb38.js";
11
+ } from "./cli-mmgtqnmr.js";
12
12
  import {
13
13
  blackTextToGray
14
14
  } from "./cli-ht1bcqdd.js";
@@ -75,7 +75,7 @@ import {
75
75
  uniqueExtensionId,
76
76
  withFetchTimeout,
77
77
  writeManifestDoc
78
- } from "./cli-55br530w.js";
78
+ } from "./cli-6pv84kf3.js";
79
79
  import {
80
80
  EXTENSION_MANIFEST_FILENAME,
81
81
  GUTTERPRESS_CSS,
@@ -96,7 +96,7 @@ import {
96
96
  readExtensionMeta,
97
97
  resolveDeclaredStyles,
98
98
  slugify
99
- } from "./cli-x777v272.js";
99
+ } from "./cli-wyg7qstd.js";
100
100
  import {
101
101
  PACKAGE_META,
102
102
  PACKAGE_VERSION,
@@ -106,7 +106,7 @@ import {
106
106
  log,
107
107
  setLogLevel,
108
108
  warn
109
- } from "./cli-tf9tw6at.js";
109
+ } from "./cli-eatdqx3z.js";
110
110
  import {
111
111
  DEBOUNCE,
112
112
  UsageError,
@@ -8878,7 +8878,7 @@ async function resolvePublishProvider(id, book) {
8878
8878
  const ext = await bookExtensions(book);
8879
8879
  const npmEntry = ext.extensions.some((c) => !c.path && c.name === id);
8880
8880
  if (npmEntry) {
8881
- const { restoreForCommand: restoreForCommand2 } = await import("./extension-restore-fjfn1hrk.js");
8881
+ const { restoreForCommand: restoreForCommand2 } = await import("./extension-restore-e7je32pr.js");
8882
8882
  await restoreForCommand2(book.projectDir, { manifestPath: book.manifestPath, failFast: true });
8883
8883
  }
8884
8884
  const publishers = await discover(ext);
@@ -8916,7 +8916,7 @@ function infoFor(p) {
8916
8916
  }
8917
8917
  function pluginProvider(p) {
8918
8918
  let loading;
8919
- const load = () => loading ??= import("./plugins-vpx7c53c.js").then((m) => m.loadPublishFunction(p));
8919
+ const load = () => loading ??= import("./plugins-sprxsz5d.js").then((m) => m.loadPublishFunction(p));
8920
8920
  return {
8921
8921
  info: infoFor(p),
8922
8922
  async authenticate() {
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "gutterpress",
4
- version: "0.11.23-alpha.6",
4
+ version: "0.11.23-alpha.7",
5
5
  description: "Markdown-to-PDF converter for professional print layout using a native Chromium print engine and Ghostscript.",
6
6
  author: "itlackey",
7
7
  license: "MPL-2.0",
@@ -11,10 +11,10 @@ import {
11
11
  prettify,
12
12
  readExtensionMeta,
13
13
  slugify
14
- } from "./cli-x777v272.js";
14
+ } from "./cli-wyg7qstd.js";
15
15
  import {
16
16
  log
17
- } from "./cli-tf9tw6at.js";
17
+ } from "./cli-eatdqx3z.js";
18
18
  import {
19
19
  UsageError
20
20
  } from "./cli-d8xjns66.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "./cli-qzkq9em8.js";
3
+ } from "./cli-5ba6bm6z.js";
4
4
 
5
5
  // src/utils/logger.ts
6
6
  var currentLevel = "INFO";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  PACKAGE_VERSION,
16
16
  log
17
- } from "./cli-tf9tw6at.js";
17
+ } from "./cli-eatdqx3z.js";
18
18
  import {
19
19
  __require
20
20
  } from "./cli-37x76zdn.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PACKAGE_VERSION,
3
3
  debug
4
- } from "./cli-tf9tw6at.js";
4
+ } from "./cli-eatdqx3z.js";
5
5
  import {
6
6
  isExactNpmVersion,
7
7
  isValidNpmPackageName,
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  } from "./cli-d8xjns66.js";
9
9
  import {
10
10
  package_default
11
- } from "./cli-qzkq9em8.js";
11
+ } from "./cli-5ba6bm6z.js";
12
12
  import {
13
13
  EXIT_CODES
14
14
  } from "./cli-46ycxe6r.js";
@@ -20,14 +20,14 @@ import {
20
20
  import { defineCommand, parseArgs, runMain } from "citty";
21
21
  import { statSync } from "node:fs";
22
22
  var SUBCOMMANDS = {
23
- new: () => import("./new-b27kyr02.js").then((m) => m.default),
24
- preview: () => import("./preview-bck9f88w.js").then((m) => m.default),
25
- build: () => import("./build-py643c5a.js").then((m) => m.default),
26
- publish: () => import("./publish-keyp8rh4.js").then((m) => m.default),
27
- validate: () => import("./validate-z28cvr5x.js").then((m) => m.default),
28
- preflight: () => import("./preflight-akdqz9v8.js").then((m) => m.default),
29
- doctor: () => import("./doctor-tyrzqphh.js").then((m) => m.default),
30
- ext: () => import("./ext-70kt3eft.js").then((m) => m.default)
23
+ new: () => import("./new-88rkrv71.js").then((m) => m.default),
24
+ preview: () => import("./preview-nftp782j.js").then((m) => m.default),
25
+ build: () => import("./build-w572wq10.js").then((m) => m.default),
26
+ publish: () => import("./publish-6tgxfck9.js").then((m) => m.default),
27
+ validate: () => import("./validate-pktqrye5.js").then((m) => m.default),
28
+ preflight: () => import("./preflight-11dg1qkk.js").then((m) => m.default),
29
+ doctor: () => import("./doctor-2f3zqmza.js").then((m) => m.default),
30
+ ext: () => import("./ext-0cgky8n3.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-b27kyr02.js");
55
+ const { newArgs } = await import("./new-88rkrv71.js");
56
56
  rejectUnknownFlags(commandArgs, newArgs, "new");
57
57
  const parsed = 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-akdqz9v8.js");
67
+ const { preflightArgs } = await import("./preflight-11dg1qkk.js");
68
68
  rejectUnknownFlags(commandArgs, preflightArgs, "preflight");
69
69
  const parsed = parseArgs(commandArgs, {
70
70
  ...preflightArgs,
@@ -84,7 +84,7 @@ async function preflightRequiredInvocations(rawArgs) {
84
84
  }
85
85
  if (subcommand.startsWith("-"))
86
86
  return;
87
- const { EXT_SUBCOMMANDS, extAddArgs, extRemoveArgs, extEnableArgs, extDisableArgs } = await import("./ext-70kt3eft.js");
87
+ const { EXT_SUBCOMMANDS, extAddArgs, extRemoveArgs, extEnableArgs, extDisableArgs } = await import("./ext-0cgky8n3.js");
88
88
  if (!EXT_SUBCOMMANDS.includes(subcommand)) {
89
89
  throw new UsageError(`gutterpress ext: unknown command "${subcommand}"`);
90
90
  }
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  getSystemDiagnostics
3
- } from "./cli-bnf7eb38.js";
3
+ } from "./cli-mmgtqnmr.js";
4
4
  import"./cli-5crpmz42.js";
5
5
  import"./cli-asap4t1z.js";
6
6
  import {
7
7
  log
8
- } from "./cli-tf9tw6at.js";
8
+ } from "./cli-eatdqx3z.js";
9
9
  import {
10
10
  UsageError,
11
11
  rejectExtraPositionals,
12
12
  rejectUnknownFlags
13
13
  } from "./cli-d8xjns66.js";
14
- import"./cli-qzkq9em8.js";
14
+ import"./cli-5ba6bm6z.js";
15
15
  import"./cli-46ycxe6r.js";
16
16
  import"./cli-37x76zdn.js";
17
17
 
@@ -2,8 +2,8 @@ import {
2
2
  importExtensionFromFile,
3
3
  importExtensionFromUrl,
4
4
  searchNpmExtensions
5
- } from "./cli-09jj8w5g.js";
6
- import"./cli-bnf7eb38.js";
5
+ } from "./cli-3cvq3n1c.js";
6
+ import"./cli-mmgtqnmr.js";
7
7
  import"./cli-ht1bcqdd.js";
8
8
  import"./cli-58fsk6d7.js";
9
9
  import"./cli-5crpmz42.js";
@@ -18,12 +18,12 @@ import {
18
18
  removeExtension,
19
19
  setExtensionEnabled,
20
20
  updateExtensions
21
- } from "./cli-55br530w.js";
21
+ } from "./cli-6pv84kf3.js";
22
22
  import {
23
23
  isPathSpecifier,
24
24
  parseExtensionSpecifier
25
- } from "./cli-x777v272.js";
26
- import"./cli-tf9tw6at.js";
25
+ } from "./cli-wyg7qstd.js";
26
+ import"./cli-eatdqx3z.js";
27
27
  import {
28
28
  UsageError,
29
29
  exitForUsage,
@@ -31,7 +31,7 @@ import {
31
31
  rejectUnknownFlags,
32
32
  resolveProjectDir
33
33
  } from "./cli-d8xjns66.js";
34
- import"./cli-qzkq9em8.js";
34
+ import"./cli-5ba6bm6z.js";
35
35
  import {
36
36
  EXIT_CODES
37
37
  } from "./cli-46ycxe6r.js";
@@ -3,11 +3,11 @@ import {
3
3
  restoreForCommand,
4
4
  restoreOfflineMessage,
5
5
  restorePinnedExtensions
6
- } from "./cli-55br530w.js";
7
- import"./cli-x777v272.js";
8
- import"./cli-tf9tw6at.js";
6
+ } from "./cli-6pv84kf3.js";
7
+ import"./cli-wyg7qstd.js";
8
+ import"./cli-eatdqx3z.js";
9
9
  import"./cli-d8xjns66.js";
10
- import"./cli-qzkq9em8.js";
10
+ import"./cli-5ba6bm6z.js";
11
11
  import"./cli-46ycxe6r.js";
12
12
  import"./cli-y28j019d.js";
13
13
  import"./cli-37x76zdn.js";
@@ -3,8 +3,8 @@ import {
3
3
  restoreForCommand,
4
4
  restoreOfflineMessage,
5
5
  restorePinnedExtensions
6
- } from "./index-cmakyf43.js";
7
- import"./index-1zqkfzcd.js";
6
+ } from "./index-hphcn7th.js";
7
+ import"./index-fp7xwvpr.js";
8
8
  import"./index-46ycxe6r.js";
9
9
  import"./index-5x42amh8.js";
10
10
  import"./index-37x76zdn.js";
@@ -398,7 +398,7 @@ import { satisfies, validRange } from "semver";
398
398
  // package.json
399
399
  var package_default = {
400
400
  name: "gutterpress",
401
- version: "0.11.23-alpha.6",
401
+ version: "0.11.23-alpha.7",
402
402
  description: "Markdown-to-PDF converter for professional print layout using a native Chromium print engine and Ghostscript.",
403
403
  author: "itlackey",
404
404
  license: "MPL-2.0",
@@ -14,7 +14,7 @@ import {
14
14
  readExtensionMeta,
15
15
  resolveExtension,
16
16
  slugify
17
- } from "./index-1zqkfzcd.js";
17
+ } from "./index-fp7xwvpr.js";
18
18
  import {
19
19
  BuildError,
20
20
  EXIT_CODES
@@ -37,7 +37,7 @@ import {
37
37
  validatePageMargin,
38
38
  withFetchTimeout,
39
39
  writeManifestDoc
40
- } from "./index-cmakyf43.js";
40
+ } from "./index-hphcn7th.js";
41
41
  import {
42
42
  EXTENSION_MANIFEST_FILENAME,
43
43
  GUTTERPRESS_CSS,
@@ -73,7 +73,7 @@ import {
73
73
  setLogLevel,
74
74
  slugify,
75
75
  warn
76
- } from "./index-1zqkfzcd.js";
76
+ } from "./index-fp7xwvpr.js";
77
77
  import {
78
78
  blackTextToGray
79
79
  } from "./index-ht1bcqdd.js";
@@ -11017,7 +11017,7 @@ function localTip(refs, name) {
11017
11017
  return tip;
11018
11018
  throw new Error(refs.online.has(name) ? `"${name}" is only in the online copy so far. Switch to it first.` : `Couldn't find a revision named "${name}" — it may have been renamed or deleted.`);
11019
11019
  }
11020
- async function reachOnline(dir, name, tip, open, options, unchanged) {
11020
+ async function reachOnline(dir, name, tip, catchUp, options, unchanged) {
11021
11021
  const http3 = options.httpClient ?? defaultGitHttp;
11022
11022
  let transport;
11023
11023
  let onlineTip;
@@ -11030,7 +11030,7 @@ async function reachOnline(dir, name, tip, open, options, unchanged) {
11030
11030
  if (!onlineTip)
11031
11031
  return null;
11032
11032
  if (!await isContained(dir, onlineTip, tip, {})) {
11033
- throw new Error(`The online copy has versions of "${name}" that this computer doesn't have yet. ` + `${open ? "Get" : `Switch to "${name}" and get`} the latest first, then try again.`);
11033
+ throw new Error(`The online copy has versions of "${name}" that this computer doesn't have yet. ${catchUp}`);
11034
11034
  }
11035
11035
  return { transport, http: http3 };
11036
11036
  }
@@ -11057,15 +11057,20 @@ async function renameRevision(options) {
11057
11057
  const to = revisionNameFrom(options.to);
11058
11058
  return withRepoLock(dir, async () => {
11059
11059
  const refs = await readRevisionRefs(dir);
11060
- const tip = localTip(refs, from);
11060
+ const onlineOnly = !refs.local.has(from) && refs.online.has(from);
11061
+ const tip = onlineOnly ? refs.online.get(from) : localTip(refs, from);
11061
11062
  const current = refs.current === from ? to : refs.current;
11062
11063
  if (to === from)
11063
11064
  return { current, name: to };
11064
11065
  await assertFreeRevisionName(dir, to);
11065
11066
  const unchanged = `"${from}" wasn't renamed`;
11066
- const online = refs.online.has(from) ? await reachOnline(dir, from, tip, refs.current === from, options, unchanged) : null;
11067
+ const catchUp = onlineOnly ? `They arrived after the list was last checked, so ${unchanged}. Try again.` : `${refs.current === from ? "Get" : `Switch to "${from}" and get`} the latest first, then try again.`;
11068
+ const online = refs.online.has(from) ? await reachOnline(dir, from, tip, catchUp, options, unchanged) : null;
11069
+ if (onlineOnly && !online) {
11070
+ throw new Error(`Couldn't find a revision named "${from}" in the online copy — it may have been renamed or deleted.`);
11071
+ }
11067
11072
  if (online) {
11068
- const here = `refs/heads/${from}`;
11073
+ const here = onlineOnly ? `refs/remotes/${online.transport.remote}/${from}` : `refs/heads/${from}`;
11069
11074
  try {
11070
11075
  await sendRef(dir, online, here, to);
11071
11076
  } catch (e) {
@@ -11078,7 +11083,8 @@ async function renameRevision(options) {
11078
11083
  throw undone ? onlineFailure(e, unchanged) : new Error(`"${from}" couldn't be renamed in the online copy, which now has both "${from}" and "${to}". ` + `Your work is safe on this computer. Delete the one you don't want, or try again later.`, { cause: e });
11079
11084
  }
11080
11085
  }
11081
- await git9.renameBranch({ fs: gitFs, dir, ref: to, oldref: from });
11086
+ if (!onlineOnly)
11087
+ await git9.renameBranch({ fs: gitFs, dir, ref: to, oldref: from });
11082
11088
  return { current, name: to };
11083
11089
  });
11084
11090
  }
@@ -11131,9 +11137,12 @@ async function deleteRevision(options) {
11131
11137
  if (name === refs.current) {
11132
11138
  throw new Error(`You're working on "${name}" right now. Switch to another revision first, then delete it.`);
11133
11139
  }
11134
- const tip = localTip(refs, name);
11135
- const everywhere = options.everywhere === true && refs.online.has(name);
11136
- const online = everywhere ? await reachOnline(dir, name, tip, false, options, `"${name}" wasn't deleted`) : null;
11140
+ const onlineOnly = !refs.local.has(name) && refs.online.has(name);
11141
+ const tip = onlineOnly ? refs.online.get(name) : localTip(refs, name);
11142
+ const everywhere = onlineOnly || options.everywhere === true && refs.online.has(name);
11143
+ const unchanged = `"${name}" wasn't deleted`;
11144
+ const catchUp = onlineOnly ? `They arrived after the list was last checked, so ${unchanged}. Try again.` : `Switch to "${name}" and get the latest first, then try again.`;
11145
+ const online = everywhere ? await reachOnline(dir, name, tip, catchUp, options, unchanged) : null;
11137
11146
  if (!options.discard) {
11138
11147
  const others = [
11139
11148
  ...[...refs.local].filter(([n]) => n !== name),
@@ -11144,13 +11153,15 @@ async function deleteRevision(options) {
11144
11153
  return { deleted: false, versionsOnlyHere };
11145
11154
  }
11146
11155
  if (online) {
11156
+ const ref = onlineOnly ? `refs/remotes/${online.transport.remote}/${name}` : `refs/heads/${name}`;
11147
11157
  try {
11148
- await sendRef(dir, online, `refs/heads/${name}`, name, true);
11158
+ await sendRef(dir, online, ref, name, true);
11149
11159
  } catch (e) {
11150
- throw onlineFailure(e, `"${name}" wasn't deleted`);
11160
+ throw onlineFailure(e, unchanged);
11151
11161
  }
11152
11162
  }
11153
- await git9.deleteBranch({ fs: gitFs, dir, ref: name });
11163
+ if (!onlineOnly)
11164
+ await git9.deleteBranch({ fs: gitFs, dir, ref: name });
11154
11165
  return { deleted: true };
11155
11166
  });
11156
11167
  }
@@ -12648,7 +12659,7 @@ async function resolvePublishProvider(id, book) {
12648
12659
  const ext = await bookExtensions(book);
12649
12660
  const npmEntry = ext.extensions.some((c) => !c.path && c.name === id);
12650
12661
  if (npmEntry) {
12651
- const { restoreForCommand: restoreForCommand2 } = await import("./extension-restore-whag4sm0.js");
12662
+ const { restoreForCommand: restoreForCommand2 } = await import("./extension-restore-vghc58vx.js");
12652
12663
  await restoreForCommand2(book.projectDir, { manifestPath: book.manifestPath, failFast: true });
12653
12664
  }
12654
12665
  const publishers = await discover(ext);
@@ -12686,7 +12697,7 @@ function infoFor(p) {
12686
12697
  }
12687
12698
  function pluginProvider(p) {
12688
12699
  let loading;
12689
- const load = () => loading ??= import("./plugins-racab3cj.js").then((m) => m.loadPublishFunction(p));
12700
+ const load = () => loading ??= import("./plugins-3aj0wc5h.js").then((m) => m.loadPublishFunction(p));
12690
12701
  return {
12691
12702
  info: infoFor(p),
12692
12703
  async authenticate() {
package/dist/index.js CHANGED
@@ -119,7 +119,7 @@ import {
119
119
  substituteVariables,
120
120
  syncProject,
121
121
  testRemoteAccess
122
- } from "./index-ejbfetdn.js";
122
+ } from "./index-nfysshcc.js";
123
123
  import {
124
124
  DEFAULT_NPM_REGISTRY,
125
125
  MANIFEST_FILENAMES,
@@ -149,7 +149,7 @@ import {
149
149
  setExtensionEnabled,
150
150
  updateExtensions,
151
151
  validateProjectExtensions
152
- } from "./index-cmakyf43.js";
152
+ } from "./index-hphcn7th.js";
153
153
  import {
154
154
  BUNDLED_EXTENSIONS,
155
155
  EXTENSION_MANIFEST_FILENAME,
@@ -165,7 +165,7 @@ import {
165
165
  pathEscapesFolder,
166
166
  readExtensionMeta,
167
167
  resolveExtension
168
- } from "./index-1zqkfzcd.js";
168
+ } from "./index-fp7xwvpr.js";
169
169
  import"./index-ht1bcqdd.js";
170
170
  import {
171
171
  BUILD_DIAGNOSTIC_CODES
@@ -33,6 +33,8 @@ export interface DeleteRevisionOptions extends OnlineOptions {
33
33
  * 3. rename on this computer — only a local failure is possible here, and it
34
34
  * leaves the online copy renamed and this computer under the old name, still
35
35
  * listed (the new name shows as online-only).
36
+ * A revision kept only in the online copy is renamed there (steps 1 and 2), with
37
+ * the tracking ref (what this computer last heard) standing in for its tip.
36
38
  * Offline or a rejected sign-in: nothing is renamed, anywhere.
37
39
  */
38
40
  export declare function renameRevision(options: RenameRevisionOptions): Promise<{
@@ -44,7 +46,9 @@ export declare function renameRevision(options: RenameRevisionOptions): Promise<
44
46
  * (a copy in the online copy stays, and shows as online-only); `everywhere`
45
47
  * removes it from the online copy first, then here — a failure online leaves
46
48
  * everything as it was, a failure here leaves it removed online and still
47
- * listed on this computer.
49
+ * listed on this computer. A revision kept only in the online copy has nothing
50
+ * here to remove: it is deleted from the online copy, as `everywhere` does, with
51
+ * the tracking ref (what this computer last heard) standing in for its tip.
48
52
  *
49
53
  * Nothing found only in the revision is deleted without a second look: when it
50
54
  * holds versions found in no other revision (and, unless deleted everywhere, not
@@ -3,10 +3,10 @@ import {
3
3
  EXTENSION_KINDS,
4
4
  scaffoldExtension,
5
5
  scaffoldProject
6
- } from "./cli-09jj8w5g.js";
6
+ } from "./cli-3cvq3n1c.js";
7
7
  import {
8
8
  resolveGhostscript
9
- } from "./cli-bnf7eb38.js";
9
+ } from "./cli-mmgtqnmr.js";
10
10
  import"./cli-ht1bcqdd.js";
11
11
  import"./cli-58fsk6d7.js";
12
12
  import"./cli-5crpmz42.js";
@@ -22,15 +22,15 @@ import {
22
22
  TARGET_IDS,
23
23
  loadManifest,
24
24
  resolveConfig
25
- } from "./cli-55br530w.js";
26
- import"./cli-x777v272.js";
27
- import"./cli-tf9tw6at.js";
25
+ } from "./cli-6pv84kf3.js";
26
+ import"./cli-wyg7qstd.js";
27
+ import"./cli-eatdqx3z.js";
28
28
  import {
29
29
  UsageError,
30
30
  rejectExtraPositionals,
31
31
  rejectUnknownFlags
32
32
  } from "./cli-d8xjns66.js";
33
- import"./cli-qzkq9em8.js";
33
+ import"./cli-5ba6bm6z.js";
34
34
  import {
35
35
  EXIT_CODES
36
36
  } from "./cli-46ycxe6r.js";
@@ -8,7 +8,7 @@ import {
8
8
  loadPlugins,
9
9
  loadPluginsWithCss,
10
10
  loadPublishFunction
11
- } from "./index-1zqkfzcd.js";
11
+ } from "./index-fp7xwvpr.js";
12
12
  import"./index-5x42amh8.js";
13
13
  import"./index-37x76zdn.js";
14
14
  export {
@@ -8,9 +8,9 @@ import {
8
8
  loadPlugins,
9
9
  loadPluginsWithCss,
10
10
  loadPublishFunction
11
- } from "./cli-x777v272.js";
12
- import"./cli-tf9tw6at.js";
13
- import"./cli-qzkq9em8.js";
11
+ } from "./cli-wyg7qstd.js";
12
+ import"./cli-eatdqx3z.js";
13
+ import"./cli-5ba6bm6z.js";
14
14
  import"./cli-y28j019d.js";
15
15
  import"./cli-37x76zdn.js";
16
16
  export {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executeValidation,
3
3
  reportMissingTools
4
- } from "./cli-09jj8w5g.js";
5
- import"./cli-bnf7eb38.js";
4
+ } from "./cli-3cvq3n1c.js";
5
+ import"./cli-mmgtqnmr.js";
6
6
  import"./cli-ht1bcqdd.js";
7
7
  import"./cli-58fsk6d7.js";
8
8
  import"./cli-5crpmz42.js";
@@ -12,17 +12,17 @@ import"./cli-31anr0r9.js";
12
12
  import"./cli-v5mp7a6q.js";
13
13
  import {
14
14
  publishTargetFor
15
- } from "./cli-55br530w.js";
16
- import"./cli-x777v272.js";
15
+ } from "./cli-6pv84kf3.js";
16
+ import"./cli-wyg7qstd.js";
17
17
  import {
18
18
  log
19
- } from "./cli-tf9tw6at.js";
19
+ } from "./cli-eatdqx3z.js";
20
20
  import {
21
21
  UsageError,
22
22
  rejectExtraPositionals,
23
23
  rejectUnknownFlags
24
24
  } from "./cli-d8xjns66.js";
25
- import"./cli-qzkq9em8.js";
25
+ import"./cli-5ba6bm6z.js";
26
26
  import {
27
27
  BuildError,
28
28
  EXIT_CODES
@@ -3,8 +3,8 @@ import {
3
3
  runBuild,
4
4
  splitOutPath,
5
5
  startPreviewServer
6
- } from "./cli-09jj8w5g.js";
7
- import"./cli-bnf7eb38.js";
6
+ } from "./cli-3cvq3n1c.js";
7
+ import"./cli-mmgtqnmr.js";
8
8
  import {
9
9
  previewArgs
10
10
  } from "./cli-75qkn0k5.js";
@@ -15,11 +15,11 @@ import"./cli-eyyggect.js";
15
15
  import"./cli-asap4t1z.js";
16
16
  import"./cli-31anr0r9.js";
17
17
  import"./cli-v5mp7a6q.js";
18
- import"./cli-55br530w.js";
19
- import"./cli-x777v272.js";
18
+ import"./cli-6pv84kf3.js";
19
+ import"./cli-wyg7qstd.js";
20
20
  import {
21
21
  log
22
- } from "./cli-tf9tw6at.js";
22
+ } from "./cli-eatdqx3z.js";
23
23
  import {
24
24
  UsageError,
25
25
  parseFormat,
@@ -28,7 +28,7 @@ import {
28
28
  rejectUnknownFlags,
29
29
  resolvePort
30
30
  } from "./cli-d8xjns66.js";
31
- import"./cli-qzkq9em8.js";
31
+ import"./cli-5ba6bm6z.js";
32
32
  import {
33
33
  BuildError
34
34
  } from "./cli-46ycxe6r.js";
@@ -10,10 +10,10 @@ import {
10
10
  resolvePublishFormat,
11
11
  resolvePublishProvider,
12
12
  runPublish
13
- } from "./cli-09jj8w5g.js";
13
+ } from "./cli-3cvq3n1c.js";
14
14
  import {
15
15
  FileTokenStore
16
- } from "./cli-bnf7eb38.js";
16
+ } from "./cli-mmgtqnmr.js";
17
17
  import"./cli-ht1bcqdd.js";
18
18
  import"./cli-58fsk6d7.js";
19
19
  import"./cli-5crpmz42.js";
@@ -23,17 +23,17 @@ import"./cli-31anr0r9.js";
23
23
  import"./cli-v5mp7a6q.js";
24
24
  import {
25
25
  loadManifestWithPath
26
- } from "./cli-55br530w.js";
27
- import"./cli-x777v272.js";
26
+ } from "./cli-6pv84kf3.js";
27
+ import"./cli-wyg7qstd.js";
28
28
  import {
29
29
  log
30
- } from "./cli-tf9tw6at.js";
30
+ } from "./cli-eatdqx3z.js";
31
31
  import {
32
32
  UsageError,
33
33
  rejectExtraPositionals,
34
34
  rejectUnknownFlags
35
35
  } from "./cli-d8xjns66.js";
36
- import"./cli-qzkq9em8.js";
36
+ import"./cli-5ba6bm6z.js";
37
37
  import {
38
38
  BuildError,
39
39
  EXIT_CODES
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAndReport
3
- } from "./cli-09jj8w5g.js";
4
- import"./cli-bnf7eb38.js";
3
+ } from "./cli-3cvq3n1c.js";
4
+ import"./cli-mmgtqnmr.js";
5
5
  import"./cli-ht1bcqdd.js";
6
6
  import"./cli-58fsk6d7.js";
7
7
  import"./cli-5crpmz42.js";
@@ -9,17 +9,17 @@ import"./cli-eyyggect.js";
9
9
  import"./cli-asap4t1z.js";
10
10
  import"./cli-31anr0r9.js";
11
11
  import"./cli-v5mp7a6q.js";
12
- import"./cli-55br530w.js";
13
- import"./cli-x777v272.js";
12
+ import"./cli-6pv84kf3.js";
13
+ import"./cli-wyg7qstd.js";
14
14
  import {
15
15
  log
16
- } from "./cli-tf9tw6at.js";
16
+ } from "./cli-eatdqx3z.js";
17
17
  import {
18
18
  UsageError,
19
19
  rejectExtraPositionals,
20
20
  rejectUnknownFlags
21
21
  } from "./cli-d8xjns66.js";
22
- import"./cli-qzkq9em8.js";
22
+ import"./cli-5ba6bm6z.js";
23
23
  import {
24
24
  BuildError,
25
25
  EXIT_CODES
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gutterpress",
3
- "version": "0.11.23-alpha.6",
3
+ "version": "0.11.23-alpha.7",
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",