@hawkeyexl/manni 0.3.0 → 1.0.1
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/{chunk-BKJOQHWN.js → chunk-FL75S2L4.js} +38 -3
- package/dist/chunk-FL75S2L4.js.map +1 -0
- package/dist/{chunk-7M2YOXVG.js → chunk-IRHWILCO.js} +1130 -784
- package/dist/chunk-IRHWILCO.js.map +1 -0
- package/dist/cli.js +71 -11
- package/dist/cli.js.map +1 -1
- package/dist/docmeta.js +2 -2
- package/dist/index.d.ts +275 -115
- package/dist/index.js +31 -23
- package/package.json +1 -1
- package/dist/chunk-7M2YOXVG.js.map +0 -1
- package/dist/chunk-BKJOQHWN.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -5,6 +5,11 @@ import {
|
|
|
5
5
|
DEFAULT_TTL_HOURS,
|
|
6
6
|
DEFAULT_VENDOR_DIR,
|
|
7
7
|
DocmetaError,
|
|
8
|
+
EXTERNAL_DUPLICATE_SCHEMA,
|
|
9
|
+
EXTERNAL_KEYWORD,
|
|
10
|
+
EXTERNAL_METADATA_FETCH_MAX_BYTES,
|
|
11
|
+
EXTERNAL_METADATA_FETCH_TIMEOUT_MS,
|
|
12
|
+
EXTERNAL_OWNED_SCHEMA,
|
|
8
13
|
FILL_FORMATS,
|
|
9
14
|
INTEGRITY_SHAPE,
|
|
10
15
|
PATH_JOIN,
|
|
@@ -12,37 +17,38 @@ import {
|
|
|
12
17
|
REPORT_FORMATS,
|
|
13
18
|
SCHEMA_CACHE_DIR,
|
|
14
19
|
SCHEMA_CACHE_VERSION,
|
|
15
|
-
SIDECAR_DUPLICATE_SCHEMA,
|
|
16
|
-
SIDECAR_FETCH_MAX_BYTES,
|
|
17
|
-
SIDECAR_FETCH_TIMEOUT_MS,
|
|
18
|
-
SIDECAR_KEYWORD,
|
|
19
|
-
SIDECAR_OWNED_SCHEMA,
|
|
20
20
|
SchemaCache,
|
|
21
21
|
Validator,
|
|
22
22
|
applyFrontmatter,
|
|
23
23
|
classifyRef,
|
|
24
24
|
collectSchemaPins,
|
|
25
|
+
externalMetadataJoin,
|
|
26
|
+
externalMetadataPointer,
|
|
27
|
+
externalMetadataUrlProblem,
|
|
25
28
|
extractFrontmatter,
|
|
26
29
|
extractorForExtension,
|
|
30
|
+
fetchExternalMetadata,
|
|
27
31
|
fetchSchemaBytes,
|
|
28
|
-
fetchSidecar,
|
|
29
32
|
frontmatterInnerText,
|
|
30
33
|
getSchemasInfo,
|
|
31
34
|
integrityOf,
|
|
32
35
|
isCommonFormat,
|
|
33
36
|
isFillFormat,
|
|
34
37
|
isIntegrity,
|
|
38
|
+
isMember,
|
|
35
39
|
isQueryFormat,
|
|
36
40
|
isReportFormat,
|
|
37
41
|
listBuiltins,
|
|
38
42
|
loadConfig,
|
|
43
|
+
loadExternalMetadata,
|
|
39
44
|
loadSchema,
|
|
40
|
-
loadSidecars,
|
|
41
45
|
locateFrontmatter,
|
|
42
|
-
|
|
46
|
+
memberOf,
|
|
47
|
+
mergeExternalMetadata,
|
|
43
48
|
orphanEntries,
|
|
44
49
|
orphanError,
|
|
45
50
|
orphanJoins,
|
|
51
|
+
parseCollections,
|
|
46
52
|
parseConfig,
|
|
47
53
|
rebaseConfigSchemaRefs,
|
|
48
54
|
render,
|
|
@@ -63,20 +69,23 @@ import {
|
|
|
63
69
|
schemaCacheDir,
|
|
64
70
|
schemaEntryRef,
|
|
65
71
|
schemaLoadOptions,
|
|
66
|
-
|
|
67
|
-
sidecarPointer,
|
|
68
|
-
sidecarUrlProblem,
|
|
72
|
+
selectCollections,
|
|
69
73
|
stringifyValue,
|
|
70
74
|
supportedExtensions,
|
|
71
75
|
vendorFileName,
|
|
72
76
|
writeFileAtomic
|
|
73
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-IRHWILCO.js";
|
|
74
78
|
export {
|
|
75
79
|
COMMON_FORMATS,
|
|
76
80
|
DEFAULT_SCHEMAS,
|
|
77
81
|
DEFAULT_TTL_HOURS,
|
|
78
82
|
DEFAULT_VENDOR_DIR,
|
|
79
83
|
DocmetaError,
|
|
84
|
+
EXTERNAL_DUPLICATE_SCHEMA,
|
|
85
|
+
EXTERNAL_KEYWORD,
|
|
86
|
+
EXTERNAL_METADATA_FETCH_MAX_BYTES,
|
|
87
|
+
EXTERNAL_METADATA_FETCH_TIMEOUT_MS,
|
|
88
|
+
EXTERNAL_OWNED_SCHEMA,
|
|
80
89
|
FILL_FORMATS,
|
|
81
90
|
INTEGRITY_SHAPE,
|
|
82
91
|
PATH_JOIN,
|
|
@@ -84,37 +93,38 @@ export {
|
|
|
84
93
|
REPORT_FORMATS,
|
|
85
94
|
SCHEMA_CACHE_DIR,
|
|
86
95
|
SCHEMA_CACHE_VERSION,
|
|
87
|
-
SIDECAR_DUPLICATE_SCHEMA,
|
|
88
|
-
SIDECAR_FETCH_MAX_BYTES,
|
|
89
|
-
SIDECAR_FETCH_TIMEOUT_MS,
|
|
90
|
-
SIDECAR_KEYWORD,
|
|
91
|
-
SIDECAR_OWNED_SCHEMA,
|
|
92
96
|
SchemaCache,
|
|
93
97
|
Validator,
|
|
94
98
|
applyFrontmatter,
|
|
95
99
|
classifyRef,
|
|
96
100
|
collectSchemaPins,
|
|
101
|
+
externalMetadataJoin,
|
|
102
|
+
externalMetadataPointer,
|
|
103
|
+
externalMetadataUrlProblem,
|
|
97
104
|
extractFrontmatter,
|
|
98
105
|
extractorForExtension,
|
|
106
|
+
fetchExternalMetadata,
|
|
99
107
|
fetchSchemaBytes,
|
|
100
|
-
fetchSidecar,
|
|
101
108
|
frontmatterInnerText,
|
|
102
109
|
getSchemasInfo,
|
|
103
110
|
integrityOf,
|
|
104
111
|
isCommonFormat,
|
|
105
112
|
isFillFormat,
|
|
106
113
|
isIntegrity,
|
|
114
|
+
isMember,
|
|
107
115
|
isQueryFormat,
|
|
108
116
|
isReportFormat,
|
|
109
117
|
listBuiltins,
|
|
110
118
|
loadConfig,
|
|
119
|
+
loadExternalMetadata,
|
|
111
120
|
loadSchema,
|
|
112
|
-
loadSidecars,
|
|
113
121
|
locateFrontmatter,
|
|
114
|
-
|
|
122
|
+
memberOf,
|
|
123
|
+
mergeExternalMetadata,
|
|
115
124
|
orphanEntries,
|
|
116
125
|
orphanError,
|
|
117
126
|
orphanJoins,
|
|
127
|
+
parseCollections,
|
|
118
128
|
parseConfig,
|
|
119
129
|
rebaseConfigSchemaRefs,
|
|
120
130
|
render,
|
|
@@ -135,9 +145,7 @@ export {
|
|
|
135
145
|
schemaCacheDir,
|
|
136
146
|
schemaEntryRef,
|
|
137
147
|
schemaLoadOptions,
|
|
138
|
-
|
|
139
|
-
sidecarPointer,
|
|
140
|
-
sidecarUrlProblem,
|
|
148
|
+
selectCollections,
|
|
141
149
|
stringifyValue,
|
|
142
150
|
supportedExtensions,
|
|
143
151
|
vendorFileName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hawkeyexl/manni",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
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": {
|