@uniweb/build 1.10.3 → 1.10.4

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/build",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "description": "Build tooling for the Uniweb Component Web Platform",
5
5
  "type": "module",
6
6
  "exports": {
@@ -56,11 +56,11 @@
56
56
  "js-yaml": "^4.3.2",
57
57
  "sharp": "^0.35.5",
58
58
  "yaml": "^2.5.0",
59
+ "@uniweb/semantic-parser": "~1.13.0",
59
60
  "@uniweb/content-reader": "~1.5.7",
60
61
  "@uniweb/content-writer": "~1.3.1",
61
- "@uniweb/projections": "~1.2.1",
62
62
  "@uniweb/schemas": "~1.6.5",
63
- "@uniweb/semantic-parser": "~1.13.0",
63
+ "@uniweb/projections": "~1.2.1",
64
64
  "@uniweb/theming": "~1.2.1"
65
65
  },
66
66
  "optionalDependencies": {
@@ -601,9 +601,10 @@ function mountHasContent(dirPath) {
601
601
  *
602
602
  * Split out from resolveMounts so the dev server can learn which directories a
603
603
  * site mounts without re-running resolveMounts' validation — that would repeat
604
- * its warnings on every startup, and the watcher only needs paths. Both callers
605
- * share this one definition of what a mount key looks like, so the prefix can
606
- * never mean one thing to the collector and another to the watcher.
604
+ * its warnings on every startup, and the watcher only needs paths. Every reader —
605
+ * the collector, the watcher, a pull (`uwx/git-authored.js`) and `uniweb status` among
606
+ * them — shares this one definition of what a mount key looks like, so the prefix can never mean
607
+ * one thing to one of them and another to the next.
607
608
  *
608
609
  * @param {Object} pathsConfig - The paths: object from site.yml
609
610
  * @returns {Array<[string, string]>} [routeSegment, relativePath] pairs
package/src/site/index.js CHANGED
@@ -14,7 +14,7 @@ export { PREVIEW_ENV, encodePreview, readPreview } from './preview.js'
14
14
  export { DEV_PORT_ENV, DEV_RECORD_ENV, runningDevServer, stopDevServer } from './dev-server.js'
15
15
  // Where a statically built site lives, as its deploy target or author states it (`./site-address.js`).
16
16
  export { ORIGIN_ENV, refuseUnreadableAddress } from './site-address.js'
17
- export { collectSiteContent } from './content-collector.js'
17
+ export { collectSiteContent, mountEntriesOf } from './content-collector.js'
18
18
  // The `agents:` vocabulary lives in @uniweb/projections (which owns the block);
19
19
  // re-exported so the CLI can validate an author's spelling, and read an
20
20
  // `expectedOrigins` entry by its rule, without taking a direct dependency on it.