@forumulate/cli 0.11.1 → 0.12.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.
Files changed (70) hide show
  1. package/dist/api/operations.json +1 -1
  2. package/dist/check/markdown-links.js +1 -1
  3. package/dist/check/markdown-links.js.map +1 -1
  4. package/dist/commands/groups-api.d.ts.map +1 -1
  5. package/dist/commands/groups-api.js +12 -0
  6. package/dist/commands/groups-api.js.map +1 -1
  7. package/dist/plan/command.d.ts.map +1 -1
  8. package/dist/plan/command.js +24 -1
  9. package/dist/plan/command.js.map +1 -1
  10. package/dist/plan/document.d.ts +50 -2
  11. package/dist/plan/document.d.ts.map +1 -1
  12. package/dist/plan/document.js +50 -6
  13. package/dist/plan/document.js.map +1 -1
  14. package/dist/plan/markdown-dir.d.ts +5 -0
  15. package/dist/plan/markdown-dir.d.ts.map +1 -1
  16. package/dist/plan/markdown-dir.js +1 -0
  17. package/dist/plan/markdown-dir.js.map +1 -1
  18. package/dist/plan/output.d.ts.map +1 -1
  19. package/dist/plan/output.js +22 -0
  20. package/dist/plan/output.js.map +1 -1
  21. package/dist/plan/posts-files.d.ts +16 -0
  22. package/dist/plan/posts-files.d.ts.map +1 -0
  23. package/dist/plan/posts-files.js +168 -0
  24. package/dist/plan/posts-files.js.map +1 -0
  25. package/dist/publish/api.d.ts +2 -0
  26. package/dist/publish/api.d.ts.map +1 -1
  27. package/dist/publish/api.js +7 -0
  28. package/dist/publish/api.js.map +1 -1
  29. package/dist/publish/client.d.ts +7 -0
  30. package/dist/publish/client.d.ts.map +1 -1
  31. package/dist/publish/client.js +15 -0
  32. package/dist/publish/client.js.map +1 -1
  33. package/dist/publish/command.d.ts +1 -1
  34. package/dist/publish/command.d.ts.map +1 -1
  35. package/dist/publish/command.js +3 -3
  36. package/dist/publish/command.js.map +1 -1
  37. package/dist/publish/compare.d.ts +9 -0
  38. package/dist/publish/compare.d.ts.map +1 -1
  39. package/dist/publish/compare.js +16 -0
  40. package/dist/publish/compare.js.map +1 -1
  41. package/dist/publish/diff.js +1 -1
  42. package/dist/publish/diff.js.map +1 -1
  43. package/dist/publish/docs-apply.d.ts.map +1 -1
  44. package/dist/publish/docs-apply.js +2 -1
  45. package/dist/publish/docs-apply.js.map +1 -1
  46. package/dist/publish/frontmatter.d.ts +1 -1
  47. package/dist/publish/frontmatter.d.ts.map +1 -1
  48. package/dist/publish/frontmatter.js +1 -0
  49. package/dist/publish/frontmatter.js.map +1 -1
  50. package/dist/publish/names.d.ts +14 -0
  51. package/dist/publish/names.d.ts.map +1 -1
  52. package/dist/publish/names.js +18 -1
  53. package/dist/publish/names.js.map +1 -1
  54. package/dist/publish/posts.d.ts +13 -0
  55. package/dist/publish/posts.d.ts.map +1 -1
  56. package/dist/publish/posts.js +39 -8
  57. package/dist/publish/posts.js.map +1 -1
  58. package/dist/publish/redirects.js +1 -1
  59. package/dist/publish/redirects.js.map +1 -1
  60. package/dist/publish/scan-docs.js +2 -2
  61. package/dist/publish/scan-docs.js.map +1 -1
  62. package/dist/publish/scan.js +1 -1
  63. package/dist/publish/scan.js.map +1 -1
  64. package/dist/version.d.ts +1 -1
  65. package/dist/version.js +1 -1
  66. package/package.json +2 -2
  67. package/dist/publish-dir.d.ts +0 -54
  68. package/dist/publish-dir.d.ts.map +0 -1
  69. package/dist/publish-dir.js +0 -119
  70. package/dist/publish-dir.js.map +0 -1
package/dist/version.d.ts CHANGED
@@ -4,5 +4,5 @@
4
4
  * Its own module so `api list` can name the CLI that bundled its operation
5
5
  * list without importing `run.ts` (which imports it).
6
6
  */
7
- export declare const VERSION = "0.11.1";
7
+ export declare const VERSION = "0.12.0";
8
8
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -7,5 +7,5 @@ exports.VERSION = void 0;
7
7
  * Its own module so `api list` can name the CLI that bundled its operation
