@byline/cli 4.1.0 → 4.2.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.
@@ -33,7 +33,7 @@ export const Docs = defineCollection({
33
33
  customStatuses: [{ name: 'needs_review', label: 'Needs Review', verb: 'Request Review' }],
34
34
  }),
35
35
  showStats: true,
36
- // Document tree (docs/04-collections/03-document-trees.md): the docs collection is a
36
+ // Document tree (docs/04-collections/04-document-trees.md): the docs collection is a
37
37
  // single-parent ordered hierarchy. Mutually exclusive with `orderable` —
38
38
  // the tree owns ordering (per-parent, on the edge), so `order_key` on
39
39
  // `byline_documents` is inert here. Sibling order and nesting are edited via
@@ -43,7 +43,7 @@
43
43
  * number directories/files with `NN-` prefixes to curate the
44
44
  * TOC — prefixes never reach the slug (paths come from
45
45
  * frontmatter). The `docs` collection must be `tree: true`.
46
- * See docs/04-collections/03-document-trees.md.
46
+ * See docs/04-collections/04-document-trees.md.
47
47
  */
48
48
 
49
49
  import '../load-env.js'
@@ -196,7 +196,7 @@ async function buildBylineCore(): Promise<BylineCore<AdminStore>> {
196
196
  // Server-side richtext adapter — refreshes embedded relation
197
197
  // envelopes (link `{ title, path }`, inline-image `{ title, altText,
198
198
  // image, sizes }`) on every read, gated per-field by
199
- // `populateRelationsOnRead`. See docs/04-collections/06-rich-text.md for the full design.
199
+ // `populateRelationsOnRead`. See docs/04-collections/07-rich-text.md for the full design.
200
200
  //
201
201
  // `getClient` returns a `BylineClient` — the SDK over the storage
202
202
  // primitives that the populate visitors use to batch-fetch target
@@ -98,7 +98,7 @@ function isLocalHref(href: string): boolean {
98
98
  * usable href can be built — the serializer treats that as the signal
99
99
  * to strip the `<a>` / `<LangLink>` wrapper and render children plain.
100
100
  *
101
- * Internal-link fallback chain (see docs/04-collections/06-rich-text.md):
101
+ * Internal-link fallback chain (see docs/04-collections/07-rich-text.md):
102
102
  * 1. `document._resolved === false` → strip wrapper.
103
103
  * 2. `document.path` starts with `/` → use as-is (canonicalised by
104
104
  * the server-side embed walker via `buildDocumentPath`).
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@byline/cli",
3
3
  "private": false,
4
4
  "license": "MPL-2.0",
5
- "version": "4.1.0",
5
+ "version": "4.2.0",
6
6
  "engines": {
7
7
  "node": ">=20.9.0"
8
8
  },