uniweb 0.14.26 → 0.14.27

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.26",
3
+ "version": "0.14.27",
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/core": "0.8.2",
44
45
  "@uniweb/kit": "0.10.20",
45
- "@uniweb/runtime": "0.9.7",
46
- "@uniweb/core": "0.8.2"
46
+ "@uniweb/runtime": "0.9.7"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@uniweb/content-reader": "1.2.2",
50
- "@uniweb/build": "0.16.16",
51
- "@uniweb/semantic-parser": "1.2.1"
50
+ "@uniweb/semantic-parser": "1.2.1",
51
+ "@uniweb/build": "0.16.17"
52
52
  },
53
53
  "peerDependenciesMeta": {
54
54
  "@uniweb/build": {
@@ -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 =
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-08-04T23:22:12.123Z",
3
+ "generatedAt": "2026-08-05T12:01:21.974Z",
4
4
  "packages": {
5
5
  "@uniweb/build": {
6
- "version": "0.16.16",
6
+ "version": "0.16.17",
7
7
  "path": "framework/build",
8
8
  "deps": [
9
9
  "@uniweb/content-reader",
@@ -110,7 +110,7 @@
110
110
  "deps": []
111
111
  },
112
112
  "@uniweb/unipress": {
113
- "version": "0.6.14",
113
+ "version": "0.6.15",
114
114
  "path": "framework/unipress",
115
115
  "deps": [
116
116
  "@uniweb/build",