Skip to content

Commit 1e37895

Browse files
committed
build(deps): updated deps
1 parent 28ff452 commit 1e37895

File tree

19 files changed

+1567
-1348
lines changed

19 files changed

+1567
-1348
lines changed

apps/api/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ $ kubectl port-forward $POD_NAME 5432:5432
6262

6363
```bash
6464
# start in watch mode
65-
ng serve api
65+
nx serve api
6666
# to turn on logging for `request`
67-
NODE_DEBUG=request ng serve api
68-
DEBUG=typeorm:* ng serve api
67+
NODE_DEBUG=request nx serve api
68+
DEBUG=typeorm:* nx serve api
6969
# optionally you can run with prod env(environment.prod.ts) for tesrting! use this for testing only.
70-
ng serve api --prod
70+
nx serve api --prod
7171
```
7272

7373
#### Run Prod Mode

apps/api/package.json

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,32 @@
1414
},
1515
"dependencies": {
1616
"@godaddy/terminus": "4.9.0",
17-
"@nestjs/common": "7.6.18",
18-
"@nestjs/core": "7.6.18",
19-
"@nestjs/microservices": "7.6.18",
20-
"@nestjs/platform-express": "7.6.18",
21-
"@nestjs/swagger": "4.8.2",
22-
"@nestjs/cqrs": "7.0.1",
23-
"@nestjs/passport": "7.1.6",
24-
"@nestjs/platform-socket.io": "7.6.18",
17+
"@nestjs/common": "8.0.5",
18+
"@nestjs/core": "8.0.5",
19+
"@nestjs/axios": "0.0.1",
20+
"@nestjs/microservices": "8.0.5",
21+
"@nestjs/platform-express": "8.0.5",
22+
"@nestjs/swagger": "5.0.8",
23+
"@nestjs/cqrs": "8.0.0",
24+
"@nestjs/passport": "8.0.0",
25+
"@nestjs/platform-socket.io": "8.0.5",
2526
"@nestjs/terminus": "7.2.0",
26-
"@nestjs/typeorm": "7.1.5",
27-
"@nestjs/websockets": "7.6.18",
27+
"@nestjs/typeorm": "8.0.1",
28+
"@nestjs/websockets": "8.0.5",
2829
"@nestjsx/crud": "5.0.0-alpha.3",
2930
"@xmlking/jwks-rsa": "1.4.3",
3031
"cache-manager": "3.4.4",
3132
"class-transformer": "0.4.0",
3233
"class-validator": "0.13.1",
33-
"cli-ux": "5.6.2",
34+
"cli-ux": "5.6.3",
3435
"cls-hooked": "4.2.2",
3536
"helmet": "4.6.0",
3637
"kubernetes-client": "9.0.0",
3738
"nest-router": "1.0.9",
38-
"nodemailer": "6.6.2",
39+
"nodemailer": "6.6.3",
3940
"passport": "0.4.1",
4041
"passport-jwt": "4.0.0",
41-
"pg": "8.6.0",
42+
"pg": "8.7.0",
4243
"pug": "3.0.2",
4344
"reflect-metadata": "0.1.13",
4445
"rxjs": "7.2.0",
@@ -50,17 +51,17 @@
5051
},
5152
"devDependencies": {
5253
"@types/helmet": "4.0.0",
53-
"@types/nodemailer": "6.4.2",
54-
"@types/passport": "1.0.6",
55-
"@types/passport-jwt": "3.0.5",
54+
"@types/nodemailer": "6.4.4",
55+
"@types/passport": "1.0.7",
56+
"@types/passport-jwt": "3.0.6",
5657
"@types/socket.io": "3.0.2",
5758
"@types/supertest": "2.0.11",
5859
"@types/web-push": "3.3.2"
5960
},
6061
"optionalDependencies": {
61-
"@nestjs/schematics": "7.3.1",
62-
"@nestjs/testing": "7.6.18",
63-
"nodemon": "2.0.9",
64-
"supertest": "6.1.3"
62+
"@nestjs/schematics": "8.0.2",
63+
"@nestjs/testing": "8.0.5",
64+
"nodemon": "2.0.12",
65+
"supertest": "6.1.4"
6566
}
6667
}

apps/api/src/app/app.controller.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Test, TestingModule } from '@nestjs/testing';
22

33
import { AppController } from './app.controller';
44
import { ConfigModule } from './config';
5-
import { HttpModule } from '@nestjs/common';
5+
import { HttpModule } from '@nestjs/axios';
66

77
describe('AppController', () => {
88
let app: TestingModule;

apps/api/src/app/app.controller.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { All, Controller, Get, HttpService, Req } from '@nestjs/common';
1+
import { All, Controller, Get, Req } from '@nestjs/common';
2+
import { HttpService } from '@nestjs/axios';
23
import { ApiOperation } from '@nestjs/swagger';
34
import * as https from 'https';
45
import { Observable } from 'rxjs';
@@ -31,6 +32,6 @@ export class AppController {
3132
const { headers, ip, method, params, body } = req;
3233
return this.http
3334
.request({ url, headers, method, params, data: body, httpsAgent })
34-
.pipe(map(res => ({ httpbin: res.data, ip })));
35+
.pipe(map((res) => ({ httpbin: res.data, ip })));
3536
}
3637
}

apps/api/src/app/app.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { Module, HttpModule } from '@nestjs/common';
1+
import { Module } from '@nestjs/common';
2+
import { HttpModule } from '@nestjs/axios';
23
import { RouterModule } from 'nest-router';
34
import { CoreModule } from './core';
45
import { AuthModule } from './auth';

apps/api/src/app/core/interceptors/logging.interceptor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { tap } from 'rxjs/operators';
44

55
@Injectable()
66
export class LoggingInterceptor implements NestInterceptor {
7+
// @ts-ignore
78
private readonly logger = new Logger(LoggingInterceptor.name, true);
89

910
intercept(context: ExecutionContext, next: CallHandler): Observable<any> {

apps/api/src/app/core/services/base-remote.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { HttpService } from '@nestjs/common/http';
1+
import { HttpService } from '@nestjs/axios';
22
import { AxiosError, AxiosResponse } from 'axios';
33
import { throwError } from 'rxjs';
44
import {

apps/api/src/app/external/external.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { forwardRef, HttpModule, Module, CacheModule } from '@nestjs/common';
1+
import { forwardRef, Module, CacheModule } from '@nestjs/common';
2+
import { HttpModule } from '@nestjs/axios';
23
import { SharedModule } from '../shared';
34
import { WeatherController } from './weather/weather.controller';
45
import { WeatherService } from './weather/weather.service';

apps/api/src/app/external/weather/weather.controller.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { CacheInterceptor, HttpModule } from '@nestjs/common';
1+
import { CacheInterceptor } from '@nestjs/common';
2+
import { HttpModule } from '@nestjs/axios';
23
import { Test, TestingModule } from '@nestjs/testing';
34
import { CacheModule } from '../../cache';
45
import { WeatherController } from './weather.controller';

apps/api/src/app/external/weather/weather.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Test, TestingModule } from '@nestjs/testing';
22
import { WeatherService } from './weather.service';
3-
import { HttpModule } from '@nestjs/common';
3+
import { HttpModule } from '@nestjs/axios';
44
import { CacheModule } from '../../cache';
55

66
describe('WeatherService', () => {

0 commit comments

Comments
 (0)