@hawkeyexl/manni 2.0.0 → 2.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/README.md +4 -4
- package/dist/{chunk-GGVNTB7W.js → chunk-MV2T7XAW.js} +2 -2
- package/dist/{chunk-XU2QTJQQ.js → chunk-PDNSN5UJ.js} +4 -2
- package/dist/chunk-PDNSN5UJ.js.map +1 -0
- package/dist/{chunk-7ZN43F3Y.js → chunk-QLVNSAHR.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/docmeta.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +3 -1
- package/dist/chunk-XU2QTJQQ.js.map +0 -1
- /package/dist/{chunk-GGVNTB7W.js.map → chunk-MV2T7XAW.js.map} +0 -0
- /package/dist/{chunk-7ZN43F3Y.js.map → chunk-QLVNSAHR.js.map} +0 -0
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ The metadata tool used to be the whole package. Three things changed:
|
|
|
48
48
|
- **The config file.** `manni.config.yaml`, shared by every tool in the
|
|
49
49
|
family, with the metadata tool's keys under `meta:`. A `docmeta.config.yaml`
|
|
50
50
|
is still read, with a warning.
|
|
51
|
-
- **The GitHub Action.** `uses: hawkeyexl/manni@
|
|
51
|
+
- **The GitHub Action.** `uses: hawkeyexl/manni@v2`, same inputs.
|
|
52
52
|
|
|
53
53
|
Everything else is the same: the exit codes, the output formats, the built-in
|
|
54
54
|
schemas and their published URLs (the old `…/docmeta/schemas/` URLs stay
|
|
@@ -78,8 +78,8 @@ On GitHub Actions, use the packaged action. It sets up Node, pins the CLI, and
|
|
|
78
78
|
defaults to inline PR annotations:
|
|
79
79
|
|
|
80
80
|
```yaml
|
|
81
|
-
- uses: actions/checkout@
|
|
82
|
-
- uses: hawkeyexl/manni@
|
|
81
|
+
- uses: actions/checkout@v7
|
|
82
|
+
- uses: hawkeyexl/manni@v2
|
|
83
83
|
with:
|
|
84
84
|
paths: "docs/**/*.md"
|
|
85
85
|
```
|
|
@@ -98,7 +98,7 @@ actually reads rather than hand-written:
|
|
|
98
98
|
```yaml
|
|
99
99
|
repos:
|
|
100
100
|
- repo: https://github.com/hawkeyexl/manni
|
|
101
|
-
rev:
|
|
101
|
+
rev: v2.0.1
|
|
102
102
|
hooks:
|
|
103
103
|
- id: manni-meta
|
|
104
104
|
```
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
supportedExtensions,
|
|
48
48
|
terminalConfirm,
|
|
49
49
|
toJsonText
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-PDNSN5UJ.js";
|
|
51
51
|
|
|
52
52
|
// src/shared/run.ts
|
|
53
53
|
import { realpathSync } from "node:fs";
|
|
@@ -1206,4 +1206,4 @@ export {
|
|
|
1206
1206
|
reportConfig,
|
|
1207
1207
|
buildProgram
|
|
1208
1208
|
};
|
|
1209
|
-
//# sourceMappingURL=chunk-
|
|
1209
|
+
//# sourceMappingURL=chunk-MV2T7XAW.js.map
|
|
@@ -8,7 +8,7 @@ var __export = (target, all) => {
|
|
|
8
8
|
// package.json
|
|
9
9
|
var package_default = {
|
|
10
10
|
name: "@hawkeyexl/manni",
|
|
11
|
-
version: "2.0.
|
|
11
|
+
version: "2.0.1",
|
|
12
12
|
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.",
|
|
13
13
|
type: "module",
|
|
14
14
|
bin: {
|
|
@@ -60,6 +60,8 @@ var package_default = {
|
|
|
60
60
|
"docs:check-api": "node scripts/check-api-reference.mjs",
|
|
61
61
|
"docs:check-links": "node scripts/check-doc-links.mjs",
|
|
62
62
|
"docs:check-tables": "node scripts/check-table-rows.mjs",
|
|
63
|
+
"docs:check-versions": "node scripts/check-versions.mjs",
|
|
64
|
+
"docs:sync-versions": "node scripts/sync-versions.mjs",
|
|
63
65
|
"schemas:sync": "node scripts/sync-builtin-schemas.mjs",
|
|
64
66
|
"schemas:check": "node scripts/check-builtin-schemas.mjs",
|
|
65
67
|
"schemas:check-published": "node scripts/check-published-schemas.mjs",
|
|
@@ -15681,4 +15683,4 @@ export {
|
|
|
15681
15683
|
renderQuery,
|
|
15682
15684
|
renderQueryCsv
|
|
15683
15685
|
};
|
|
15684
|
-
//# sourceMappingURL=chunk-
|
|
15686
|
+
//# sourceMappingURL=chunk-PDNSN5UJ.js.map
|