From f72e5c27b33dbfd5311ca6a37c566b2882ae993f Mon Sep 17 00:00:00 2001 From: Bernardo Pereira Date: Thu, 26 Sep 2024 19:48:24 -0300 Subject: [PATCH] chore: ajustando scripts do projeto --- backend/package-lock.json | 8 ++++---- backend/package.json | 2 +- backend/tsconfig.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/package-lock.json b/backend/package-lock.json index ac037b6..294eb3d 100644 --- a/backend/package-lock.json +++ b/backend/package-lock.json @@ -23,7 +23,7 @@ "devDependencies": { "@types/bcrypt": "^5.0.2", "@types/jsonwebtoken": "^9.0.6", - "@types/node": "^22.5.4", + "@types/node": "^22.7.3", "@types/nodemailer": "^6.4.16", "prisma": "^5.19.1", "tsx": "^4.19.0", @@ -554,9 +554,9 @@ } }, "node_modules/@types/node": { - "version": "22.5.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz", - "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==", + "version": "22.7.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.3.tgz", + "integrity": "sha512-qXKfhXXqGTyBskvWEzJZPUxSslAiLaB6JGP1ic/XTH9ctGgzdgYguuLP1C601aRTSDNlLb0jbKqXjZ48GNraSA==", "dev": true, "dependencies": { "undici-types": "~6.19.2" diff --git a/backend/package.json b/backend/package.json index 4bc869d..f2a7cf5 100644 --- a/backend/package.json +++ b/backend/package.json @@ -23,7 +23,7 @@ "devDependencies": { "@types/bcrypt": "^5.0.2", "@types/jsonwebtoken": "^9.0.6", - "@types/node": "^22.5.4", + "@types/node": "^22.7.3", "@types/nodemailer": "^6.4.16", "prisma": "^5.19.1", "tsx": "^4.19.0", diff --git a/backend/tsconfig.json b/backend/tsconfig.json index dbd1bbe..725b782 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "_version": "20.1.0", "compilerOptions": { - "lib": ["es2023"], + "lib": ["es2023", "DOM"], "module": "node16", "target": "es2022", "outDir": "dist", @@ -12,6 +12,6 @@ "skipLibCheck": true, "moduleResolution": "node16" }, - "include": ["src/**/*.ts", "prisma/**/*.ts"], + "include": ["src/**/*.ts", "src/*.ts", "prisma/**/*.ts"], "exclude": ["node_modules"] }