@uniweb/kit 0.9.10 → 0.9.11
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/kit",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.11",
|
|
4
4
|
"description": "Standard component library for Uniweb foundations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"fuse.js": "^7.0.0",
|
|
40
40
|
"shiki": "^3.0.0",
|
|
41
41
|
"tailwind-merge": "^2.6.0",
|
|
42
|
-
"@uniweb/core": "0.7.
|
|
42
|
+
"@uniweb/core": "0.7.11"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -84,7 +84,9 @@ function buildDetailRequest(record, collection) {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
// Static-file default — the build emitted per-record JSON files.
|
|
87
|
-
|
|
87
|
+
// Phase 5 of the CDN migration moved storage from /data/ to /_data/;
|
|
88
|
+
// the site router accepts both URL shapes during the transition.
|
|
89
|
+
return { path: `/_data/${collection}/${slug}.json`, schema: collection }
|
|
88
90
|
}
|
|
89
91
|
|
|
90
92
|
export default useEntityDetail
|