ubean 0.4.4 → 0.4.6

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/client.d.ts CHANGED
@@ -24,7 +24,7 @@ declare global {
24
24
  }
25
25
  }
26
26
  //#endregion
27
- //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.0_@types+node@26.5.0_jiti@2.7.0_terser@5._1ea8df54bb4a1d78fa29ad50bff69301/node_modules/unhead/dist/shared/unhead.DC0v7nqS.d.ts
27
+ //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.1_@types+node@26.5.0_jiti@2.7.0_terser@5._025c9fefd331b74654fa899630591f0b/node_modules/unhead/dist/shared/unhead.DC0v7nqS.d.ts
28
28
  type Booleanable = boolean | 'false' | 'true' | '';
29
29
  type Stringable = string | Booleanable | number;
30
30
  type Falsy$1 = false | null | undefined;
@@ -1831,7 +1831,7 @@ interface HeadTag extends TagPriority, TagPosition, ResolvesDuplicates, HasTempl
1831
1831
  _source?: string;
1832
1832
  }
1833
1833
  //#endregion
1834
- //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.0_@types+node@26.5.0_jiti@2.7.0_terser@5._1ea8df54bb4a1d78fa29ad50bff69301/node_modules/unhead/dist/shared/unhead.CN9FlNPx.d.ts
1834
+ //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.1_@types+node@26.5.0_jiti@2.7.0_terser@5._025c9fefd331b74654fa899630591f0b/node_modules/unhead/dist/shared/unhead.CN9FlNPx.d.ts
1835
1835
  type UseScriptStatus = 'awaitingLoad' | 'loading' | 'loaded' | 'error' | 'removed';
1836
1836
  type BaseScriptApi = Record<symbol | string, any>;
