Browse Source

chore(core): Update to Nestjs v7.6.13

Michael Bromley 4 years ago
parent
commit
ed2d63eb6f

+ 6 - 7
packages/core/package.json

@@ -39,13 +39,12 @@
   ],
   "dependencies": {
     "@graphql-tools/stitch": "^6.2.4",
-    "@nestjs/common": "7.4.4",
-    "@nestjs/core": "7.4.4",
-    "@nestjs/graphql": "7.6.0",
-    "@nestjs/microservices": "7.4.4",
-    "@nestjs/platform-express": "7.4.4",
-    "@nestjs/terminus": "7.0.1",
-    "@nestjs/testing": "7.4.4",
+    "@nestjs/common": "7.6.13",
+    "@nestjs/core": "7.6.13",
+    "@nestjs/graphql": "7.9.11",
+    "@nestjs/platform-express": "7.6.13",
+    "@nestjs/terminus": "7.1.0",
+    "@nestjs/testing": "7.6.13",
     "@nestjs/typeorm": "7.1.5",
     "@types/fs-extra": "^9.0.1",
     "@vendure/common": "^0.18.4",

+ 2 - 2
packages/core/src/health-check/health-check-registry.service.ts

@@ -27,10 +27,10 @@ import { HealthIndicatorFunction } from '@nestjs/terminus';
  * export class MyPlugin {
  *   constructor(
  *     private registry: HealthCheckRegistryService
- *     private dns: DNSHealthIndicator
+ *     private httpIndicator: HttpHealthIndicator
  *   ) {
  *     registry.registerIndicatorFunction(
- *       () => this.dns.pingCheck('vendure-docs', 'https://www.vendure.io/docs/'),
+ *       () => this.httpIndicator.pingCheck('vendure-docs', 'https://www.vendure.io/docs/'),
  *     )
  *   }
  * }

+ 1 - 2
packages/core/src/health-check/health-check.controller.ts

@@ -1,5 +1,5 @@
 import { Controller, Get } from '@nestjs/common';
-import { DNSHealthIndicator, HealthCheck, HealthCheckService } from '@nestjs/terminus';
+import { HealthCheck, HealthCheckService } from '@nestjs/terminus';
 
 import { HEALTH_CHECK_ROUTE } from './constants';
 import { HealthCheckRegistryService } from './health-check-registry.service';
@@ -8,7 +8,6 @@ import { HealthCheckRegistryService } from './health-check-registry.service';
 export class HealthController {
     constructor(
         private health: HealthCheckService,
-        private dns: DNSHealthIndicator,
         private healthCheckRegistryService: HealthCheckRegistryService,
     ) {}
 

File diff suppressed because it is too large
+ 358 - 220
yarn.lock


Some files were not shown because too many files changed in this diff