Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
EndyKaufman committed May 10, 2019
1 parent 664ac00 commit 638b9e2
Show file tree
Hide file tree
Showing 6 changed files with 3,151 additions and 2,799 deletions.
6 changes: 3 additions & 3 deletions apps/demo/src/app/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from '@rucken/auth-nestjs';
import { CORE_APP_FILTERS, CORE_APP_PIPES, CORE_CONFIG_TOKEN, DEFAULT_CORE_CONFIG } from '@rucken/core-nestjs';
import { ConnectionString } from 'connection-string';
import { load } from 'dotenv';
import { config as load } from 'dotenv';
import { accessSync, readFileSync } from 'fs';
import * as path from 'path';
import { IDemoConfig } from './config.interface';
Expand All @@ -23,8 +23,8 @@ const connectionString = new ConnectionString(process.env.DATABASE_URL || 'sqlit
const dbFile =
connectionString.protocol === 'sqlite'
? './' +
(connectionString.hosts ? connectionString.hosts[0].name : '') +
(connectionString.path ? '/' + connectionString.path[0] : '')
(connectionString.hosts ? connectionString.hosts[0].name : '') +
(connectionString.path ? '/' + connectionString.path[0] : '')
: '';
try {
accessSync(envFile);
Expand Down
3 changes: 2 additions & 1 deletion apps/demo/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { NestFactory } from '@nestjs/core';
import { NestExpressApplication } from '@nestjs/platform-express';
import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
import 'reflect-metadata';
import { register } from 'tsconfig-paths';
Expand All @@ -22,7 +23,7 @@ async function bootstrap() {
/**
* Create nest application
*/
const app = await NestFactory.create(
const app = await NestFactory.create<NestExpressApplication>(
AppModule.forRoot({
providers: [...config.core.providers(), ...config.auth.providers()],
passportProviders: config.auth.passportProviders()
Expand Down
14 changes: 7 additions & 7 deletions libs/rucken/todo-nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@
"main": "index.js",
"types": "index.d.ts",
"dependencies": {
"@nestjs/common": "5.7.4",
"@nestjs/core": "5.7.4",
"@nestjs/passport": "5.1.0",
"@nestjs/swagger": "2.5.1",
"@nestjs/typeorm": "5.3.0",
"@nestjs/common": "6.1.1",
"@nestjs/core": "6.1.1",
"@nestjs/passport": "6.0.0",
"@nestjs/swagger": "3.0.2",
"@nestjs/typeorm": "6.1.0",
"class-transformer": "0.2.0",
"class-validator": "0.9.1",
"node-django-hashers": "1.1.6",
"highlight.js": "9.13.1",
"@rucken/core-nestjs": "1.0.10"
"highlight.js": "9.15.6",
"@rucken/core-nestjs": "1.0.12"
}
}
Loading

0 comments on commit 638b9e2

Please sign in to comment.