@forumulate/cli 0.22.4 → 0.23.0
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/CHANGELOG.md +57 -0
- package/dist/api/operations.json +1 -1
- package/dist/content-lint.d.ts +25 -0
- package/dist/content-lint.d.ts.map +1 -0
- package/dist/content-lint.js +91 -0
- package/dist/content-lint.js.map +1 -0
- package/dist/help-commands.d.ts.map +1 -1
- package/dist/help-commands.js +2 -0
- package/dist/help-commands.js.map +1 -1
- package/dist/help.d.ts +1 -1
- package/dist/help.d.ts.map +1 -1
- package/dist/help.js +3 -1
- package/dist/help.js.map +1 -1
- package/dist/known-flags.js +1 -1
- package/dist/known-flags.js.map +1 -1
- package/dist/plan/command.d.ts +2 -0
- package/dist/plan/command.d.ts.map +1 -1
- package/dist/plan/command.js +12 -0
- package/dist/plan/command.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +6 -1
- package/dist/run.js.map +1 -1
- package/dist/validate.d.ts +2 -1
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +22 -6
- package/dist/validate.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/dist/validate.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { Http } from './api/http';
|
|
|
12
12
|
* CLI carrying a second copy of every schema. No token needed.
|
|
13
13
|
*/
|
|
14
14
|
export declare const SCHEMA_VERSION = "2026-12-01";
|
|
15
|
-
export declare const VALIDATE_HELP = "forumulate validate \u2014 check a folder's configuration against the published schemas\n\nUsage:\n forumulate validate [dir] [--json]\n\nChecks forumulate.yaml, every Markdown file's front matter, and any JSON or YAML\nfile whose \"$schema\" names https://forumulate.com/schemas/2026-12-01/<name>.json\n(site-config, space-theme, forumulate-yaml, front-matter, forum-category).\nEach problem is printed with its file, key path and did-you-mean. Unknown\nfront matter keys are warnings (they are ignored on publish); everything else\nis an error.\n\nExit status:\n 0 ok 1 failed (verification mismatch, doctor FAIL)\n 2 usage 3 auth (no token, 401, token not allowed)\n 4 not found 5 conflict (409/412, edited in the studio since your last publish or apply)\n 6 outdated: this CLI is older than the oldest the API supports (upgrade it)\n 9 not ours: Node refuses a missing --env-file before the CLI starts (use --vars-file)\n 124 --wait timed out (the job keeps running; with --wait, a failed job is 1)\n (validate: 0 when every document is valid, 2 when one is not)";
|
|
15
|
+
export declare const VALIDATE_HELP = "forumulate validate \u2014 check a folder's configuration against the published schemas\n\nUsage:\n forumulate validate [dir] [--json] [--forbid TODO,[Owner:,lorem ipsum | none]\n forumulate lint [dir] \u2026 (the same command)\n\nChecks forumulate.yaml, every Markdown file's front matter, and any JSON or YAML\nfile whose \"$schema\" names https://forumulate.com/schemas/2026-12-01/<name>.json\n(site-config, space-theme, forumulate-yaml, front-matter, forum-category).\nEach problem is printed with its file, key path and did-you-mean. Unknown\nfront matter keys are warnings (they are ignored on publish); everything else\nis an error.\n\nMarkdown pages are also linted here, with no network: a relative link must name\na file in the folder, a forbidden string (default TODO, [Owner:, lorem ipsum;\n--forbid sets the list, --forbid none turns it off) is an error, and a heading\nthat skips a level is a warning. Code blocks are skipped. plan --check runs the\nsame lint over the manifest's folder.\n\nExit status:\n 0 ok 1 failed (verification mismatch, doctor FAIL)\n 2 usage 3 auth (no token, 401, token not allowed)\n 4 not found 5 conflict (409/412, edited in the studio since your last publish or apply)\n 6 outdated: this CLI is older than the oldest the API supports (upgrade it)\n 9 not ours: Node refuses a missing --env-file before the CLI starts (use --vars-file)\n 124 --wait timed out (the job keeps running; with --wait, a failed job is 1)\n (validate: 0 when every document is valid, 2 when one is not)";
|
|
16
16
|
export interface ValidateDeps {
|
|
17
17
|
out: (line: string) => void;
|
|
18
18
|
err: (line: string) => void;
|
|
@@ -32,6 +32,7 @@ interface Doc {
|
|
|
32
32
|
document: unknown;
|
|
33
33
|
source: string;
|
|
34
34
|
}
|
|
35
|
+
export declare function walk(dir: string, out?: string[]): string[];
|
|
35
36
|
/** The documents a folder holds, each with the schema it is checked against. */
|
|
36
37
|
export declare function collectDocuments(root: string, files: NonNullable<ValidateDeps['files']>, problems: string[]): Doc[];
|
|
37
38
|
export declare function runValidateCommand(argv: string[], deps: ValidateDeps): Promise<number>;
|
package/dist/validate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../src/validate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../src/validate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAQlC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,eAAe,CAAC;AAO3C,eAAO,MAAM,aAAa,miDAoBsC,CAAC;AAEjE,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5B,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,KAAK,CAAC,EAAE;QACN,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;QAChC,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;KAChC,CAAC;CACH;AAED,UAAU,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AASD,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,GAAE,MAAM,EAAO,GAAG,MAAM,EAAE,CAS9D;AAED,gFAAgF;AAChF,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,EACzC,QAAQ,EAAE,MAAM,EAAE,GACjB,GAAG,EAAE,CA6BP;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,CAwE5F"}
|
package/dist/validate.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VALIDATE_HELP = exports.SCHEMA_VERSION = void 0;
|
|
4
|
+
exports.walk = walk;
|
|
4
5
|
exports.collectDocuments = collectDocuments;
|
|
5
6
|
exports.runValidateCommand = runValidateCommand;
|
|
6
7
|
const node_fs_1 = require("node:fs");
|
|
@@ -12,6 +13,7 @@ const credentials_1 = require("./credentials");
|
|
|
12
13
|
const exit_codes_1 = require("./exit-codes");
|
|
13
14
|
const reserved_1 = require("./publish/reserved");
|
|
14
15
|
const frontmatter_1 = require("./publish/frontmatter");
|
|
16
|
+
const content_lint_1 = require("./content-lint");
|
|
15
17
|
/**
|
|
16
18
|
* `forumulate validate <dir>` (FMU-D11): check a folder's configuration
|
|
17
19
|
* against the published schemas before publishing it.
|
|
@@ -33,7 +35,8 @@ const BATCH = 400;
|
|
|
33
35
|
exports.VALIDATE_HELP = `forumulate validate — check a folder's configuration against the published schemas
|
|
34
36
|
|
|
35
37
|
Usage:
|
|
36
|
-
forumulate validate [dir] [--json]
|
|
38
|
+
forumulate validate [dir] [--json] [--forbid TODO,[Owner:,lorem ipsum | none]
|
|
39
|
+
forumulate lint [dir] … (the same command)
|
|
37
40
|
|
|
38
41
|
Checks forumulate.yaml, every Markdown file's front matter, and any JSON or YAML
|
|
39
42
|
file whose "$schema" names https://forumulate.com/schemas/${exports.SCHEMA_VERSION}/<name>.json
|
|
@@ -42,6 +45,12 @@ Each problem is printed with its file, key path and did-you-mean. Unknown
|
|
|
42
45
|
front matter keys are warnings (they are ignored on publish); everything else
|
|
43
46
|
is an error.
|
|
44
47
|
|
|
48
|
+
Markdown pages are also linted here, with no network: a relative link must name
|
|
49
|
+
a file in the folder, a forbidden string (default TODO, [Owner:, lorem ipsum;
|
|
50
|
+
--forbid sets the list, --forbid none turns it off) is an error, and a heading
|
|
51
|
+
that skips a level is a warning. Code blocks are skipped. plan --check runs the
|
|
52
|
+
same lint over the manifest's folder.
|
|
53
|
+
|
|
45
54
|
${exit_codes_1.EXIT_CODES_HELP}
|
|
46
55
|
(validate: 0 when every document is valid, 2 when one is not)`;
|
|
47
56
|
function walk(dir, out = []) {
|
|
@@ -101,9 +110,10 @@ async function runValidateCommand(argv, deps) {
|
|
|
101
110
|
return exit_codes_1.EXIT.OK;
|
|
102
111
|
}
|
|
103
112
|
const json = argv.includes('--json');
|
|
104
|
-
const
|
|
113
|
+
const forbidAt = argv.indexOf('--forbid');
|
|
114
|
+
const positionals = argv.filter((a, i) => !a.startsWith('--') && !(forbidAt >= 0 && i === forbidAt + 1));
|
|
105
115
|
if (positionals.length > 1) {
|
|
106
|
-
deps.err('Usage: forumulate validate [dir] [--json]');
|
|
116
|
+
deps.err('Usage: forumulate validate [dir] [--json] [--forbid a,b|none]');
|
|
107
117
|
return exit_codes_1.EXIT.USAGE;
|
|
108
118
|
}
|
|
109
119
|
const root = (0, node_path_1.resolve)(positionals[0] ?? '.');
|
|
@@ -113,8 +123,11 @@ async function runValidateCommand(argv, deps) {
|
|
|
113
123
|
};
|
|
114
124
|
const problems = [];
|
|
115
125
|
let docs;
|
|
126
|
+
let lint;
|
|
116
127
|
try {
|
|
117
|
-
|
|
128
|
+
const listed = files.list(root);
|
|
129
|
+
lint = (0, content_lint_1.lintContent)(root, listed, files.read, (0, content_lint_1.forbiddenFromArgv)(argv));
|
|
130
|
+
docs = collectDocuments(root, { ...files, list: () => listed }, problems);
|
|
118
131
|
}
|
|
119
132
|
catch (e) {
|
|
120
133
|
deps.err(`Cannot read ${root}: ${e.message}`);
|
|
@@ -143,13 +156,16 @@ async function runValidateCommand(argv, deps) {
|
|
|
143
156
|
deps.err(`Validation failed: ${e.message}`);
|
|
144
157
|
return (0, exit_codes_1.exitCodeForError)(e);
|
|
145
158
|
}
|
|
146
|
-
const
|
|
159
|
+
const lintErrors = lint.filter((i) => i.severity === 'error').length;
|
|
160
|
+
const invalid = results.filter((r) => !r.valid).length + problems.length + lintErrors;
|
|
147
161
|
if (json) {
|
|
148
|
-
deps.out(JSON.stringify({ root, checked: results.length, invalid, problems, results }, null, 2));
|
|
162
|
+
deps.out(JSON.stringify({ root, checked: results.length, invalid, problems, results, lint }, null, 2));
|
|
149
163
|
}
|
|
150
164
|
else {
|
|
151
165
|
for (const p of problems)
|
|
152
166
|
deps.out(`ERROR ${p}`);
|
|
167
|
+
for (const i of lint)
|
|
168
|
+
deps.out(`${i.severity === 'error' ? 'ERROR ' : 'WARNING'} ${i.source}:${i.line}: ${i.message}`);
|
|
153
169
|
for (const r of results)
|
|
154
170
|
for (const i of r.issues) {
|
|
155
171
|
const where = `${r.source ?? r.schema}${i.path ? ` ${i.path}` : ''}`;
|
package/dist/validate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../src/validate.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../src/validate.ts"],"names":[],"mappings":";;;AAgFA,oBASC;AAGD,4CAiCC;AAED,gDAwEC;AAvMD,qCAA8D;AAC9D,yCAA6D;AAC7D,+BAA0C;AAC1C,qCAAkC;AAClC,yCAA4C;AAC5C,+CAA6C;AAC7C,6CAAuE;AACvE,iDAAoD;AACpD,uDAAmD;AACnD,iDAAgF;AAEhF;;;;;;;;;;;GAWG;AACU,QAAA,cAAc,GAAG,YAAY,C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,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;gBACrE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,KAAK,KAAK,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;gBACtF,IAAI,CAAC,CAAC,IAAI;oBAAE,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;YAC7C,CAAC;QACH,IAAI,CAAC,GAAG,CACN,GAAG,OAAO,CAAC,MAAM,yBAAyB,OAAO,UAAU;YACzD,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,2DAA2D,CAAC,CAAC,CAAC,EAAE,CAAC;YACtF,GAAG,CACN,CAAC;IACJ,CAAC;IACD,OAAO,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,iBAAI,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAI,CAAC,EAAE,CAAC;AAC5C,CAAC"}
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forumulate/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "Command-line interface for Forumulate — manage orgs, spaces, docs, and search from your terminal.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://forumulate.com/guides",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"yaml": "^2.6.1",
|
|
34
|
-
"@forumulate/sdk": "0.
|
|
34
|
+
"@forumulate/sdk": "0.14.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^22.9.0",
|