|
21 | 21 | "lint:fix": "xo --fix", |
22 | 22 | "test": "lint", |
23 | 23 | "migrations:generate": "prisma migrate dev --preview-feature", |
24 | | - "migrations:run": "prisma migrate deploy --preview-feature" |
| 24 | + "migrations:run": "prisma migrate deploy --preview-feature", |
| 25 | + "generate-typings": "kysely-codegen --out-file ./src/types/db.d.ts" |
25 | 26 | }, |
26 | 27 | "devDependencies": { |
27 | 28 | "@nestjs/cli": "^7.5.6", |
28 | 29 | "@types/cors": "^2.8.6", |
29 | 30 | "@types/morgan": "^1.9.1", |
30 | | - "@types/node": "^14.0.14", |
| 31 | + "@types/node": "^16.0.0", |
| 32 | + "@types/pg": "8.6.5", |
31 | 33 | "@types/probe-image-size": "^5.0.1", |
32 | 34 | "@types/uuid": "^8.0.0", |
33 | 35 | "@types/validator": "^13.1.0", |
34 | 36 | "@typescript-eslint/eslint-plugin": "^4.19.0", |
35 | 37 | "@typescript-eslint/parser": "^4.19.0", |
36 | 38 | "eslint": "^7.22.0", |
37 | 39 | "husky": "^4.2.5", |
| 40 | + "kysely-codegen": "0.5.3", |
38 | 41 | "lint-staged": "^10.5.3", |
39 | | - "prisma": "4.0.0", |
| 42 | + "prisma": "4.3.1", |
40 | 43 | "rimraf": "^3.0.2", |
41 | | - "typescript": "^4.2.3", |
42 | | - "xo": "^0.38.2" |
| 44 | + "typescript": "^4.8.2", |
| 45 | + "xo": "^0.52.3" |
43 | 46 | }, |
44 | 47 | "xo": { |
45 | 48 | "ignore": [ |
|
51 | 54 | { |
52 | 55 | "capIsNewExceptionPattern": "@*" |
53 | 56 | } |
54 | | - ] |
| 57 | + ], |
| 58 | + "n/prefer-global/process": "off", |
| 59 | + "n/prefer-global/buffer": "off", |
| 60 | + "import/extensions": "off", |
| 61 | + "@typescript-eslint/naming-convention": "off", |
| 62 | + "unicorn/prefer-module": "off", |
| 63 | + "@typescript-eslint/comma-dangle": "off" |
55 | 64 | } |
56 | 65 | }, |
57 | 66 | "husky": { |
|
66 | 75 | }, |
67 | 76 | "dependencies": { |
68 | 77 | "@codetheweb/nestjs-bull": "^0.3.1", |
69 | | - "@nestjs/common": "^7.6.15", |
| 78 | + "@fastify/static": "6.5.0", |
| 79 | + "@nestjs/common": "^9.0.11", |
70 | 80 | "@nestjs/config": "^0.6.3", |
71 | | - "@nestjs/core": "^7.6.15", |
72 | | - "@nestjs/platform-fastify": "^7.6.15", |
73 | | - "@nestjs/serve-static": "^2.1.4", |
74 | | - "@nestjs/swagger": "^4.8.0", |
75 | | - "@prisma/client": "4.0.0", |
| 81 | + "@nestjs/core": "^9.0.11", |
| 82 | + "@nestjs/platform-fastify": "^9.0.11", |
| 83 | + "@nestjs/serve-static": "^3.0.0", |
| 84 | + "@nestjs/swagger": "^6.1.2", |
| 85 | + "@prisma/client": "4.3.1", |
76 | 86 | "apn": "^2.2.0", |
77 | 87 | "bullmq": "^1.15.1", |
78 | 88 | "class-transformer": "^0.4.0", |
|
81 | 91 | "dd-trace": "^0.31.1", |
82 | 92 | "dotenv": "^8.2.0", |
83 | 93 | "exifr": "^5.0.3", |
84 | | - "fastify-swagger": "^4.4.2", |
| 94 | + "fastify": "4.5.3", |
| 95 | + "fastify-swagger": "^5.2.0", |
85 | 96 | "got": "^11.3.0", |
86 | 97 | "ioredis": "^4.24.3", |
| 98 | + "kysely": "0.21.6", |
87 | 99 | "p-limit": "^3.0.2", |
| 100 | + "pg": "8.7.3", |
88 | 101 | "probe-image-size": "^5.0.0", |
89 | 102 | "reflect-metadata": "^0.1.13", |
90 | 103 | "rxjs": "^6.6.6", |
|
0 commit comments