@cossackframework/node-adapter 0.0.1 → 0.1.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/src/static-serve.d.ts +1 -1
- package/package.json +10 -9
|
@@ -18,4 +18,4 @@ export interface StaticServeOptions {
|
|
|
18
18
|
* @param options - Static serving options
|
|
19
19
|
* @returns Hono middleware
|
|
20
20
|
*/
|
|
21
|
-
export declare function serveStatic(options: StaticServeOptions): (c: Context, next: Next) => Promise<
|
|
21
|
+
export declare function serveStatic(options: StaticServeOptions): (c: Context, next: Next) => Promise<void | Response>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cossackframework/node-adapter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Node.js runtime adapter for the Cossack Framework",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,18 +22,19 @@
|
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
|
-
"scripts": {
|
|
26
|
-
"build": "vite build"
|
|
27
|
-
},
|
|
28
25
|
"dependencies": {
|
|
29
|
-
"
|
|
30
|
-
"ws": "^8.16.0"
|
|
26
|
+
"hono": "^4.9.5",
|
|
27
|
+
"ws": "^8.16.0",
|
|
28
|
+
"@cossackframework/core": "0.1.1"
|
|
31
29
|
},
|
|
32
30
|
"devDependencies": {
|
|
33
31
|
"@types/ws": "^8.5.10",
|
|
32
|
+
"typescript": "^5.0.0",
|
|
34
33
|
"vite": "^5.0.0",
|
|
35
34
|
"vite-plugin-dts": "^3.9.1",
|
|
36
|
-
"vite-tsconfig-paths": "^5.1.4"
|
|
37
|
-
|
|
35
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "vite build"
|
|
38
39
|
}
|
|
39
|
-
}
|
|
40
|
+
}
|