1837
1837
  type HasDiscriminatedParameters<T> = T extends {
@@ -2380,13 +2380,13 @@ interface DomState {
2380
2380
  _e: Map<string, Element>;
2381
2381
  }
2382
2382
  //#endregion
2383
- //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.0_@types+node@26.5.0_jiti@2.7.0_terser@5._1ea8df54bb4a1d78fa29ad50bff69301/node_modules/unhead/dist/shared/unhead.DiHEHi7R.d.ts
2383
+ //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.1_@types+node@26.5.0_jiti@2.7.0_terser@5._025c9fefd331b74654fa899630591f0b/node_modules/unhead/dist/shared/unhead.DiHEHi7R.d.ts
2384
2384
  type Base = RawInput<'base'>;
2385
2385
  type HtmlAttributes = RawInput<'htmlAttrs'>;
2386
2386
  type Noscript = RawInput<'noscript'>;
2387
2387
  type Style = RawInput<'style'>;
2388
2388
  //#endregion
2389
- //#region ../../node_modules/.pnpm/@unhead+vue@3.4.0_@oxc-project+types@0.146.0_@voidzero-dev+vite-plus-core@0.3.0_@types+_2a371032eddff4da76114547fa626829/node_modules/@unhead/vue/dist/shared/vue.B8YcFbNO.d.ts
2389
+ //#region ../../node_modules/.pnpm/@unhead+vue@3.4.0_@oxc-project+types@0.148.0_@voidzero-dev+vite-plus-core@0.3.1_@types+_df0252c3b9e136470a199958723381d7/node_modules/@unhead/vue/dist/shared/vue.B8YcFbNO.d.ts
2390
2390
  type Falsy = false | null | undefined;
2391
2391
  type MaybeFalsy<T> = T | Falsy;
2392
2392
  type ResolvableValue<T> = MaybeFalsy<T> | (() => MaybeFalsy<T>) | ComputedRef<MaybeFalsy<T>> | Ref<MaybeFalsy<T>>;
@@ -2509,7 +2509,7 @@ interface ReactiveHead {
2509
2509
  type UseHeadInput<_Deprecated = never> = ResolvableValue<ReactiveHead>;
2510
2510
  type VueHeadClient<I = UseHeadInput, R = unknown> = Unhead<I, R> & Plugin;
2511
2511
  //#endregion
2512
- //#region ../../node_modules/.pnpm/@unhead+vue@3.4.0_@oxc-project+types@0.146.0_@voidzero-dev+vite-plus-core@0.3.0_@types+_2a371032eddff4da76114547fa626829/node_modules/@unhead/vue/dist/server.d.ts
2512
+ //#region ../../node_modules/.pnpm/@unhead+vue@3.4.0_@oxc-project+types@0.148.0_@voidzero-dev+vite-plus-core@0.3.1_@types+_df0252c3b9e136470a199958723381d7/node_modules/@unhead/vue/dist/server.d.ts
2513
2513
  declare function createHead(options?: Omit<CreateServerHeadOptions, 'propResolvers'>): VueHeadClient<UseHeadInput, SSRHeadPayload>;
2514
2514
  //#endregion
2515
2515
  //#region src/client.d.ts
@@ -2518,8 +2518,8 @@ declare function createHead(options?: Omit<CreateServerHeadOptions, 'propResolve
2518
2518
  *
2519
2519
  * 合并优先级:手动注册 > 自动注册(允许用户对特定组件做特殊处理)。
2520
2520
  */
2521
- declare function hydrateIslands(options?: Omit<HydrateIslandsOptions, 'components'> & {
2521
+ export declare function hydrateIslands(options?: Omit<HydrateIslandsOptions, 'components'> & {
2522
2522
  components?: Record<string, Component | (() => Promise<Component>)>;
2523
2523
  }): void;
2524
2524
  //#endregion
2525
- export { type UseActionReturn, type UseFormActionReturn, callAction, createHead as createServerHead, hydrateIslands, invokeServerFn, useAction, useFormAction };
2525
+ export { type UseActionReturn, type UseFormActionReturn, callAction, createHead as createServerHead, invokeServerFn, useAction, useFormAction };
package/dist/client.js CHANGED
@@ -3,7 +3,7 @@ import { islands } from "virtual:ubean-islands-registry";
3
3
  import { callAction, invokeServerFn, useAction, useFormAction } from "@ubean/routes/runtime";
4
4
  import { isRef, toValue } from "vue";
5
5
  export * from "@ubean/client";
6
- //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.0_@types+node@26.5.0_jiti@2.7.0_terser@5._1ea8df54bb4a1d78fa29ad50bff69301/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
6
+ //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.1_@types+node@26.5.0_jiti@2.7.0_terser@5._025c9fefd331b74654fa899630591f0b/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
7
7
  function registerPlugin(head, p) {
8
8
  if (typeof p === "function" && p.key && head.plugins.has(p.key)) return;
9
9
  const plugin = typeof p === "function" ? p(head) : p;
@@ -58,7 +58,7 @@ function createUnhead(renderer, resolvedOptions = {}) {
58
58
  return head;
59
59
  }
60
60
  //#endregion
61
- //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.0_@types+node@26.5.0_jiti@2.7.0_terser@5._1ea8df54bb4a1d78fa29ad50bff69301/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs
61
+ //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.1_@types+node@26.5.0_jiti@2.7.0_terser@5._025c9fefd331b74654fa899630591f0b/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs
62
62
  const SelfClosingTags = /* @__PURE__ */ new Set([
63
63
  "meta",
64
64
  "link",
@@ -183,7 +183,7 @@ var HookableCore = class {
183
183
  }
184
184
  };
185
185
  //#endregion
186
- //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.0_@types+node@26.5.0_jiti@2.7.0_terser@5._1ea8df54bb4a1d78fa29ad50bff69301/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs
186
+ //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.1_@types+node@26.5.0_jiti@2.7.0_terser@5._025c9fefd331b74654fa899630591f0b/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs
187
187
  function createHooks(hooks) {
188
188
  const instance = new HookableCore();
189
189
  for (const key in hooks || {}) instance.hook(key, hooks[key]);
@@ -194,7 +194,7 @@ function callHook(head, hook, ctx) {
194
194
  return head.hooks?.callHook(hook, ctx);
195
195
  }
196
196
  //#endregion
197
- //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.0_@types+node@26.5.0_jiti@2.7.0_terser@5._1ea8df54bb4a1d78fa29ad50bff69301/node_modules/unhead/dist/shared/unhead.-hZVKou0.mjs
197
+ //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.1_@types+node@26.5.0_jiti@2.7.0_terser@5._025c9fefd331b74654fa899630591f0b/node_modules/unhead/dist/shared/unhead.-hZVKou0.mjs
198
198
  const META_NOREWRITE_RE = /^(?:viewport|description|keywords|robots)$/;
199
199
  const META_KEY_ATTRS = [
200
200
  "name",
@@ -539,7 +539,7 @@ function resolveTags(head, options) {
539
539
  return sanitizeTagsInPlace(ctx.tags);
540
540
  }
541
541
  //#endregion
542
- //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.0_@types+node@26.5.0_jiti@2.7.0_terser@5._1ea8df54bb4a1d78fa29ad50bff69301/node_modules/unhead/dist/shared/unhead.Dssd7L5I.mjs
542
+ //#region ../../node_modules/.pnpm/unhead@3.4.0_@voidzero-dev+vite-plus-core@0.3.1_@types+node@26.5.0_jiti@2.7.0_terser@5._025c9fefd331b74654fa899630591f0b/node_modules/unhead/dist/shared/unhead.Dssd7L5I.mjs
543
543
  const isTruthy = (v) => v === "" || v === true;
544
544
  function capoTagWeight(tag) {
545
545
  if (typeof tag.tagPriority === "number") return tag.tagPriority;
@@ -704,7 +704,7 @@ function createHead$1(options = {}) {
704
704
  return core;
705
705
  }
706
706
  //#endregion
707
- //#region ../../node_modules/.pnpm/@unhead+vue@3.4.0_@oxc-project+types@0.146.0_@voidzero-dev+vite-plus-core@0.3.0_@types+_2a371032eddff4da76114547fa626829/node_modules/@unhead/vue/dist/shared/vue.DKb5ZKVl.mjs
707
+ //#region ../../node_modules/.pnpm/@unhead+vue@3.4.0_@oxc-project+types@0.148.0_@voidzero-dev+vite-plus-core@0.3.1_@types+_df0252c3b9e136470a199958723381d7/node_modules/@unhead/vue/dist/shared/vue.DKb5ZKVl.mjs
708
708
  const headSymbol = "usehead";
709
709
  // @__NO_SIDE_EFFECTS__
710
710
  function vueInstall(head) {
@@ -715,10 +715,10 @@ function vueInstall(head) {
715
715
  } }.install;
716
716
  }
717
717
  //#endregion
718
- //#region ../../node_modules/.pnpm/@unhead+vue@3.4.0_@oxc-project+types@0.146.0_@voidzero-dev+vite-plus-core@0.3.0_@types+_2a371032eddff4da76114547fa626829/node_modules/@unhead/vue/dist/shared/vue.D2XR8FqS.mjs
718
+ //#region ../../node_modules/.pnpm/@unhead+vue@3.4.0_@oxc-project+types@0.148.0_@voidzero-dev+vite-plus-core@0.3.1_@types+_df0252c3b9e136470a199958723381d7/node_modules/@unhead/vue/dist/shared/vue.D2XR8FqS.mjs
719
719
  const VueResolver = /* @__PURE__ */ Object.assign((_, value) => isRef(value) ? toValue(value) : value, { _static: true });
720
720
  //#endregion
721
- //#region ../../node_modules/.pnpm/@unhead+vue@3.4.0_@oxc-project+types@0.146.0_@voidzero-dev+vite-plus-core@0.3.0_@types+_2a371032eddff4da76114547fa626829/node_modules/@unhead/vue/dist/server.mjs
721
+ //#region ../../node_modules/.pnpm/@unhead+vue@3.4.0_@oxc-project+types@0.148.0_@voidzero-dev+vite-plus-core@0.3.1_@types+_df0252c3b9e136470a199958723381d7/node_modules/@unhead/vue/dist/server.mjs
722
722
  // @__NO_SIDE_EFFECTS__
723
723
  function createHead(options = {}) {
724
724
  const head = /* @__PURE__ */ createHead$1({
package/dist/index.d.ts CHANGED
@@ -9,6 +9,6 @@ export * from "@ubean/seo";
9
9
  export * from "@ubean/pages";
10
10
  export * from "@ubean/markdown";
11
11
  //#region src/index.d.ts
12
- declare function defineConfig(config?: UbeanConfig): UbeanConfig;
12
+ export declare function defineConfig(config?: UbeanConfig): UbeanConfig;
13
13
  //#endregion
14
- export { type AppPluginConfig, type CreateUbeanRouterOptions, type DataCacheStore, type DefineAppOptions, Head, type HttpMethod, type HydrateIslandsOptions, type I18nRuntimeConfig, type InternalFetchOptions, type IslandHydrateOptions, type IslandOptions, type IslandRecord, type IslandStrategy, Link, type LinkProps, type LogLevelName, type PageAssetTags, type PageHead, type PageRenderer, PageView, type RequestLoggerOptions, type ResolvedAppConfig, type RouteLocation, type RouteLocationRaw, type ServerIslandOptions, type TypedLinkProps, type UbeanAppInstance, type UbeanLogger, type UbeanLoggerOptions, type UbeanVueContext, type UseAsyncDataOptions, type UseAsyncDataReturn, type UseCacheViewsReturn, type UsePageTransitionReturn, type UseReloadSignalReturn, type ViewTransitionOptions, applyAppConfig, clearCache, clearPageTransition, collectIslands, configureI18nRuntime, createDataCacheStore, createDefaultAppConfig, createLinkHandler, createUbeanI18n, createUbeanLogger, createUbeanRouter, createUbeanSSRApp, createUseAsyncData, defineApp, defineConfig, defineDataKey, defineIsland, defineMeta, definePage, defineServerIsland, disablePageCache, enablePageCache, excludePageCache, extractLocaleFromPath, extractPageData, getCacheEnabled, getCachedViewNames, getExcludedViewNames, getI18nRuntimeConfig, getInitialPageData, getInitialState, getIslandsBootstrapScript, getLocale, getLogger, getNavigationType, getPageTransitionName, getReloadCounter, hasPendingIslands, hydrateIsland, hydrateIslands, includePageCache, initCachedViewsFromRoutes, invalidateCache, invalidatePageCache, isActiveRoute, isCacheEnabled, isPageCached, isPageExcluded, isReloading, localizePath, logger, mergeAppConfig, reloadPage, resetRouteCache, resolveRoute, scheduleIslandHydration, setDebugLogging, setLocale, setPageTransition, supportsViewTransitions, switchLocalePath, useCacheViews, useHead, useHeadInstance, useLocaleHead, useLocalePath, useLocaleRoute, usePage, usePageTransition, useReloadSignal, useServerData, useSwitchLocalePath, useViewTransition, useViewTransitionState, vClient, withViewTransition };
14
+ export { type AppPluginConfig, type CreateUbeanRouterOptions, type DataCacheStore, type DefineAppOptions, Head, type HttpMethod, type HydrateIslandsOptions, type I18nRuntimeConfig, type InternalFetchOptions, type IslandHydrateOptions, type IslandOptions, type IslandRecord, type IslandStrategy, Link, type LinkProps, type LogLevelName, type PageAssetTags, type PageHead, type PageRenderer, PageView, type RequestLoggerOptions, type ResolvedAppConfig, type RouteLocation, type RouteLocationRaw, type ServerIslandOptions, type TypedLinkProps, type UbeanAppInstance, type UbeanLogger, type UbeanLoggerOptions, type UbeanVueContext, type UseAsyncDataOptions, type UseAsyncDataReturn, type UseCacheViewsReturn, type UsePageTransitionReturn, type UseReloadSignalReturn, type ViewTransitionOptions, applyAppConfig, clearCache, clearPageTransition, collectIslands, configureI18nRuntime, createDataCacheStore, createDefaultAppConfig, createLinkHandler, createUbeanI18n, createUbeanLogger, createUbeanRouter, createUbeanSSRApp, createUseAsyncData, defineApp, defineDataKey, defineIsland, defineMeta, definePage, defineServerIsland, disablePageCache, enablePageCache, excludePageCache, extractLocaleFromPath, extractPageData, getCacheEnabled, getCachedViewNames, getExcludedViewNames, getI18nRuntimeConfig, getInitialPageData, getInitialState, getIslandsBootstrapScript, getLocale, getLogger, getNavigationType, getPageTransitionName, getReloadCounter, hasPendingIslands, hydrateIsland, hydrateIslands, includePageCache, initCachedViewsFromRoutes, invalidateCache, invalidatePageCache, isActiveRoute, isCacheEnabled, isPageCached, isPageExcluded, isReloading, localizePath, logger, mergeAppConfig, reloadPage, resetRouteCache, resolveRoute, scheduleIslandHydration, setDebugLogging, setLocale, setPageTransition, supportsViewTransitions, switchLocalePath, useCacheViews, useHead, useHeadInstance, useLocaleHead, useLocalePath, useLocaleRoute, usePage, usePageTransition, useReloadSignal, useServerData, useSwitchLocalePath, useViewTransition, useViewTransitionState, vClient, withViewTransition };
package/dist/vite.d.ts CHANGED
@@ -15,6 +15,6 @@ import { Plugin } from "vite";
15
15
  *
16
16
  * 注:组件级缓存通过 `defineCachedFunction()` 显式调用,无需 Vite 插件参与。
17
17
  */
18
- declare function ubeanPlugin(): Plugin[];
18
+ export declare function ubeanPlugin(): Plugin[];
19
19
  //#endregion
20
- export { type UbeanPluginOptions, type UbeanViteOptions, ubeanPlugin };
20
+ export type { UbeanPluginOptions, UbeanViteOptions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ubean",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
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"
@@ -51,30 +51,30 @@
51
51
  "@hono/standard-validator": "^0.4.0",
52
52
  "@standard-community/standard-json": "^0.3.6",
53
53
  "@standard-community/standard-openapi": "^0.2.10",
54
- "@ubean/app": "0.4.4",
55
- "@ubean/build": "0.4.4",
56
- "@ubean/cli": "0.4.4",
57
- "@ubean/client": "0.4.4",
58
- "@ubean/config": "0.4.4",
59
- "@ubean/i18n": "0.4.4",
60
- "@ubean/integrations": "0.4.4",
61
- "@ubean/islands": "0.4.4",
62
- "@ubean/markdown": "0.4.4",
63
- "@ubean/pages": "0.4.4",
64
- "@ubean/preset": "0.4.4",
65
- "@ubean/routes": "0.4.4",
66
- "@ubean/scan": "0.4.4",
67
- "@ubean/seo": "0.4.4",
68
- "@ubean/server": "0.4.4",
69
- "@ubean/shared": "0.4.4",
54
+ "@ubean/app": "0.4.6",
55
+ "@ubean/build": "0.4.6",
56
+ "@ubean/cli": "0.4.6",
57
+ "@ubean/client": "0.4.6",
58
+ "@ubean/config": "0.4.6",
59
+ "@ubean/i18n": "0.4.6",
60
+ "@ubean/integrations": "0.4.6",
61
+ "@ubean/islands": "0.4.6",
62
+ "@ubean/markdown": "0.4.6",
63
+ "@ubean/pages": "0.4.6",
64
+ "@ubean/preset": "0.4.6",
65
+ "@ubean/routes": "0.4.6",
66
+ "@ubean/scan": "0.4.6",
67
+ "@ubean/seo": "0.4.6",
68
+ "@ubean/server": "0.4.6",
69
+ "@ubean/shared": "0.4.6",
70
70
  "hono": "4.13.7",
71
71
  "hono-openapi": "^1.3.2"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@types/node": "^26.5.0",
75
- "typescript": "7.0.2",
76
- "vite": "npm:@voidzero-dev/vite-plus-core@0.3.0",
77
- "vite-plus": "0.3.0",
75
+ "typescript": "npm:typescript-native-bridge@latest",
76
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.3.1",
77
+ "vite-plus": "0.3.1",
78
78
  "vue": "^3.5.42"
79
79
  },
80
80
  "peerDependencies": {