@uniweb/core 0.29.7 → 0.29.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/core",
3
- "version": "0.29.7",
3
+ "version": "0.29.8",
4
4
  "description": "Core classes for the Uniweb platform - Uniweb, Website, Page, Block",
5
5
  "type": "module",
6
6
  "exports": {
@@ -684,7 +684,7 @@ function bindWhere(where, variables) {
684
684
  /**
685
685
  * ⭐ `scope:` IS ITS OWN FIELD, on both lanes. The service takes it natively; on
686
686
  * the compiled file the evaluators apply it to each record's placement (`path`,
687
- * the folder `records.yml` put it in) — `@uniweb/core`'s `applyScope`, the one the
687
+ * the folder `records/folder.yml` put it in) — `@uniweb/core`'s `applyScope`, the one the
688
688
  * build uses too. ⛔ Until 2026-09-11 it was folded here into
689
689
  * `where: { path: { under } }`, an authored form that is now retired in its
690
690
  * favour [Diego]: a branch is a scope, and `where` stays the author's predicate.
@@ -539,7 +539,7 @@ export function fillRoutePattern(pattern, values) {
539
539
  // A catch-all is filled from the record's placement and handle — the split
540
540
  // rule in reverse (`joinPathCapture`) — with each SEGMENT encoded and the
541
541
  // slashes between them kept as structure. `dir` is the placement; a record
542
- // carries it as `path` (the folder `records.yml` put it in), which is why
542
+ // carries it as `path` (the folder `records/folder.yml` put it in), which is why
543
543
  // `path` here is read as the DIRECTORY and never as a composed capture.
544
544
  const handle = recordHandle(values)
545
545
  if (joinPathCapture({ dir: values.dir ?? values.path, slug: handle }) === null) return null
package/src/scope.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * A query's `scope:` — the folder branch it reads — evaluated over records that
3
3
  * carry their placement.
4
4
  *
5
- * A record's `path` is the folder `records.yml` placed it in (`build/src/site/
5
+ * A record's `path` is the folder `records/folder.yml` placed it in (`build/src/site/
6
6
  * query-processor.js`). A scope contains that folder and every folder below it, at
7
7
  * SEGMENT boundaries: `field` holds `field` and `field/2025`, never `fieldwork`.
8
8
  * The root (`''`) holds everything.