@hawkeyexl/manni 2.10.1 → 2.10.2

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/docmeta.js CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  buildProgram
4
- } from "./chunk-5GVRMS6B.js";
4
+ } from "./chunk-H5ZFSHG2.js";
5
5
  import {
6
6
  runIfMain
7
- } from "./chunk-O2V45AVG.js";
7
+ } from "./chunk-KJLPOY2I.js";
8
8
 
9
9
  // src/docmeta.ts
10
10
  runIfMain(import.meta.url, () => buildProgram().name("docmeta"));
package/dist/index.d.ts CHANGED
@@ -4032,6 +4032,11 @@ interface UpdateOptions extends Omit<CheckOptions, "baseline" | "writeBaseline">
4032
4032
  accept?: boolean;
4033
4033
  only?: string[];
4034
4034
  dryRun?: boolean;
4035
+ /**
4036
+ * Re-record `commit-sha` where the recorded commit does not contain the
4037
+ * pinned lines. Rewrites that one field and nothing else.
4038
+ */
4039
+ recommit?: boolean;
4035
4040
  }
4036
4041
  /**
4037
4042
  * One end `update` rewrote.
@@ -4052,7 +4057,7 @@ interface UpdateRewrite {
4052
4057
  * and the words held while the anchor moved (0053). `status` is what tells
4053
4058
  * those apart. `replaced` is a claim `--accept` refused to re-pin.
4054
4059
  */
4055
- reason: "moved" | "accepted" | "re-anchored" | "shifted" | "replaced";
4060
+ reason: "moved" | "accepted" | "re-anchored" | "shifted" | "replaced" | "recommitted";
4056
4061
  /**
4057
4062
  * The status that was repaired. `replaced` is a claim whose line held
4058
4063
  * wholly other text, accepted because `--only` named it.
@@ -4071,6 +4076,9 @@ interface UpdateRewrite {
4071
4076
  /** An accepted or re-anchored end: its pin, before and after. */
4072
4077
  fromPin?: string;
4073
4078
  toPin?: string;
4079
+ /** A re-committed source: the commit it recorded, and the one it records now. */
4080
+ fromCommit?: string;
4081
+ toCommit?: string;
4074
4082
  /** A re-anchored claim: the span that held, in file lines. */
4075
4083
  lines?: string;
4076
4084
  /** A re-anchored claim: the span now pinned, in file lines. */
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  reencryptMetadata,
6
6
  runKeyRotate,
7
7
  runKeySet
8
- } from "./chunk-HA4CK35M.js";
8
+ } from "./chunk-4HKOQIJL.js";
9
9
  import {
10
10
  BinMissing,
11
11
  COMMON_FORMATS,
@@ -127,7 +127,7 @@ import {
127
127
  valueOf,
128
128
  vendorFileName,
129
129
  writeFileAtomic
130
- } from "./chunk-O2V45AVG.js";
130
+ } from "./chunk-KJLPOY2I.js";
131
131
 
132
132
  // src/key/index.ts
133
133
  var key_exports = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawkeyexl/manni",
3
- "version": "2.10.1",
3
+ "version": "2.10.2",
4
4
  "description": "One command line for documentation that is meant to be checked. `manni meta` validates the presence and format of document metadata (Markdown frontmatter and more) against JSON Schema, built for CI. Formerly docmeta.",
5
5
  "type": "module",
6
6
  "bin": {