gutterpress 0.10.0-alpha.3 → 0.10.0-alpha.4
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/{audit-xxegv0t0.js → audit-k1vnfwvc.js} +4 -4
- package/dist/{build-w0vb6mgq.js → build-hqmwgvdw.js} +4 -4
- package/dist/{cli-f4rcbt2t.js → cli-0r0tq16s.js} +1 -1
- package/dist/{cli-yp3p0sf2.js → cli-hp9r2pzt.js} +1 -1
- package/dist/{cli-5czby0dd.js → cli-n25qycwz.js} +4 -4
- package/dist/{cli-gk3wsdpb.js → cli-ra0ed2xt.js} +1 -1
- package/dist/cli.js +15 -15
- package/dist/{doctor-ctgn1dnt.js → doctor-dxms7ehm.js} +2 -2
- package/dist/{engine-eng4xh2q.js → engine-wa7y9av9.js} +1 -1
- package/dist/{engine-q5skhgms.js → engine-z4p9sr4h.js} +2 -2
- package/dist/{index-s416qpdv.js → index-05y3dnxq.js} +3 -3
- package/dist/{index-mvehxh0e.js → index-9tyq9kks.js} +1 -1
- package/dist/{index-a4kr77td.js → index-xxg4zfrg.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{lint-gsh6qwrq.js → lint-xjwm5ep8.js} +4 -4
- package/dist/{new-nkhycqy4.js → new-kwdwpf0j.js} +4 -4
- package/dist/{plugin-129wcs93.js → plugin-rg4tnn96.js} +4 -4
- package/dist/{preflight-41hcejg9.js → preflight-3127y25z.js} +4 -4
- package/dist/{preview-interface-fnqb2y4v.js → preview-interface-435cczt5.js} +44 -0
- package/dist/{preview-pftsvr9z.js → preview-ncgfhqmw.js} +4 -4
- package/dist/{publish-dnjvb4jg.js → publish-pr0rwh6p.js} +4 -4
- package/dist/{repair-a3enjttn.js → repair-8270smfw.js} +4 -4
- package/dist/{validate-ph1xffqy.js → validate-54e17rae.js} +4 -4
- package/package.json +1 -1
package/dist/api/index.js
CHANGED
|
@@ -122,12 +122,12 @@ import {
|
|
|
122
122
|
validateProjectPlugins,
|
|
123
123
|
verifyRepoReadable,
|
|
124
124
|
writeAppHeartbeat
|
|
125
|
-
} from "../index-
|
|
125
|
+
} from "../index-05y3dnxq.js";
|
|
126
126
|
import {
|
|
127
127
|
BuildError,
|
|
128
128
|
DEFAULT_PRINT_OPTS,
|
|
129
129
|
readyProbeExpr
|
|
130
|
-
} from "../index-
|
|
130
|
+
} from "../index-9tyq9kks.js";
|
|
131
131
|
import {
|
|
132
132
|
AUTO_SNAPSHOT_MESSAGE,
|
|
133
133
|
HISTORY_PAGE_LIMIT,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executeAndReport
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-n25qycwz.js";
|
|
4
4
|
import {
|
|
5
5
|
log
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-ra0ed2xt.js";
|
|
7
7
|
import {
|
|
8
8
|
UsageError,
|
|
9
9
|
rejectExtraPositionals,
|
|
10
10
|
rejectUnknownFlags
|
|
11
|
-
} from "./cli-
|
|
12
|
-
import"./cli-
|
|
11
|
+
} from "./cli-0r0tq16s.js";
|
|
12
|
+
import"./cli-hp9r2pzt.js";
|
|
13
13
|
import"./cli-c41yr7he.js";
|
|
14
14
|
import {
|
|
15
15
|
EXIT_CODES
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runBuild,
|
|
3
3
|
splitOutPath
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-n25qycwz.js";
|
|
5
5
|
import {
|
|
6
6
|
log
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-ra0ed2xt.js";
|
|
8
8
|
import {
|
|
9
9
|
UsageError,
|
|
10
10
|
parseEngine,
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
parsePdfxFlavor,
|
|
13
13
|
rejectExtraPositionals,
|
|
14
14
|
rejectUnknownFlags
|
|
15
|
-
} from "./cli-
|
|
16
|
-
import"./cli-
|
|
15
|
+
} from "./cli-0r0tq16s.js";
|
|
16
|
+
import"./cli-hp9r2pzt.js";
|
|
17
17
|
import"./cli-c41yr7he.js";
|
|
18
18
|
import {
|
|
19
19
|
BuildError
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "gutterpress",
|
|
7
|
-
version: "0.10.0-alpha.
|
|
7
|
+
version: "0.10.0-alpha.4",
|
|
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",
|
|
@@ -1340,7 +1340,7 @@ var favicon_default = "./favicon-wkbm9cjn.ico";
|
|
|
1340
1340
|
var manifest_schema_default = "./manifest.schema-zxgxnbg7.json";
|
|
1341
1341
|
|
|
1342
1342
|
// src/assets/preview/scripts/preview-interface.js
|
|
1343
|
-
var preview_interface_default = "./preview-interface-
|
|
1343
|
+
var preview_interface_default = "./preview-interface-435cczt5.js";
|
|
1344
1344
|
|
|
1345
1345
|
// src/assets/preview/scripts/preview-bridge.js
|
|
1346
1346
|
var preview_bridge_default = "./preview-bridge-fz7vpk8m.js";
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
stampCreator,
|
|
16
16
|
stripAnnotations,
|
|
17
17
|
warn
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-ra0ed2xt.js";
|
|
19
19
|
import {
|
|
20
20
|
DEBOUNCE,
|
|
21
21
|
UsageError,
|
|
22
22
|
resolvePort
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-0r0tq16s.js";
|
|
24
24
|
import {
|
|
25
25
|
RENDER_TIMEOUT_MS,
|
|
26
26
|
REQUIRED_MILESTONE,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
getAssetPath,
|
|
29
29
|
getBrowser,
|
|
30
30
|
prewarmBrowser
|
|
31
|
-
} from "./cli-
|
|
31
|
+
} from "./cli-hp9r2pzt.js";
|
|
32
32
|
import {
|
|
33
33
|
INSTALL_HINTS,
|
|
34
34
|
execCapture,
|
|
@@ -7363,7 +7363,7 @@ class PdfOutput {
|
|
|
7363
7363
|
const rawPdf = pdfxMode ? path7.join(stage, "raw.pdf") : path7.resolve(pdfFile);
|
|
7364
7364
|
await fsp2.mkdir(path7.dirname(path7.resolve(pdfFile)), { recursive: true });
|
|
7365
7365
|
log.info("Rendering HTML to PDF via the Gutterpress engine (native Chromium pagination)");
|
|
7366
|
-
const { buildNativePdf } = await import("./engine-
|
|
7366
|
+
const { buildNativePdf } = await import("./engine-wa7y9av9.js");
|
|
7367
7367
|
const engineDiagnostics = await buildNativePdf(htmlFile, rawPdf, {
|
|
7368
7368
|
title: config.title,
|
|
7369
7369
|
author: config.authors.length > 0 ? config.authors.join(", ") : undefined,
|
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-0r0tq16s.js";
|
|
10
10
|
import {
|
|
11
11
|
EXIT_CODES
|
|
12
12
|
} from "./cli-46ycxe6r.js";
|
|
@@ -18,17 +18,17 @@ 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
|
-
repair: () => import("./repair-
|
|
30
|
-
doctor: () => import("./doctor-
|
|
31
|
-
plugin: () => import("./plugin-
|
|
21
|
+
new: () => import("./new-kwdwpf0j.js").then((m) => m.default),
|
|
22
|
+
preview: () => import("./preview-ncgfhqmw.js").then((m) => m.default),
|
|
23
|
+
build: () => import("./build-hqmwgvdw.js").then((m) => m.default),
|
|
24
|
+
publish: () => import("./publish-pr0rwh6p.js").then((m) => m.default),
|
|
25
|
+
lint: () => import("./lint-xjwm5ep8.js").then((m) => m.default),
|
|
26
|
+
validate: () => import("./validate-54e17rae.js").then((m) => m.default),
|
|
27
|
+
audit: () => import("./audit-k1vnfwvc.js").then((m) => m.default),
|
|
28
|
+
preflight: () => import("./preflight-3127y25z.js").then((m) => m.default),
|
|
29
|
+
repair: () => import("./repair-8270smfw.js").then((m) => m.default),
|
|
30
|
+
doctor: () => import("./doctor-dxms7ehm.js").then((m) => m.default),
|
|
31
|
+
plugin: () => import("./plugin-rg4tnn96.js").then((m) => m.default)
|
|
32
32
|
};
|
|
33
33
|
var VERSION = package_default.version;
|
|
34
34
|
var main = defineCommand({
|
|
@@ -53,7 +53,7 @@ async function preflightRequiredInvocations(rawArgs) {
|
|
|
53
53
|
const [command, ...commandArgs] = rawArgs;
|
|
54
54
|
try {
|
|
55
55
|
if (command === "new") {
|
|
56
|
-
const { newArgs } = await import("./new-
|
|
56
|
+
const { newArgs } = await import("./new-kwdwpf0j.js");
|
|
57
57
|
rejectUnknownFlags(commandArgs, newArgs, "new");
|
|
58
58
|
const parsed2 = parseArgs(commandArgs, {
|
|
59
59
|
...newArgs,
|
|
@@ -65,7 +65,7 @@ async function preflightRequiredInvocations(rawArgs) {
|
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
67
67
|
if (command === "preflight") {
|
|
68
|
-
const { preflightArgs } = await import("./preflight-
|
|
68
|
+
const { preflightArgs } = await import("./preflight-3127y25z.js");
|
|
69
69
|
rejectUnknownFlags(commandArgs, preflightArgs, "preflight");
|
|
70
70
|
const parsed2 = parseArgs(commandArgs, {
|
|
71
71
|
...preflightArgs,
|
|
@@ -89,7 +89,7 @@ async function preflightRequiredInvocations(rawArgs) {
|
|
|
89
89
|
if (subcommand !== "add") {
|
|
90
90
|
throw new UsageError(`gutterpress plugin: unknown command "${subcommand}"`);
|
|
91
91
|
}
|
|
92
|
-
const { pluginAddArgs } = await import("./plugin-
|
|
92
|
+
const { pluginAddArgs } = await import("./plugin-rg4tnn96.js");
|
|
93
93
|
rejectUnknownFlags(subcommandArgs, pluginAddArgs, "plugin add");
|
|
94
94
|
const parsed = parseArgs(subcommandArgs, {
|
|
95
95
|
...pluginAddArgs,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSystemDiagnostics,
|
|
3
3
|
log
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-ra0ed2xt.js";
|
|
5
5
|
import {
|
|
6
6
|
UsageError,
|
|
7
7
|
rejectExtraPositionals,
|
|
8
8
|
rejectUnknownFlags
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-0r0tq16s.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-xxg4zfrg.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-9tyq9kks.js";
|
|
11
11
|
import"./index-37x76zdn.js";
|
|
12
12
|
|
|
13
13
|
// src/lib/engine.ts
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
resolveChromiumExecutable,
|
|
17
17
|
run,
|
|
18
18
|
spawnCapture
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-9tyq9kks.js";
|
|
20
20
|
import {
|
|
21
21
|
gitDirFor,
|
|
22
22
|
gitScopeFor,
|
|
@@ -3873,7 +3873,7 @@ import git from "isomorphic-git";
|
|
|
3873
3873
|
// package.json
|
|
3874
3874
|
var package_default = {
|
|
3875
3875
|
name: "gutterpress",
|
|
3876
|
-
version: "0.10.0-alpha.
|
|
3876
|
+
version: "0.10.0-alpha.4",
|
|
3877
3877
|
description: "Markdown-to-PDF converter for professional print layout using a native Chromium print engine and Ghostscript.",
|
|
3878
3878
|
author: "itlackey",
|
|
3879
3879
|
license: "MPL-2.0",
|
|
@@ -7827,7 +7827,7 @@ class PdfOutput {
|
|
|
7827
7827
|
const rawPdf = pdfxMode ? path7.join(stage, "raw.pdf") : path7.resolve(pdfFile);
|
|
7828
7828
|
await fsp2.mkdir(path7.dirname(path7.resolve(pdfFile)), { recursive: true });
|
|
7829
7829
|
log.info("Rendering HTML to PDF via the Gutterpress engine (native Chromium pagination)");
|
|
7830
|
-
const { buildNativePdf } = await import("./engine-
|
|
7830
|
+
const { buildNativePdf } = await import("./engine-z4p9sr4h.js");
|
|
7831
7831
|
const engineDiagnostics = await buildNativePdf(htmlFile, rawPdf, {
|
|
7832
7832
|
title: config.title,
|
|
7833
7833
|
author: config.authors.length > 0 ? config.authors.join(", ") : undefined,
|
|
@@ -596,7 +596,7 @@ var favicon_default = "./favicon-wkbm9cjn.ico";
|
|
|
596
596
|
var manifest_schema_default = "./manifest.schema-zxgxnbg7.json";
|
|
597
597
|
|
|
598
598
|
// src/assets/preview/scripts/preview-interface.js
|
|
599
|
-
var preview_interface_default = "./preview-interface-
|
|
599
|
+
var preview_interface_default = "./preview-interface-435cczt5.js";
|
|
600
600
|
|
|
601
601
|
// src/assets/preview/scripts/preview-bridge.js
|
|
602
602
|
var preview_bridge_default = "./preview-bridge-fz7vpk8m.js";
|
package/dist/index.js
CHANGED
|
@@ -140,15 +140,15 @@ import {
|
|
|
140
140
|
validateProjectPlugins,
|
|
141
141
|
verifyRepoReadable,
|
|
142
142
|
writeAppHeartbeat
|
|
143
|
-
} from "./index-
|
|
143
|
+
} from "./index-05y3dnxq.js";
|
|
144
144
|
import {
|
|
145
145
|
BUILD_DIAGNOSTIC_CODES
|
|
146
|
-
} from "./index-
|
|
146
|
+
} from "./index-xxg4zfrg.js";
|
|
147
147
|
import {
|
|
148
148
|
BuildError,
|
|
149
149
|
DEFAULT_PRINT_OPTS,
|
|
150
150
|
readyProbeExpr
|
|
151
|
-
} from "./index-
|
|
151
|
+
} from "./index-9tyq9kks.js";
|
|
152
152
|
import {
|
|
153
153
|
AUTO_SNAPSHOT_MESSAGE,
|
|
154
154
|
HISTORY_PAGE_LIMIT,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MANIFEST_FILENAMES,
|
|
3
3
|
runLint
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-n25qycwz.js";
|
|
5
5
|
import {
|
|
6
6
|
log
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-ra0ed2xt.js";
|
|
8
8
|
import {
|
|
9
9
|
UsageError,
|
|
10
10
|
rejectExtraPositionals,
|
|
11
11
|
rejectUnknownFlags
|
|
12
|
-
} from "./cli-
|
|
13
|
-
import"./cli-
|
|
12
|
+
} from "./cli-0r0tq16s.js";
|
|
13
|
+
import"./cli-hp9r2pzt.js";
|
|
14
14
|
import"./cli-c41yr7he.js";
|
|
15
15
|
import {
|
|
16
16
|
EXIT_CODES
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
TARGETS,
|
|
6
6
|
TARGET_IDS,
|
|
7
7
|
scaffoldProject
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-n25qycwz.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveGhostscript
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-ra0ed2xt.js";
|
|
12
12
|
import {
|
|
13
13
|
UsageError,
|
|
14
14
|
rejectExtraPositionals,
|
|
15
15
|
rejectUnknownFlags
|
|
16
|
-
} from "./cli-
|
|
17
|
-
import"./cli-
|
|
16
|
+
} from "./cli-0r0tq16s.js";
|
|
17
|
+
import"./cli-hp9r2pzt.js";
|
|
18
18
|
import {
|
|
19
19
|
isToolAvailable
|
|
20
20
|
} from "./cli-c41yr7he.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addNpmPlugin,
|
|
3
3
|
parseNpmPluginSpec
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-n25qycwz.js";
|
|
5
|
+
import"./cli-ra0ed2xt.js";
|
|
6
6
|
import {
|
|
7
7
|
UsageError,
|
|
8
8
|
rejectExtraPositionals,
|
|
9
9
|
rejectUnknownFlags
|
|
10
|
-
} from "./cli-
|
|
11
|
-
import"./cli-
|
|
10
|
+
} from "./cli-0r0tq16s.js";
|
|
11
|
+
import"./cli-hp9r2pzt.js";
|
|
12
12
|
import"./cli-c41yr7he.js";
|
|
13
13
|
import {
|
|
14
14
|
EXIT_CODES
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
executeValidation,
|
|
3
3
|
publishTargetFor,
|
|
4
4
|
reportMissingTools
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-n25qycwz.js";
|
|
6
6
|
import {
|
|
7
7
|
log
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-ra0ed2xt.js";
|
|
9
9
|
import {
|
|
10
10
|
UsageError,
|
|
11
11
|
rejectExtraPositionals,
|
|
12
12
|
rejectUnknownFlags
|
|
13
|
-
} from "./cli-
|
|
14
|
-
import"./cli-
|
|
13
|
+
} from "./cli-0r0tq16s.js";
|
|
14
|
+
import"./cli-hp9r2pzt.js";
|
|
15
15
|
import"./cli-c41yr7he.js";
|
|
16
16
|
import {
|
|
17
17
|
EXIT_CODES
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
var ignoreScrollUntil = 0;
|
|
22
22
|
var lastSourceLine = -1;
|
|
23
23
|
var lastSourceChapter = null;
|
|
24
|
+
// Find-in-book state (see previewAPI.find below).
|
|
25
|
+
var findQuery = '';
|
|
26
|
+
var findTotal = 0;
|
|
24
27
|
|
|
25
28
|
function refreshPages() {
|
|
26
29
|
pages = Array.from(document.querySelectorAll('.gp-sheet')).sort(function (a, b) {
|
|
@@ -846,6 +849,47 @@
|
|
|
846
849
|
return { count: els.length };
|
|
847
850
|
},
|
|
848
851
|
|
|
852
|
+
// ── Find in book (the app's Ctrl+F) ─────────────────────────────────
|
|
853
|
+
// window.find() runs inside THIS frame, so it can only ever match book
|
|
854
|
+
// content — never the app's toolbar chrome or the editor. Each call with
|
|
855
|
+
// the same query advances the native selection (wrapping at the ends)
|
|
856
|
+
// and Chromium scrolls the match into view; a NEW query restarts from
|
|
857
|
+
// the top and counts total occurrences once (case-insensitive).
|
|
858
|
+
find: function (query, backwards) {
|
|
859
|
+
query = String(query == null ? '' : query);
|
|
860
|
+
if (!query) return api.clearFind();
|
|
861
|
+
if (query !== findQuery) {
|
|
862
|
+
findQuery = query;
|
|
863
|
+
var text = (document.body.textContent || '').toLowerCase();
|
|
864
|
+
var needle = query.toLowerCase();
|
|
865
|
+
findTotal = 0;
|
|
866
|
+
var idx = 0;
|
|
867
|
+
while (findTotal < 10000) {
|
|
868
|
+
idx = text.indexOf(needle, idx);
|
|
869
|
+
if (idx === -1) break;
|
|
870
|
+
findTotal++;
|
|
871
|
+
idx += needle.length;
|
|
872
|
+
}
|
|
873
|
+
var sel = window.getSelection();
|
|
874
|
+
if (sel) sel.removeAllRanges();
|
|
875
|
+
}
|
|
876
|
+
var found = false;
|
|
877
|
+
try {
|
|
878
|
+
found = window.find(query, false, !!backwards, true, false, false, false);
|
|
879
|
+
} catch (_e) {
|
|
880
|
+
found = false;
|
|
881
|
+
}
|
|
882
|
+
return { found: !!found, total: findTotal };
|
|
883
|
+
},
|
|
884
|
+
|
|
885
|
+
clearFind: function () {
|
|
886
|
+
findQuery = '';
|
|
887
|
+
findTotal = 0;
|
|
888
|
+
var sel = window.getSelection();
|
|
889
|
+
if (sel) sel.removeAllRanges();
|
|
890
|
+
return { found: false, total: 0 };
|
|
891
|
+
},
|
|
892
|
+
|
|
849
893
|
clearHighlights: function (group) {
|
|
850
894
|
var sel = group ? '.gutterpress-hl[data-gutterpress-hl-group="' + group + '"]' : '.gutterpress-hl';
|
|
851
895
|
var els = Array.from(document.querySelectorAll(sel));
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
runBuild,
|
|
7
7
|
splitOutPath,
|
|
8
8
|
startPreviewServer
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-n25qycwz.js";
|
|
10
10
|
import {
|
|
11
11
|
log
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-ra0ed2xt.js";
|
|
13
13
|
import {
|
|
14
14
|
UsageError,
|
|
15
15
|
parseEngine,
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
rejectExtraPositionals,
|
|
19
19
|
rejectUnknownFlags,
|
|
20
20
|
resolvePort
|
|
21
|
-
} from "./cli-
|
|
22
|
-
import"./cli-
|
|
21
|
+
} from "./cli-0r0tq16s.js";
|
|
22
|
+
import"./cli-hp9r2pzt.js";
|
|
23
23
|
import"./cli-c41yr7he.js";
|
|
24
24
|
import {
|
|
25
25
|
BuildError
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
publishCredentialKey,
|
|
8
8
|
publishProviderFor,
|
|
9
9
|
runPublish
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-n25qycwz.js";
|
|
11
11
|
import {
|
|
12
12
|
FileTokenStore,
|
|
13
13
|
log
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-ra0ed2xt.js";
|
|
15
15
|
import {
|
|
16
16
|
UsageError,
|
|
17
17
|
rejectExtraPositionals,
|
|
18
18
|
rejectUnknownFlags
|
|
19
|
-
} from "./cli-
|
|
20
|
-
import"./cli-
|
|
19
|
+
} from "./cli-0r0tq16s.js";
|
|
20
|
+
import"./cli-hp9r2pzt.js";
|
|
21
21
|
import"./cli-c41yr7he.js";
|
|
22
22
|
import {
|
|
23
23
|
EXIT_CODES
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
isUnbornRepo,
|
|
6
6
|
repairRepo,
|
|
7
7
|
verifyRepoReadable
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-n25qycwz.js";
|
|
9
9
|
import {
|
|
10
10
|
FileTokenStore,
|
|
11
11
|
defaultConfigDir
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-ra0ed2xt.js";
|
|
13
13
|
import {
|
|
14
14
|
UsageError,
|
|
15
15
|
rejectExtraPositionals,
|
|
16
16
|
rejectUnknownFlags
|
|
17
|
-
} from "./cli-
|
|
18
|
-
import"./cli-
|
|
17
|
+
} from "./cli-0r0tq16s.js";
|
|
18
|
+
import"./cli-hp9r2pzt.js";
|
|
19
19
|
import"./cli-c41yr7he.js";
|
|
20
20
|
import"./cli-46ycxe6r.js";
|
|
21
21
|
import"./cli-k1065rkg.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executeAndReport
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-n25qycwz.js";
|
|
4
4
|
import {
|
|
5
5
|
log
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-ra0ed2xt.js";
|
|
7
7
|
import {
|
|
8
8
|
UsageError,
|
|
9
9
|
rejectExtraPositionals,
|
|
10
10
|
rejectUnknownFlags
|
|
11
|
-
} from "./cli-
|
|
12
|
-
import"./cli-
|
|
11
|
+
} from "./cli-0r0tq16s.js";
|
|
12
|
+
import"./cli-hp9r2pzt.js";
|
|
13
13
|
import"./cli-c41yr7he.js";
|
|
14
14
|
import {
|
|
15
15
|
EXIT_CODES
|
package/package.json
CHANGED