uniweb 0.14.26 → 0.14.28
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.14.
|
|
3
|
+
"version": "0.14.28",
|
|
4
4
|
"description": "Create structured Vite + React sites with content/code separation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"js-yaml": "^4.1.0",
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
43
|
"tar": "^7.0.0",
|
|
44
|
-
"@uniweb/
|
|
44
|
+
"@uniweb/core": "0.8.2",
|
|
45
45
|
"@uniweb/runtime": "0.9.7",
|
|
46
|
-
"@uniweb/
|
|
46
|
+
"@uniweb/kit": "0.10.20"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
+
"@uniweb/semantic-parser": "1.2.1",
|
|
49
50
|
"@uniweb/content-reader": "1.2.2",
|
|
50
|
-
"@uniweb/build": "0.16.
|
|
51
|
-
"@uniweb/semantic-parser": "1.2.1"
|
|
51
|
+
"@uniweb/build": "0.16.18"
|
|
52
52
|
},
|
|
53
53
|
"peerDependenciesMeta": {
|
|
54
54
|
"@uniweb/build": {
|
package/src/commands/register.js
CHANGED
|
@@ -228,6 +228,14 @@ export function foundationNeedsBuild(targetDir) {
|
|
|
228
228
|
existsSync(join(distDir, 'foundation.js'))
|
|
229
229
|
if (!hasArtifact || !existsSync(schemaPath))
|
|
230
230
|
return { needs: true, reason: 'no dist/ found' }
|
|
231
|
+
// The SSR bundle is required by any host that server-renders, and a dist can
|
|
232
|
+
// lack one for two reasons that both reach here looking complete: it was left
|
|
233
|
+
// by a `uniweb dev` session (which skips that sub-build), or it was built by
|
|
234
|
+
// a toolchain older than @uniweb/build@0.14.25, which did not emit it at all.
|
|
235
|
+
// Shipping either produces a site that renders client-side at HTTP 200 with
|
|
236
|
+
// nothing reporting why, so treat it as stale and rebuild.
|
|
237
|
+
if (!existsSync(join(distDir, 'entry-ssr.js')))
|
|
238
|
+
return { needs: true, reason: 'dist/ has no entry-ssr.js (SSR bundle)' }
|
|
231
239
|
let pkgVersion = null
|
|
232
240
|
try {
|
|
233
241
|
pkgVersion =
|
package/src/framework-index.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-08-
|
|
3
|
+
"generatedAt": "2026-08-05T14:30:40.743Z",
|
|
4
4
|
"packages": {
|
|
5
5
|
"@uniweb/build": {
|
|
6
|
-
"version": "0.16.
|
|
6
|
+
"version": "0.16.18",
|
|
7
7
|
"path": "framework/build",
|
|
8
8
|
"deps": [
|
|
9
9
|
"@uniweb/content-reader",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"@uniweb/projections",
|
|
13
13
|
"@uniweb/runtime",
|
|
14
14
|
"@uniweb/schemas",
|
|
15
|
+
"@uniweb/schemas",
|
|
15
16
|
"@uniweb/semantic-parser",
|
|
16
17
|
"@uniweb/theming"
|
|
17
18
|
]
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
"deps": []
|
|
86
87
|
},
|
|
87
88
|
"@uniweb/schemas": {
|
|
88
|
-
"version": "0.2.
|
|
89
|
+
"version": "0.2.6",
|
|
89
90
|
"path": "framework/schemas",
|
|
90
91
|
"deps": []
|
|
91
92
|
},
|
|
@@ -110,7 +111,7 @@
|
|
|
110
111
|
"deps": []
|
|
111
112
|
},
|
|
112
113
|
"@uniweb/unipress": {
|
|
113
|
-
"version": "0.6.
|
|
114
|
+
"version": "0.6.16",
|
|
114
115
|
"path": "framework/unipress",
|
|
115
116
|
"deps": [
|
|
116
117
|
"@uniweb/build",
|