@ubean/client 0.5.2 → 0.6.0-beta.1
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/index.d.ts +18 -5
- package/dist/index.js +25 -5
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import { A as createUbeanRouter, D as UbeanVuePage, E as definePage, O as usePag
|
|
|
2
2
|
import { a as applyAppConfig, c as mergeAppConfig, n as DefineAppOptions, o as createDefaultAppConfig, r as ResolvedAppConfig, s as defineApp, t as AppPluginConfig } from "./define-app-RzHOZlYB.js";
|
|
3
3
|
import { App, ComputedRef, Ref, ShallowRef } from "vue";
|
|
4
4
|
import "vue-router";
|
|
5
|
-
import { ClientOnly, ClientOnlyProps, ClientOnlySlots, ERROR_KEY, ErrorBoundary, LAYOUT_CHAIN_KEY, LOADING_KEY, LOCALIZE_PATH_KEY, LayoutChainContext, LayoutChainRenderer, Link, PAGE_KEY, PageView, RouteLocation, RouteLocationRaw, SSR_KEY, SlotView, TRANSITION_KEY, TypedLinkProps, UbeanVueOptions, UbeanVuePageData, UseCacheViewsReturn, UsePageTransitionReturn, UseReloadSignalReturn, ViewTransitionOptions, clearPageTransition, disablePageCache, enablePageCache, excludePageCache, getCacheEnabled, getCachedViewNames, getExcludedViewNames, getNamedPageWrapper, getNavigationType, getPageTransitionName, getReloadCounter, includePageCache, initCachedViewsFromRoutes, invalidatePageCache, isActiveRoute, isCacheEnabled, isPageCached, isPageExcluded, isReloading, reloadPage, resetNamedPageWrappers, resetRouteCache, resolveRoute, setPageTransition, supportsViewTransitions, ubeanVue, useCacheViews, usePageTransition, useReloadSignal, useViewTransition, useViewTransitionState, withViewTransition } from "@ubean/vue";
|
|
5
|
+
import { ClientOnly, ClientOnlyProps, ClientOnlySlots, ERROR_KEY, ErrorBoundary, LAYOUT_CHAIN_KEY, LOADING_KEY, LOCALIZE_PATH_KEY, LayoutChainContext, LayoutChainRenderer, Link, MatcherFunction, MatcherGuardOptions, PAGE_KEY, PageView, RouteLocation, RouteLocationRaw, SSR_KEY, SlotView, TRANSITION_KEY, TypedLinkProps, UbeanVueOptions, UbeanVuePageData, UseCacheViewsReturn, UsePageTransitionReturn, UseReloadSignalReturn, ViewTransitionOptions, clearPageTransition, createMatcherGuard, defineMatcher, disablePageCache, enablePageCache, excludePageCache, getCacheEnabled, getCachedViewNames, getExcludedViewNames, getMatcher, getNamedPageWrapper, getNavigationType, getPageTransitionName, getReloadCounter, hasMatcher, includePageCache, initCachedViewsFromRoutes, invalidatePageCache, isActiveRoute, isCacheEnabled, isPageCached, isPageExcluded, isReloading, listMatcherNames, reloadPage, resetNamedPageWrappers, resetRouteCache, resolveRoute, setPageTransition, supportsViewTransitions, ubeanVue, useCacheViews, usePageTransition, useReloadSignal, useViewTransition, useViewTransitionState, validateParams, withViewTransition } from "@ubean/vue";
|
|
6
|
+
import { JsonLdInput, JsonLdInput as JsonLdInput$1, JsonLdSchema, LinkTag, MetaTag, SeoMetadata, defineJsonLd, mergeJsonLd, renderJsonLdScript, renderJsonLdScripts, schemaOrg } from "@ubean/seo";
|
|
6
7
|
import { createHead as createClientHead } from "@unhead/vue/client";
|
|
7
|
-
import { DataResult, PageObject, UseAsyncDataOptions, UseFetchOptions, invalidateData, setDefaultFetch, useAsyncData, useData, useFetch } from "@ubean/pages";
|
|
8
|
+
import { DEFERRED_DATA_ID, DataResult, DeferredValue, PageObject, UseAsyncDataOptions, UseDeferredDataResult, UseFetchOptions, defer, invalidateData, isDeferredValue, setDefaultFetch, useAsyncData, useData, useDeferredData, useFetch } from "@ubean/pages";
|
|
8
9
|
import { I18n } from "vue-i18n";
|
|
9
10
|
import { LocaleRoutingConfig, buildLocaleHead } from "@ubean/i18n/browser";
|
|
10
|
-
import { HydrateIslandsOptions, IslandHydrateOptions, IslandHydrationScheduler, IslandRecord, collectIslands, hasPendingIslands, hydrateIsland, hydrateIslands, scheduleIslandHydration } from "@ubean/islands/runtime";
|
|
11
|
-
import { LinkTag, MetaTag, SeoMetadata } from "@ubean/seo";
|
|
11
|
+
import { HydrateIslandsOptions, IslandHydrateOptions, IslandHydrationScheduler, IslandOptions, IslandRecord, IslandStrategy, ServerIslandOptions, collectIslands, defineIsland, defineServerIsland, hasPendingIslands, hydrateIsland, hydrateIslands, scheduleIslandHydration } from "@ubean/islands/runtime";
|
|
12
12
|
//#region src/client.d.ts
|
|
13
13
|
export declare function getInitialPageData<T = Record<string, unknown>>(): PageObject<T> | null;
|
|
14
14
|
/**
|
|
@@ -25,6 +25,19 @@ export declare function getInitialState(): Record<string, unknown> | null;
|
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/head.d.ts
|
|
27
27
|
export declare function useHeadInstance(): import("@unhead/vue").VueHeadClient;
|
|
28
|
+
/**
|
|
29
|
+
* 注册 JSON-LD 结构化数据(P9-07)。
|
|
30
|
+
*
|
|
31
|
+
* **为什么这个 Vue 版本是「能用的那个」**:`@ubean/seo` 里同名函数是 isomorphic 的降级实现 ——
|
|
32
|
+
* 它把 schema 推给 `globalThis.__UBEAN_HEAD__`,而那个全局**从来没有人注册**(全仓只有它自己在读),
|
|
33
|
+
* 于是实际上是**静默空操作**(文档却写着「通过 useHead 注入 head」,实测注入不进去)。Vue 侧要走
|
|
34
|
+
* `@unhead/vue` 的 `useHead` 才能真正进 head,而 `@ubean/seo` 不能依赖 Vue/unhead —— 因此把可用版本
|
|
35
|
+
* 放在这里,并让 isomorphic 版本在缺 head 时告警,避免下次再静默失败。
|
|
36
|
+
*
|
|
37
|
+
* 序列化复用 `serializeJsonLd()`(转义 `</script>`、U+2028/U+2029),字段用 unhead v3 的
|
|
38
|
+
* `textContent`(v3 的 script 条目用 `textContent`,不是 `innerHTML`)。
|
|
39
|
+
*/
|
|
40
|
+
export declare function useSchemaOrg(schema: JsonLdInput$1): JsonLdInput$1;
|
|
28
41
|
//#endregion
|
|
29
42
|
//#region src/composables.d.ts
|
|
30
43
|
interface UbeanVueContext {
|
|
@@ -513,4 +526,4 @@ export declare function _resetSearch(): void;
|
|
|
513
526
|
*/
|
|
514
527
|
export declare function _setPagefindMock(mock: any): void;
|
|
515
528
|
//#endregion
|
|
516
|
-
export { type AppPluginConfig, ClientOnly, type ClientOnlyProps, type ClientOnlySlots, type ColorMode, type ColorModeConfig, type CreateUbeanRouterOptions, type DataCacheStore, type DataResult, type DefineAppOptions, ERROR_KEY, ErrorBoundary, Head, type HydrateIslandsOptions, type I18nRuntimeConfig, type IslandHydrateOptions, type IslandHydrationScheduler, type IslandRecord, LAYOUT_CHAIN_KEY, LOADING_KEY, LOCALIZE_PATH_KEY, type LayoutChainContext, LayoutChainRenderer, Link, type LinkProps, type LinkTag, type LocaleLoader, type LocaleMessages, type MetaTag, PAGE_KEY, PageView, type PartyTownConfig, type ResolvedAppConfig, type RouteLocation, type RouteLocationRaw, SSR_KEY, type ScriptTrigger, type SearchFilters, type SearchResult, type SearchRuntimeConfig, type SeoMetadata, SlotView, TRANSITION_KEY, type TypedLinkProps, type UbeanAppInstance, type UbeanAppOptions, type UbeanVueContext, type UbeanVueOptions, type UbeanVuePage, type UbeanVuePageData, type UseAsyncDataOptions, type UseAsyncDataReturn, type UseCacheViewsReturn, type UseFetchOptions, type UsePageTransitionReturn, type UseReloadSignalReturn, type UseScriptOptions, type UseScriptReturn, type UseSearchOptions, type UseSearchReturn, type ViewTransitionOptions, applyAppConfig, clearPageTransition, collectIslands, createClientHead, createDefaultAppConfig, createUbeanClientApp, createUbeanRouter, createUbeanSSRApp, defineApp, defineMeta, defineMiddleware, definePage, disablePageCache, enablePageCache, excludePageCache, getCacheEnabled, getCachedViewNames, getExcludedViewNames, getNamedPageWrapper, getNavigationType, getPageTransitionName, getReloadCounter, hasPendingIslands, hydrateIsland, hydrateIslands, includePageCache, initCachedViewsFromRoutes, invalidateData, invalidatePageCache, isActiveRoute, isCacheEnabled, isPageCached, isPageExcluded, isReloading, mergeAppConfig, reloadPage, resetNamedPageWrappers, resetRouteCache, resolveRoute, scheduleIslandHydration, setDefaultFetch, setPageTransition, supportsViewTransitions, ubeanVue, useAsyncData, useCacheViews, useData, useFetch, useUnheadHead as useHead, usePage, usePageTransition, useReloadSignal, useSeoMeta, useViewTransition, useViewTransitionState, withViewTransition };
|
|
529
|
+
export { type AppPluginConfig, ClientOnly, type ClientOnlyProps, type ClientOnlySlots, type ColorMode, type ColorModeConfig, type CreateUbeanRouterOptions, DEFERRED_DATA_ID, type DataCacheStore, type DataResult, type DeferredValue, type DefineAppOptions, ERROR_KEY, ErrorBoundary, Head, type HydrateIslandsOptions, type I18nRuntimeConfig, type IslandHydrateOptions, type IslandHydrationScheduler, type IslandOptions, type IslandRecord, type IslandStrategy, type JsonLdInput, type JsonLdSchema, LAYOUT_CHAIN_KEY, LOADING_KEY, LOCALIZE_PATH_KEY, type LayoutChainContext, LayoutChainRenderer, Link, type LinkProps, type LinkTag, type LocaleLoader, type LocaleMessages, type MatcherFunction, type MatcherGuardOptions, type MetaTag, PAGE_KEY, PageView, type PartyTownConfig, type ResolvedAppConfig, type RouteLocation, type RouteLocationRaw, SSR_KEY, type ScriptTrigger, type SearchFilters, type SearchResult, type SearchRuntimeConfig, type SeoMetadata, type ServerIslandOptions, SlotView, TRANSITION_KEY, type TypedLinkProps, type UbeanAppInstance, type UbeanAppOptions, type UbeanVueContext, type UbeanVueOptions, type UbeanVuePage, type UbeanVuePageData, type UseAsyncDataOptions, type UseAsyncDataReturn, type UseCacheViewsReturn, type UseDeferredDataResult, type UseFetchOptions, type UsePageTransitionReturn, type UseReloadSignalReturn, type UseScriptOptions, type UseScriptReturn, type UseSearchOptions, type UseSearchReturn, type ViewTransitionOptions, applyAppConfig, clearPageTransition, collectIslands, createClientHead, createDefaultAppConfig, createMatcherGuard, createUbeanClientApp, createUbeanRouter, createUbeanSSRApp, defer, defineApp, defineIsland, defineJsonLd, defineMatcher, defineMeta, defineMiddleware, definePage, defineServerIsland, disablePageCache, enablePageCache, excludePageCache, getCacheEnabled, getCachedViewNames, getExcludedViewNames, getMatcher, getNamedPageWrapper, getNavigationType, getPageTransitionName, getReloadCounter, hasMatcher, hasPendingIslands, hydrateIsland, hydrateIslands, includePageCache, initCachedViewsFromRoutes, invalidateData, invalidatePageCache, isActiveRoute, isCacheEnabled, isDeferredValue, isPageCached, isPageExcluded, isReloading, listMatcherNames, mergeAppConfig, mergeJsonLd, reloadPage, renderJsonLdScript, renderJsonLdScripts, resetNamedPageWrappers, resetRouteCache, resolveRoute, scheduleIslandHydration, schemaOrg, setDefaultFetch, setPageTransition, supportsViewTransitions, ubeanVue, useAsyncData, useCacheViews, useData, useDeferredData, useFetch, useUnheadHead as useHead, usePage, usePageTransition, useReloadSignal, useSeoMeta, useViewTransition, useViewTransitionState, validateParams, withViewTransition };
|
package/dist/index.js
CHANGED
|
@@ -2,11 +2,12 @@ import { C as createUbeanRouter, S as definePage, _ as useSeoMeta, b as defineMe
|
|
|
2
2
|
import { a as getI18nRuntimeConfig, c as installUbeanI18n, d as switchLocalePath, f as useLocaleHead, h as useSwitchLocalePath, i as extractLocaleFromPath, l as localizePath, m as useLocaleRoute, n as configureI18nRuntime, o as getLocale, p as useLocalePath, r as createUbeanI18n, s as initClientI18n, u as setLocale } from "./i18n-DPOzFBuG.js";
|
|
3
3
|
import { applyAppConfig, createDefaultAppConfig, defineApp, mergeAppConfig } from "./define-app.js";
|
|
4
4
|
import { computed, getCurrentInstance, markRaw, onMounted, onScopeDispose, onUnmounted, ref, shallowRef, watch } from "vue";
|
|
5
|
-
import { ClientOnly, ERROR_KEY, ErrorBoundary, LAYOUT_CHAIN_KEY, LOADING_KEY, LOCALIZE_PATH_KEY, LayoutChainRenderer, Link, PAGE_KEY, PageView, SSR_KEY, SlotView, TRANSITION_KEY, clearPageTransition, disablePageCache, enablePageCache, excludePageCache, getCacheEnabled, getCachedViewNames, getExcludedViewNames, getNamedPageWrapper, getNavigationType, getPageTransitionName, getReloadCounter, includePageCache, initCachedViewsFromRoutes, invalidatePageCache, isActiveRoute, isCacheEnabled, isPageCached, isPageExcluded, isReloading, reloadPage, resetNamedPageWrappers, resetRouteCache, resolveRoute, setPageTransition, supportsViewTransitions, ubeanVue, useCacheViews, usePageTransition, useReloadSignal, useViewTransition, useViewTransitionState, withViewTransition } from "@ubean/vue";
|
|
6
|
-
import {
|
|
5
|
+
import { ClientOnly, ERROR_KEY, ErrorBoundary, LAYOUT_CHAIN_KEY, LOADING_KEY, LOCALIZE_PATH_KEY, LayoutChainRenderer, Link, PAGE_KEY, PageView, SSR_KEY, SlotView, TRANSITION_KEY, clearPageTransition, createMatcherGuard, defineMatcher, disablePageCache, enablePageCache, excludePageCache, getCacheEnabled, getCachedViewNames, getExcludedViewNames, getMatcher, getNamedPageWrapper, getNavigationType, getPageTransitionName, getReloadCounter, hasMatcher, includePageCache, initCachedViewsFromRoutes, invalidatePageCache, isActiveRoute, isCacheEnabled, isPageCached, isPageExcluded, isReloading, listMatcherNames, reloadPage, resetNamedPageWrappers, resetRouteCache, resolveRoute, setPageTransition, supportsViewTransitions, ubeanVue, useCacheViews, usePageTransition, useReloadSignal, useViewTransition, useViewTransitionState, validateParams, withViewTransition } from "@ubean/vue";
|
|
6
|
+
import { defineJsonLd, mergeJsonLd, renderJsonLdScript, renderJsonLdScripts, schemaOrg, serializeJsonLd } from "@ubean/seo";
|
|
7
|
+
import { injectHead, useHead } from "@unhead/vue";
|
|
7
8
|
import { createHead as createClientHead } from "@unhead/vue/client";
|
|
8
|
-
import { defineDataKey as defineDataKey$1, invalidateData, setDefaultFetch, useAsyncData, useData, useFetch } from "@ubean/pages";
|
|
9
|
-
import { collectIslands, hasPendingIslands, hydrateIsland, hydrateIslands, scheduleIslandHydration } from "@ubean/islands/runtime";
|
|
9
|
+
import { DEFERRED_DATA_ID, defer, defineDataKey as defineDataKey$1, invalidateData, isDeferredValue, setDefaultFetch, useAsyncData, useData, useDeferredData, useFetch } from "@ubean/pages";
|
|
10
|
+
import { collectIslands, defineIsland, defineServerIsland, hasPendingIslands, hydrateIsland, hydrateIslands, scheduleIslandHydration } from "@ubean/islands/runtime";
|
|
10
11
|
//#region src/client.ts
|
|
11
12
|
const _global$1 = globalThis;
|
|
12
13
|
function getInitialPageData() {
|
|
@@ -46,6 +47,25 @@ function getInitialState() {
|
|
|
46
47
|
function useHeadInstance() {
|
|
47
48
|
return injectHead();
|
|
48
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* 注册 JSON-LD 结构化数据(P9-07)。
|
|
52
|
+
*
|
|
53
|
+
* **为什么这个 Vue 版本是「能用的那个」**:`@ubean/seo` 里同名函数是 isomorphic 的降级实现 ——
|
|
54
|
+
* 它把 schema 推给 `globalThis.__UBEAN_HEAD__`,而那个全局**从来没有人注册**(全仓只有它自己在读),
|
|
55
|
+
* 于是实际上是**静默空操作**(文档却写着「通过 useHead 注入 head」,实测注入不进去)。Vue 侧要走
|
|
56
|
+
* `@unhead/vue` 的 `useHead` 才能真正进 head,而 `@ubean/seo` 不能依赖 Vue/unhead —— 因此把可用版本
|
|
57
|
+
* 放在这里,并让 isomorphic 版本在缺 head 时告警,避免下次再静默失败。
|
|
58
|
+
*
|
|
59
|
+
* 序列化复用 `serializeJsonLd()`(转义 `<\/script>`、U+2028/U+2029),字段用 unhead v3 的
|
|
60
|
+
* `textContent`(v3 的 script 条目用 `textContent`,不是 `innerHTML`)。
|
|
61
|
+
*/
|
|
62
|
+
function useSchemaOrg(schema) {
|
|
63
|
+
useHead({ script: [{
|
|
64
|
+
type: "application/ld+json",
|
|
65
|
+
textContent: serializeJsonLd(schema)
|
|
66
|
+
}] });
|
|
67
|
+
return schema;
|
|
68
|
+
}
|
|
49
69
|
//#endregion
|
|
50
70
|
//#region src/composables.ts
|
|
51
71
|
const _global = globalThis;
|
|
@@ -1021,4 +1041,4 @@ function _setPagefindMock(mock) {
|
|
|
1021
1041
|
pagefindPromise = Promise.resolve(mock);
|
|
1022
1042
|
}
|
|
1023
1043
|
//#endregion
|
|
1024
|
-
export { ClientOnly, ERROR_KEY, ErrorBoundary, Head, LAYOUT_CHAIN_KEY, LOADING_KEY, LOCALIZE_PATH_KEY, LayoutChainRenderer, Link, PAGE_KEY, PageView, SSR_KEY, SlotView, TRANSITION_KEY, _resetColorMode, _resetPartyTown, _resetSearch, _setPagefindMock, applyAppConfig, clearCache, clearPageTransition, collectIslands, configureColorMode, configureI18nRuntime, configurePartyTown, configureSearch, createClientHead, createDataCacheStore, createDefaultAppConfig, createLinkHandler, createUbeanClientApp, createUbeanI18n, createUbeanRouter, createUbeanSSRApp, createUseAsyncData, defineApp, defineDataKey, defineMeta, defineMiddleware, definePage, disablePageCache, enablePageCache, excludePageCache, executeSearch, extractLocaleFromPath, extractPageData, forceColorMode, getCacheEnabled, getCachedViewNames, getColorModeConfig, getColorModeScript, getExcludedViewNames, getI18nRuntimeConfig, getInitialPageData, getInitialState, getInvalidatedKeysForAction, getLocale, getNamedPageWrapper, getNavigationType, getPageTransitionName, getPartyTownConfig, getPartyTownHeadContent, getPartyTownScript, getReloadCounter, getSearchConfig, hasPendingIslands, hydrateIsland, hydrateIslands, includePageCache, initCachedViewsFromRoutes, initClientI18n, initPagefind, installUbeanI18n, invalidateCache, invalidateData, invalidatePageCache, isActiveRoute, isCacheEnabled, isPageCached, isPageExcluded, isPagefindLoaded, isPartyTownEnabled, isReloading, localizePath, mergeAppConfig, reloadPage, resetNamedPageWrappers, resetRouteCache, resolveColorModeConfig, resolvePartyTownConfig, resolveRoute, resolveSearchConfig, scheduleIslandHydration, setDefaultFetch, setLocale, setPageTransition, supportsViewTransitions, switchLocalePath, ubeanVue, unforceColorMode, useAsyncData, useCacheViews, useColorMode, useData, useFetch, useUnheadHead as useHead, useHeadInstance, useLocaleHead, useLocalePath, useLocaleRoute, usePage, usePageTransition, useReloadSignal, useScript, useSearch, useSeoMeta, useServerData, useSwitchLocalePath, useViewTransition, useViewTransitionState, withViewTransition };
|
|
1044
|
+
export { ClientOnly, DEFERRED_DATA_ID, ERROR_KEY, ErrorBoundary, Head, LAYOUT_CHAIN_KEY, LOADING_KEY, LOCALIZE_PATH_KEY, LayoutChainRenderer, Link, PAGE_KEY, PageView, SSR_KEY, SlotView, TRANSITION_KEY, _resetColorMode, _resetPartyTown, _resetSearch, _setPagefindMock, applyAppConfig, clearCache, clearPageTransition, collectIslands, configureColorMode, configureI18nRuntime, configurePartyTown, configureSearch, createClientHead, createDataCacheStore, createDefaultAppConfig, createLinkHandler, createMatcherGuard, createUbeanClientApp, createUbeanI18n, createUbeanRouter, createUbeanSSRApp, createUseAsyncData, defer, defineApp, defineDataKey, defineIsland, defineJsonLd, defineMatcher, defineMeta, defineMiddleware, definePage, defineServerIsland, disablePageCache, enablePageCache, excludePageCache, executeSearch, extractLocaleFromPath, extractPageData, forceColorMode, getCacheEnabled, getCachedViewNames, getColorModeConfig, getColorModeScript, getExcludedViewNames, getI18nRuntimeConfig, getInitialPageData, getInitialState, getInvalidatedKeysForAction, getLocale, getMatcher, getNamedPageWrapper, getNavigationType, getPageTransitionName, getPartyTownConfig, getPartyTownHeadContent, getPartyTownScript, getReloadCounter, getSearchConfig, hasMatcher, hasPendingIslands, hydrateIsland, hydrateIslands, includePageCache, initCachedViewsFromRoutes, initClientI18n, initPagefind, installUbeanI18n, invalidateCache, invalidateData, invalidatePageCache, isActiveRoute, isCacheEnabled, isDeferredValue, isPageCached, isPageExcluded, isPagefindLoaded, isPartyTownEnabled, isReloading, listMatcherNames, localizePath, mergeAppConfig, mergeJsonLd, reloadPage, renderJsonLdScript, renderJsonLdScripts, resetNamedPageWrappers, resetRouteCache, resolveColorModeConfig, resolvePartyTownConfig, resolveRoute, resolveSearchConfig, scheduleIslandHydration, schemaOrg, setDefaultFetch, setLocale, setPageTransition, supportsViewTransitions, switchLocalePath, ubeanVue, unforceColorMode, useAsyncData, useCacheViews, useColorMode, useData, useDeferredData, useFetch, useUnheadHead as useHead, useHeadInstance, useLocaleHead, useLocalePath, useLocaleRoute, usePage, usePageTransition, useReloadSignal, useSchemaOrg, useScript, useSearch, useSeoMeta, useServerData, useSwitchLocalePath, useViewTransition, useViewTransitionState, validateParams, withViewTransition };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ubean/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0-beta.1",
|
|
4
4
|
"description": "Framework client runtime for ubean — layered over the lean @ubean/vue kernel, adding app factories, unhead, i18n, data layer, islands hydration and SSR state helpers",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ubean/i18n": "0.
|
|
36
|
-
"@ubean/islands": "0.
|
|
37
|
-
"@ubean/pages": "0.
|
|
38
|
-
"@ubean/shared": "0.
|
|
39
|
-
"@ubean/vue": "0.
|
|
35
|
+
"@ubean/i18n": "0.6.0-beta.1",
|
|
36
|
+
"@ubean/islands": "0.6.0-beta.1",
|
|
37
|
+
"@ubean/pages": "0.6.0-beta.1",
|
|
38
|
+
"@ubean/shared": "0.6.0-beta.1",
|
|
39
|
+
"@ubean/vue": "0.6.0-beta.1",
|
|
40
40
|
"@unhead/vue": "^3.4.0",
|
|
41
41
|
"@vue/server-renderer": "^3.5.42",
|
|
42
42
|
"vue": "^3.5.42",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"vite-plus": "0.3.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@ubean/seo": "0.
|
|
52
|
+
"@ubean/seo": "0.6.0-beta.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
55
55
|
"@ubean/seo": {
|