@ubean/app 0.4.2 → 0.4.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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Context, Hono, MiddlewareHandler } from "hono";
|
|
2
1
|
import { RegisterOptions, RouteRegistrar } from "@ubean/routes";
|
|
3
2
|
import { CacheStore } from "@ubean/server/cache";
|
|
4
3
|
import { DataCacheMiddlewareOptions } from "@ubean/server/middleware";
|
|
5
4
|
import { CsrfOptions, SecurityHeadersOptions } from "@ubean/server/security";
|
|
6
5
|
import { ComposedHandler, ComposedHandler as ComposedHandler$1, RouteMeta, RouteMeta as RouteMeta$1, RouteRule, RouteRule as RouteRule$1, UbeanEnv, UbeanEnv as UbeanEnv$1, UbeanMiddleware, UbeanMiddleware as UbeanMiddleware$1 } from "@ubean/shared";
|
|
6
|
+
import { Context, Hono, MiddlewareHandler } from "hono";
|
|
7
7
|
import { Hookable } from "hookable";
|
|
8
8
|
import { ScannedApiRoute, ScannedApiRoute as ScannedApiRoute$1, ScannedCronTask, ScannedLayout, ScannedLayout as ScannedLayout$1, ScannedMiddleware, ScannedMiddleware as ScannedMiddleware$1, ScannedPageRoute, ScannedPageRoute as ScannedPageRoute$1 } from "@ubean/scan";
|
|
9
9
|
//#region src/hooks.d.ts
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
2
2
|
import { existsSync } from "node:fs";
|
|
3
|
-
import { Hono } from "hono";
|
|
4
3
|
import { createI18nMiddleware, ensureLocaleMessages } from "@ubean/i18n";
|
|
5
4
|
import { SERVER_COMPONENT_ENDPOINT, createServerComponentMiddleware } from "@ubean/islands/server";
|
|
6
5
|
import { ACTIONS_ENDPOINT, bindActionContextStorage, buildActionContext, createActionsMiddleware, createRouteRulesMiddleware, registerOpenAPIRoutes, registerRoutes, setInternalFetcher } from "@ubean/routes";
|
|
@@ -10,6 +9,7 @@ import { createWebSocketMiddleware } from "@ubean/server/realtime";
|
|
|
10
9
|
import { createCsrfMiddleware, createSecurityHeadersMiddleware, mergeSecurityHeadersOptions } from "@ubean/server/security";
|
|
11
10
|
import { serveStatic } from "@ubean/server/static";
|
|
12
11
|
import { UbeanError, errorToResponse, isUbeanError } from "@ubean/shared";
|
|
12
|
+
import { Hono } from "hono";
|
|
13
13
|
import { requestId } from "hono/request-id";
|
|
14
14
|
import { createHooks } from "hookable";
|
|
15
15
|
import { isAbsolute, join } from "pathe";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ubean/app",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "Hono app factory and server config for ubean (createUbeanApp, defineServer)",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -16,26 +16,26 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@ubean/i18n": "0.4.
|
|
20
|
-
"@ubean/islands": "0.4.
|
|
21
|
-
"@ubean/routes": "0.4.
|
|
22
|
-
"@ubean/scan": "0.4.
|
|
23
|
-
"@ubean/server": "0.4.
|
|
24
|
-
"@ubean/shared": "0.4.
|
|
19
|
+
"@ubean/i18n": "0.4.4",
|
|
20
|
+
"@ubean/islands": "0.4.4",
|
|
21
|
+
"@ubean/routes": "0.4.4",
|
|
22
|
+
"@ubean/scan": "0.4.4",
|
|
23
|
+
"@ubean/server": "0.4.4",
|
|
24
|
+
"@ubean/shared": "0.4.4",
|
|
25
25
|
"hono": "4.13.7",
|
|
26
26
|
"hookable": "^6.1.1",
|
|
27
27
|
"pathe": "^2.0.3"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@types/node": "^26.
|
|
31
|
-
"@ubean/pages": "0.4.
|
|
32
|
-
"@ubean/seo": "0.4.
|
|
30
|
+
"@types/node": "^26.5.0",
|
|
31
|
+
"@ubean/pages": "0.4.4",
|
|
32
|
+
"@ubean/seo": "0.4.4",
|
|
33
33
|
"typescript": "7.0.2",
|
|
34
34
|
"vite-plus": "0.3.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@ubean/pages": "0.4.
|
|
38
|
-
"@ubean/seo": "0.4.
|
|
37
|
+
"@ubean/pages": "0.4.4",
|
|
38
|
+
"@ubean/seo": "0.4.4"
|
|
39
39
|
},
|
|
40
40
|
"peerDependenciesMeta": {
|
|
41
41
|
"@ubean/pages": {
|