gutterpress 0.11.23-alpha.4 → 0.11.23-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.d.ts +1 -1
- package/dist/api/index.js +6 -4
- package/dist/{build-c48eer6f.js → build-4qv9wvrx.js} +7 -7
- package/dist/{cli-pspjxnc8.js → cli-2t3krcfy.js} +1 -1
- package/dist/{cli-54xt7pjg.js → cli-58fsk6d7.js} +2 -2
- package/dist/{cli-rqh295j9.js → cli-de8ydmm7.js} +1 -1
- package/dist/{cli-d9mm3vvh.js → cli-nk0efg2x.js} +1 -1
- package/dist/{cli-93mkaw6v.js → cli-pth362d8.js} +51 -21
- package/dist/{cli-y6d1arem.js → cli-w97xcpag.js} +2 -2
- package/dist/{cli-gnpea9dx.js → cli-yxfznmsq.js} +1 -1
- package/dist/cli.js +12 -12
- package/dist/{doctor-ptb346k8.js → doctor-5nh3t346.js} +3 -3
- package/dist/{engine-4rzdx6af.js → engine-4rabsgwq.js} +1 -1
- package/dist/{engine-6txhxmmv.js → engine-wm4fggac.js} +2 -2
- package/dist/{ext-gy8szg3x.js → ext-nhcep6h6.js} +7 -7
- package/dist/{extension-restore-dymzcasz.js → extension-restore-55kp0ksq.js} +2 -2
- package/dist/{extension-restore-m8tj43e7.js → extension-restore-x3mtn844.js} +4 -4
- package/dist/{index-5kh4c78h.js → index-2vxzxyyj.js} +2 -2
- package/dist/{index-8ywkd2sv.js → index-9ye22m7r.js} +1 -1
- package/dist/{index-ea94zbq4.js → index-agrkfbkv.js} +91 -22
- package/dist/{index-kaks3mm2.js → index-t3jkavdz.js} +1 -1
- package/dist/{index-yc3xj266.js → index-wm4x7xbf.js} +1 -1
- package/dist/index.js +7 -5
- package/dist/lib/publish/connect.d.ts +8 -1
- package/dist/lib/publish/manifest-publish.d.ts +26 -2
- package/dist/lib/publish/selections.d.ts +12 -1
- package/dist/lib/publish/types.d.ts +15 -5
- package/dist/{manifest.schema-w86c1xw1.json → manifest.schema-93sd7zje.json} +13 -6
- package/dist/{new-t2t28ccb.js → new-5a4w2vkh.js} +7 -7
- package/dist/{plugins-sqa4msdk.js → plugins-cfzf26b8.js} +3 -3
- package/dist/{plugins-fec8t2bh.js → plugins-mm8270tn.js} +1 -1
- package/dist/{preflight-srq8fktp.js → preflight-jma71n0j.js} +7 -7
- package/dist/{preview-interface-nnmrxyqm.js → preview-interface-0xdh0r5b.js} +3 -66
- package/dist/{preview-zsp9hstd.js → preview-kmx4h7gv.js} +7 -7
- package/dist/{publish-hhy31gr9.js → publish-62843020.js} +7 -7
- package/dist/schema/manifest.types.d.ts +18 -3
- package/dist/{validate-r9jdz85h.js → validate-vvmrd85g.js} +7 -7
- package/package.json +1 -1
package/dist/api/index.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ export { publishConnectionStatus, publishCredentialKey, listPublishAccounts, } f
|
|
|
95
95
|
export type { PublishSavedAccount } from "../lib/publish/types.ts";
|
|
96
96
|
export { PublishSelectionsStore } from "../lib/publish/selections.ts";
|
|
97
97
|
export type { PublishAccountSelection } from "../lib/publish/selections.ts";
|
|
98
|
-
export { readPublishSettings, setPublishProviderConfig, } from "../lib/publish/manifest-publish.ts";
|
|
98
|
+
export { readPublishSettings, savePublishSettings, setPublishProviderConfig, } from "../lib/publish/manifest-publish.ts";
|
|
99
99
|
export type { PublishProvider, PublishProviderId, PublishProviderInfo, PublishProviderKind, PublishConfigField, PublishArtifact, PublishArtifactFormat, PublishAuthStatus, PublishDeps, PublishListingMetadata, PublishOutcome, PublishProduct, PublishProject, PublishRequest, PreflightIssue, CommandRunner, CommandResult, PublishPluginContext, PublishPluginFunction, PublishPluginResult, } from "../lib/publish/types.ts";
|
|
100
100
|
export { resolveLogger } from "../lib/remote-auth/operation-log.ts";
|
|
101
101
|
export type { OperationLogger, LogData } from "../lib/remote-auth/operation-log.ts";
|
package/dist/api/index.js
CHANGED
|
@@ -85,6 +85,7 @@ import {
|
|
|
85
85
|
runPublish,
|
|
86
86
|
sanitizeCloneFolderName,
|
|
87
87
|
saveProjectAsTemplate,
|
|
88
|
+
savePublishSettings,
|
|
88
89
|
saveSnippet,
|
|
89
90
|
scaffoldExtension,
|
|
90
91
|
scaffoldProject,
|
|
@@ -101,7 +102,7 @@ import {
|
|
|
101
102
|
substituteVariables,
|
|
102
103
|
syncProject,
|
|
103
104
|
testRemoteAccess
|
|
104
|
-
} from "../index-
|
|
105
|
+
} from "../index-agrkfbkv.js";
|
|
105
106
|
import {
|
|
106
107
|
DEFAULT_NPM_REGISTRY,
|
|
107
108
|
MANIFEST_FILENAMES,
|
|
@@ -130,7 +131,7 @@ import {
|
|
|
130
131
|
setExtensionEnabled,
|
|
131
132
|
updateExtensions,
|
|
132
133
|
validateProjectExtensions
|
|
133
|
-
} from "../index-
|
|
134
|
+
} from "../index-t3jkavdz.js";
|
|
134
135
|
import {
|
|
135
136
|
BUNDLED_EXTENSIONS,
|
|
136
137
|
EXTENSION_MANIFEST_FILENAME,
|
|
@@ -145,9 +146,9 @@ import {
|
|
|
145
146
|
pathEscapesFolder,
|
|
146
147
|
readExtensionMeta,
|
|
147
148
|
resolveExtension
|
|
148
|
-
} from "../index-
|
|
149
|
+
} from "../index-9ye22m7r.js";
|
|
149
150
|
import"../index-ht1bcqdd.js";
|
|
150
|
-
import"../index-
|
|
151
|
+
import"../index-2vxzxyyj.js";
|
|
151
152
|
import {
|
|
152
153
|
BuildError
|
|
153
154
|
} from "../index-46ycxe6r.js";
|
|
@@ -204,6 +205,7 @@ export {
|
|
|
204
205
|
scaffoldProject,
|
|
205
206
|
scaffoldExtension,
|
|
206
207
|
saveSnippet,
|
|
208
|
+
savePublishSettings,
|
|
207
209
|
saveProjectAsTemplate,
|
|
208
210
|
sanitizeCloneFolderName,
|
|
209
211
|
sameExtension,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runBuild,
|
|
3
3
|
splitOutPath
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-pth362d8.js";
|
|
5
|
+
import"./cli-nk0efg2x.js";
|
|
6
6
|
import"./cli-ht1bcqdd.js";
|
|
7
|
-
import"./cli-
|
|
7
|
+
import"./cli-58fsk6d7.js";
|
|
8
8
|
import"./cli-5crpmz42.js";
|
|
9
9
|
import"./cli-eyyggect.js";
|
|
10
10
|
import"./cli-asap4t1z.js";
|
|
11
11
|
import"./cli-a35w7wzg.js";
|
|
12
12
|
import"./cli-v5mp7a6q.js";
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
13
|
+
import"./cli-w97xcpag.js";
|
|
14
|
+
import"./cli-de8ydmm7.js";
|
|
15
15
|
import {
|
|
16
16
|
log
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-2t3krcfy.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-
|
|
25
|
+
import"./cli-yxfznmsq.js";
|
|
26
26
|
import {
|
|
27
27
|
BuildError
|
|
28
28
|
} from "./cli-46ycxe6r.js";
|
|
@@ -1140,10 +1140,10 @@ import { fileURLToPath } from "node:url";
|
|
|
1140
1140
|
var favicon_default = "./favicon-272ga6y0.ico";
|
|
1141
1141
|
|
|
1142
1142
|
// src/assets/manifest.schema.json
|
|
1143
|
-
var manifest_schema_default = "./manifest.schema-
|
|
1143
|
+
var manifest_schema_default = "./manifest.schema-93sd7zje.json";
|
|
1144
1144
|
|
|
1145
1145
|
// src/assets/preview/scripts/preview-interface.js
|
|
1146
|
-
var preview_interface_default = "./preview-interface-
|
|
1146
|
+
var preview_interface_default = "./preview-interface-0xdh0r5b.js";
|
|
1147
1147
|
|
|
1148
1148
|
// src/assets/preview/scripts/preview-bridge.js
|
|
1149
1149
|
var preview_bridge_default = "./preview-bridge-8wjcjec3.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
stampCreator,
|
|
9
9
|
stripAnnotations,
|
|
10
10
|
transparentPages
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-nk0efg2x.js";
|
|
12
12
|
import {
|
|
13
13
|
blackTextToGray
|
|
14
14
|
} from "./cli-ht1bcqdd.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
MARGIN_BOX_IGNORED_PROPERTIES,
|
|
18
18
|
getAssetPath,
|
|
19
19
|
lastPageMode
|
|
20
|
-
} from "./cli-
|
|
20
|
+
} from "./cli-58fsk6d7.js";
|
|
21
21
|
import {
|
|
22
22
|
countLinkAnnotations,
|
|
23
23
|
getImageResolutions,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
uniqueExtensionId,
|
|
76
76
|
withFetchTimeout,
|
|
77
77
|
writeManifestDoc
|
|
78
|
-
} from "./cli-
|
|
78
|
+
} from "./cli-w97xcpag.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-
|
|
99
|
+
} from "./cli-de8ydmm7.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-
|
|
109
|
+
} from "./cli-2t3krcfy.js";
|
|
110
110
|
import {
|
|
111
111
|
DEBOUNCE,
|
|
112
112
|
UsageError,
|
|
@@ -5056,7 +5056,7 @@ class PdfOutput {
|
|
|
5056
5056
|
const rawPdf = pdfxMode ? path7.join(stage, "raw.pdf") : path7.resolve(pdfFile);
|
|
5057
5057
|
await fsp2.mkdir(path7.dirname(path7.resolve(pdfFile)), { recursive: true });
|
|
5058
5058
|
log.info("Rendering HTML to PDF via the Gutterpress engine (native Chromium pagination)");
|
|
5059
|
-
const { buildNativePdf } = await import("./engine-
|
|
5059
|
+
const { buildNativePdf } = await import("./engine-4rabsgwq.js");
|
|
5060
5060
|
const engineDiagnostics = await buildNativePdf(htmlFile, rawPdf, {
|
|
5061
5061
|
title: config.title,
|
|
5062
5062
|
author: config.authors.length > 0 ? config.authors.join(", ") : undefined,
|
|
@@ -8822,7 +8822,7 @@ function publishProviderFor(id) {
|
|
|
8822
8822
|
}
|
|
8823
8823
|
|
|
8824
8824
|
// src/lib/publish/plugin-provider.ts
|
|
8825
|
-
var RESERVED_SETTINGS = new Set(["format", "credential"]);
|
|
8825
|
+
var RESERVED_SETTINGS = new Set(["format", "credential", "enabled"]);
|
|
8826
8826
|
var isBuiltIn = (id) => listPublishProviders().some((p) => p.id === id);
|
|
8827
8827
|
var messageOf = (e) => e instanceof Error ? e.message : String(e);
|
|
8828
8828
|
async function bookExtensions(book) {
|
|
@@ -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-
|
|
8881
|
+
const { restoreForCommand: restoreForCommand2 } = await import("./extension-restore-x3mtn844.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-
|
|
8919
|
+
const load = () => loading ??= import("./plugins-cfzf26b8.js").then((m) => m.loadPublishFunction(p));
|
|
8920
8920
|
return {
|
|
8921
8921
|
info: infoFor(p),
|
|
8922
8922
|
async authenticate() {
|
|
@@ -8985,7 +8985,10 @@ async function requestFor(provider, options, deps) {
|
|
|
8985
8985
|
const { manifest, manifestDir } = await loadManifestWithPath(options.manifestPath ?? options.projectDir, { explicit: options.manifestPath !== undefined });
|
|
8986
8986
|
const config = resolveConfig({}, manifest);
|
|
8987
8987
|
const publishSettings = manifest.publish ?? {};
|
|
8988
|
-
const providerConfig =
|
|
8988
|
+
const providerConfig = {
|
|
8989
|
+
...publishSettings[provider.info.id] ?? {},
|
|
8990
|
+
...(await deps.selections?.settings(options.projectDir))?.[provider.info.id] ?? {}
|
|
8991
|
+
};
|
|
8989
8992
|
const bookAccount = typeof providerConfig.credential === "string" ? providerConfig.credential.trim() : "";
|
|
8990
8993
|
const effectiveAccount = bookAccount || deps.credentialAccount;
|
|
8991
8994
|
const effectiveDeps = effectiveAccount ? { ...deps, credentialAccount: effectiveAccount } : deps;
|
|
@@ -9162,11 +9165,20 @@ async function connectPublishProvider(options, deps) {
|
|
|
9162
9165
|
label: account || info10.label,
|
|
9163
9166
|
createdAt: Date.now()
|
|
9164
9167
|
};
|
|
9165
|
-
const
|
|
9168
|
+
const shop = (options.shop ?? "").trim();
|
|
9169
|
+
if (!options.projectDir && info10.id === "shopify" && !shop) {
|
|
9170
|
+
throw new Error("Enter your Shopify store's address (like my-store.myshopify.com) to check the key.");
|
|
9171
|
+
}
|
|
9172
|
+
const req = options.projectDir ? await resolvePublishRequest({
|
|
9166
9173
|
projectDir: options.projectDir,
|
|
9167
9174
|
providerId: info10.id,
|
|
9168
9175
|
...options.manifestPath ? { manifestPath: options.manifestPath } : {}
|
|
9169
|
-
}, deps)
|
|
9176
|
+
}, deps) : {
|
|
9177
|
+
project: { projectDir: "", title: "", authors: [] },
|
|
9178
|
+
config: shop ? { shop } : {},
|
|
9179
|
+
artifact: { path: "", format: info10.format },
|
|
9180
|
+
deps
|
|
9181
|
+
};
|
|
9170
9182
|
const trialDeps = {
|
|
9171
9183
|
...deps,
|
|
9172
9184
|
env: {},
|
|
@@ -9354,7 +9366,7 @@ class PublishSelectionsStore {
|
|
|
9354
9366
|
resolve(providerId, projectDir) {
|
|
9355
9367
|
return this.enqueue(async () => {
|
|
9356
9368
|
const data = await this.read();
|
|
9357
|
-
const proj = projectDir ? data.projects[normalizeProjectKey(projectDir)]?.[providerId] : undefined;
|
|
9369
|
+
const proj = projectDir ? data.projects[normalizeProjectKey(projectDir)]?.[providerId]?.credential : undefined;
|
|
9358
9370
|
return proj && proj.trim() || data.global[providerId]?.trim() || undefined;
|
|
9359
9371
|
});
|
|
9360
9372
|
}
|
|
@@ -9362,7 +9374,7 @@ class PublishSelectionsStore {
|
|
|
9362
9374
|
return this.enqueue(async () => {
|
|
9363
9375
|
const data = await this.read();
|
|
9364
9376
|
const global = data.global[providerId];
|
|
9365
|
-
const project = projectDir ? data.projects[normalizeProjectKey(projectDir)]?.[providerId] : undefined;
|
|
9377
|
+
const project = projectDir ? data.projects[normalizeProjectKey(projectDir)]?.[providerId]?.credential : undefined;
|
|
9366
9378
|
return {
|
|
9367
9379
|
...project ? { project } : {},
|
|
9368
9380
|
...global ? { global } : {}
|
|
@@ -9381,17 +9393,35 @@ class PublishSelectionsStore {
|
|
|
9381
9393
|
});
|
|
9382
9394
|
}
|
|
9383
9395
|
setProject(projectDir, providerId, account) {
|
|
9396
|
+
return this.setSettings(projectDir, providerId, { credential: account });
|
|
9397
|
+
}
|
|
9398
|
+
settings(projectDir) {
|
|
9399
|
+
return this.enqueue(async () => {
|
|
9400
|
+
const data = await this.read();
|
|
9401
|
+
return data.projects[normalizeProjectKey(projectDir)] ?? {};
|
|
9402
|
+
});
|
|
9403
|
+
}
|
|
9404
|
+
setSettings(projectDir, providerId, values) {
|
|
9384
9405
|
return this.enqueue(async () => {
|
|
9385
9406
|
const data = await this.read();
|
|
9386
9407
|
const key = normalizeProjectKey(projectDir);
|
|
9387
|
-
const
|
|
9388
|
-
const
|
|
9389
|
-
|
|
9390
|
-
|
|
9408
|
+
const book = data.projects[key] ?? {};
|
|
9409
|
+
const mine = { ...book[providerId] };
|
|
9410
|
+
for (const [k, v] of Object.entries(values)) {
|
|
9411
|
+
const text = (v ?? "").trim();
|
|
9412
|
+
if (text)
|
|
9413
|
+
mine[k] = text;
|
|
9414
|
+
else
|
|
9415
|
+
delete mine[k];
|
|
9416
|
+
}
|
|
9417
|
+
if (JSON.stringify(mine) === JSON.stringify(book[providerId] ?? {}))
|
|
9418
|
+
return;
|
|
9419
|
+
if (Object.keys(mine).length > 0)
|
|
9420
|
+
book[providerId] = mine;
|
|
9391
9421
|
else
|
|
9392
|
-
delete
|
|
9393
|
-
if (Object.keys(
|
|
9394
|
-
data.projects[key] =
|
|
9422
|
+
delete book[providerId];
|
|
9423
|
+
if (Object.keys(book).length > 0)
|
|
9424
|
+
data.projects[key] = book;
|
|
9395
9425
|
else
|
|
9396
9426
|
delete data.projects[key];
|
|
9397
9427
|
await this.write(data);
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
prettify,
|
|
12
12
|
readExtensionMeta,
|
|
13
13
|
slugify
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-de8ydmm7.js";
|
|
15
15
|
import {
|
|
16
16
|
log
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-2t3krcfy.js";
|
|
18
18
|
import {
|
|
19
19
|
UsageError
|
|
20
20
|
} from "./cli-d8xjns66.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "gutterpress",
|
|
4
|
-
version: "0.11.23-alpha.
|
|
4
|
+
version: "0.11.23-alpha.5",
|
|
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",
|
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-
|
|
11
|
+
} from "./cli-yxfznmsq.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-
|
|
24
|
-
preview: () => import("./preview-
|
|
25
|
-
build: () => import("./build-
|
|
26
|
-
publish: () => import("./publish-
|
|
27
|
-
validate: () => import("./validate-
|
|
28
|
-
preflight: () => import("./preflight-
|
|
29
|
-
doctor: () => import("./doctor-
|
|
30
|
-
ext: () => import("./ext-
|
|
23
|
+
new: () => import("./new-5a4w2vkh.js").then((m) => m.default),
|
|
24
|
+
preview: () => import("./preview-kmx4h7gv.js").then((m) => m.default),
|
|
25
|
+
build: () => import("./build-4qv9wvrx.js").then((m) => m.default),
|
|
26
|
+
publish: () => import("./publish-62843020.js").then((m) => m.default),
|
|
27
|
+
validate: () => import("./validate-vvmrd85g.js").then((m) => m.default),
|
|
28
|
+
preflight: () => import("./preflight-jma71n0j.js").then((m) => m.default),
|
|
29
|
+
doctor: () => import("./doctor-5nh3t346.js").then((m) => m.default),
|
|
30
|
+
ext: () => import("./ext-nhcep6h6.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-5a4w2vkh.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-
|
|
67
|
+
const { preflightArgs } = await import("./preflight-jma71n0j.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-
|
|
87
|
+
const { EXT_SUBCOMMANDS, extAddArgs, extRemoveArgs, extEnableArgs, extDisableArgs } = await import("./ext-nhcep6h6.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-
|
|
3
|
+
} from "./cli-nk0efg2x.js";
|
|
4
4
|
import"./cli-5crpmz42.js";
|
|
5
5
|
import"./cli-asap4t1z.js";
|
|
6
6
|
import {
|
|
7
7
|
log
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-2t3krcfy.js";
|
|
9
9
|
import {
|
|
10
10
|
UsageError,
|
|
11
11
|
rejectExtraPositionals,
|
|
12
12
|
rejectUnknownFlags
|
|
13
13
|
} from "./cli-d8xjns66.js";
|
|
14
|
-
import"./cli-
|
|
14
|
+
import"./cli-yxfznmsq.js";
|
|
15
15
|
import"./cli-46ycxe6r.js";
|
|
16
16
|
import"./cli-37x76zdn.js";
|
|
17
17
|
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
importExtensionFromFile,
|
|
3
3
|
importExtensionFromUrl,
|
|
4
4
|
searchNpmExtensions
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
5
|
+
} from "./cli-pth362d8.js";
|
|
6
|
+
import"./cli-nk0efg2x.js";
|
|
7
7
|
import"./cli-ht1bcqdd.js";
|
|
8
|
-
import"./cli-
|
|
8
|
+
import"./cli-58fsk6d7.js";
|
|
9
9
|
import"./cli-5crpmz42.js";
|
|
10
10
|
import"./cli-eyyggect.js";
|
|
11
11
|
import"./cli-asap4t1z.js";
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
removeExtension,
|
|
19
19
|
setExtensionEnabled,
|
|
20
20
|
updateExtensions
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-w97xcpag.js";
|
|
22
22
|
import {
|
|
23
23
|
isPathSpecifier,
|
|
24
24
|
parseExtensionSpecifier
|
|
25
|
-
} from "./cli-
|
|
26
|
-
import"./cli-
|
|
25
|
+
} from "./cli-de8ydmm7.js";
|
|
26
|
+
import"./cli-2t3krcfy.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-
|
|
34
|
+
import"./cli-yxfznmsq.js";
|
|
35
35
|
import {
|
|
36
36
|
EXIT_CODES
|
|
37
37
|
} from "./cli-46ycxe6r.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
restoreForCommand,
|
|
4
4
|
restoreOfflineMessage,
|
|
5
5
|
restorePinnedExtensions
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-t3jkavdz.js";
|
|
7
|
+
import"./index-9ye22m7r.js";
|
|
8
8
|
import"./index-46ycxe6r.js";
|
|
9
9
|
import"./index-5x42amh8.js";
|
|
10
10
|
import"./index-37x76zdn.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
restoreForCommand,
|
|
4
4
|
restoreOfflineMessage,
|
|
5
5
|
restorePinnedExtensions
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
6
|
+
} from "./cli-w97xcpag.js";
|
|
7
|
+
import"./cli-de8ydmm7.js";
|
|
8
|
+
import"./cli-2t3krcfy.js";
|
|
9
9
|
import"./cli-d8xjns66.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-yxfznmsq.js";
|
|
11
11
|
import"./cli-46ycxe6r.js";
|
|
12
12
|
import"./cli-y28j019d.js";
|
|
13
13
|
import"./cli-37x76zdn.js";
|
|
@@ -697,10 +697,10 @@ import { fileURLToPath } from "node:url";
|
|
|
697
697
|
var favicon_default = "./favicon-272ga6y0.ico";
|
|
698
698
|
|
|
699
699
|
// src/assets/manifest.schema.json
|
|
700
|
-
var manifest_schema_default = "./manifest.schema-
|
|
700
|
+
var manifest_schema_default = "./manifest.schema-93sd7zje.json";
|
|
701
701
|
|
|
702
702
|
// src/assets/preview/scripts/preview-interface.js
|
|
703
|
-
var preview_interface_default = "./preview-interface-
|
|
703
|
+
var preview_interface_default = "./preview-interface-0xdh0r5b.js";
|
|
704
704
|
|
|
705
705
|
// src/assets/preview/scripts/preview-bridge.js
|
|
706
706
|
var preview_bridge_default = "./preview-bridge-8wjcjec3.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.
|
|
401
|
+
version: "0.11.23-alpha.5",
|
|
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",
|