@hawkeyexl/manni 2.3.1 → 2.3.3

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/cli.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  readStdin,
8
8
  reportConfig,
9
9
  splitList
10
- } from "./chunk-ESOEJTV2.js";
10
+ } from "./chunk-AUWNPYWA.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-CD3LHG26.js";
35
+ } from "./chunk-2I5U4HXR.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-HUHERW7E.js";
74
+ } from "./chunk-SN5CEVX7.js";
75
75
 
76
76
  // src/cli.ts
77
77
  import { Command as Command5 } from "commander";
@@ -1765,8 +1765,9 @@ function checkTermSet(set, opts = {}) {
1765
1765
  }
1766
1766
  const sharing = /* @__PURE__ */ new Map();
1767
1767
  for (const t of terms) {
1768
- const group = sharing.get(t.id);
1769
- if (group === void 0) sharing.set(t.id, [t]);
1768
+ const id = fold(t.id);
1769
+ const group = sharing.get(id);
1770
+ if (group === void 0) sharing.set(id, [t]);
1770
1771
  else group.push(t);
1771
1772
  }
1772
1773
  for (const group of sharing.values()) {
@@ -5309,7 +5310,7 @@ async function coreOptions(paths, options) {
5309
5310
  };
5310
5311
  }
5311
5312
  function withInputs(command) {
5312
- return command.option("--as <format>", "input format for stdin (-)").option("--ext <list>", "comma-separated extensions for directory walks").option("--exclude <glob>", "glob to exclude; repeatable", collect, []).option("--collection <name>", "configured collection to read; repeatable", collect, []).option("--allow-empty", "treat zero matched files as success").option("--no-gitignore", "read files .gitignore covers").option("-c, --config <path>", "path to a manni config file").option("--no-color", "disable colored output");
5313
+ return command.option("--as <format>", "input format for stdin (-)").option("--ext <list>", "comma-separated extensions for directory walks").option("--exclude <glob>", "glob to exclude; repeatable", collect, []).option("--collection <name>", "configured collection to read; repeatable", collect, []).option("--allow-empty", "treat a missing path, no matched files or no terms as success").option("--no-gitignore", "read files .gitignore covers").option("-c, --config <path>", "path to a manni config file").option("--no-color", "disable colored output");
5313
5314
  }
5314
5315
  function print(text2) {
5315
5316
  process.stdout.write(`${text2}