From 058af4dcdeb35f44c1674ccaab4ffc21b13af56d Mon Sep 17 00:00:00 2001 From: adueck Date: Tue, 4 Oct 2022 15:38:06 +0500 Subject: [PATCH] functions skipLibCheck because pashto-inflector is causing problems --- functions/package-lock.json | 13 +++++++------ functions/package.json | 1 + functions/tsconfig.json | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/functions/package-lock.json b/functions/package-lock.json index b0d9475..38e8b7b 100644 --- a/functions/package-lock.json +++ b/functions/package-lock.json @@ -10,6 +10,7 @@ "@lingdocs/pashto-inflector": "4.0.4", "@types/cors": "^2.8.10", "@types/google-spreadsheet": "^3.0.2", + "@types/react": "^18.0.21", "cors": "^2.8.5", "firebase-admin": "^9.2.0", "firebase-functions": "^3.11.0", @@ -786,9 +787,9 @@ "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==" }, "node_modules/@types/react": { - "version": "17.0.3", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.3.tgz", - "integrity": "sha512-wYOUxIgs2HZZ0ACNiIayItyluADNbONl7kt8lkLjVK8IitMH5QMyAh75Fwhmo37r1m7L2JaFj03sIfxBVDvRAg==", + "version": "18.0.21", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.21.tgz", + "integrity": "sha512-7QUCOxvFgnD5Jk8ZKlUAhVcRj7GuJRjnjjiY/IUBWKgOlnvDvTMLD4RTF7NPyVmbRhNrbomZiOepg7M/2Kj1mA==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -3936,9 +3937,9 @@ "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==" }, "@types/react": { - "version": "17.0.3", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.3.tgz", - "integrity": "sha512-wYOUxIgs2HZZ0ACNiIayItyluADNbONl7kt8lkLjVK8IitMH5QMyAh75Fwhmo37r1m7L2JaFj03sIfxBVDvRAg==", + "version": "18.0.21", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.21.tgz", + "integrity": "sha512-7QUCOxvFgnD5Jk8ZKlUAhVcRj7GuJRjnjjiY/IUBWKgOlnvDvTMLD4RTF7NPyVmbRhNrbomZiOepg7M/2Kj1mA==", "requires": { "@types/prop-types": "*", "@types/scheduler": "*", diff --git a/functions/package.json b/functions/package.json index d9f2160..dcb1bfe 100644 --- a/functions/package.json +++ b/functions/package.json @@ -17,6 +17,7 @@ "@lingdocs/pashto-inflector": "4.0.4", "@types/cors": "^2.8.10", "@types/google-spreadsheet": "^3.0.2", + "@types/react": "^18.0.21", "cors": "^2.8.5", "firebase-admin": "^9.2.0", "firebase-functions": "^3.11.0", diff --git a/functions/tsconfig.json b/functions/tsconfig.json index 8fb6498..aa41d5d 100644 --- a/functions/tsconfig.json +++ b/functions/tsconfig.json @@ -7,7 +7,8 @@ "sourceMap": true, "strict": true, "target": "es2017", - "esModuleInterop": true + "esModuleInterop": true, + "skipLibCheck": true }, "compileOnSave": true, "include": [