@modern-js/server-runtime 0.0.0-canary-20251111051604 → 0.0.0-canary-20251113113942

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/cjs/index.js CHANGED
@@ -15,6 +15,7 @@ var __copyProps = (to, from, except, desc) => {
15
15
  }
16
16
  return to;
17
17
  };
18
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
20
  var src_exports = {};
20
21
  __export(src_exports, {
@@ -23,9 +24,11 @@ __export(src_exports, {
23
24
  });
24
25
  module.exports = __toCommonJS(src_exports);
25
26
  var import_server_core = require("@modern-js/server-core");
27
+ __reExport(src_exports, require("@modern-js/server-core/hono"), module.exports);
26
28
  const defineServerConfig = (config) => config;
27
29
  // Annotate the CommonJS export names for ESM import in node:
28
30
  0 && (module.exports = {
29
31
  defineServerConfig,
30
- useHonoContext
32
+ useHonoContext,
33
+ ...require("@modern-js/server-core/hono")
31
34
  });
package/dist/esm/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { useHonoContext } from "@modern-js/server-core";
2
+ export * from "@modern-js/server-core/hono";
2
3
  var defineServerConfig = function(config) {
3
4
  return config;
4
5
  };
@@ -1,4 +1,5 @@
1
1
  import { useHonoContext } from "@modern-js/server-core";
2
+ export * from "@modern-js/server-core/hono";
2
3
  const defineServerConfig = (config) => config;
3
4
  export {
4
5
  defineServerConfig,
@@ -1,4 +1,5 @@
1
1
  import type { ServerConfig } from '@modern-js/server-core';
2
2
  export { useHonoContext, type ServerPlugin, type MiddlewareObj, type Context, type Next, type MiddlewareHandler, type ServerConfig, } from '@modern-js/server-core';
3
+ export * from '@modern-js/server-core/hono';
3
4
  export type { Container, CacheControl, CacheOptionProvider, CacheOption, MonitorEvent, Monitors, } from '@modern-js/types';
4
5
  export declare const defineServerConfig: (config: ServerConfig) => ServerConfig;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-canary-20251111051604",
18
+ "version": "0.0.0-canary-20251113113942",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -52,9 +52,9 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@swc/helpers": "^0.5.17",
55
- "@modern-js/runtime-utils": "0.0.0-canary-20251111051604",
56
- "@modern-js/server-core": "0.0.0-canary-20251111051604",
57
- "@modern-js/types": "0.0.0-canary-20251111051604"
55
+ "@modern-js/runtime-utils": "0.0.0-canary-20251113113942",
56
+ "@modern-js/server-core": "0.0.0-canary-20251113113942",
57
+ "@modern-js/types": "0.0.0-canary-20251113113942"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/jest": "^29.5.14",
@@ -62,8 +62,8 @@
62
62
  "jest": "^29.7.0",
63
63
  "ts-jest": "^29.4.5",
64
64
  "typescript": "^5",
65
- "@scripts/build": "0.0.0-canary-20251111051604",
66
- "@scripts/jest-config": "0.0.0-canary-20251111051604"
65
+ "@scripts/build": "0.0.0-canary-20251113113942",
66
+ "@scripts/jest-config": "0.0.0-canary-20251113113942"
67
67
  },
68
68
  "publishConfig": {
69
69
  "registry": "https://registry.npmjs.org/",