Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Nest.js deps #637

Merged
merged 7 commits into from
Mar 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update ESLint rules to prohibit console.log, allow conditional statements [#580](https://github.com/PublicMapping/districtbuilder/pull/580)
- Prevent unverified users from joining an organization or using a template [#591](https://github.com/PublicMapping/districtbuilder/pull/591)
- Project districts geojson is now cached in the project table when updated [#594](https://github.com/PublicMapping/districtbuilder/pull/594)
- Upgrade NestJS deps [#637](https://github.com/PublicMapping/districtbuilder/pull/637)

### Fixed

Expand Down
57 changes: 29 additions & 28 deletions src/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,39 +26,40 @@
"dependencies": {
"@drdgvhbh/postgres-error-codes": "0.0.6",
"@godaddy/terminus": "4.3.1",
"@nestjs-modules/mailer": "1.4.2",
"@nestjs/common": "7.0.9",
"@nestjs/core": "7.0.9",
"@nestjs/jwt": "7.0.0",
"@nestjs/passport": "7.0.0",
"@nestjs/platform-express": "7.0.9",
"@nestjs/serve-static": "2.1.0",
"@nestjs/swagger": "4.5.4",
"@nestjs/terminus": "7.0.1",
"@nestjs/typeorm": "7.0.0",
"@nestjsx/crud": "4.5.0",
"@nestjsx/crud-typeorm": "4.5.0",
"@nestjs-modules/mailer": "1.5.1",
"@nestjs/common": "7.6.14",
"@nestjs/core": "7.6.14",
"@nestjs/jwt": "7.2.0",
"@nestjs/passport": "7.1.5",
"@nestjs/platform-express": "7.6.14",
"@nestjs/serve-static": "2.1.4",
"@nestjs/swagger": "4.7.16",
"@nestjs/terminus": "7.1.0",
"@nestjs/typeorm": "7.1.5",
"@nestjsx/crud": "4.6.0",
"@nestjsx/crud-typeorm": "4.6.0",
"@turf/area": "6.0.1",
"@turf/length": "6.0.2",
"@turf/polygon-to-line": "6.0.3",
"aws-sdk": "2.616.0",
"base64url": "3.0.1",
"bcrypt": "5.0.0",
"class-transformer": "0.3.1",
"class-validator": "0.12.2",
"class-validator": "0.13.1",
"crypto": "1.0.1",
"csv-stringify": "5.5.1",
"geojson2shp": "^0.3.2",
"geojson2shp": "0.3.2",
"handlebars": "4.7.7",
"lodash": "4.17.19",
"nodemailer": "6.4.6",
"passport": "0.4.1",
"passport-jwt": "4.0.0",
"pg": "7.17.1",
"pg": "8.5.1",
"reflect-metadata": "0.1.13",
"rollbar": "2.19.2",
"rxjs": "6.5.4",
"rxjs": "6.6.6",
"topojson-client": "3.1.0",
"typeorm": "0.2.22"
"typeorm": "0.2.31"
},
"devDependencies": {
"@nestjs/cli": "7.1.5",
Expand All @@ -69,19 +70,19 @@
"@types/jest": "24.9.1",
"@types/lodash": "4.14.149",
"@types/node": "12.12.6",
"@types/nodemailer": "6.4.0",
"@types/passport-jwt": "3.0.3",
"@types/nodemailer": "6.4.1",
"@types/passport-jwt": "3.0.5",
"@types/supertest": "2.0.8",
"@types/topojson-client": "3.0.0",
"@typescript-eslint/eslint-plugin": "^3.0.2",
"@typescript-eslint/parser": "^3.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-functional": "^3.0.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsdoc": "^26.0.0",
"eslint-plugin-prefer-arrow": "^1.2.1",
"eslint-plugin-prettier": "^3.1.3",
"@typescript-eslint/eslint-plugin": "3.0.2",
"@typescript-eslint/parser": "3.0.2",
"eslint": "6.8.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-functional": "3.0.1",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jsdoc": "26.0.0",
"eslint-plugin-prefer-arrow": "1.2.1",
"eslint-plugin-prettier": "3.1.3",
"jest": "24.9.0",
"prettier": "1.19.1",
"supertest": "4.0.2",
Expand Down
3 changes: 2 additions & 1 deletion src/server/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { ServeStaticModule } from "@nestjs/serve-static";
import { TerminusModule } from "@nestjs/terminus";
import { TypeOrmModule } from "@nestjs/typeorm";

import { HandlebarsAdapter, MailerModule } from "@nestjs-modules/mailer";
import { MailerModule } from "@nestjs-modules/mailer";
import { HandlebarsAdapter } from "@nestjs-modules/mailer/dist/adapters/handlebars.adapter";
import { SES } from "aws-sdk";
import * as SESTransport from "nodemailer/lib/ses-transport";
import * as StreamTransport from "nodemailer/lib/stream-transport";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import { RegionConfigsService } from "../services/region-configs.service";
})
@UseGuards(JwtAuthGuard)
@Controller("api/region-configs")
// @ts-ignore
export class RegionConfigsController implements CrudController<RegionConfig> {
get base(): CrudController<RegionConfig> {
return this;
Expand Down