@hawkeyexl/manni 2.3.8 → 2.3.9
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-L73SKPCW.js → chunk-HOLRWVCO.js} +2 -2
- package/dist/{chunk-EYD2RYKV.js → chunk-LC4H35XX.js} +11 -12
- package/dist/chunk-LC4H35XX.js.map +1 -0
- package/dist/{chunk-TIZE6GXU.js → chunk-YSI2VNKE.js} +14 -8
- package/dist/chunk-YSI2VNKE.js.map +1 -0
- package/dist/cli.js +105 -38
- package/dist/cli.js.map +1 -1
- package/dist/docmeta.js +2 -2
- package/dist/index.d.ts +18 -6
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-EYD2RYKV.js.map +0 -1
- package/dist/chunk-TIZE6GXU.js.map +0 -1
- /package/dist/{chunk-L73SKPCW.js.map → chunk-HOLRWVCO.js.map} +0 -0
package/dist/docmeta.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
buildProgram
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HOLRWVCO.js";
|
|
5
5
|
import {
|
|
6
6
|
runIfMain
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LC4H35XX.js";
|
|
8
8
|
|
|
9
9
|
// src/docmeta.ts
|
|
10
10
|
runIfMain(import.meta.url, () => buildProgram().name("docmeta"));
|
package/dist/index.d.ts
CHANGED
|
@@ -1077,7 +1077,10 @@ interface RunConfigOptions {
|
|
|
1077
1077
|
noConfig?: boolean;
|
|
1078
1078
|
/**
|
|
1079
1079
|
* Positional inputs; empty means fall back to the configured collections'
|
|
1080
|
-
* `paths:` (proposal 0041).
|
|
1080
|
+
* `paths:` (proposal 0041). The stdin token `-` cancels that implicit
|
|
1081
|
+
* fallback like any other input, but never an explicit `--collection`:
|
|
1082
|
+
* stdin is no path, so it rides beside the flag and the named collection is
|
|
1083
|
+
* still resolved.
|
|
1081
1084
|
*/
|
|
1082
1085
|
inputs: string[];
|
|
1083
1086
|
/**
|
|
@@ -1094,7 +1097,8 @@ interface RunConfig {
|
|
|
1094
1097
|
config: DocmetaConfig | null;
|
|
1095
1098
|
/**
|
|
1096
1099
|
* What to resolve: the positional inputs, or the selected collections'
|
|
1097
|
-
* `paths
|
|
1100
|
+
* `paths:` concatenated in declaration order — with the stdin token, when
|
|
1101
|
+
* `--collection` put both in one run, kept at the front.
|
|
1098
1102
|
*/
|
|
1099
1103
|
inputs: string[];
|
|
1100
1104
|
/**
|
|
@@ -1105,7 +1109,9 @@ interface RunConfig {
|
|
|
1105
1109
|
* both, so there is exactly one base per run and no ambiguity about which it
|
|
1106
1110
|
* is. Positional paths are typed by a person standing in a shell, so they
|
|
1107
1111
|
* stay relative to the working directory; a collection's globs were written
|
|
1108
|
-
* next to the config, so they resolve from there.
|
|
1112
|
+
* next to the config, so they resolve from there. Stdin decides nothing
|
|
1113
|
+
* here: it is no path, so it needs no base of its own, and a `-` beside
|
|
1114
|
+
* `--collection` leaves the base to the collections.
|
|
1109
1115
|
*/
|
|
1110
1116
|
base: string;
|
|
1111
1117
|
/**
|
|
@@ -1155,9 +1161,10 @@ interface RunConfig {
|
|
|
1155
1161
|
*/
|
|
1156
1162
|
declaredCollections: CollectionConfig[];
|
|
1157
1163
|
/**
|
|
1158
|
-
* Whether `inputs`
|
|
1164
|
+
* Whether the collections supplied `inputs` rather than the command line.
|
|
1159
1165
|
* The corpus invariant every scoped check reads: a positional path means the
|
|
1160
|
-
* operator chose part of the corpus.
|
|
1166
|
+
* operator chose part of the corpus. True whenever `--collection` named one,
|
|
1167
|
+
* stdin beside it included.
|
|
1161
1168
|
*/
|
|
1162
1169
|
fromCollections: boolean;
|
|
1163
1170
|
/**
|
|
@@ -4646,7 +4653,12 @@ interface CiteRunOptions {
|
|
|
4646
4653
|
configPath?: string;
|
|
4647
4654
|
/** `--no-config`: skip discovery and run on the built-in defaults. */
|
|
4648
4655
|
noConfig?: boolean;
|
|
4649
|
-
/**
|
|
4656
|
+
/**
|
|
4657
|
+
* Positional inputs; empty means fall back to the selected collections'
|
|
4658
|
+
* `paths:`. The stdin token `-` cancels that implicit fallback like any
|
|
4659
|
+
* other input, but never an explicit `--collection`: stdin is no path, so
|
|
4660
|
+
* it rides beside the flag and the named collection is still resolved.
|
|
4661
|
+
*/
|
|
4650
4662
|
inputs: string[];
|
|
4651
4663
|
/**
|
|
4652
4664
|
* `--collection <name>`, repeatable: the collections this run covers. Empty
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
reencryptMetadata,
|
|
6
6
|
runKeyRotate,
|
|
7
7
|
runKeySet
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YSI2VNKE.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-
|
|
130
|
+
} from "./chunk-LC4H35XX.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.3.
|
|
3
|
+
"version": "2.3.9",
|
|
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": {
|