@hawkeyexl/manni 2.10.1 → 2.11.0
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-O2V45AVG.js → chunk-BUXVMARH.js} +856 -452
- package/dist/chunk-BUXVMARH.js.map +1 -0
- package/dist/{chunk-5GVRMS6B.js → chunk-V5NTFMUD.js} +2 -2
- package/dist/{chunk-HA4CK35M.js → chunk-VYFRHPCL.js} +210 -45
- package/dist/chunk-VYFRHPCL.js.map +1 -0
- package/dist/cli.js +10 -5
- package/dist/cli.js.map +1 -1
- package/dist/docmeta.js +2 -2
- package/dist/index.d.ts +66 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-HA4CK35M.js.map +0 -1
- package/dist/chunk-O2V45AVG.js.map +0 -1
- /package/dist/{chunk-5GVRMS6B.js.map → chunk-V5NTFMUD.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-V5NTFMUD.js";
|
|
11
11
|
import {
|
|
12
12
|
CiteError,
|
|
13
13
|
KeyError,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
shortPin,
|
|
41
41
|
shortSrc,
|
|
42
42
|
spellSource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-VYFRHPCL.js";
|
|
44
44
|
import {
|
|
45
45
|
COMMON_FORMAT_LIST,
|
|
46
46
|
FAMILY_CONFIG_NAMES,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
splitPageArgument,
|
|
81
81
|
terminalConfirm,
|
|
82
82
|
valeConfigPath
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-BUXVMARH.js";
|
|
84
84
|
|
|
85
85
|
// src/cli.ts
|
|
86
86
|
import { Command as Command5 } from "commander";
|
|
@@ -1410,7 +1410,10 @@ function buildProgram3() {
|
|
|
1410
1410
|
"configured collection to run over; repeatable",
|
|
1411
1411
|
collect,
|
|
1412
1412
|
[]
|
|
1413
|
-
).option("--ext <list>", "comma-separated extensions for directory walks").option("--exclude <glob>", "glob to exclude; repeatable", collect, []).option("--as <format>", "force an input format for every input").option("-c, --config <path>", "path to a manni config file").option("--no-config", "ignore any discovered config file").option("--allow-empty", "treat zero matched files as success").option("--no-gitignore", "update files .gitignore covers").option("--no-check-sources", "refused: update needs the sources").option("--root <dir>", "directory src: paths resolve from (as check)").option("--accept", "re-mint changed and never-true entries at HEAD; prints old and new pins").option(
|
|
1413
|
+
).option("--ext <list>", "comma-separated extensions for directory walks").option("--exclude <glob>", "glob to exclude; repeatable", collect, []).option("--as <format>", "force an input format for every input").option("-c, --config <path>", "path to a manni config file").option("--no-config", "ignore any discovered config file").option("--allow-empty", "treat zero matched files as success").option("--no-gitignore", "update files .gitignore covers").option("--no-check-sources", "refused: update needs the sources").option("--root <dir>", "directory src: paths resolve from (as check)").option("--accept", "re-mint changed and never-true entries at HEAD; prints old and new pins").option(
|
|
1414
|
+
"--recommit",
|
|
1415
|
+
"re-record commit-sha where the recorded commit does not contain the pinned lines"
|
|
1416
|
+
).option("--only <id>", "limit to entries with this id; repeatable", collect, []).option("--dry-run", "print the diffs; write nothing").option(
|
|
1414
1417
|
"-f, --format <format>",
|
|
1415
1418
|
`output: ${UPDATE_FORMATS.join(" | ")}`,
|
|
1416
1419
|
"pretty"
|
|
@@ -1421,7 +1424,8 @@ function buildProgram3() {
|
|
|
1421
1424
|
"Examples:",
|
|
1422
1425
|
" manni cite update docs/ # rewrite moved entries",
|
|
1423
1426
|
" manni cite update --accept --only fetch-timeout docs/limits.md",
|
|
1424
|
-
" manni cite update --dry-run docs/ # see the diffs first"
|
|
1427
|
+
" manni cite update --dry-run docs/ # see the diffs first",
|
|
1428
|
+
" manni cite update --recommit docs/ # repair unsupported commit-sha"
|
|
1425
1429
|
].join("\n")
|
|
1426
1430
|
).action(async (paths, options, command) => {
|
|
1427
1431
|
try {
|
|
@@ -1456,6 +1460,7 @@ function buildProgram3() {
|
|
|
1456
1460
|
onNotice: notice,
|
|
1457
1461
|
root: options.root,
|
|
1458
1462
|
accept: options.accept ? true : void 0,
|
|
1463
|
+
recommit: options.recommit ? true : void 0,
|
|
1459
1464
|
only: options.only.length > 0 ? options.only : void 0,
|
|
1460
1465
|
dryRun
|
|
1461
1466
|
});
|