|
8 | 8 | "scripts": { |
9 | 9 | "prebuild": "rimraf dist", |
10 | 10 | "build": "nest build", |
11 | | - "generate-migration": "npm run typeorm migration:generate -- -n", |
| 11 | + "generate-migration": "npm run typeorm migration:generate -n", |
12 | 12 | "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", |
13 | 13 | "prestart": "npm run run-migrations", |
14 | 14 | "prestart:debug": "npm run run-migrations", |
|
25 | 25 | "test:cov": "jest --coverage", |
26 | 26 | "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
27 | 27 | "test:e2e": "jest --config ./jest-e2e.js --detectOpenHandles --colors", |
28 | | - "typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js --config ./ormconfig.js", |
| 28 | + "typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d \"src/repositories/os2iot.repository.ts\"", |
29 | 29 | "typeorm-e2e": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js --config ./ormconfig-e2e.json" |
30 | 30 | }, |
31 | 31 | "dependencies": { |
32 | | - "@nestjs/common": "^7.6.1", |
33 | | - "@nestjs/config": "^0.6.1", |
34 | | - "@nestjs/core": "^7.6.1", |
35 | | - "@nestjs/jwt": "^7.2.0", |
36 | | - "@nestjs/passport": "^7.1.5", |
37 | | - "@nestjs/platform-express": "^7.6.1", |
38 | | - "@nestjs/schedule": "^0.4.1", |
39 | | - "@nestjs/swagger": "^4.8.2", |
40 | | - "@nestjs/typeorm": "^7.1.5", |
| 32 | + "@nestjs/axios": "^0.1.0", |
| 33 | + "@nestjs/common": "^9.1.2", |
| 34 | + "@nestjs/config": "^2.2.0", |
| 35 | + "@nestjs/core": "^9.1.2", |
| 36 | + "@nestjs/jwt": "^9.0.0", |
| 37 | + "@nestjs/passport": "^9.0.0", |
| 38 | + "@nestjs/platform-express": "^9.1.2", |
| 39 | + "@nestjs/schedule": "^2.1.0", |
| 40 | + "@nestjs/swagger": "^6.1.2", |
| 41 | + "@nestjs/typeorm": "^9.0.1", |
41 | 42 | "@types/bcryptjs": "^2.4.2", |
42 | 43 | "@types/geojson": "^7946.0.7", |
43 | 44 | "@types/kafkajs": "^1.9.0", |
44 | | - "@types/passport-saml": "^1.1.2", |
| 45 | + "@types/passport-saml": "^1.1.3", |
45 | 46 | "@types/uuid": "^8.3.0", |
46 | 47 | "@types/ws": "^8.5.3", |
47 | 48 | "@types/xml2js": "^0.4.7", |
48 | 49 | "ajv": "^6.12.6", |
49 | 50 | "axios-cache-adapter": "^2.5.0", |
50 | 51 | "bcryptjs": "^2.4.3", |
51 | 52 | "bluebird": "^3.7.2", |
| 53 | + "cache-manager": "^4.0.1", |
52 | 54 | "class-transformer": "^0.5.1", |
53 | 55 | "class-validator": "^0.13.2", |
54 | 56 | "compression": "^1.7.4", |
55 | 57 | "cookie-parser": "^1.4.5", |
56 | 58 | "kafkajs": "^1.15.0", |
57 | 59 | "lodash": "^4.17.20", |
58 | | - "mqtt": "^4.2.6", |
59 | | - "nestjs-pino": "^1.3.0", |
| 60 | + "mqtt": "^4.3.7", |
60 | 61 | "njwt": "^1.0.0", |
61 | 62 | "nodemailer": "^6.7.2", |
62 | | - "passport": "^0.4.1", |
| 63 | + "passport": "^0.6.0", |
63 | 64 | "passport-headerapikey": "^1.2.2", |
64 | 65 | "passport-jwt": "^4.0.0", |
65 | 66 | "passport-local": "^1.0.0", |
66 | | - "passport-saml": "^1.3.5", |
| 67 | + "passport-saml": "^3.2.4", |
67 | 68 | "pg": "^8.5.1", |
68 | | - "protobufjs": "^6.11.2", |
| 69 | + "protobufjs": "^6.11.3", |
69 | 70 | "reflect-metadata": "^0.1.13", |
70 | 71 | "rimraf": "^3.0.2", |
71 | | - "rxjs": "^6.6.3", |
| 72 | + "rxjs": "^7.5.7", |
72 | 73 | "swagger-ui-express": "^4.1.5", |
73 | | - "typeorm": "^0.2.34", |
| 74 | + "typeorm": "^0.3.10", |
74 | 75 | "uuid": "^8.3.2", |
75 | | - "vm2": "^3.9.9", |
| 76 | + "vm2": "^3.9.11", |
76 | 77 | "wait-for-expect": "^3.0.2" |
77 | 78 | }, |
78 | 79 | "devDependencies": { |
79 | | - "@nestjs/cli": "^7.5.4", |
80 | | - "@nestjs/testing": "^7.6.1", |
| 80 | + "@nestjs/cli": "^9.1.4", |
| 81 | + "@nestjs/testing": "^9.1.2", |
| 82 | + "@types/bcryptjs": "^2.4.2", |
81 | 83 | "@types/bluebird": "^3.5.33", |
| 84 | + "@types/cache-manager": "^4.0.1", |
82 | 85 | "@types/compression": "^1.7.0", |
83 | 86 | "@types/cookie-parser": "^1.4.2", |
84 | 87 | "@types/cron": "^1.7.2", |
85 | 88 | "@types/express": "^4.17.9", |
| 89 | + "@types/geojson": "^7946.0.7", |
| 90 | + "@types/kafkajs": "^1.9.0", |
86 | 91 | "@types/lodash": "^4.14.165", |
87 | 92 | "@types/node": "^14.14.14", |
88 | 93 | "@types/nodemailer": "^6.4.4", |
89 | 94 | "@types/passport-jwt": "^3.0.3", |
90 | 95 | "@types/passport-local": "^1.0.33", |
| 96 | + "@types/passport-saml": "^1.1.2", |
91 | 97 | "@types/supertest": "^2.0.10", |
| 98 | + "@types/uuid": "^8.3.0", |
92 | 99 | "@types/validator": "^13.7.1", |
93 | | - "@types/ws": "^8.5.2", |
94 | | - "@typescript-eslint/eslint-plugin": "^4.10.0", |
95 | | - "@typescript-eslint/parser": "^4.10.0", |
96 | | - "eslint": "^7.15.0", |
| 100 | + "@types/ws": "^8.5.3", |
| 101 | + "@types/xml2js": "^0.4.7", |
| 102 | + "@typescript-eslint/eslint-plugin": "^5.38.1", |
| 103 | + "@typescript-eslint/parser": "^5.38.1", |
| 104 | + "eslint": "^8.24.0", |
97 | 105 | "eslint-config-prettier": "^7.0.0", |
98 | 106 | "jest": "26.6.3", |
99 | 107 | "prettier": "^2.2.1", |
100 | 108 | "supertest": "^6.0.1", |
101 | 109 | "ts-jest": "^26.4.4", |
102 | | - "ts-node": "^9.1.1", |
103 | | - "typescript": "^3.9.7" |
| 110 | + "ts-node": "^10.9.1", |
| 111 | + "typescript": "^4.8.3" |
104 | 112 | } |
105 | 113 | } |
0 commit comments