nest-knexjs 0.0.22 → 0.0.23
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nest-knexjs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "Knexjs module for Nest framework (node.js) 😻",
|
|
5
5
|
"author": "Tony133",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,21 +16,20 @@
|
|
|
16
16
|
"test:e2e:dev": "jest --config ./tests/jest-e2e.json --runInBand --watch",
|
|
17
17
|
"prerelease": "npm run build",
|
|
18
18
|
"release": "release-it",
|
|
19
|
-
"prepare": "husky
|
|
19
|
+
"prepare": "husky"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@commitlint/cli": "19.
|
|
23
|
-
"@commitlint/config-angular": "19.
|
|
24
|
-
"@nestjs/common": "10.3.
|
|
25
|
-
"@nestjs/core": "10.3.
|
|
26
|
-
"@nestjs/platform-
|
|
27
|
-
"@nestjs/testing": "10.3.
|
|
28
|
-
"@types/express": "4.17.21",
|
|
22
|
+
"@commitlint/cli": "19.3.0",
|
|
23
|
+
"@commitlint/config-angular": "19.3.0",
|
|
24
|
+
"@nestjs/common": "10.3.9",
|
|
25
|
+
"@nestjs/core": "10.3.9",
|
|
26
|
+
"@nestjs/platform-fastify": "^10.3.7",
|
|
27
|
+
"@nestjs/testing": "10.3.9",
|
|
29
28
|
"@types/jest": "29.5.12",
|
|
30
|
-
"@types/node": "20.
|
|
29
|
+
"@types/node": "20.14.2",
|
|
31
30
|
"@types/supertest": "6.0.2",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
33
|
-
"@typescript-eslint/parser": "7.
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "7.13.0",
|
|
32
|
+
"@typescript-eslint/parser": "7.13.0",
|
|
34
33
|
"eslint": "8.57.0",
|
|
35
34
|
"eslint-config-prettier": "9.1.0",
|
|
36
35
|
"eslint-plugin-import": "2.29.1",
|
|
@@ -38,15 +37,15 @@
|
|
|
38
37
|
"jest": "29.7.0",
|
|
39
38
|
"knex": "3.1.0",
|
|
40
39
|
"mysql": "2.18.1",
|
|
41
|
-
"prettier": "3.2
|
|
42
|
-
"reflect-metadata": "0.2.
|
|
43
|
-
"release-it": "17.
|
|
40
|
+
"prettier": "3.3.2",
|
|
41
|
+
"reflect-metadata": "0.2.2",
|
|
42
|
+
"release-it": "17.3.0",
|
|
44
43
|
"rxjs": "7.8.1",
|
|
45
|
-
"supertest": "
|
|
46
|
-
"ts-jest": "29.1.
|
|
44
|
+
"supertest": "7.0.0",
|
|
45
|
+
"ts-jest": "29.1.4",
|
|
47
46
|
"ts-node": "10.9.2",
|
|
48
47
|
"tsconfig-paths": "4.2.0",
|
|
49
|
-
"typescript": "5.4.
|
|
48
|
+
"typescript": "5.4.5"
|
|
50
49
|
},
|
|
51
50
|
"peerDependencies": {
|
|
52
51
|
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { NestFactory } from '@nestjs/core';
|
|
2
2
|
import { AppModule } from './app.module';
|
|
3
|
+
import {
|
|
4
|
+
NestFastifyApplication,
|
|
5
|
+
FastifyAdapter,
|
|
6
|
+
} from '@nestjs/platform-fastify';
|
|
3
7
|
|
|
4
8
|
async function bootstrap() {
|
|
5
|
-
const app = await NestFactory.create(
|
|
9
|
+
const app = await NestFactory.create<NestFastifyApplication>(
|
|
10
|
+
AppModule,
|
|
11
|
+
new FastifyAdapter(),
|
|
12
|
+
);
|
|
6
13
|
|
|
7
14
|
await app.listen(3000);
|
|
8
15
|
}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { NestFactory } from '@nestjs/core';
|
|
2
2
|
import { AppModule } from './app.module';
|
|
3
|
+
import {
|
|
4
|
+
NestFastifyApplication,
|
|
5
|
+
FastifyAdapter,
|
|
6
|
+
} from '@nestjs/platform-fastify';
|
|
3
7
|
|
|
4
8
|
async function bootstrap() {
|
|
5
|
-
const app = await NestFactory.create(
|
|
9
|
+
const app = await NestFactory.create<NestFastifyApplication>(
|
|
10
|
+
AppModule,
|
|
11
|
+
new FastifyAdapter(),
|
|
12
|
+
);
|
|
6
13
|
|
|
7
14
|
await app.listen(3000);
|
|
8
15
|
}
|