uniweb 1.22.3 → 1.23.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 +4 -4
- package/partials/agents.md +5 -1
- package/src/framework-index.json +10 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uniweb",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0",
|
|
4
4
|
"description": "Create structured Vite + React sites with content/code separation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"js-yaml": "^4.3.2",
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
43
|
"tar": "^7.5.21",
|
|
44
|
-
"@uniweb/core": "~1.
|
|
44
|
+
"@uniweb/core": "~1.5.0",
|
|
45
45
|
"@uniweb/semantic-parser": "~1.13.0",
|
|
46
|
-
"@uniweb/schemas": "~1.6.
|
|
46
|
+
"@uniweb/schemas": "~1.6.7",
|
|
47
47
|
"@uniweb/content-writer": "~1.3.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@uniweb/semantic-parser": "~1.13.0",
|
|
51
51
|
"@uniweb/content-reader": "~1.5.7",
|
|
52
|
-
"@uniweb/build": "~1.
|
|
52
|
+
"@uniweb/build": "~1.12.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
55
55
|
"@uniweb/build": {
|
package/partials/agents.md
CHANGED
|
@@ -1155,7 +1155,7 @@ Four things you won't discover by reading exports:
|
|
|
1155
1155
|
|
|
1156
1156
|
> **Content fields are HTML strings.** Covered above — it's the single most common rendering bug.
|
|
1157
1157
|
|
|
1158
|
-
> **`<Link>` takes `to` or `href`.** `to="page:about"` resolves a page ID (survives moves),
|
|
1158
|
+
> **`<Link>` takes `to` or `href`.** `to="page:about"` resolves a page ID (survives moves) or a route, never a folder: the homepage is `page:/`, or `page:home` only when its `page.yml` says `id: home`. External URLs get `target="_blank"` automatically, and `reload` forces a full page load.
|
|
1159
1159
|
|
|
1160
1160
|
> **`cn()` gotcha — a later `text-<size>` silently drops an earlier `leading-*`.** Tailwind's size classes set line height too, so `cn()` treats the size as replacing the leading: `cn('leading-[1.1] text-4xl')` → `text-4xl`. Put the size first, or fold the leading into it (`text-[clamp(2rem,5vw,4rem)]/[1.1]`). Most likely to bite when the size comes from a lookup and the leading sits in a shared base string.
|
|
1161
1161
|
|
|
@@ -2786,6 +2786,10 @@ await createEntity({ schema: '@/submission', unit: course.unit, items: [...] })
|
|
|
2786
2786
|
|
|
2787
2787
|
Landing decides where an entry is, not who may open it.
|
|
2788
2788
|
|
|
2789
|
+
**An entry and its nested items in one create:** give an item `uuid: uuidv7()`, and a later
|
|
2790
|
+
item names it as its `parent` — `{ section: 'degrees/thesis', parent: degree, data }`. The
|
|
2791
|
+
uuids serve that write alone: no read returns them, and items are read by `id`.
|
|
2792
|
+
|
|
2789
2793
|
### A backend on your machine
|
|
2790
2794
|
|
|
2791
2795
|
You do not need a live backend to build against one. In `site.yml`:
|
package/src/framework-index.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-10-
|
|
3
|
+
"generatedAt": "2026-10-29T21:03:01.451Z",
|
|
4
4
|
"packages": {
|
|
5
5
|
"@uniweb/api": {
|
|
6
|
-
"version": "1.6.
|
|
6
|
+
"version": "1.6.7"
|
|
7
7
|
},
|
|
8
8
|
"@uniweb/build": {
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.12.0"
|
|
10
10
|
},
|
|
11
11
|
"@uniweb/content-reader": {
|
|
12
12
|
"version": "1.5.7"
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
"version": "1.3.1"
|
|
16
16
|
},
|
|
17
17
|
"@uniweb/core": {
|
|
18
|
-
"version": "1.
|
|
18
|
+
"version": "1.5.0"
|
|
19
19
|
},
|
|
20
20
|
"@uniweb/frame-bridge": {
|
|
21
21
|
"version": "1.0.2"
|
|
22
22
|
},
|
|
23
23
|
"@uniweb/icons": {
|
|
24
|
-
"version": "1.0.
|
|
24
|
+
"version": "1.0.7"
|
|
25
25
|
},
|
|
26
26
|
"@uniweb/kit": {
|
|
27
|
-
"version": "1.6.
|
|
27
|
+
"version": "1.6.8"
|
|
28
28
|
},
|
|
29
29
|
"@uniweb/loom": {
|
|
30
30
|
"version": "1.1.2"
|
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
"version": "1.1.4"
|
|
34
34
|
},
|
|
35
35
|
"@uniweb/projections": {
|
|
36
|
-
"version": "1.2.
|
|
36
|
+
"version": "1.2.8"
|
|
37
37
|
},
|
|
38
38
|
"@uniweb/runtime": {
|
|
39
|
-
"version": "1.2.
|
|
39
|
+
"version": "1.2.14"
|
|
40
40
|
},
|
|
41
41
|
"@uniweb/scene": {
|
|
42
42
|
"version": "1.0.1"
|
|
43
43
|
},
|
|
44
44
|
"@uniweb/schemas": {
|
|
45
|
-
"version": "1.6.
|
|
45
|
+
"version": "1.6.7"
|
|
46
46
|
},
|
|
47
47
|
"@uniweb/scholar": {
|
|
48
48
|
"version": "1.1.0"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"version": "1.2.1"
|
|
61
61
|
},
|
|
62
62
|
"@uniweb/unipress": {
|
|
63
|
-
"version": "1.1.
|
|
63
|
+
"version": "1.1.18"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"templates": {
|