@uniweb/build 0.40.0 → 0.42.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.
Files changed (2) hide show
  1. package/package.json +8 -8
  2. package/src/prerender.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/build",
3
- "version": "0.40.0",
3
+ "version": "0.42.0",
4
4
  "description": "Build tooling for the Uniweb Component Web Platform",
5
5
  "type": "module",
6
6
  "exports": {
@@ -56,15 +56,15 @@
56
56
  "js-yaml": "^4.1.0",
57
57
  "sharp": "^0.35.3",
58
58
  "yaml": "^2.5.0",
59
- "@uniweb/schemas": "^0.2.13",
60
- "@uniweb/projections": "^0.5.10",
61
- "@uniweb/semantic-parser": "^1.4.0",
62
- "@uniweb/theming": "^0.1.15",
63
59
  "@uniweb/content-reader": "^1.2.4",
64
- "@uniweb/content-writer": "^0.3.4"
60
+ "@uniweb/content-writer": "^0.3.4",
61
+ "@uniweb/projections": "^0.5.13",
62
+ "@uniweb/semantic-parser": "^1.4.0",
63
+ "@uniweb/schemas": "^0.2.13",
64
+ "@uniweb/theming": "^0.1.15"
65
65
  },
66
66
  "optionalDependencies": {
67
- "@uniweb/runtime": "^0.17.0"
67
+ "@uniweb/runtime": "^0.18.0"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
@@ -73,7 +73,7 @@
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": "^0.22.0"
76
+ "@uniweb/core": "^0.24.0"
77
77
  },
78
78
  "peerDependenciesMeta": {
79
79
  "vite": {
package/src/prerender.js CHANGED
@@ -110,7 +110,7 @@ export async function executeAllFetches(siteContent, siteDir, onProgress, locale
110
110
  ? { siteRoot: localeInfo.distDir, publicDir: '.' }
111
111
  : fetchOptions
112
112
  const optionsFor = (cfg, oneFetch) => (cfg.path !== oneFetch.path ? localizedFetchOptions : fetchOptions)
113
- const entry = (cfg, data, scope) => ({ config: cfg, data, meta: { depth: cfg.depth }, _scope: scope })
113
+ const entry = (cfg, data, scope) => ({ config: cfg, data, meta: { whole: cfg.whole }, _scope: scope })
114
114
 
115
115
  // 1. Site-level fetch. ⛔ `toFetchList` rather than a property read: a `fetch:`
116
116
  // or `data:` LIST parses to an array, and `siteFetch.prerender` on one is