ubean 0.1.8 → 0.1.10
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/dist/runtime/vue.d.ts +14 -1
- package/dist/runtime/vue.js +20 -1
- package/package.json +27 -27
package/dist/runtime/vue.d.ts
CHANGED
|
@@ -1 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { HydrateIslandsOptions } from "@ubean/runtime";
|
|
2
|
+
import { Component } from "vue";
|
|
3
|
+
export * from "@ubean/runtime";
|
|
4
|
+
//#region src/runtime/vue.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* `hydrateIslands` 的桥接版本:自动合并虚拟注册表与手动 `components`。
|
|
7
|
+
*
|
|
8
|
+
* 合并优先级:手动注册 > 自动注册(允许用户对特定组件做特殊处理)。
|
|
9
|
+
*/
|
|
10
|
+
declare function hydrateIslands(options?: Omit<HydrateIslandsOptions, 'components'> & {
|
|
11
|
+
components?: Record<string, Component | (() => Promise<Component>)>;
|
|
12
|
+
}): void;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { hydrateIslands };
|
package/dist/runtime/vue.js
CHANGED
|
@@ -1,2 +1,21 @@
|
|
|
1
|
+
import { hydrateIslands as hydrateIslands$1 } from "@ubean/runtime";
|
|
2
|
+
import { islands } from "virtual:ubean-islands-registry";
|
|
1
3
|
export * from "@ubean/runtime";
|
|
2
|
-
|
|
4
|
+
//#region src/runtime/vue.ts
|
|
5
|
+
/**
|
|
6
|
+
* `hydrateIslands` 的桥接版本:自动合并虚拟注册表与手动 `components`。
|
|
7
|
+
*
|
|
8
|
+
* 合并优先级:手动注册 > 自动注册(允许用户对特定组件做特殊处理)。
|
|
9
|
+
*/
|
|
10
|
+
function hydrateIslands(options = {}) {
|
|
11
|
+
const { components: manual = {}, ...rest } = options;
|
|
12
|
+
return hydrateIslands$1({
|
|
13
|
+
components: {
|
|
14
|
+
...islands,
|
|
15
|
+
...manual
|
|
16
|
+
},
|
|
17
|
+
...rest
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { hydrateIslands };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ubean",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Vue-first full-stack meta-framework built on Vite-Plus with Hono (aggregator of all @ubean/* subpackages)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ubean": "./bin/ubean.mjs"
|
|
@@ -46,32 +46,32 @@
|
|
|
46
46
|
"consola": "^3.4.2",
|
|
47
47
|
"hono": "4.12.32",
|
|
48
48
|
"hono-openapi": "^1.3.1",
|
|
49
|
-
"@ubean/api-routes": "0.1.
|
|
50
|
-
"@ubean/
|
|
51
|
-
"@ubean/
|
|
52
|
-
"@ubean/
|
|
53
|
-
"@ubean/
|
|
54
|
-
"@ubean/config": "0.1.
|
|
55
|
-
"@ubean/dev-server": "0.1.
|
|
56
|
-
"@ubean/devtools": "0.1.
|
|
57
|
-
"@ubean/
|
|
58
|
-
"@ubean/
|
|
59
|
-
"@ubean/
|
|
60
|
-
"@ubean/
|
|
61
|
-
"@ubean/
|
|
62
|
-
"@ubean/
|
|
63
|
-
"@ubean/
|
|
64
|
-
"@ubean/
|
|
65
|
-
"@ubean/preset": "0.1.
|
|
66
|
-
"@ubean/
|
|
67
|
-
"@ubean/
|
|
68
|
-
"@ubean/
|
|
69
|
-
"@ubean/
|
|
70
|
-
"@ubean/
|
|
71
|
-
"@ubean/
|
|
72
|
-
"@ubean/
|
|
73
|
-
"@ubean/
|
|
74
|
-
"@ubean/vite": "0.1.
|
|
49
|
+
"@ubean/api-routes": "0.1.10",
|
|
50
|
+
"@ubean/auto-imports": "0.1.10",
|
|
51
|
+
"@ubean/app": "0.1.10",
|
|
52
|
+
"@ubean/cli": "0.1.10",
|
|
53
|
+
"@ubean/codegen": "0.1.10",
|
|
54
|
+
"@ubean/config": "0.1.10",
|
|
55
|
+
"@ubean/dev-server": "0.1.10",
|
|
56
|
+
"@ubean/devtools": "0.1.10",
|
|
57
|
+
"@ubean/env": "0.1.10",
|
|
58
|
+
"@ubean/error": "0.1.10",
|
|
59
|
+
"@ubean/build": "0.1.10",
|
|
60
|
+
"@ubean/i18n": "0.1.10",
|
|
61
|
+
"@ubean/islands": "0.1.10",
|
|
62
|
+
"@ubean/markdown": "0.1.10",
|
|
63
|
+
"@ubean/modules": "0.1.10",
|
|
64
|
+
"@ubean/prerender": "0.1.10",
|
|
65
|
+
"@ubean/preset": "0.1.10",
|
|
66
|
+
"@ubean/pages": "0.1.10",
|
|
67
|
+
"@ubean/seo": "0.1.10",
|
|
68
|
+
"@ubean/server": "0.1.10",
|
|
69
|
+
"@ubean/routing": "0.1.10",
|
|
70
|
+
"@ubean/ssr": "0.1.10",
|
|
71
|
+
"@ubean/types": "0.1.10",
|
|
72
|
+
"@ubean/runtime": "0.1.10",
|
|
73
|
+
"@ubean/utils": "0.1.10",
|
|
74
|
+
"@ubean/vite": "0.1.10"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@types/node": "^26.1.2",
|