@decocms/tanstack 7.20.3 → 7.20.4
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/src/vite/plugin.js +7 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decocms/tanstack",
|
|
3
|
-
"version": "7.20.
|
|
3
|
+
"version": "7.20.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Deco framework binding for TanStack Start + Cloudflare Workers",
|
|
6
6
|
"repository": {
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"lint:unused": "knip"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@decocms/blocks": "7.20.
|
|
28
|
-
"@decocms/blocks-admin": "7.20.
|
|
29
|
-
"@decocms/blocks-cli": "7.20.
|
|
27
|
+
"@decocms/blocks": "7.20.4",
|
|
28
|
+
"@decocms/blocks-admin": "7.20.4",
|
|
29
|
+
"@decocms/blocks-cli": "7.20.4",
|
|
30
30
|
"@deco-cx/warp-node": "^0.3.16",
|
|
31
31
|
"fast-json-patch": "^3.1.0",
|
|
32
32
|
"ws": "^8.18.0"
|
package/src/vite/plugin.js
CHANGED
|
@@ -481,10 +481,13 @@ export function decoVitePlugin() {
|
|
|
481
481
|
}, 500);
|
|
482
482
|
};
|
|
483
483
|
|
|
484
|
-
// Cold-start bootstrap: generate meta.gen.json if it's absent.
|
|
485
|
-
//
|
|
486
|
-
//
|
|
487
|
-
//
|
|
484
|
+
// Cold-start bootstrap: generate meta.gen.json if it's absent. Unlike the
|
|
485
|
+
// decofile, meta.gen.json is normally COMMITTED (it merges cleanly), so
|
|
486
|
+
// this is a safety net — it fires only when the file is genuinely missing
|
|
487
|
+
// (a site that opts to gitignore it, a partial checkout, a manual delete).
|
|
488
|
+
// It matters because setup.ts imports meta.gen.json EAGERLY via
|
|
489
|
+
// createAdminSetup, so a missing file would reject the import on the first
|
|
490
|
+
// request.
|
|
488
491
|
//
|
|
489
492
|
// Unlike the blocks bootstrap above, this is (a) gated on absence and
|
|
490
493
|
// (b) SYNCHRONOUS: a full ts-morph schema pass takes seconds, so we only
|