From 26646ee43efd75a6ac34667a22411b7d0465a276 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 18:57:09 +0000 Subject: [PATCH 1/2] chore(deps): update build --- package.json | 4 +- packages/darkroom/package.json | 4 +- packages/safelight/package.json | 4 +- packages/tswebm/package.json | 2 +- pnpm-lock.yaml | 96 +++++++++++++++------------------ 5 files changed, 50 insertions(+), 60 deletions(-) diff --git a/package.json b/package.json index 05087f3..1354a54 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@eslint/js": "^9.14.0", "@intlify/eslint-plugin-vue-i18n": "^3.0.0", "@types/eslint__js": "^8.42.3", - "@vitejs/plugin-vue": "^5.1.4", + "@vitejs/plugin-vue": "^5.1.5", "@vitest/browser": "^2.1.4", "@vitest/ui": "^2.1.4", "eslint": "^9.14.0", @@ -47,7 +47,7 @@ "prettier-plugin-tailwindcss": "^0.6.8", "typescript": "^5.6.3", "typescript-eslint": "^8.14.0", - "vite": "^5.4.10", + "vite": "^5.4.11", "vite-plugin-hot-glob": "^1.0.0", "vitest": "^2.1.4", "vue": "^3.5.12" diff --git a/packages/darkroom/package.json b/packages/darkroom/package.json index f596141..fa453c9 100644 --- a/packages/darkroom/package.json +++ b/packages/darkroom/package.json @@ -46,14 +46,14 @@ "playwright": "^1.48.2", "rimraf": "^6.0.1", "typescript": "^5.6.3", - "vite": "^5.4.10", + "vite": "^5.4.11", "vite-plugin-dts": "^4.3.0", "vitest": "^2.1.4" }, "optionalDependencies": { "@codemirror/lang-javascript": "^6.2.2", "@types/node": "^22.9.0", - "@vitejs/plugin-vue": "^5.1.4", + "@vitejs/plugin-vue": "^5.1.5", "@vue/tsconfig": "^0.6.0", "@vueuse/core": "^11.2.0", "@vueuse/rxjs": "^11.2.0", diff --git a/packages/safelight/package.json b/packages/safelight/package.json index 3fd787c..7b20474 100644 --- a/packages/safelight/package.json +++ b/packages/safelight/package.json @@ -56,7 +56,7 @@ "@types/luxon": "^3.4.2", "@types/node": "^22.9.0", "@types/uuid": "^10.0.0", - "@vitejs/plugin-vue": "^5.1.4", + "@vitejs/plugin-vue": "^5.1.5", "@vue/tsconfig": "^0.6.0", "autoprefixer": "^10.4.20", "browserslist": "^4.24.2", @@ -69,7 +69,7 @@ "tsx": "^4.19.2", "typescript": "^5.6.3", "unplugin-vue-router": "^0.10.8", - "vite": "^5.4.10", + "vite": "^5.4.11", "vite-plugin-mkcert": "^1.17.6", "vue-tsc": "^2.1.10" }, diff --git a/packages/tswebm/package.json b/packages/tswebm/package.json index 0c8198b..eab5f28 100644 --- a/packages/tswebm/package.json +++ b/packages/tswebm/package.json @@ -52,7 +52,7 @@ "rimraf": "^6.0.1", "tsx": "^4.19.2", "typescript": "^5.6.3", - "vite": "^5.4.10", + "vite": "^5.4.11", "vite-plugin-dts": "^4.3.0", "vitest": "^2.1.4" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ee55a86..362fed7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,11 +18,11 @@ importers: specifier: ^8.42.3 version: 8.42.3 '@vitejs/plugin-vue': - specifier: ^5.1.4 - version: 5.1.4(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vue@3.5.12(typescript@5.6.3)) + specifier: ^5.1.5 + version: 5.1.5(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vue@3.5.12(typescript@5.6.3)) '@vitest/browser': specifier: ^2.1.4 - version: 2.1.4(@types/node@22.9.0)(playwright@1.48.2)(typescript@5.6.3)(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vitest@2.1.4) + version: 2.1.4(@types/node@22.9.0)(playwright@1.48.2)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vitest@2.1.4) '@vitest/ui': specifier: ^2.1.4 version: 2.1.4(vitest@2.1.4) @@ -57,11 +57,11 @@ importers: specifier: ^8.14.0 version: 8.14.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) vite: - specifier: ^5.4.10 - version: 5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) + specifier: ^5.4.11 + version: 5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) vite-plugin-hot-glob: specifier: ^1.0.0 - version: 1.0.0(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) + version: 1.0.0(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) vitest: specifier: ^2.1.4 version: 2.1.4(@types/node@22.9.0)(@vitest/browser@2.1.4)(@vitest/ui@2.1.4)(happy-dom@15.11.0)(jsdom@25.0.1(canvas@2.11.2))(lightningcss@1.28.1)(msw@2.5.2(@types/node@22.9.0)(typescript@5.6.3))(sass@1.80.6)(terser@5.34.1) @@ -94,8 +94,8 @@ importers: specifier: ^22.9.0 version: 22.9.0 '@vitejs/plugin-vue': - specifier: ^5.1.4 - version: 5.1.4(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vue@3.5.12(typescript@5.6.3)) + specifier: ^5.1.5 + version: 5.1.5(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vue@3.5.12(typescript@5.6.3)) '@vue/tsconfig': specifier: ^0.6.0 version: 0.6.0(typescript@5.6.3)(vue@3.5.12(typescript@5.6.3)) @@ -113,7 +113,7 @@ importers: version: 0.12.5 vite-plugin-mkcert: specifier: ^1.17.6 - version: 1.17.6(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) + version: 1.17.6(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) vue-codemirror: specifier: ^6.1.1 version: 6.1.1(codemirror@6.0.1(@lezer/common@1.2.2))(vue@3.5.12(typescript@5.6.3)) @@ -126,7 +126,7 @@ importers: version: 1.0.3 '@vitest/browser': specifier: ^2.1.4 - version: 2.1.4(@types/node@22.9.0)(playwright@1.48.2)(typescript@5.6.3)(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vitest@2.1.4) + version: 2.1.4(@types/node@22.9.0)(playwright@1.48.2)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vitest@2.1.4) '@vitest/ui': specifier: ^2.1.4 version: 2.1.4(vitest@2.1.4) @@ -140,11 +140,11 @@ importers: specifier: ^5.6.3 version: 5.6.3 vite: - specifier: ^5.4.10 - version: 5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) + specifier: ^5.4.11 + version: 5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) vite-plugin-dts: specifier: ^4.3.0 - version: 4.3.0(@types/node@22.9.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) + version: 4.3.0(@types/node@22.9.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) vitest: specifier: ^2.1.4 version: 2.1.4(@types/node@22.9.0)(@vitest/browser@2.1.4)(@vitest/ui@2.1.4)(happy-dom@15.11.0)(jsdom@25.0.1(canvas@2.11.2))(lightningcss@1.28.1)(msw@2.5.2(@types/node@22.9.0)(typescript@5.6.3))(sass@1.80.6)(terser@5.34.1) @@ -272,8 +272,8 @@ importers: specifier: ^10.0.0 version: 10.0.0 '@vitejs/plugin-vue': - specifier: ^5.1.4 - version: 5.1.4(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vue@3.5.12(typescript@5.6.3)) + specifier: ^5.1.5 + version: 5.1.5(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vue@3.5.12(typescript@5.6.3)) '@vue/tsconfig': specifier: ^0.6.0 version: 0.6.0(typescript@5.6.3)(vue@3.5.12(typescript@5.6.3)) @@ -311,11 +311,11 @@ importers: specifier: ^0.10.8 version: 0.10.8(rollup@4.24.0)(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) vite: - specifier: ^5.4.10 - version: 5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) + specifier: ^5.4.11 + version: 5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) vite-plugin-mkcert: specifier: ^1.17.6 - version: 1.17.6(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) + version: 1.17.6(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) vue-tsc: specifier: ^2.1.10 version: 2.1.10(typescript@5.6.3) @@ -493,11 +493,11 @@ importers: specifier: ^5.6.3 version: 5.6.3 vite: - specifier: ^5.4.10 - version: 5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) + specifier: ^5.4.11 + version: 5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) vite-plugin-dts: specifier: ^4.3.0 - version: 4.3.0(@types/node@22.9.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) + version: 4.3.0(@types/node@22.9.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) vitest: specifier: ^2.1.4 version: 2.1.4(@types/node@22.9.0)(@vitest/browser@2.1.4)(@vitest/ui@2.1.4)(happy-dom@15.11.0)(jsdom@25.0.1(canvas@2.11.2))(lightningcss@1.28.1)(msw@2.5.2(@types/node@22.9.0)(typescript@5.6.3))(sass@1.80.6)(terser@5.34.1) @@ -1515,8 +1515,8 @@ packages: resolution: {integrity: sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@vitejs/plugin-vue@5.1.4': - resolution: {integrity: sha512-N2XSI2n3sQqp5w7Y/AN/L2XDjBIRGqXko+eDp42sydYSBeJuSm5a1sLf8zakmo8u7tA8NmBgoDLA1HeOESjp9A==} + '@vitejs/plugin-vue@5.1.5': + resolution: {integrity: sha512-dlnib73G05CDBAUR/YpuZcQQ47fpjihnnNouAAqN62z+oqSsWJ+kh52GRzIxpkgFG3q11eXK7Di7RMmoCwISZA==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: vite: ^5.0.0 @@ -3216,10 +3216,6 @@ packages: postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - postcss@8.4.47: - resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} - engines: {node: ^10 || ^12 || >=14} - postcss@8.4.48: resolution: {integrity: sha512-GCRK8F6+Dl7xYniR5a4FYbpBzU8XnZVeowqsQFYdcXuSbChgiks7qybSkbvnaeqv0G0B+dd9/jJgH8kkLDQeEA==} engines: {node: ^10 || ^12 || >=14} @@ -3819,8 +3815,8 @@ packages: peerDependencies: vite: '>=3' - vite@5.4.10: - resolution: {integrity: sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==} + vite@5.4.11: + resolution: {integrity: sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -5059,16 +5055,16 @@ snapshots: '@typescript-eslint/types': 8.14.0 eslint-visitor-keys: 3.4.3 - '@vitejs/plugin-vue@5.1.4(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vue@3.5.12(typescript@5.6.3))': + '@vitejs/plugin-vue@5.1.5(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vue@3.5.12(typescript@5.6.3))': dependencies: - vite: 5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) + vite: 5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) vue: 3.5.12(typescript@5.6.3) - '@vitest/browser@2.1.4(@types/node@22.9.0)(playwright@1.48.2)(typescript@5.6.3)(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vitest@2.1.4)': + '@vitest/browser@2.1.4(@types/node@22.9.0)(playwright@1.48.2)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vitest@2.1.4)': dependencies: '@testing-library/dom': 10.4.0 '@testing-library/user-event': 14.5.2(@testing-library/dom@10.4.0) - '@vitest/mocker': 2.1.4(msw@2.5.2(@types/node@22.9.0)(typescript@5.6.3))(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) + '@vitest/mocker': 2.1.4(msw@2.5.2(@types/node@22.9.0)(typescript@5.6.3))(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) '@vitest/utils': 2.1.4 magic-string: 0.30.12 msw: 2.5.2(@types/node@22.9.0)(typescript@5.6.3) @@ -5092,14 +5088,14 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.4(msw@2.5.2(@types/node@22.9.0)(typescript@5.6.3))(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))': + '@vitest/mocker@2.1.4(msw@2.5.2(@types/node@22.9.0)(typescript@5.6.3))(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))': dependencies: '@vitest/spy': 2.1.4 estree-walker: 3.0.3 magic-string: 0.30.12 optionalDependencies: msw: 2.5.2(@types/node@22.9.0)(typescript@5.6.3) - vite: 5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) + vite: 5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) '@vitest/pretty-format@2.1.4': dependencies: @@ -6779,12 +6775,6 @@ snapshots: postcss-value-parser@4.2.0: {} - postcss@8.4.47: - dependencies: - nanoid: 3.3.7 - picocolors: 1.1.0 - source-map-js: 1.2.1 - postcss@8.4.48: dependencies: nanoid: 3.3.7 @@ -7320,7 +7310,7 @@ snapshots: cac: 6.7.14 debug: 4.3.7 pathe: 1.1.2 - vite: 5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) + vite: 5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) transitivePeerDependencies: - '@types/node' - less @@ -7332,7 +7322,7 @@ snapshots: - supports-color - terser - vite-plugin-dts@4.3.0(@types/node@22.9.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)): + vite-plugin-dts@4.3.0(@types/node@22.9.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)): dependencies: '@microsoft/api-extractor': 7.47.11(@types/node@22.9.0) '@rollup/pluginutils': 5.1.2(rollup@4.24.0) @@ -7345,34 +7335,34 @@ snapshots: magic-string: 0.30.12 typescript: 5.6.3 optionalDependencies: - vite: 5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) + vite: 5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) transitivePeerDependencies: - '@types/node' - rollup - supports-color - vite-plugin-hot-glob@1.0.0(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)): + vite-plugin-hot-glob@1.0.0(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)): dependencies: magic-string: 0.30.12 picomatch: 4.0.2 strip-literal: 2.1.0 tinyglobby: 0.2.10 - vite: 5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) + vite: 5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) - vite-plugin-mkcert@1.17.6(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)): + vite-plugin-mkcert@1.17.6(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)): dependencies: '@octokit/rest': 20.1.1 axios: 1.7.7(debug@4.3.7) debug: 4.3.7 picocolors: 1.1.0 - vite: 5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) + vite: 5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) transitivePeerDependencies: - supports-color - vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1): + vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1): dependencies: esbuild: 0.21.5 - postcss: 8.4.47 + postcss: 8.4.48 rollup: 4.24.0 optionalDependencies: '@types/node': 22.9.0 @@ -7384,7 +7374,7 @@ snapshots: vitest@2.1.4(@types/node@22.9.0)(@vitest/browser@2.1.4)(@vitest/ui@2.1.4)(happy-dom@15.11.0)(jsdom@25.0.1(canvas@2.11.2))(lightningcss@1.28.1)(msw@2.5.2(@types/node@22.9.0)(typescript@5.6.3))(sass@1.80.6)(terser@5.34.1): dependencies: '@vitest/expect': 2.1.4 - '@vitest/mocker': 2.1.4(msw@2.5.2(@types/node@22.9.0)(typescript@5.6.3))(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) + '@vitest/mocker': 2.1.4(msw@2.5.2(@types/node@22.9.0)(typescript@5.6.3))(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1)) '@vitest/pretty-format': 2.1.4 '@vitest/runner': 2.1.4 '@vitest/snapshot': 2.1.4 @@ -7400,12 +7390,12 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) + vite: 5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) vite-node: 2.1.4(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.9.0 - '@vitest/browser': 2.1.4(@types/node@22.9.0)(playwright@1.48.2)(typescript@5.6.3)(vite@5.4.10(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vitest@2.1.4) + '@vitest/browser': 2.1.4(@types/node@22.9.0)(playwright@1.48.2)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)(lightningcss@1.28.1)(sass@1.80.6)(terser@5.34.1))(vitest@2.1.4) '@vitest/ui': 2.1.4(vitest@2.1.4) happy-dom: 15.11.0 jsdom: 25.0.1(canvas@2.11.2) From e2e6a8b3ade4ce99d0e5a77186af69f4cfd5b6f0 Mon Sep 17 00:00:00 2001 From: Joery <44531907+Joery-M@users.noreply.github.com> Date: Mon, 11 Nov 2024 20:20:54 +0100 Subject: [PATCH 2/2] fix(localization): :rotating_light: Fixed error that (i think) came from the i18n generation timing out --- .../safelight/buildscripts/vite-plugin-generate-i18n.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/safelight/buildscripts/vite-plugin-generate-i18n.ts b/packages/safelight/buildscripts/vite-plugin-generate-i18n.ts index 067e439..9705749 100644 --- a/packages/safelight/buildscripts/vite-plugin-generate-i18n.ts +++ b/packages/safelight/buildscripts/vite-plugin-generate-i18n.ts @@ -39,7 +39,11 @@ interface Options { async function compileTypes({ localesDir: dir, outputFile: output }: Options) { const files = await glob(dir + '/*.json', { signal: AbortSignal.timeout(1000) + }).catch((err) => { + console.error('Could not find i18n files:', err); + return [] as string[]; }); + if (!files.length) return; // Combine all files into 1 object const allFiles: Record = {}; @@ -94,7 +98,9 @@ declare module 'vue-i18n' { outputFile = outputFile.replace(/((? + console.error('Error writing i18n definitions:', err) + ); } // Source: https://stackoverflow.com/a/34749873