@art-ws/fastify-http-server 2.0.5 → 2.0.7
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/es/fastify-http-server.d.ts +1 -0
- package/package.json +15 -14
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type RouteDef } from "@art-ws/http-server";
|
2
2
|
import { type FastifyInstance, type FastifyReply, type FastifyRequest } from "fastify";
|
3
|
+
export type { FastifyInstance, FastifyReply, FastifyRequest };
|
3
4
|
export declare function createHttpServer({ routes, port, handlers, plugins, onPlugin, }: {
|
4
5
|
routes: RouteDef<FastifyRequest, FastifyReply, FastifyInstance>[];
|
5
6
|
port?: number;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@art-ws/fastify-http-server",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.7",
|
4
4
|
"description": "Fastify Http server",
|
5
5
|
"license": "UNLICENSED",
|
6
6
|
"author": "Alexander Shagin",
|
@@ -11,27 +11,28 @@
|
|
11
11
|
"./dist/*"
|
12
12
|
],
|
13
13
|
"dependencies": {
|
14
|
-
"@fastify/cors": "11.0
|
15
|
-
"@fastify/formbody": "8.0.2",
|
16
|
-
"@fastify/multipart": "9.0.3",
|
17
|
-
"@fastify/static": "8.2.0",
|
18
|
-
"fastify": "5.
|
19
|
-
"@art-ws/di": "2.0.
|
20
|
-
"@art-ws/http-server": "2.0.
|
14
|
+
"@fastify/cors": "^11.1.0",
|
15
|
+
"@fastify/formbody": "^8.0.2",
|
16
|
+
"@fastify/multipart": "^9.0.3",
|
17
|
+
"@fastify/static": "^8.2.0",
|
18
|
+
"fastify": "^5.5.0",
|
19
|
+
"@art-ws/di": "2.0.6",
|
20
|
+
"@art-ws/http-server": "2.0.4"
|
21
21
|
},
|
22
22
|
"devDependencies": {
|
23
|
-
"eslint": "9.
|
24
|
-
"typescript": "5.
|
25
|
-
"vitest": "3.2.4",
|
26
|
-
"@art-ws/config-eslint": "2.0.
|
27
|
-
"@art-ws/config-ts": "2.0.
|
23
|
+
"eslint": "^9.34.0",
|
24
|
+
"typescript": "^5.9.2",
|
25
|
+
"vitest": "^3.2.4",
|
26
|
+
"@art-ws/config-eslint": "2.0.3",
|
27
|
+
"@art-ws/config-ts": "2.0.6"
|
28
28
|
},
|
29
29
|
"scripts": {
|
30
30
|
"build": "tsc",
|
31
|
+
"check": "pnpm clean && pnpm build && pnpm lint && pnpm test",
|
31
32
|
"clean": "rm -rf dist",
|
32
33
|
"clean:nm": "rm -rf node_modules",
|
33
34
|
"lint": "eslint .",
|
34
|
-
"pub": "pnpm
|
35
|
+
"pub": "pnpm check && pnpm version patch && pnpm publish --access public --no-git-checks",
|
35
36
|
"test": "exit 0",
|
36
37
|
"test:watch": "vitest",
|
37
38
|
"watch": "tsc --watch"
|