@hawkeyexl/manni 2.3.0 → 2.3.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 +1 -1
- package/dist/{chunk-ZWPVZUJI.js → chunk-CD3LHG26.js} +98 -15
- package/dist/chunk-CD3LHG26.js.map +1 -0
- package/dist/{chunk-7QVYG66K.js → chunk-ESOEJTV2.js} +2 -2
- package/dist/{chunk-UCLMW3RE.js → chunk-HUHERW7E.js} +2 -2
- package/dist/{chunk-UCLMW3RE.js.map → chunk-HUHERW7E.js.map} +1 -1
- package/dist/cli.js +5 -5
- package/dist/cli.js.map +1 -1
- package/dist/docmeta.js +2 -2
- package/dist/index.d.ts +7 -4
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-ZWPVZUJI.js.map +0 -1
- /package/dist/{chunk-7QVYG66K.js.map → chunk-ESOEJTV2.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
readStdin,
|
|
8
8
|
reportConfig,
|
|
9
9
|
splitList
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ESOEJTV2.js";
|
|
11
11
|
import {
|
|
12
12
|
CiteError,
|
|
13
13
|
KeyError,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
shortPin,
|
|
33
33
|
shortSrc,
|
|
34
34
|
spellSource
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-CD3LHG26.js";
|
|
36
36
|
import {
|
|
37
37
|
COMMON_FORMAT_LIST,
|
|
38
38
|
OMITTED_WHEN_CLEAN,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
splitPageArgument,
|
|
72
72
|
terminalConfirm,
|
|
73
73
|
valeConfigPath
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-HUHERW7E.js";
|
|
75
75
|
|
|
76
76
|
// src/cli.ts
|
|
77
77
|
import { Command as Command5 } from "commander";
|
|
@@ -1018,7 +1018,7 @@ function addMessage(result) {
|
|
|
1018
1018
|
const where2 = result.manifest === void 0 ? "frontmatter" : `${result.manifest.file}:${String(result.manifest.line)}`;
|
|
1019
1019
|
const head = `${result.file}: added ${name} to ${where2}`;
|
|
1020
1020
|
if (result.markerLine !== void 0) {
|
|
1021
|
-
const at = claimLines === void 0 ? "" : `, claim pinned at
|
|
1021
|
+
const at = claimLines === void 0 ? "" : `, claim pinned at ${spellAt(claimLines)}`;
|
|
1022
1022
|
return `${head}; marker at line ${String(result.markerLine)}${at}`;
|
|
1023
1023
|
}
|
|
1024
1024
|
if (claim === void 0 || claimLines === void 0) {
|
|
@@ -1141,7 +1141,7 @@ function buildProgram3() {
|
|
|
1141
1141
|
).argument(
|
|
1142
1142
|
"<src>",
|
|
1143
1143
|
"path, path:L or path:L1-L2 relative to --root, or an encrypted ~source with the same line forms"
|
|
1144
|
-
).option("--id <id>", "kebab-case id, unique on the page; required with --marker").option("--marker", "write a cite <id> marker above the page lines and pin the text it anchors").option("--quote", "the page lines are a fenced block that reproduces the source").option(
|
|
1144
|
+
).option("--id <id>", "kebab-case id, unique on the page; required with --marker").option("--marker", "write a cite <id> marker above the paragraph holding the page lines and pin the text it anchors").option("--quote", "the page lines are a fenced block that reproduces the source").option(
|
|
1145
1145
|
"--encrypt",
|
|
1146
1146
|
"write source.file encrypted, with an hmac-sha256- pin; with no key, offer to create one (an available key encrypts without the flag)"
|
|
1147
1147
|
).option("--no-commit-sha", "do not record HEAD").option("--dry-run", "print the diff; write nothing").option("--as <format>", "force the page format").option("--root <dir>", "directory source paths resolve from (as check)").option("-c, --config <path>", "path to a manni config file").option("--no-config", "ignore any discovered config file").addHelpText(
|