diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 117966488..911e4db0c 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -59,7 +59,7 @@ "sass": "^1", "typescript": "^4", "vite": "latest", - "vite-plugin-checker": "^0.3", + "vite-plugin-checker": "latest", "vitest": "latest" } }, @@ -6930,9 +6930,9 @@ } }, "node_modules/prettier": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.1.tgz", - "integrity": "sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz", + "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", "dev": true, "bin": { "prettier": "bin-prettier.js" @@ -8536,9 +8536,9 @@ } }, "node_modules/vite-plugin-checker": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/vite-plugin-checker/-/vite-plugin-checker-0.3.4.tgz", - "integrity": "sha512-IhZtrfsPOi1Apynm+AYN1GqlOnAygIaMUFS+sSXACn0E/776fFZ7UE2wSuvAt7/sMW1DJESQV+4JJbB7HZPQEA==", + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/vite-plugin-checker/-/vite-plugin-checker-0.4.4.tgz", + "integrity": "sha512-bduh+oPybN0PIBCcAlIe8WlgG5P5WPVK0P43dB3jljsA/pR/Jp7BTXrflPdlWXxuQFdDasyOCVWpEVs1Zt+8yw==", "dev": true, "dependencies": { "@babel/code-frame": "^7.12.13", @@ -8565,9 +8565,9 @@ } }, "node_modules/vitest": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.8.2.tgz", - "integrity": "sha512-dTFDJl2F3pkWy1tcE3M29LasklhgtP7M88kT7AJcAurX7nCl/eWu1PQeSzjzWQyUbDq2p8jqdoLETd7MDeibcA==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.8.4.tgz", + "integrity": "sha512-1OoAG1+VYkzp4WLCVQFRJX/OKk70rsMIM5H23crfc1wSEnJvHlxgQBS1HPpV/VYmjC8bIInKWhnB4Gaw32MnyQ==", "dev": true, "dependencies": { "@types/chai": "^4.3.0", @@ -13847,9 +13847,9 @@ "dev": true }, "prettier": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.1.tgz", - "integrity": "sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz", + "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", "dev": true }, "prettier-plugin-organize-imports": { @@ -15029,9 +15029,9 @@ } }, "vite-plugin-checker": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/vite-plugin-checker/-/vite-plugin-checker-0.3.4.tgz", - "integrity": "sha512-IhZtrfsPOi1Apynm+AYN1GqlOnAygIaMUFS+sSXACn0E/776fFZ7UE2wSuvAt7/sMW1DJESQV+4JJbB7HZPQEA==", + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/vite-plugin-checker/-/vite-plugin-checker-0.4.4.tgz", + "integrity": "sha512-bduh+oPybN0PIBCcAlIe8WlgG5P5WPVK0P43dB3jljsA/pR/Jp7BTXrflPdlWXxuQFdDasyOCVWpEVs1Zt+8yw==", "dev": true, "requires": { "@babel/code-frame": "^7.12.13", @@ -15052,9 +15052,9 @@ } }, "vitest": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.8.2.tgz", - "integrity": "sha512-dTFDJl2F3pkWy1tcE3M29LasklhgtP7M88kT7AJcAurX7nCl/eWu1PQeSzjzWQyUbDq2p8jqdoLETd7MDeibcA==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.8.4.tgz", + "integrity": "sha512-1OoAG1+VYkzp4WLCVQFRJX/OKk70rsMIM5H23crfc1wSEnJvHlxgQBS1HPpV/VYmjC8bIInKWhnB4Gaw32MnyQ==", "dev": true, "requires": { "@types/chai": "^4.3.0", diff --git a/frontend/package.json b/frontend/package.json index 5e830449a..f4f5314eb 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -63,7 +63,7 @@ "sass": "^1", "typescript": "^4", "vite": "latest", - "vite-plugin-checker": "^0.3", + "vite-plugin-checker": "latest", "vitest": "latest" }, "scripts": { diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 3ab8d1713..ed1655a32 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -26,8 +26,7 @@ export default defineConfig(async ({ mode, command }) => { checker({ typescript: true, eslint: { - files: ["./src"], - extensions: [".ts", ".tsx"], + lintCommand: "eslint --ext .ts,.tsx src", }, enableBuild: false, }),