@uniweb/build 1.10.8 → 1.10.9

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.8",
3
+ "version": "1.10.9",
4
4
  "description": "Build tooling for the Uniweb Component Web Platform",
5
5
  "type": "module",
6
6
  "exports": {
@@ -57,14 +57,14 @@
57
57
  "sharp": "^0.35.5",
58
58
  "yaml": "^2.5.0",
59
59
  "@uniweb/content-reader": "~1.5.7",
60
- "@uniweb/content-writer": "~1.3.1",
61
- "@uniweb/schemas": "~1.6.5",
62
60
  "@uniweb/semantic-parser": "~1.13.0",
63
- "@uniweb/projections": "~1.2.3",
64
- "@uniweb/theming": "~1.2.1"
61
+ "@uniweb/projections": "~1.2.5",
62
+ "@uniweb/theming": "~1.2.1",
63
+ "@uniweb/content-writer": "~1.3.1",
64
+ "@uniweb/schemas": "~1.6.5"
65
65
  },
66
66
  "optionalDependencies": {
67
- "@uniweb/runtime": "~1.2.5"
67
+ "@uniweb/runtime": "~1.2.8"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
@@ -73,8 +73,8 @@
73
73
  "@tailwindcss/vite": "^4.0.0",
74
74
  "@vitejs/plugin-react": "^4.0.0 || ^5.0.0",
75
75
  "vite-plugin-svgr": "^4.0.0",
76
- "@uniweb/core": "~1.4.9",
77
- "@uniweb/runtime": "~1.2.5"
76
+ "@uniweb/core": "~1.4.10",
77
+ "@uniweb/runtime": "~1.2.8"
78
78
  },
79
79
  "peerDependenciesMeta": {
80
80
  "vite": {
@@ -17,7 +17,7 @@
17
17
  *
18
18
  * ⭐ A LANGUAGE'S FILES ARE AT ITS ADDRESSES: under its prefix, at its translated routes
19
19
  * (`applyRouteTranslation`) — `fr/actualites/x.md` for `/blog/x` — where its `llms.txt` links them
20
- * (`buildPageUrl`). A static host decodes a request's path before it looks for the file, so a
20
+ * (`renderSiteIndex`). A static host decodes a request's path before it looks for the file, so a
21
21
  * record's file is named for its decoded route (`routeOnDisk`).
22
22
  *
23
23
  * @module
@@ -101,10 +101,10 @@ export function agentFiles(content, records) {
101
101
  if (!agents.index && !agents.markdown) return []
102
102
  if (!content?.pages?.length) return []
103
103
 
104
- const { locale, defaultLocale, prefix, at } = languageOf(content)
105
- // The address and base path are the content's own (`config.url`, `config.base`), which
106
- // `renderSiteIndex` reads.
107
- const options = { locale, defaultLocale, exclude: agents.exclude, records: records?.entries }
104
+ const { locale, prefix, at } = languageOf(content)
105
+ // The address, the base path and the languages are the content's own (`config.url`,
106
+ // `config.base`, `config.languages`), which `renderSiteIndex` reads.
107
+ const options = { locale, exclude: agents.exclude, records: records?.entries }
108
108
  const files = []
109
109
 
110
110
  if (agents.index) {