From 74ce469197b27afae377df1442f21b757b8f9049 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:15:15 +1100 Subject: [PATCH] build(deps): update dependency vite-plugin-istanbul to v2.2.2 (#2524) * build(deps): update dependency vite-plugin-istanbul to v2.2.2 * fix(web): allow instrumentation of frontend in prod mode Co-authored-by: Renovate Bot Co-authored-by: Amir Zarrinkafsh --- web/package.json | 2 +- web/pnpm-lock.yaml | 8 ++++---- web/vite.config.ts | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/web/package.json b/web/package.json index 696f83ea..f75e56a3 100644 --- a/web/package.json +++ b/web/package.json @@ -151,7 +151,7 @@ "typescript": "4.4.4", "vite": "2.6.10", "vite-plugin-eslint": "1.3.0", - "vite-plugin-istanbul": "2.2.0", + "vite-plugin-istanbul": "2.2.2", "vite-plugin-svgr": "0.4.0", "vite-tsconfig-paths": "3.3.17" } diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index b05d59cd..dda5095a 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -52,7 +52,7 @@ specifiers: u2f-api: 1.2.1 vite: 2.6.10 vite-plugin-eslint: 1.3.0 - vite-plugin-istanbul: 2.2.0 + vite-plugin-istanbul: 2.2.2 vite-plugin-svgr: 0.4.0 vite-tsconfig-paths: 3.3.17 @@ -110,7 +110,7 @@ devDependencies: typescript: 4.4.4 vite: 2.6.10 vite-plugin-eslint: 1.3.0_vite@2.6.10 - vite-plugin-istanbul: 2.2.0 + vite-plugin-istanbul: 2.2.2 vite-plugin-svgr: 0.4.0_vite@2.6.10 vite-tsconfig-paths: 3.3.17_vite@2.6.10 @@ -6552,8 +6552,8 @@ packages: - supports-color dev: true - /vite-plugin-istanbul/2.2.0: - resolution: {integrity: sha512-kcQV/pnYoryslh6q+kywf068LqrsBlEcg9tdMh/ISSXfC7SHhZguDAgdSSdE06v0/diZrrEOw/jTUzhp59TTFQ==} + /vite-plugin-istanbul/2.2.2: + resolution: {integrity: sha512-yFY/c2qqA9mIbj9JcUPoDhkvFNTU71+e5dxGAhNnjpjoa4zC90/Zo4xu9V+/xHY6IuGGHcO5uqpGUkrjs58rog==} dependencies: istanbul-lib-instrument: 4.0.3 test-exclude: 6.0.0 diff --git a/web/vite.config.ts b/web/vite.config.ts index 6e3bcbd0..c8f2b06e 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -27,6 +27,7 @@ export default defineConfig(({ mode }) => { include: "src/*", exclude: ["node_modules"], extension: [".js", ".jsx", ".ts", ".tsx"], + checkProd: false, requireEnv: true, }) : undefined;