@uniweb/build 0.44.3 → 0.44.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": "0.44.3",
3
+ "version": "0.44.4",
4
4
  "description": "Build tooling for the Uniweb Component Web Platform",
5
5
  "type": "module",
6
6
  "exports": {
@@ -57,15 +57,15 @@
57
57
  "js-yaml": "^4.1.0",
58
58
  "sharp": "^0.35.3",
59
59
  "yaml": "^2.5.0",
60
- "@uniweb/schemas": "^0.2.13",
61
- "@uniweb/content-reader": "^1.2.4",
60
+ "@uniweb/content-writer": "^0.3.4",
62
61
  "@uniweb/projections": "^0.6.0",
62
+ "@uniweb/schemas": "^0.2.13",
63
+ "@uniweb/semantic-parser": "^1.4.0",
63
64
  "@uniweb/theming": "^0.1.15",
64
- "@uniweb/content-writer": "^0.3.4",
65
- "@uniweb/semantic-parser": "^1.4.0"
65
+ "@uniweb/content-reader": "^1.2.4"
66
66
  },
67
67
  "optionalDependencies": {
68
- "@uniweb/runtime": "^0.19.4"
68
+ "@uniweb/runtime": "^0.19.5"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
@@ -74,7 +74,7 @@
74
74
  "@tailwindcss/vite": "^4.0.0",
75
75
  "@vitejs/plugin-react": "^4.0.0 || ^5.0.0",
76
76
  "vite-plugin-svgr": "^4.0.0",
77
- "@uniweb/core": "^0.24.3"
77
+ "@uniweb/core": "^0.24.4"
78
78
  },
79
79
  "peerDependenciesMeta": {
80
80
  "vite": {
@@ -84,7 +84,7 @@ function warnRetiredFetcherKeys(fetcher) {
84
84
  `[uniweb] site.yml fetcher: ${retired.map((k) => `\`${k}\``).join(', ')} ` +
85
85
  `${retired.length === 1 ? 'is' : 'are'} retired and ignored. The default fetcher reads a ` +
86
86
  `site's own files and a host's records lane; a backend of your own is reached through a ` +
87
- `foundation transport (docs: development/connecting-a-backend.md). Kept: ` +
87
+ `foundation transport (docs: development/data-sources.md). Kept: ` +
88
88
  `\`fetcher.transports\` and a transport's own binding config.`
89
89
  )
90
90
  }
package/src/uwx/site.js CHANGED
@@ -1212,16 +1212,18 @@ export async function siteProjectToDocument(siteRoot, opts = {}) {
1212
1212
  // a bug fix.
1213
1213
  //
1214
1214
  // ⭐ `api` is the one service a site does not AUTHOR. It is a real backend that is
1215
- // provisioned and paid for, so its address is the host's to supply — it arrives as
1215
+ // provisioned, so its address is the host's to supply — it arrives as
1216
1216
  // `config.services.api` and `@uniweb/api` reads it there (`resolveBase`). An
1217
- // authored `api:` is the SITE tier, which outranks the host permanently.
1217
+ // authored `api:` is the SITE tier: it yields to a host that offers the service,
1218
+ // and is the answer wherever one does not.
1218
1219
  //
1219
- // ⇒ Carrying it would turn a local-dev override into a production one the moment
1220
- // someone pushed: the host would store `info.api` and serve it back as `config.api`,
1221
- // which wins over the address of the backend the site actually has. The vanish on
1222
- // this lane is the correct behaviour, not the bug the comments above describe —
1223
- // there, a dropped block leaves a site with NO endpoint; here it leaves the site
1224
- // with the RIGHT one.
1220
+ // ⇒ Carrying it would turn a local-dev address into a production one the moment
1221
+ // someone pushed: the host would store `settings.api` and serve it back as
1222
+ // `config.api`, and a site with no `api` service of its own would draw sign-in
1223
+ // against an address nobody answers where the absence would have drawn
1224
+ // nothing. The vanish on this lane is the correct behaviour, not the bug the
1225
+ // comments above describe — there, a dropped block leaves a site with NO
1226
+ // endpoint; here it leaves the site with the RIGHT answer.
1225
1227
  //
1226
1228
  // The provisioned record rides the `$services` section instead (see servicesNested).
1227
1229
  // ⭐ DESUGARED, like every other tier. `data:` is the shorthand for `fetch:`