@sleekify/sleekify-fastify 1.4.0 → 2.0.0
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/README.md +4 -3
- package/dist/src/index.d.ts +2 -2
- package/package.json +13 -12
package/README.md
CHANGED
|
@@ -9,9 +9,10 @@ Your API documentation will both match the OpenAPI specification's schema and be
|
|
|
9
9
|
|
|
10
10
|
## Versions
|
|
11
11
|
|
|
12
|
-
| Sleekify | Fastify | Node.js | OpenAPI Specification |
|
|
13
|
-
| -------- | ------- | ------- | --------------------- |
|
|
14
|
-
|
|
|
12
|
+
| Sleekify | Fastify | Node.js | OpenAPI Specification | TypeScript | TypeScript Config | Decorator Type |
|
|
13
|
+
| -------- | ------- | ------- | --------------------- | ---------- | ------------------------------- | -------------- |
|
|
14
|
+
| 2.0.0+ | 5.0.0+ | 24 | 3.1.1 | 5.9+ | "experimentalDecorators": false | new ES/TC39 |
|
|
15
|
+
| 1.0.0+ | 5.0.0+ | 20 | 3.1.1 | 5.0+ | "experimentalDecorators": true | old experimental |
|
|
15
16
|
|
|
16
17
|
## Getting Started
|
|
17
18
|
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { FastifyReply, FastifyRequest } from 'fastify';
|
|
2
|
+
import type { OpenAPIObject } from '@sleekify/sleekify';
|
|
3
3
|
/**
|
|
4
4
|
* This class provides the Sleekify integration for Fastify.
|
|
5
5
|
*/
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sleekify/sleekify-fastify",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "A TypeScript decorator driven approach for developing Fastify web applications.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc",
|
|
7
|
-
"lint": "eslint
|
|
7
|
+
"lint": "eslint .",
|
|
8
8
|
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
|
|
9
9
|
"validate": "npm run build && npm run lint -- --fix && npm test"
|
|
10
10
|
},
|
|
@@ -33,26 +33,27 @@
|
|
|
33
33
|
"web"
|
|
34
34
|
],
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@tsconfig/
|
|
37
|
-
"@types/jest": "^
|
|
36
|
+
"@tsconfig/node24": "^24.0.1",
|
|
37
|
+
"@types/jest": "^30.0.0",
|
|
38
38
|
"@types/lodash": "^4.14.196",
|
|
39
|
+
"@types/node": "^24.10.0",
|
|
39
40
|
"@types/uuid": "^9.0.2",
|
|
40
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
41
|
-
"@typescript-eslint/parser": "^
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "^8.69.0",
|
|
42
|
+
"@typescript-eslint/parser": "^8.69.0",
|
|
42
43
|
"axios": "^1.5.0",
|
|
43
44
|
"eslint": "^8.47.0",
|
|
44
|
-
"eslint-config-
|
|
45
|
+
"eslint-config-love": "^83.0.0",
|
|
45
46
|
"eslint-plugin-import": "^2.28.1",
|
|
46
47
|
"eslint-plugin-n": "^16.0.1",
|
|
47
48
|
"eslint-plugin-promise": "^6.1.1",
|
|
48
|
-
"jest": "^
|
|
49
|
+
"jest": "^30.2.0",
|
|
49
50
|
"jest-junit": "^17.0.0",
|
|
50
|
-
"ts-jest": "^29.
|
|
51
|
-
"
|
|
51
|
+
"ts-jest": "^29.4.5",
|
|
52
|
+
"ts-node": "^10.9.2",
|
|
53
|
+
"typescript": "^5.9.3"
|
|
52
54
|
},
|
|
53
55
|
"dependencies": {
|
|
54
|
-
"@sleekify/sleekify": "^
|
|
55
|
-
"@types/node": "^20.4.5",
|
|
56
|
+
"@sleekify/sleekify": "^2.0.0",
|
|
56
57
|
"fastify": "^5.0.0",
|
|
57
58
|
"fastify-openapi-glue": "^4.7.1",
|
|
58
59
|
"fastify-plugin": "^5.0.1",
|