@modern-js/server-runtime 0.0.0-next-20250520035657 → 0.0.0-next-20250521132132
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 +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm-node/index.js +1 -1
- package/dist/types/index.d.ts +1 -2
- package/package.json +5 -5
package/dist/cjs/index.js
CHANGED
|
@@ -19,10 +19,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
19
19
|
var src_exports = {};
|
|
20
20
|
__export(src_exports, {
|
|
21
21
|
defineServerConfig: () => defineServerConfig,
|
|
22
|
-
useHonoContext: () =>
|
|
22
|
+
useHonoContext: () => import_server_core.useHonoContext
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(src_exports);
|
|
25
|
-
var
|
|
25
|
+
var import_server_core = require("@modern-js/server-core");
|
|
26
26
|
const defineServerConfig = (config) => config;
|
|
27
27
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
28
|
0 && (module.exports = {
|
package/dist/esm/index.js
CHANGED
package/dist/esm-node/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { ServerConfig } from '@modern-js/server-core';
|
|
2
|
-
export type
|
|
3
|
-
export { useHonoContext } from '@modern-js/server-core/node';
|
|
2
|
+
export { useHonoContext, type ServerPlugin, type ServerPluginLegacy, type MiddlewareObj, type Context, type Next, type MiddlewareHandler, type ServerConfig, } from '@modern-js/server-core';
|
|
4
3
|
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-next-
|
|
18
|
+
"version": "0.0.0-next-20250521132132",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/cjs/index.js",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@swc/helpers": "^0.5.17",
|
|
55
|
-
"@modern-js/runtime-utils": "0.0.0-next-
|
|
56
|
-
"@modern-js/server-core": "0.0.0-next-
|
|
55
|
+
"@modern-js/runtime-utils": "0.0.0-next-20250521132132",
|
|
56
|
+
"@modern-js/server-core": "0.0.0-next-20250521132132"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/jest": "^29",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"jest": "^29",
|
|
62
62
|
"ts-jest": "^29.1.0",
|
|
63
63
|
"typescript": "^5",
|
|
64
|
-
"@scripts/build": "0.0.0-next-
|
|
65
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
64
|
+
"@scripts/build": "0.0.0-next-20250521132132",
|
|
65
|
+
"@scripts/jest-config": "0.0.0-next-20250521132132"
|
|
66
66
|
},
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"registry": "https://registry.npmjs.org/",
|