@hawkeyexl/manni 2.3.6 → 2.3.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.
- package/README.md +1 -1
- package/dist/{chunk-3TVBXXJD.js → chunk-4YJ4TCKM.js} +2 -2
- package/dist/{chunk-UUXTFBWD.js → chunk-D5FTEP3H.js} +2 -2
- package/dist/{chunk-UUXTFBWD.js.map → chunk-D5FTEP3H.js.map} +1 -1
- package/dist/{chunk-CGE2SVW7.js → chunk-Y2XNDEM6.js} +29 -5
- package/dist/chunk-Y2XNDEM6.js.map +1 -0
- package/dist/cli.js +7 -4
- package/dist/cli.js.map +1 -1
- package/dist/docmeta.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-CGE2SVW7.js.map +0 -1
- /package/dist/{chunk-3TVBXXJD.js.map → chunk-4YJ4TCKM.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-4YJ4TCKM.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-Y2XNDEM6.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-D5FTEP3H.js";
|
|
75
75
|
|
|
76
76
|
// src/cli.ts
|
|
77
77
|
import { Command as Command5 } from "commander";
|
|
@@ -1019,7 +1019,10 @@ function addMessage(result) {
|
|
|
1019
1019
|
const head = `${result.file}: added ${name} to ${where2}`;
|
|
1020
1020
|
if (result.markerLine !== void 0) {
|
|
1021
1021
|
const at = claimLines === void 0 ? "" : `, claim pinned at ${spellAt(claimLines)}`;
|
|
1022
|
-
|
|
1022
|
+
const marked = `${head}; marker at line ${String(result.markerLine)}${at}`;
|
|
1023
|
+
if (claim === void 0) return marked;
|
|
1024
|
+
if (citation.quote === true) return `${marked} (a block that reproduces ${src})`;
|
|
1025
|
+
return `${marked} (${shortPin(claim.integrity)}; source ${pin})`;
|
|
1023
1026
|
}
|
|
1024
1027
|
if (claim === void 0 || claimLines === void 0) {
|
|
1025
1028
|
return `${head} (source ${pin})`;
|