From d5fa526a062420c55f07fb017b7b67d9dc6d5b69 Mon Sep 17 00:00:00 2001 From: MAXOUXAX <24844231+MAXOUXAX@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:13:58 +0100 Subject: [PATCH] ci: trying to fix eslint problems by installed latest version in package.json devDependencies --- .github/workflows/eslint.yml | 2 -- backend/package-lock.json | 37 ++++++++++++++++++++++++++++++++++++ backend/package.json | 3 ++- expo/package-lock.json | 31 ++++++++++++++++++++++++++++++ expo/package.json | 7 ++++--- 5 files changed, 74 insertions(+), 6 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 4332e5ba..c7de7153 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -34,7 +34,6 @@ jobs: working-directory: expo/ run: | npm i - npm install @microsoft/eslint-formatter-sarif@2.1.7 - name: Run ESLint on expo/ working-directory: expo/ @@ -49,7 +48,6 @@ jobs: working-directory: backend/ run: | npm i - npm install @microsoft/eslint-formatter-sarif@2.1.7 - name: Run ESLint on backend/ working-directory: backend/ diff --git a/backend/package-lock.json b/backend/package-lock.json index a407d6fd..fca50c41 100644 --- a/backend/package-lock.json +++ b/backend/package-lock.json @@ -24,6 +24,7 @@ "supabase": "^1.131.5" }, "devDependencies": { + "@microsoft/eslint-formatter-sarif": "^3.0.0", "@types/node": "^20.11.5", "@typescript-eslint/eslint-plugin": "^6.19.0", "@typescript-eslint/parser": "^6.19.0", @@ -247,6 +248,21 @@ "node": ">=8" } }, + "node_modules/@microsoft/eslint-formatter-sarif": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@microsoft/eslint-formatter-sarif/-/eslint-formatter-sarif-3.0.0.tgz", + "integrity": "sha512-KIKkT44hEqCzqxODYwFMUvYEK0CrdHx/Ll9xiOWgFbBSRuzbxmVy4d/tzfgoucGz72HJZNOMjuyzFTBKntRK5Q==", + "dev": true, + "dependencies": { + "eslint": "^8.9.0", + "jschardet": "latest", + "lodash": "^4.17.14", + "utf8": "^3.0.0" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "dev": true, @@ -2742,6 +2758,15 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/jschardet": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/jschardet/-/jschardet-3.0.0.tgz", + "integrity": "sha512-lJH6tJ77V8Nzd5QWRkFYCLc13a3vADkh3r/Fi8HupZGWk2OVVDfnZP8V/VgQgZ+lzW0kG2UGb5hFgt3V3ndotQ==", + "dev": true, + "engines": { + "node": ">=0.1.90" + } + }, "node_modules/json-buffer": { "version": "3.0.1", "dev": true, @@ -2821,6 +2846,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, "node_modules/lodash.merge": { "version": "4.6.2", "dev": true, @@ -4149,6 +4180,12 @@ "punycode": "^2.1.0" } }, + "node_modules/utf8": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz", + "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==", + "dev": true + }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", "dev": true, diff --git a/backend/package.json b/backend/package.json index 3ff071eb..37dab2a0 100644 --- a/backend/package.json +++ b/backend/package.json @@ -14,9 +14,9 @@ "@fastify/cookie": "^9.3.1", "@fastify/cors": "^8.5.0", "@fastify/rate-limit": "^9.1.0", + "@spotify/web-api-ts-sdk": "^1.1.2", "@supabase/auth-helpers-nextjs": "^0.8.7", "@supabase/ssr": "^0.0.10", - "@spotify/web-api-ts-sdk": "^1.1.2", "@supabase/supabase-js": "^2.39.3", "dotenv": "^16.3.2", "fastify": "^4.25.2", @@ -25,6 +25,7 @@ "supabase": "^1.131.5" }, "devDependencies": { + "@microsoft/eslint-formatter-sarif": "^3.0.0", "@types/node": "^20.11.5", "@typescript-eslint/eslint-plugin": "^6.19.0", "@typescript-eslint/parser": "^6.19.0", diff --git a/expo/package-lock.json b/expo/package-lock.json index 4a12f6e5..449e0590 100644 --- a/expo/package-lock.json +++ b/expo/package-lock.json @@ -49,6 +49,7 @@ "devDependencies": { "@babel/core": "^7.20.0", "@expo/ngrok": "4.1.0", + "@microsoft/eslint-formatter-sarif": "^3.0.0", "@types/react": "~18.2.14", "@types/uuid": "^9.0.7", "@typescript-eslint/eslint-plugin": "^6.19.0", @@ -4179,6 +4180,21 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@microsoft/eslint-formatter-sarif": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@microsoft/eslint-formatter-sarif/-/eslint-formatter-sarif-3.0.0.tgz", + "integrity": "sha512-KIKkT44hEqCzqxODYwFMUvYEK0CrdHx/Ll9xiOWgFbBSRuzbxmVy4d/tzfgoucGz72HJZNOMjuyzFTBKntRK5Q==", + "dev": true, + "dependencies": { + "eslint": "^8.9.0", + "jschardet": "latest", + "lodash": "^4.17.14", + "utf8": "^3.0.0" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "license": "MIT", @@ -14477,6 +14493,15 @@ "version": "0.2.4", "license": "0BSD" }, + "node_modules/jschardet": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/jschardet/-/jschardet-3.0.0.tgz", + "integrity": "sha512-lJH6tJ77V8Nzd5QWRkFYCLc13a3vADkh3r/Fi8HupZGWk2OVVDfnZP8V/VgQgZ+lzW0kG2UGb5hFgt3V3ndotQ==", + "dev": true, + "engines": { + "node": ">=0.1.90" + } + }, "node_modules/jscodeshift": { "version": "0.14.0", "license": "MIT", @@ -19388,6 +19413,12 @@ "react": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, + "node_modules/utf8": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz", + "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==", + "dev": true + }, "node_modules/util-deprecate": { "version": "1.0.2", "license": "MIT" diff --git a/expo/package.json b/expo/package.json index 3ff2ebf8..4b0e2326 100644 --- a/expo/package.json +++ b/expo/package.json @@ -15,7 +15,6 @@ "preset": "jest-expo" }, "dependencies": { - "react-hook-form": "^7.49.3", "@expo/vector-icons": "^13.0.0", "@react-native-async-storage/async-storage": "1.18.2", "@react-native-community/checkbox": "^0.5.16", @@ -28,6 +27,7 @@ "expo-auth-session": "~5.0.2", "expo-blur": "~12.4.1", "expo-checkbox": "~2.4.0", + "expo-clipboard": "~4.3.1", "expo-crypto": "~12.4.1", "expo-device": "~5.4.0", "expo-font": "~11.4.0", @@ -41,6 +41,7 @@ "expo-web-browser": "~12.3.2", "react": "18.2.0", "react-dom": "18.2.0", + "react-hook-form": "^7.49.3", "react-native": "0.72.6", "react-native-elements": "^3.4.3", "react-native-gesture-handler": "~2.12.0", @@ -49,12 +50,12 @@ "react-native-svg": "13.9.0", "react-native-url-polyfill": "^2.0.0", "react-native-web": "~0.19.6", - "expo-clipboard": "~4.3.1", "socket.io-client": "^4.7.4" }, "devDependencies": { - "@expo/ngrok": "4.1.0", "@babel/core": "^7.20.0", + "@expo/ngrok": "4.1.0", + "@microsoft/eslint-formatter-sarif": "^3.0.0", "@types/react": "~18.2.14", "@types/uuid": "^9.0.7", "@typescript-eslint/eslint-plugin": "^6.19.0",