8
8
  * list without importing `run.ts` (which imports it).
9
9
  */
10
- exports.VERSION = '0.11.1';
10
+ exports.VERSION = '0.12.0';
11
11
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forumulate/cli",
3
- "version": "0.11.1",
3
+ "version": "0.12.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",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "yaml": "^2.6.1",
33
- "@forumulate/sdk": "0.11.0"
33
+ "@forumulate/sdk": "0.11.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^22.9.0",
@@ -1,54 +0,0 @@
1
- /** One markdown file, as the publisher sees it. */
2
- export interface LocalDoc {
3
- /** Path as given on the command line, for the plan a person reads. */
4
- path: string;
5
- /** The slug this file publishes at. */
6
- slug: string;
7
- title: string;
8
- markdown: string;
9
- }
10
- /** What a directory publish would do, before it does any of it. */
11
- export interface PublishPlan {
12
- create: LocalDoc[];
13
- update: (LocalDoc & {
14
- itemId: string;
15
- })[];
16
- /** Published pieces with no file — never touched, only reported. */
17
- orphans: {
18
- slug: string;
19
- title: string;
20
- }[];
21
- }
22
- /**
23
- * A file's own front matter, in the small form every static-site generator
24
- * writes: `key: value` lines, no nesting, no arrays. Anything richer belongs in
25
- * the page itself, and guessing at YAML we do not support would publish a
26
- * document whose first paragraph is a parse error.
27
- */
28
- export declare function parseFrontMatter(text: string): {
29
- data: Record<string, string>;
30
- body: string;
31
- };
32
- /** `01-getting-started.md` → `getting-started`; `a/b/c.md` → `a-b-c`. */
33
- export declare function slugFor(file: string, root: string, front: Record<string, string>): string;
34
- /** The first `# heading`, else the front matter's title, else the slug. */
35
- export declare function titleFor(body: string, front: Record<string, string>, slug: string): string;
36
- /** Every `.md`/`.mdx` under a directory, depth-first, in a stable order. */
37
- export declare function readDocs(root: string): LocalDoc[];
38
- /**
39
- * What publishing this directory would change, decided against what the space
40
- * already holds.
41
- *
42
- * A file whose slug the space already has is an UPDATE; one it does not is a
43
- * CREATE; a published piece with no file is an orphan — reported and left
44
- * alone, because a directory is a source of truth for what it contains and not
45
- * a statement about what should be deleted.
46
- */
47
- export declare function planPublish(docs: LocalDoc[], existing: {
48
- id: string;
49
- slug?: string;
50
- title: string;
51
- }[]): PublishPlan;
52
- /** The plan as a person reads it — the whole point of `--dry-run`. */
53
- export declare function describePlan(plan: PublishPlan, root: string): string[];
54
- //# sourceMappingURL=publish-dir.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"publish-dir.d.ts","sourceRoot":"","sources":["../src/publish-dir.ts"],"names":[],"mappings":"AAGA,mDAAmD;AACnD,MAAM,WAAW,QAAQ;IACvB,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,mEAAmE;AACnE,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,MAAM,EAAE,CAAC,QAAQ,GAAG;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC1C,oEAAoE;IACpE,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC5C;AAID;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAe7F;AAED,yEAAyE;AACzE,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAUzF;AAED,2EAA2E;AAC3E,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAI1F;AAED,4EAA4E;AAC5E,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,EAAE,CAmBjD;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,QAAQ,EAAE,EAChB,QAAQ,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,GACvD,WAAW,CAcb;AAED,sEAAsE;AACtE,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAUtE"}
@@ -1,119 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseFrontMatter = parseFrontMatter;
4
- exports.slugFor = slugFor;
5
- exports.titleFor = titleFor;
6
- exports.readDocs = readDocs;
7
- exports.planPublish = planPublish;
8
- exports.describePlan = describePlan;
9
- const node_fs_1 = require("node:fs");
10
- const node_path_1 = require("node:path");
11
- const FRONT_MATTER = /^---\r?\n([\s\S]*?)\r?\n---\r?\n?/;
12
- /**
13
- * A file's own front matter, in the small form every static-site generator
14
- * writes: `key: value` lines, no nesting, no arrays. Anything richer belongs in
15
- * the page itself, and guessing at YAML we do not support would publish a
16
- * document whose first paragraph is a parse error.
17
- */
18
- function parseFrontMatter(text) {
19
- const m = FRONT_MATTER.exec(text);
20
- if (!m)
21
- return { data: {}, body: text };
22
- const data = {};
23
- for (const line of (m[1] ?? '').split(/\r?\n/)) {
24
- const at = line.indexOf(':');
25
- if (at <= 0)
26
- continue;
27
- const key = line.slice(0, at).trim();
28
- const value = line
29
- .slice(at + 1)
30
- .trim()
31
- .replace(/^["']|["']$/g, '');
32
- if (key)
33
- data[key] = value;
34
- }
35
- return { data, body: text.slice(m[0].length) };
36
- }
37
- /** `01-getting-started.md` → `getting-started`; `a/b/c.md` → `a-b-c`. */
38
- function slugFor(file, root, front) {
39
- if (front.slug)
40
- return front.slug.trim();
41
- const rel = (0, node_path_1.relative)(root, file).replace(/\.mdx?$/i, '');
42
- return rel
43
- .split(node_path_1.sep)
44
- .map((part) => part.replace(/^\d+[-_]/, ''))
45
- .join('-')
46
- .toLowerCase()
47
- .replace(/[^a-z0-9]+/g, '-')
48
- .replace(/^-+|-+$/g, '');
49
- }
50
- /** The first `# heading`, else the front matter's title, else the slug. */
51
- function titleFor(body, front, slug) {
52
- if (front.title)
53
- return front.title.trim();
54
- const heading = /^#\s+(.+)$/m.exec(body);
55
- return heading?.[1]?.trim() || slug;
56
- }
57
- /** Every `.md`/`.mdx` under a directory, depth-first, in a stable order. */
58
- function readDocs(root) {
59
- const out = [];
60
- const walk = (dir) => {
61
- for (const entry of (0, node_fs_1.readdirSync)(dir).sort()) {
62
- if (entry.startsWith('.'))
63
- continue;
64
- const path = (0, node_path_1.join)(dir, entry);
65
- if ((0, node_fs_1.statSync)(path).isDirectory()) {
66
- walk(path);
67
- continue;
68
- }
69
- if (!/\.mdx?$/i.test(entry))
70
- continue;
71
- const raw = (0, node_fs_1.readFileSync)(path, 'utf8');
72
- const { data, body } = parseFrontMatter(raw);
73
- const slug = slugFor(path, root, data);
74
- out.push({ path, slug, title: titleFor(body, data, slug), markdown: body.trim() });
75
- }
76
- };
77
- walk(root);
78
- return out;
79
- }
80
- /**
81
- * What publishing this directory would change, decided against what the space
82
- * already holds.
83
- *
84
- * A file whose slug the space already has is an UPDATE; one it does not is a
85
- * CREATE; a published piece with no file is an orphan — reported and left
86
- * alone, because a directory is a source of truth for what it contains and not
87
- * a statement about what should be deleted.
88
- */
89
- function planPublish(docs, existing) {
90
- const bySlug = new Map(existing.filter((e) => e.slug).map((e) => [e.slug, e]));
91
- const create = [];
92
- const update = [];
93
- for (const doc of docs) {
94
- const match = bySlug.get(doc.slug);
95
- if (match)
96
- update.push({ ...doc, itemId: match.id });
97
- else
98
- create.push(doc);
99
- }
100
- const named = new Set(docs.map((d) => d.slug));
101
- const orphans = existing
102
- .filter((e) => e.slug && !named.has(e.slug))
103
- .map((e) => ({ slug: e.slug, title: e.title }));
104
- return { create, update, orphans };
105
- }
106
- /** The plan as a person reads it — the whole point of `--dry-run`. */
107
- function describePlan(plan, root) {
108
- const lines = [];
109
- for (const d of plan.create)
110
- lines.push(` create ${d.slug} ← ${(0, node_path_1.relative)(root, d.path) || d.path}`);
111
- for (const d of plan.update)
112
- lines.push(` update ${d.slug} ← ${(0, node_path_1.relative)(root, d.path) || d.path}`);
113
- for (const o of plan.orphans)
114
- lines.push(` (left) ${o.slug} — published here, no file in this directory`);
115
- if (lines.length === 0)
116
- lines.push(' nothing to do — no .md files found');
117
- return lines;
118
- }
119
- //# sourceMappingURL=publish-dir.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"publish-dir.js","sourceRoot":"","sources":["../src/publish-dir.ts"],"names":[],"mappings":";;AA6BA,4CAeC;AAGD,0BAUC;AAGD,4BAIC;AAGD,4BAmBC;AAWD,kCAiBC;AAGD,oCAUC;AA/HD,qCAA8D;AAC9D,yCAAgD;AAoBhD,MAAM,YAAY,GAAG,mCAAmC,CAAC;AAEzD;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,IAAY;IAC3C,MAAM,CAAC,GAAG,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAClC,IAAI,CAAC,CAAC;QAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxC,MAAM,IAAI,GAA2B,EAAE,CAAC;IACxC,KAAK,MAAM,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;QAC/C,MAAM,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,GA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