uniweb 0.8.43 → 0.9.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uniweb",
3
- "version": "0.8.43",
3
+ "version": "0.9.0",
4
4
  "description": "Create structured Vite + React sites with content/code separation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -41,13 +41,13 @@
41
41
  "js-yaml": "^4.1.0",
42
42
  "prompts": "^2.4.2",
43
43
  "tar": "^7.0.0",
44
- "@uniweb/runtime": "0.6.39",
45
- "@uniweb/kit": "0.7.24",
46
- "@uniweb/core": "0.5.22"
44
+ "@uniweb/core": "0.6.0",
45
+ "@uniweb/runtime": "0.7.0",
46
+ "@uniweb/kit": "0.8.0"
47
47
  },
48
48
  "peerDependencies": {
49
- "@uniweb/build": "0.8.42",
50
49
  "@uniweb/content-reader": "1.1.4",
50
+ "@uniweb/build": "0.9.0",
51
51
  "@uniweb/semantic-parser": "1.1.9"
52
52
  },
53
53
  "peerDependenciesMeta": {
@@ -1457,7 +1457,9 @@ Semantic tokens come from `theme-tokens.css` (populated from `theme.yml`). Use `
1457
1457
 
1458
1458
  **Styles not applying** — Verify `@source` includes your component paths.
1459
1459
 
1460
- **Prerender warnings about hooks** — Components with useState/useEffect show SSG warnings during build. Expected and harmless.
1460
+ **Prerender warnings about hooks** — Components with useState/useEffect show SSG warnings during build in local symlinked mode. Expected and harmless — the page renders correctly client-side.
1461
+
1462
+ **"document is not defined" during build** — Your component accesses `document`, `window`, or `localStorage` during render (not inside `useEffect`). Don't add `typeof document` guards — use the kit hook instead. Dark mode? `useAppearance()`. Scroll detection? `useScrolled()`. Kit hooks are SSR-safe by design.
1461
1463
 
1462
1464
  **Content not appearing as expected?**
1463
1465
  ```bash