From 625458110105af559f86af157941ed667979ff6b Mon Sep 17 00:00:00 2001 From: moyin <244344649@qq.com> Date: Wed, 17 Dec 2025 20:23:13 +0800 Subject: [PATCH] =?UTF-8?q?config=EF=BC=9A=E6=9B=B4=E6=96=B0=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E9=85=8D=E7=BD=AE=E6=94=AF=E6=8C=81=E6=96=B0=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加邮件服务相关依赖 (nodemailer) - 添加Redis客户端依赖 (ioredis) - 更新TypeScript配置 - 更新pnpm工作空间配置 --- package.json | 10 +++++++--- pnpm-workspace.yaml | 1 + tsconfig.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index f7cea8f..129c528 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ "author": "", "license": "MIT", "dependencies": { - "@nestjs/common": "^10.4.20", + "@nestjs/common": "^11.1.9", "@nestjs/config": "^4.0.2", - "@nestjs/core": "^10.4.20", + "@nestjs/core": "^11.1.9", "@nestjs/platform-express": "^10.4.20", "@nestjs/platform-socket.io": "^10.4.20", "@nestjs/schedule": "^4.1.2", @@ -32,11 +32,14 @@ "@nestjs/typeorm": "^11.0.0", "@nestjs/websockets": "^10.4.20", "@types/bcrypt": "^6.0.0", + "axios": "^1.13.2", "bcrypt": "^6.0.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.3", + "ioredis": "^5.8.2", "mysql2": "^3.16.0", "nestjs-pino": "^4.5.0", + "nodemailer": "^6.10.1", "pino": "^10.1.0", "reflect-metadata": "^0.1.14", "rxjs": "^7.8.2", @@ -48,7 +51,8 @@ "@nestjs/schematics": "^10.2.3", "@nestjs/testing": "^10.4.20", "@types/jest": "^29.5.14", - "@types/node": "^20.19.26", + "@types/node": "^20.19.27", + "@types/nodemailer": "^6.4.14", "@types/supertest": "^6.0.3", "jest": "^29.7.0", "pino-pretty": "^13.1.3", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index a2a89b7..1b87ff3 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,4 @@ ignoredBuiltDependencies: - '@nestjs/core' + - '@scarf/scarf' - bcrypt diff --git a/tsconfig.json b/tsconfig.json index 9b68a07..863704a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,7 @@ "baseUrl": "./", "incremental": true, "strictNullChecks": false, - "types": ["jest", "node"] + "typeRoots": ["./node_modules/@types"] }, "include": ["src/**/*"], "exclude": ["node_modules", "dist"]